mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add -lresolv check for LDAP_DNS.
Updated portable.h.nt based upon portable.h.in (1.11).
This commit is contained in:
parent
3551c882c7
commit
a5ee7b5842
4 changed files with 414 additions and 330 deletions
10
configure.in
10
configure.in
|
|
@ -244,8 +244,8 @@ dnl
|
||||||
AC_CHECK_LIB(gen, main)
|
AC_CHECK_LIB(gen, main)
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl need to add check for -lresolv
|
dnl Check for resolv
|
||||||
dnl only needed for LDAP_DNS?
|
AC_CHECK_LIB(resolv, res_search)
|
||||||
|
|
||||||
dnl HP-UX requires -lV3
|
dnl HP-UX requires -lV3
|
||||||
AC_CHECK_LIB(V3, sigset)
|
AC_CHECK_LIB(V3, sigset)
|
||||||
|
|
@ -257,8 +257,8 @@ if test $ol_enable_ldapd != no ; then
|
||||||
AC_CHECK_LIB(xtpp, main, [
|
AC_CHECK_LIB(xtpp, main, [
|
||||||
ol_link_isode=yes
|
ol_link_isode=yes
|
||||||
AC_DEFINE(HAVE_XTPP,1)
|
AC_DEFINE(HAVE_XTPP,1)
|
||||||
LDAPD_LIBS="$LDAPD_LIBS -lxtpp -lresolv -lxtdsap -lxtisode -losi"
|
LDAPD_LIBS="$LDAPD_LIBS -lxtpp -lxtdsap -lxtisode -losi"
|
||||||
],:,[-lresolv -lxtdsap -lxtisode -losi])
|
],:,[-lxtdsap -lxtisode -losi])
|
||||||
AC_CHECK_LIB(dsap, main, [
|
AC_CHECK_LIB(dsap, main, [
|
||||||
ol_link_isode=yes
|
ol_link_isode=yes
|
||||||
AC_DEFINE(HAVE_DSAP,1)
|
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
|
if test $ol_link_threads != no ; then
|
||||||
: check for cthread specific functionality here
|
: check for cthread specific functionality here
|
||||||
|
AC_DEFINE(HAVE_MACH_CTHREADS,1)
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([could not link with Mach CThreads])
|
AC_MSG_ERROR([could not link with Mach CThreads])
|
||||||
fi
|
fi
|
||||||
|
|
@ -910,6 +911,7 @@ AC_CHECK_FUNCS( \
|
||||||
memmove \
|
memmove \
|
||||||
mkstemp \
|
mkstemp \
|
||||||
mktime \
|
mktime \
|
||||||
|
res_search \
|
||||||
select \
|
select \
|
||||||
setpwfile \
|
setpwfile \
|
||||||
setsid \
|
setsid \
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,9 @@ is provided ``as is'' without express or implied warranty.
|
||||||
/* define if you have NDBM */
|
/* define if you have NDBM */
|
||||||
#undef HAVE_NDBM
|
#undef HAVE_NDBM
|
||||||
|
|
||||||
|
/* define if you have Mach CThreads */
|
||||||
|
#undef HAVE_MACH_CTHREADS
|
||||||
|
|
||||||
/* define if you have PP */
|
/* define if you have PP */
|
||||||
#undef 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. */
|
/* Define if you have the pthread_yield function. */
|
||||||
#undef HAVE_PTHREAD_YIELD
|
#undef HAVE_PTHREAD_YIELD
|
||||||
|
|
||||||
|
/* Define if you have the res_search function. */
|
||||||
|
#undef HAVE_RES_SEARCH
|
||||||
|
|
||||||
/* Define if you have the sched_yield function. */
|
/* Define if you have the sched_yield function. */
|
||||||
#undef HAVE_SCHED_YIELD
|
#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). */
|
/* Define if you have the nsl_s library (-lnsl_s). */
|
||||||
#undef HAVE_LIBNSL_S
|
#undef HAVE_LIBNSL_S
|
||||||
|
|
||||||
|
/* Define if you have the resolv library (-lresolv). */
|
||||||
|
#undef HAVE_LIBRESOLV
|
||||||
|
|
||||||
/* Define if you have the socket library (-lsocket). */
|
/* Define if you have the socket library (-lsocket). */
|
||||||
#undef HAVE_LIBSOCKET
|
#undef HAVE_LIBSOCKET
|
||||||
/* portable.h.bot begin */
|
/* portable.h.bot begin */
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
|
/* 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
|
Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
@ -86,18 +86,9 @@ typedef char * caddr_t;
|
||||||
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||||||
/* #undef HAVE_SYS_WAIT_H */
|
/* #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 if you have the vprintf function. */
|
||||||
#define HAVE_VPRINTF 1
|
#define HAVE_VPRINTF 1
|
||||||
|
|
||||||
/* Define if you have the vsnprintf function. */
|
|
||||||
/* #undef HAVE_VSNPRINTF */
|
|
||||||
|
|
||||||
/* Define if you have the wait3 system call. */
|
/* Define if you have the wait3 system call. */
|
||||||
/* #undef HAVE_WAIT3 */
|
/* #undef HAVE_WAIT3 */
|
||||||
|
|
||||||
|
|
@ -135,15 +126,15 @@ typedef char * caddr_t;
|
||||||
/* Define if your <sys/time.h> declares struct tm. */
|
/* Define if your <sys/time.h> declares struct tm. */
|
||||||
/* #undef TM_IN_SYS_TIME */
|
/* #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 */
|
/* define this if needed to get reentrant functions */
|
||||||
#undef _REENTRANT
|
#undef _REENTRANT
|
||||||
|
|
||||||
/* define this if needed to get threadsafe functions */
|
/* define this if needed to get threadsafe functions */
|
||||||
#undef _THREAD_SAFE
|
#undef _THREAD_SAFE
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
||||||
#define uid_t long
|
|
||||||
|
|
||||||
/* define this if toupper() requires tolower() */
|
/* define this if toupper() requires tolower() */
|
||||||
#define C_UPPER_LOWER
|
#define C_UPPER_LOWER
|
||||||
|
|
||||||
|
|
@ -162,9 +153,15 @@ typedef char * caddr_t;
|
||||||
/* define if you have DCE */
|
/* define if you have DCE */
|
||||||
/* #undef HAVE_DCE */
|
/* #undef HAVE_DCE */
|
||||||
|
|
||||||
|
/* define if you have DSAP */
|
||||||
|
/* #undef HAVE_DSAP */
|
||||||
|
|
||||||
/* define if you have GDBM */
|
/* define if you have GDBM */
|
||||||
/* #undef HAVE_GDBM */
|
/* #undef HAVE_GDBM */
|
||||||
|
|
||||||
|
/* define if you have ISODE */
|
||||||
|
/* #undef HAVE_ISODE */
|
||||||
|
|
||||||
/* define if you have Kerberos */
|
/* define if you have Kerberos */
|
||||||
/* #undef HAVE_KERBEROS */
|
/* #undef HAVE_KERBEROS */
|
||||||
|
|
||||||
|
|
@ -183,12 +180,18 @@ typedef char * caddr_t;
|
||||||
/* define if you have Mach CThreads */
|
/* define if you have Mach CThreads */
|
||||||
/* #undef HAVE_MACH_CTHREADS */
|
/* #undef HAVE_MACH_CTHREADS */
|
||||||
|
|
||||||
|
/* define if you have PP */
|
||||||
|
/* #undef HAVE_PP */
|
||||||
|
|
||||||
/* define if you have a preemptive POSIX Threads implementation */
|
/* define if you have a preemptive POSIX Threads implementation */
|
||||||
/* #undef HAVE_PREEMPTIVE_PTHREADS */
|
/* #undef HAVE_PREEMPTIVE_PTHREADS */
|
||||||
|
|
||||||
/* define if you have POSIX Threads */
|
/* define if you have POSIX Threads */
|
||||||
/* #undef HAVE_PTHREADS */
|
/* #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 */
|
/* define if your POSIX Threads implementatin is circa Draft 4 */
|
||||||
/* #undef HAVE_PTHREADS_D4 */
|
/* #undef HAVE_PTHREADS_D4 */
|
||||||
|
|
||||||
|
|
@ -210,6 +213,9 @@ typedef char * caddr_t;
|
||||||
/* define if you have Solaris LWP Threads */
|
/* define if you have Solaris LWP Threads */
|
||||||
/* #undef HAVE_THR */
|
/* #undef HAVE_THR */
|
||||||
|
|
||||||
|
/* define if you have XTPP */
|
||||||
|
/* #undef HAVE_XTPP */
|
||||||
|
|
||||||
/* define this for connectionless LDAP support */
|
/* define this for connectionless LDAP support */
|
||||||
/* #undef LDAP_CONNECTIONLESS */
|
/* #undef LDAP_CONNECTIONLESS */
|
||||||
|
|
||||||
|
|
@ -315,6 +321,9 @@ typedef char * caddr_t;
|
||||||
/* Define if you have the pthread_yield function. */
|
/* Define if you have the pthread_yield function. */
|
||||||
/* #undef HAVE_PTHREAD_YIELD */
|
/* #undef HAVE_PTHREAD_YIELD */
|
||||||
|
|
||||||
|
/* Define if you have the res_search function. */
|
||||||
|
/* #undef HAVE_RES_SEARCH */
|
||||||
|
|
||||||
/* Define if you have the sched_yield function. */
|
/* Define if you have the sched_yield function. */
|
||||||
/* #undef HAVE_SCHED_YIELD */
|
/* #undef HAVE_SCHED_YIELD */
|
||||||
|
|
||||||
|
|
@ -366,6 +375,15 @@ typedef char * caddr_t;
|
||||||
/* Define if you have the sysconf function. */
|
/* Define if you have the sysconf function. */
|
||||||
/* #undef HAVE_SYSCONF */
|
/* #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 if you have the waitpid function. */
|
||||||
#define HAVE_WAITPID 1
|
#define HAVE_WAITPID 1
|
||||||
|
|
||||||
|
|
@ -516,6 +534,9 @@ typedef char * caddr_t;
|
||||||
/* Define if you have the nsl_s library (-lnsl_s). */
|
/* Define if you have the nsl_s library (-lnsl_s). */
|
||||||
/* #undef HAVE_LIBNSL_S */
|
/* #undef HAVE_LIBNSL_S */
|
||||||
|
|
||||||
|
/* Define if you have the resolv library (-lresolv). */
|
||||||
|
/* #undef HAVE_LIBRESOLV */
|
||||||
|
|
||||||
/* Define if you have the socket library (-lsocket). */
|
/* Define if you have the socket library (-lsocket). */
|
||||||
/* #undef HAVE_LIBSOCKET */
|
/* #undef HAVE_LIBSOCKET */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue