Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoș Haiduc
OpenLDAP
Commits
0300aebd
Commit
0300aebd
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
autoconf update
parent
f634a0d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
acconfig.h
+12
-0
12 additions, 0 deletions
acconfig.h
configure
+432
-295
432 additions, 295 deletions
configure
configure.in
+27
-3
27 additions, 3 deletions
configure.in
include/portable.h.in
+21
-0
21 additions, 0 deletions
include/portable.h.in
include/portable.h.nt
+23
-1
23 additions, 1 deletion
include/portable.h.nt
with
515 additions
and
299 deletions
acconfig.h
+
12
−
0
View file @
0300aebd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
configure
+
432
−
295
View file @
0300aebd
This diff is collapsed.
Click to expand it.
configure.in
+
27
−
3
View file @
0300aebd
...
...
@@ -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
])
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
21
−
0
View file @
0300aebd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
include/portable.h.nt
+
23
−
1
View file @
0300aebd
/* 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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment