Add additional LDAPD/ISODE checks

This commit is contained in:
Kurt Zeilenga 1998-11-08 00:26:20 +00:00
parent 21cb9a1c5d
commit 54c66420f0
5 changed files with 500 additions and 398 deletions

2
README
View File

@ -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

View File

@ -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

859
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -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