Skip to content
Snippets Groups Projects
Commit 54c66420 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add additional LDAPD/ISODE checks

parent 21cb9a1c
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ REQUIRED SOFTWARE
ISODE compatible ldap distribution
CLIENTS/CONTRIBware:
Depends on package. See per package READMEs.
Depends on package. See per package README.
MAKING AND INSTALLING THE DISTRIBUTION
......
......@@ -57,6 +57,9 @@
/* 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
......
This diff is collapsed.
......@@ -243,25 +243,38 @@ dnl
AC_CHECK_LIB(gen, main)
])
# LDAPD tests
dnl HP-UX requires -lV3
AC_CHECK_LIB(V3, sigset)
# ISODE tests
ol_link_isode=no
if test $ol_enable_ldapd != no ; then
dnl look for ISODE libraries
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])
AC_CHECK_LIB(dsap, main, [
ol_link_isode=yes
AC_DEFINE(HAVE_DSAP,1)
LDAPD_LIBS="$LDAPD_LIBS -ldsap"
],:)
],:,[-lisode])
AC_CHECK_LIB(isode, main, [
ol_link_isode=yes
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)
if test $ol_link_isode != no; then
AC_CHECK_LIB(pp, main, [
AC_DEFINE(HAVE_PP,1)
LDAPD_LIBS="-lpp $LDAPD_LIBS"
],:)
AC_PATH_PROG(PEPSY, pepsy)
fi
if test $ol_with_kerberos = auto -o $ol_with_kerberos = k5 ; then
AC_CHECK_HEADERS(kerberosIV/krb.h kerberosIV/des.h)
......@@ -988,7 +1001,7 @@ if test $ol_enable_slurpd != no -a $ol_link_threads != no -a \
BUILD_SLURPD=yes
fi
if test $ol_enable_ldapd != no ; then
if test $ol_link_isode != no ; then
BUILD_LDAPD=yes
fi
......
......@@ -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 PP */
#undef HAVE_PP
/* define if you have a preemptive POSIX Threads implementation */
#undef HAVE_PREEMPTIVE_PTHREADS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment