mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
autoconf update
This commit is contained in:
parent
f634a0d40f
commit
0300aebdc5
5 changed files with 515 additions and 299 deletions
12
acconfig.h
12
acconfig.h
|
|
@ -56,6 +56,15 @@
|
|||
/* define if your POSIX Threads implementation is circa Draft 4 */
|
||||
#undef HAVE_PTHREADS_D4
|
||||
|
||||
/* define if you have sched_yield() */
|
||||
#ifdef __notdef__
|
||||
/* see second sched_yield define */
|
||||
#undef HAVE_SCHED_YIELD
|
||||
#endif
|
||||
|
||||
/* define if you have setproctitle() */
|
||||
#undef HAVE_SETPROCTITLE
|
||||
|
||||
/* define if you have -lwrap */
|
||||
#undef HAVE_TCPD
|
||||
|
||||
|
|
@ -77,6 +86,9 @@
|
|||
/* define this to remove -lldap cache support */
|
||||
#undef LDAP_NOCACHE
|
||||
|
||||
/* define this for LDAP process title support */
|
||||
#undef LDAP_PROCTITLE
|
||||
|
||||
/* define this for LDAP referrals support */
|
||||
#undef LDAP_REFERRALS
|
||||
|
||||
|
|
|
|||
30
configure.in
30
configure.in
|
|
@ -24,9 +24,10 @@ AC_PREFIX_DEFAULT(/usr/local)
|
|||
dnl General "enable" options
|
||||
OL_ARG_ENABLE(debug,[ --enable-debug enable debugging], yes)dnl
|
||||
dnl OL_ARG_ENABLE(syslog,[ --enable-syslog enable syslog support], auto)dnl
|
||||
OL_ARG_ENABLE(proctitle,[ --enable-proctitle enable proctitle support], yes)dnl
|
||||
OL_ARG_ENABLE(libui,[ --enable-libui enable library user interface], yes)dnl
|
||||
OL_ARG_ENABLE(cache,[ --enable-cache enable caching], yes)dnl
|
||||
OL_ARG_ENABLE(dns,[ --enable-dns enable dns support], no)dnl
|
||||
OL_ARG_ENABLE(dns,[ --enable-dns enable dns support], no)dnl
|
||||
OL_ARG_ENABLE(referrals,[ --enable-referrals enable referrals], yes)dnl
|
||||
OL_ARG_ENABLE(cldap,[ --enable-cldap enable connectionless ldap], no)dnl
|
||||
|
||||
|
|
@ -714,7 +715,7 @@ if test $ol_enable_crypt != no ; then
|
|||
have_crypt=yes], [have_crypt=no])])
|
||||
|
||||
if test $have_crypt = yes ; then
|
||||
AC_DEFINE(HAVE_CRYPT)
|
||||
AC_DEFINE(HAVE_CRYPT,1)
|
||||
else
|
||||
AC_MSG_WARN(could not find crypt)
|
||||
if test $ol_enable_crypt = yes ; then
|
||||
|
|
@ -726,6 +727,20 @@ if test $ol_enable_crypt != no ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# FreeBSD (and others) have setproctitle(3) in -lutil
|
||||
if test $ol_enable_proctitle != no ; then
|
||||
AC_CHECK_FUNC(setproctitle, [have_setproctitle=yes], [
|
||||
AC_CHECK_LIB(util, setproctitle,
|
||||
[have_setproctitle=yes
|
||||
LUTIL_LIBS="$LUTIL_LIBS -lutil"],
|
||||
[have_setproctitle=no
|
||||
LIBOBJS="$LIBOBJS setproctitle.o"])])
|
||||
|
||||
if test $have_setproctitle = yes ; then
|
||||
AC_DEFINE(HAVE_SETPROCTITLE,1)
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
|
@ -737,16 +752,19 @@ fi
|
|||
AC_HEADER_DIRENT
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS( \
|
||||
stdarg.h \
|
||||
stddef.h \
|
||||
errno.h \
|
||||
fcntl.h \
|
||||
filio.h \
|
||||
getopt.h \
|
||||
libutil.h \
|
||||
limits.h \
|
||||
malloc.h \
|
||||
regex.h \
|
||||
sgtty.h \
|
||||
sys/file.h \
|
||||
sys/filio.h \
|
||||
sys/errno.h \
|
||||
sys/ioctl.h \
|
||||
sys/param.h \
|
||||
|
|
@ -840,6 +858,9 @@ fi
|
|||
if test $ol_enable_dns != no ; then
|
||||
AC_DEFINE(LDAP_DNS,1)
|
||||
fi
|
||||
if test $ol_enable_proctitle != no ; then
|
||||
AC_DEFINE(LDAP_PROCTITLE,1)
|
||||
fi
|
||||
if test $ol_enable_referrals != no ; then
|
||||
AC_DEFINE(LDAP_REFERRALS,1)
|
||||
fi
|
||||
|
|
@ -955,4 +976,7 @@ servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/
|
|||
servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
|
||||
servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
|
||||
tests/Makefile:build/top.mk:tests/Makefile.in \
|
||||
,[date > stamp-h])
|
||||
,[
|
||||
date > stamp-h
|
||||
echo Please \"make depend\" to build dependencies
|
||||
])
|
||||
|
|
|
|||
|
|
@ -152,6 +152,15 @@ is provided ``as is'' without express or implied warranty.
|
|||
/* define if your POSIX Threads implementation is circa Draft 4 */
|
||||
#undef HAVE_PTHREADS_D4
|
||||
|
||||
/* define if you have sched_yield() */
|
||||
#ifdef __notdef__
|
||||
/* see second sched_yield define */
|
||||
#undef HAVE_SCHED_YIELD
|
||||
#endif
|
||||
|
||||
/* define if you have setproctitle() */
|
||||
#undef HAVE_SETPROCTITLE
|
||||
|
||||
/* define if you have -lwrap */
|
||||
#undef HAVE_TCPD
|
||||
|
||||
|
|
@ -173,6 +182,9 @@ is provided ``as is'' without express or implied warranty.
|
|||
/* define this to remove -lldap cache support */
|
||||
#undef LDAP_NOCACHE
|
||||
|
||||
/* define this for LDAP process title support */
|
||||
#undef LDAP_PROCTITLE
|
||||
|
||||
/* define this for LDAP referrals support */
|
||||
#undef LDAP_REFERRALS
|
||||
|
||||
|
|
@ -350,6 +362,9 @@ is provided ``as is'' without express or implied warranty.
|
|||
/* Define if you have the <krb.h> header file. */
|
||||
#undef HAVE_KRB_H
|
||||
|
||||
/* Define if you have the <libutil.h> header file. */
|
||||
#undef HAVE_LIBUTIL_H
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
|
|
@ -383,6 +398,9 @@ is provided ``as is'' without express or implied warranty.
|
|||
/* Define if you have the <sgtty.h> header file. */
|
||||
#undef HAVE_SGTTY_H
|
||||
|
||||
/* Define if you have the <stdarg.h> header file. */
|
||||
#undef HAVE_STDARG_H
|
||||
|
||||
/* Define if you have the <stddef.h> header file. */
|
||||
#undef HAVE_STDDEF_H
|
||||
|
||||
|
|
@ -398,6 +416,9 @@ is provided ``as is'' without express or implied warranty.
|
|||
/* Define if you have the <sys/file.h> header file. */
|
||||
#undef HAVE_SYS_FILE_H
|
||||
|
||||
/* Define if you have the <sys/filio.h> header file. */
|
||||
#undef HAVE_SYS_FILIO_H
|
||||
|
||||
/* Define if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
/* include/portable.h.in. Generated automatically from configure.in by autoheader. */
|
||||
/* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
|
||||
/* synced with portable.h.in 1.5 */
|
||||
/*
|
||||
Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
All rights reserved.
|
||||
|
|
@ -176,6 +177,15 @@ typedef char * caddr_t;
|
|||
/* define if your POSIX Threads implementatin is circa Draft 4 */
|
||||
/* #undef HAVE_PTHREADS_D4 */
|
||||
|
||||
/* define if you have sched_yield() */
|
||||
#ifdef __notdef__
|
||||
/* see second sched_yield define */
|
||||
/* #undef HAVE_SCHED_YIELD */
|
||||
#endif
|
||||
|
||||
/* define if you have setproctitle() */
|
||||
#undef HAVE_SETPROCTITLE
|
||||
|
||||
/* define if you have -lwrap */
|
||||
/* #undef HAVE_TCPD */
|
||||
|
||||
|
|
@ -197,6 +207,9 @@ typedef char * caddr_t;
|
|||
/* define this to remove -lldap cache support */
|
||||
/* #undef LDAP_NOCACHE */
|
||||
|
||||
/* define this for LDAP process title support */
|
||||
/* #undef LDAP_PROCTITLE */
|
||||
|
||||
/* define this for LDAP referrals support */
|
||||
#define LDAP_REFERRALS 1
|
||||
|
||||
|
|
@ -371,6 +384,9 @@ typedef char * caddr_t;
|
|||
/* Define if you have the <krb.h> header file. */
|
||||
/* #undef HAVE_KRB_H */
|
||||
|
||||
/* Define if you have the <libutil.h> header file. */
|
||||
/* #undef HAVE_LIBUTIL_H */
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
|
|
@ -404,6 +420,9 @@ typedef char * caddr_t;
|
|||
/* Define if you have the <sgtty.h> header file. */
|
||||
/* #undef HAVE_SGTTY_H */
|
||||
|
||||
/* Define if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
|
|
@ -419,6 +438,9 @@ typedef char * caddr_t;
|
|||
/* Define if you have the <sys/file.h> header file. */
|
||||
/* #undef HAVE_SYS_FILE_H */
|
||||
|
||||
/* Define if you have the <sys/filio.h> header file. */
|
||||
/* #undef HAVE_SYS_FILIO_H */
|
||||
|
||||
/* Define if you have the <sys/ioctl.h> header file. */
|
||||
/* #undef HAVE_SYS_IOCTL_H */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue