Commit a5ee7b58 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add -lresolv check for LDAP_DNS.

Updated portable.h.nt based upon portable.h.in (1.11).
parent 3551c882
This diff is collapsed.
......@@ -244,8 +244,8 @@ dnl
AC_CHECK_LIB(gen, main)
])
dnl need to add check for -lresolv
dnl only needed for LDAP_DNS?
dnl Check for resolv
AC_CHECK_LIB(resolv, res_search)
dnl HP-UX requires -lV3
AC_CHECK_LIB(V3, sigset)
......@@ -257,8 +257,8 @@ if test $ol_enable_ldapd != no ; then
AC_CHECK_LIB(xtpp, main, [
ol_link_isode=yes
AC_DEFINE(HAVE_XTPP,1)
LDAPD_LIBS="$LDAPD_LIBS -lxtpp -lresolv -lxtdsap -lxtisode -losi"
],:,[-lresolv -lxtdsap -lxtisode -losi])
LDAPD_LIBS="$LDAPD_LIBS -lxtpp -lxtdsap -lxtisode -losi"
],:,[-lxtdsap -lxtisode -losi])
AC_CHECK_LIB(dsap, main, [
ol_link_isode=yes
AC_DEFINE(HAVE_DSAP,1)
......@@ -565,6 +565,7 @@ if test $ol_with_threads = auto -o $ol_with_threads = mach ; then
if test $ol_link_threads != no ; then
: check for cthread specific functionality here
AC_DEFINE(HAVE_MACH_CTHREADS,1)
else
AC_MSG_ERROR([could not link with Mach CThreads])
fi
......@@ -910,6 +911,7 @@ AC_CHECK_FUNCS( \
memmove \
mkstemp \
mktime \
res_search \
select \
setpwfile \
setsid \
......
......@@ -154,6 +154,9 @@ is provided ``as is'' without express or implied warranty.
/* define if you have NDBM */
#undef HAVE_NDBM
/* define if you have Mach CThreads */
#undef HAVE_MACH_CTHREADS
/* define if you have PP */
#undef HAVE_PP
......@@ -295,6 +298,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the pthread_yield function. */
#undef HAVE_PTHREAD_YIELD
/* Define if you have the res_search function. */
#undef HAVE_RES_SEARCH
/* Define if you have the sched_yield function. */
#undef HAVE_SCHED_YIELD
......@@ -505,6 +511,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the nsl_s library (-lnsl_s). */
#undef HAVE_LIBNSL_S
/* Define if you have the resolv library (-lresolv). */
#undef HAVE_LIBRESOLV
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
/* portable.h.bot begin */
......
/* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
/* synced with portable.h.in 1.8 */
/* synced with portable.h.in 1.11 */
/*
Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
All rights reserved.
......@@ -86,18 +86,9 @@ typedef char * caddr_t;
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
/* #undef HAVE_SYS_WAIT_H */
/* Define if you have the tempnam function. */
/* #undef HAVE_TEMPNAM */
/* Define if you have the thr_setconcurrency function. */
/* #undef HAVE_THR_SETCONCURRENCY */
/* Define if you have the vprintf function. */
#define HAVE_VPRINTF 1
/* Define if you have the vsnprintf function. */
/* #undef HAVE_VSNPRINTF */
/* Define if you have the wait3 system call. */
/* #undef HAVE_WAIT3 */
......@@ -135,15 +126,15 @@ typedef char * caddr_t;
/* Define if your <sys/time.h> declares struct tm. */
/* #undef TM_IN_SYS_TIME */
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t long
/* define this if needed to get reentrant functions */
#undef _REENTRANT
/* define this if needed to get threadsafe functions */
#undef _THREAD_SAFE
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t long
/* define this if toupper() requires tolower() */
#define C_UPPER_LOWER
......@@ -162,9 +153,15 @@ typedef char * caddr_t;
/* define if you have DCE */
/* #undef HAVE_DCE */
/* define if you have DSAP */
/* #undef HAVE_DSAP */
/* define if you have GDBM */
/* #undef HAVE_GDBM */
/* define if you have ISODE */
/* #undef HAVE_ISODE */
/* define if you have Kerberos */
/* #undef HAVE_KERBEROS */
......@@ -183,12 +180,18 @@ typedef char * caddr_t;
/* define if you have Mach CThreads */
/* #undef HAVE_MACH_CTHREADS */
/* define if you have PP */
/* #undef HAVE_PP */
/* define if you have a preemptive POSIX Threads implementation */
/* #undef HAVE_PREEMPTIVE_PTHREADS */
/* define if you have POSIX Threads */
/* #undef HAVE_PTHREADS */
/* define if your POSIX Threads implementatin is circa Final Draft */
/* #undef HAVE_PTHREADS_FINAL */
/* define if your POSIX Threads implementatin is circa Draft 4 */
/* #undef HAVE_PTHREADS_D4 */
......@@ -210,6 +213,9 @@ typedef char * caddr_t;
/* define if you have Solaris LWP Threads */
/* #undef HAVE_THR */
/* define if you have XTPP */
/* #undef HAVE_XTPP */
/* define this for connectionless LDAP support */
/* #undef LDAP_CONNECTIONLESS */
......@@ -315,6 +321,9 @@ typedef char * caddr_t;
/* Define if you have the pthread_yield function. */
/* #undef HAVE_PTHREAD_YIELD */
/* Define if you have the res_search function. */
/* #undef HAVE_RES_SEARCH */
/* Define if you have the sched_yield function. */
/* #undef HAVE_SCHED_YIELD */
......@@ -366,6 +375,15 @@ typedef char * caddr_t;
/* Define if you have the sysconf function. */
/* #undef HAVE_SYSCONF */
/* Define if you have the tempnam function. */
/* #undef HAVE_TEMPNAM */
/* Define if you have the thr_setconcurrency function. */
/* #undef HAVE_THR_SETCONCURRENCY */
/* Define if you have the vsnprintf function. */
/* #undef HAVE_VSNPRINTF */
/* Define if you have the waitpid function. */
#define HAVE_WAITPID 1
......@@ -516,6 +534,9 @@ typedef char * caddr_t;
/* Define if you have the nsl_s library (-lnsl_s). */
/* #undef HAVE_LIBNSL_S */
/* Define if you have the resolv library (-lresolv). */
/* #undef HAVE_LIBRESOLV */
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment