mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Add additional LDAPD/ISODE checks
This commit is contained in:
parent
21cb9a1c5d
commit
54c66420f0
2
README
2
README
@ -38,7 +38,7 @@ REQUIRED SOFTWARE
|
|||||||
ISODE compatible ldap distribution
|
ISODE compatible ldap distribution
|
||||||
|
|
||||||
CLIENTS/CONTRIBware:
|
CLIENTS/CONTRIBware:
|
||||||
Depends on package. See per package READMEs.
|
Depends on package. See per package README.
|
||||||
|
|
||||||
|
|
||||||
MAKING AND INSTALLING THE DISTRIBUTION
|
MAKING AND INSTALLING THE DISTRIBUTION
|
||||||
|
@ -57,6 +57,9 @@
|
|||||||
/* 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
|
||||||
|
|
||||||
|
31
configure.in
31
configure.in
@ -243,25 +243,38 @@ dnl
|
|||||||
AC_CHECK_LIB(gen, main)
|
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
|
if test $ol_enable_ldapd != no ; then
|
||||||
dnl look for ISODE libraries
|
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, [
|
AC_CHECK_LIB(dsap, main, [
|
||||||
|
ol_link_isode=yes
|
||||||
AC_DEFINE(HAVE_DSAP,1)
|
AC_DEFINE(HAVE_DSAP,1)
|
||||||
LDAPD_LIBS="$LDAPD_LIBS -ldsap"
|
LDAPD_LIBS="$LDAPD_LIBS -ldsap"
|
||||||
],:)
|
],:,[-lisode])
|
||||||
AC_CHECK_LIB(isode, main, [
|
AC_CHECK_LIB(isode, main, [
|
||||||
|
ol_link_isode=yes
|
||||||
AC_DEFINE(HAVE_ISODE,1)
|
AC_DEFINE(HAVE_ISODE,1)
|
||||||
LDAPD_LIBS="$LDAPD_LIBS -lisode"
|
LDAPD_LIBS="$LDAPD_LIBS -lisode"
|
||||||
],:)
|
],:)
|
||||||
AC_CHECK_LIB(xtpp, main, [
|
|
||||||
AC_DEFINE(HAVE_XTPP,1)
|
|
||||||
LDAPD_LIBS="$LDAPD_LIBS -lxtpp"
|
|
||||||
],:)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl HP-UX requires -lV3
|
if test $ol_link_isode != no; then
|
||||||
AC_CHECK_LIB(V3, sigset)
|
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
|
if test $ol_with_kerberos = auto -o $ol_with_kerberos = k5 ; then
|
||||||
AC_CHECK_HEADERS(kerberosIV/krb.h kerberosIV/des.h)
|
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
|
BUILD_SLURPD=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $ol_enable_ldapd != no ; then
|
if test $ol_link_isode != no ; then
|
||||||
BUILD_LDAPD=yes
|
BUILD_LDAPD=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -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 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user