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

Add LDAPD library checks.

Remove AC_GCC_TRADITIONAL check.  Likely to cause more harm than good.
parent c63938a1
......@@ -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
......
This diff is collapsed.
......@@ -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
......
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