Ben Collins
e732e12279
configure.in now includes OL_DECL_STRDUP, configure and portable.h.in
...
rebuilt to reflect it.
1999-03-15 00:18:49 +00:00
Kurt Zeilenga
ae939acafe
Fail -lbe check if -lroot doesn't exist.
1999-03-13 23:03:40 +00:00
Kurt Zeilenga
5d5370c3ec
Make sure LN_S is set to "cp" if "ln -s" AND "ln" does work.
1999-03-13 22:57:38 +00:00
Kurt Zeilenga
4afc7aab40
Original test failed under FreeBSD. Reworked LN_H detection
...
after LN_S test. Moved to openldap.m4 and cached result.
Does not yet handle case where LN_H == 'cp' and LN_S == 'ln'.
1999-03-13 22:53:10 +00:00
Ben Collins
f18213015c
Check for how to hard link (ln or cp) and define as LS_H, also includes check for be_app() in -lbe
1999-03-13 19:31:50 +00:00
Ben Collins
159083640a
We need a SUBDIR makefile in contrib/ so that compiling in a build dir will work
1999-03-13 18:16:11 +00:00
Ben Collins
362f051a57
Added check for <arpa/inet.h>
1999-03-13 02:17:34 +00:00
Ben Collins
c0b11aa8b5
Added check for getpass() as well as adding it to the -llutil Makefile.in (BeOS will need this)
1999-03-13 02:08:42 +00:00
Kurt Zeilenga
e2d90b3acb
Update configure to:
...
-- fixed gethostbyaddr_r/gethostbyname_r compile warnings
-- relocated Pthread -mt test to be before -kthread test
1999-03-10 23:31:06 +00:00
Hallvard Furuseth
a24b0c1c70
Integrate saucer in OpenLDAP build environment:
...
Add saucer/Makefile.in, add saucer to configure and top-level Makefile,
include "portable.h" and <ac/*.h>,
replace ldap_debug/lber_debug with ldap_set_option/lber_set_option.
1999-03-09 01:59:49 +00:00
Kurt Zeilenga
5302491e94
Use $TERMCAP_LIBS in readline test.
1999-03-08 23:01:23 +00:00
Kurt Zeilenga
8d3f492698
Add GNU readline detection. Needed for saucer enhancement (ITS#96).
1999-03-08 01:48:45 +00:00
Kurt Zeilenga
c0c673485b
Relocate reentrant checks to before thread checks.
...
Change default to cc instead of gcc (experimental change).
1999-03-07 03:18:51 +00:00
Kurt Zeilenga
9e71e09bac
Relocate reentrant function checks to before thread library checks.
...
Disable ctime_r() type check. Need better test.
1999-03-07 00:22:11 +00:00
Kurt Zeilenga
df1672bd02
Update error message for pthread_create() works failure.
1999-03-06 22:33:58 +00:00
Kurt Zeilenga
6cd7680586
Fix typo in configure.in with gethostbyname_r_nargs
1999-03-05 15:59:28 +00:00
Kurt Zeilenga
bbc024fff9
Add comment concerning use of vendor 'cc' with empty CFLAGS with
...
same code (commented out).
1999-03-04 06:18:29 +00:00
Kurt Zeilenga
ce6836dbed
Apply Hallvard's D4 pthread detection patch.
1999-03-03 23:32:00 +00:00
Kurt Zeilenga
625efd9466
If rsaref is needed, add it to TLS_LIBS.
1999-03-03 21:50:02 +00:00
Kurt Zeilenga
8895f5d071
Add first cut of ctime_r return type test.
1999-03-03 21:32:22 +00:00
Kurt Zeilenga
3028424f68
Extend TLS/SSL detection for use RSAref if necessary.
1999-03-02 20:02:29 +00:00
Bart Hartgers
e26de67770
Patch to support to determine the number of args of the
...
gethostby{name,addr}_r functions.
Contributed by Juan Carlos Gomes IT#68 (apparently).
Also includes support for detecting ssleay in configure.in.
1999-02-25 13:07:27 +00:00
Hallvard Furuseth
79f7c85067
Add locale support (slapd.conf keyword "locale") to slapd if HAVE_LOCALE_H
1999-02-22 21:01:24 +00:00
Kurt Spanier
2889c67adf
Client programs for test008-concurrency moved to subdir tests/progs.
...
Building tests/progs/*.c in the main build process.
==> Test-suite must be called by 'make test', or 'make test-bdb2'
1999-02-22 11:28:01 +00:00
Kurt Zeilenga
9e2fc1ed06
Check for pthread with -mt (for Solaris 2.x).
...
Still requires user to workaround Solaris pthread_create in -lc issue.
1999-02-21 00:46:57 +00:00
Kurt Zeilenga
aa17fdd0bd
Use ldap_pvt_strtok directly and unconditionally.
...
Implementation no longer uses strtok_r(), it may be broken
or have an odd prototype.
Update configure not to check for strtok/strtok_r nor require
strtok_r to LDAP_API_FEATURE_X_OPENLDAP_REENTRANT.
1999-02-20 20:12:03 +00:00
Kurt Zeilenga
a71f328831
Import Ben Collins <bcollins@debian.org> Back-TCL for SLAPD.
1999-02-14 19:20:14 +00:00
Kurt Zeilenga
859b1ae451
Detect pthread_detach using #include <pthread.h> (using AC_TRY_LINK)
...
instead of AC_CHECK_FUNCS() as symbol may be mangled.
1999-02-08 22:54:40 +00:00
Kurt Zeilenga
162f373c61
Include pthread.h in pthread AC_TRY_LINK tests.
1999-02-08 21:46:46 +00:00
Kurt Zeilenga
f047557d47
Update autoconf version requirement comment.
1999-02-08 20:22:59 +00:00
Kurt Zeilenga
44a12f35ab
Update AC_TRY_LINK checks (mainly effects pthread detection).
1999-02-08 19:38:00 +00:00
Kurt Zeilenga
bc8a21f077
Port Ksp's BDB2 configure change to configure.in and regenerate configure.
1999-02-08 18:10:07 +00:00
Kurt Zeilenga
dec5c37de6
Fix --disable-ldbm... missing CR-LF escape in argument verification.
1999-02-04 23:09:35 +00:00
Kurt Zeilenga
f4dd466315
Build environment changes including:
...
Kerberos detection of des_debug
detection of resolv.h and arpa/nameserv.h
Updated affected codes.
1999-02-04 21:54:38 +00:00
Kurt Zeilenga
6f481d0fd1
update pthread comment.
1999-02-03 17:22:22 +00:00
Kurt Zeilenga
ee05cd8038
Update AC_DEFINES to use autoconf 1.3 descriptions.
...
Update acconfig.h to use @TOP@ and @BOTTOM@ to rid ourselves of
the .top/.bot files.
1999-02-03 01:05:41 +00:00
Kurt Zeilenga
da40e0e350
Even more pthread changes for Digital UNIX...
1999-02-02 04:23:37 +00:00
Kurt Zeilenga
4160c2029b
Added addition pthread checks for Digital UNIX (OSF/1).
...
Added comment with order of checks.
1999-02-01 23:54:31 +00:00
Kurt Zeilenga
fb0489d922
Added --enable-bdb2 for Ksp's Berkeley DB 2 specific slapd backend.
...
Supports 'yes', 'no' (default), and 'auto'.
1999-02-01 22:19:42 +00:00
Kurt Zeilenga
9f96ab2fb0
Add ac/sysexits.h for GNU win32 environments.
...
Fix LDAP_API_VENDOR_VERSION -> LDAP_VENDOR_VERSION bug
1999-02-01 02:47:39 +00:00
Kurt Zeilenga
94cdf28fa9
Use the following macros in preparation for GNU win32 support.
...
AC_CYGWIN AC_MINGW32 AC_EXEEXT AC_OBJEXT
1999-02-01 02:06:36 +00:00
Kurt Zeilenga
8981a52ed3
Rebuild configure using autoconf 1.3 (with aclocal from automake 1.4).
1999-02-01 01:36:42 +00:00
Kurt Zeilenga
300a242432
have --enable-dns imply --enable-referrals. If --disable-referrals, error.
1999-01-31 01:55:39 +00:00
Kurt Zeilenga
72ba4cfb71
Use -lldap_r instead of -lldap -lthread.
...
Likely broke things for non-posix threadings....
Update -lldap_r implementation to:
remove attribute support
hide thread detachment
provide concurrency accessors
provide initialization function
fix gethostby{addr,name}_r codes (not coverred by HAVE_REENTRANT_FUNCTIONS)
Update servers/libraries to use ldap_pvt_thread_ calls.
Cleanup server codes (no #ifdef HAVE_PTHREAD_THIS or _THATs)!
Removed -llthread
1999-01-28 04:34:55 +00:00
Kurt Zeilenga
a31de60768
Minor cleanup of various detections...
1999-01-24 01:33:22 +00:00
Kurt Zeilenga
4863d98084
Remove configure's wait3 test as we don't care about the rusage.
...
Rewrite all child waits to use wait4 (for consistency only).
1999-01-23 04:03:43 +00:00
Kurt Zeilenga
ddb0752b8f
Move libldap/strdup.c to string.c.
...
libldap/string.c will hold various string.h replacements.
Removed liblutil/strdup.c
Moved ldap_pvt_strtok to string.c.
Moved prototype of ldap_pvt_strtok to <ac/string.h>.
Added #define strtok_r ldap_pvt_strtok (if strtok_r doesn't exist).
1999-01-22 04:33:29 +00:00
Kurt Zeilenga
7cd4e05a27
Add support for FreeBSD -kthread (kernel pthreads)
1999-01-21 22:25:33 +00:00
Kurt Zeilenga
ef4ddc5ad7
Repeat the misplaced header check for --with-threads=lwp.
...
Suggest --with-threads=posix when error is reported.
1999-01-19 00:33:12 +00:00
Kurt Zeilenga
aa92024af0
Test for misplaced pthread_t in sys/types.h.
...
Once we have private types for threads, this check can be removed.
1999-01-18 23:47:10 +00:00