mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Add LDAPD library checks.
Remove AC_GCC_TRADITIONAL check. Likely to cause more harm than good.
This commit is contained in:
parent
c63938a187
commit
fb45c9baba
@ -30,9 +30,15 @@
|
||||
/* 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
|
||||
|
||||
@ -81,6 +87,9 @@
|
||||
/* define if you have Sun LWP (Solaris style) */
|
||||
#undef HAVE_THR
|
||||
|
||||
/* define if you have XTPP */
|
||||
#undef HAVE_XTPP
|
||||
|
||||
/* define this for connectionless LDAP support */
|
||||
#undef LDAP_CONNECTIONLESS
|
||||
|
||||
|
20
configure.in
20
configure.in
@ -215,7 +215,8 @@ elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then
|
||||
AC_ERROR([ if cross compiling, add --enable-x-compile.])
|
||||
fi
|
||||
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
dnl OpenLDAP requires STDC features
|
||||
dnl AC_PROG_GCC_TRADITIONAL
|
||||
AC_PROG_CPP
|
||||
|
||||
|
||||
@ -242,6 +243,23 @@ dnl
|
||||
AC_CHECK_LIB(gen, main)
|
||||
])
|
||||
|
||||
# LDAPD tests
|
||||
if test $ol_enable_ldapd != no ; then
|
||||
dnl look for ISODE libraries
|
||||
AC_CHECK_LIB(dsap, main, [
|
||||
AC_DEFINE(HAVE_DSAP,1)
|
||||
LDAPD_LIBS="$LDAPD_LIBS -ldsap"
|
||||
],:)
|
||||
AC_CHECK_LIB(isode, main, [
|
||||
AC_DEFINE(HAVE_ISODE,1)
|
||||
LDAPD_LIBS="$LDAPD_LIBS -lisode"
|
||||
],:)
|
||||
AC_CHECK_LIB(xtpp, main, [
|
||||
AC_DEFINE(HAVE_XTPP,1)
|
||||
LDAPD_LIBS="$LDAPD_LIBS -lxtpp"
|
||||
],:)
|
||||
fi
|
||||
|
||||
dnl HP-UX requires -lV3
|
||||
AC_CHECK_LIB(V3, sigset)
|
||||
|
||||
|
@ -130,9 +130,15 @@ is provided ``as is'' without express or implied warranty.
|
||||
/* 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
|
||||
|
||||
@ -178,6 +184,9 @@ is provided ``as is'' without express or implied warranty.
|
||||
/* define if you have Sun LWP (Solaris style) */
|
||||
#undef HAVE_THR
|
||||
|
||||
/* define if you have XTPP */
|
||||
#undef HAVE_XTPP
|
||||
|
||||
/* define this for connectionless LDAP support */
|
||||
#undef LDAP_CONNECTIONLESS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user