Kurt Zeilenga
352135e58b
Protect externs from inappropriate macro expansion.
1999-05-24 20:54:35 +00:00
Ben Collins
8da2a1b269
Fixed missing comma in -ldb check
1999-05-21 03:49:00 +00:00
Ben Collins
d4f4f8f197
Moved db1/db.h check to the db1 marco in openldap.m4. Also added check for HAVE_DB1_DB_H for which header to include since it's only defined when using db1
1999-05-07 01:27:16 +00:00
Ben Collins
a650d73230
Glibc 2.1 has Berkley db as -ldb1. Set up the autoconf to check this first, else we will actually be using compat calls in db2, and not the real db1.
1999-05-06 12:33:58 +00:00
Kurt Zeilenga
6743aebf3d
Changes to support FreeBSD LinuxThreads port. Namely don't rely
...
on errno not getting changed by Debug(). Likely a problem elsewhere.
Tests run okay, excepting concurrency has "no such object" problems.
1999-04-08 03:57:25 +00:00
Kurt Zeilenga
404f953ef0
New pthread_try_link test. Looks for pthread_create and pthread_detach
...
and, if LinuxThreads, pthread_kill_other_threads_np().
1999-04-07 02:47:15 +00:00
Kurt Zeilenga
bbb7964508
New LinuxThreads detection. Correctly detects FreeBSD's LinuxThreads port
...
(but not sure if it's usable yet). Needs to be tested on various versions
of Linux native LinuxThreads.
1999-04-06 23:44:27 +00:00
Kurt Zeilenga
f2fee94114
remove libtool comment
1999-03-30 05:10:20 +00:00
Juan Gomez
009038a795
MDBM detection feature.
1999-03-30 04:25:52 +00:00
Kurt Zeilenga
86a2e91ae9
Add 1999 to copyright. Test new log.pl.
1999-03-18 01:51:53 +00:00
Kurt Zeilenga
96b2ae55ac
Add OL_STRUCT_PASSWD_PW_GECOS test. Checks for pw_gecos in struct passwd.
1999-03-17 22:23:29 +00:00
Kurt Zeilenga
c51e647870
Minor change to EBCDIC test.
1999-03-17 03:55:51 +00:00
Kurt Zeilenga
5ba71a498b
Update EBCDIC tests.
1999-03-15 23:45:28 +00:00
Kurt Zeilenga
02e6172bf8
Implement OL_HEADER_STDC (derived from AC_HEADER_STDC) with EBCDIC
...
support. Will submit this to autoconf maintainers...
1999-03-15 21:40:57 +00:00
Kurt Zeilenga
8694a8395c
Add EBCDIC test in preparation for VM port.
1999-03-15 19:31:13 +00:00
Kurt Zeilenga
a8d7ee12a5
Fix "decleration" and missing ";" errors.
1999-03-15 01:01:45 +00:00
Ben Collins
da5444cee5
Define OL_DECL_STRDUP, the current declaration conflicts with GLIBC 2.1's
...
macro definition. If the declaration errors, then we don't declare it in
ac/string.h
1999-03-15 00:16:25 +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
27572b4257
Fixed small error in last commit for sys_errlist in openldap.m4
1999-03-13 18:41:07 +00:00
Ben Collins
ebce51b2db
actually define HAVE_SYS_ERRLIST if we have it, if not then declare it locally in ac/errno.h
1999-03-13 18:19:11 +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
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
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
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
Kurt Zeilenga
bd6dfe333d
LDBM/back-ldbm locking reworked!
...
back-ldbm was using a cache specific lock to protect non-reentrant
database routines from being reenterred. This is inadequate.
Also, reentrant database systems calls were serialized unnecessarily.
Non-reentrant database calls must have a big_mutex. Implemented
this within -lldbm itself. library requires ldbm_initialize()
be called before any other ldbm call to initialize the big_mutex
and to do any other db specific initialization (ie: such as
required for DB2).
The dbc_mutex, dbc_cv, & dbc_readers fileds of dbcache are history.
The "reentrant_database" (REENTRANT_DATABASE) define is also axed.
1999-01-26 20:55:54 +00:00
Kurt Zeilenga
114a0cd339
Update ctime_r() argument macro to cache results and to produce
...
one preprocessor macro instead of two. Ran aclocal, autoconf,
autoheader to update derived files. Modify util-int.c to use
CTIME_R_NARGS define and fallback to ctime() if not set.
Made LDAP_API_FEATURE_X_OPENLDAP_REENTRANT dependent upon result.
1999-01-02 23:40:31 +00:00
Bart Hartgers
d0958f628d
Moved the ctime_r number of arguments check to the right file.
1999-01-02 21:54:58 +00:00
Kurt Zeilenga
164def79fd
Add simple copyright notice.
1998-12-28 20:11:23 +00:00
Kurt Zeilenga
b5973eba5d
Minor change to signal handler. Changed _shutdown flag to
...
type 'sig_atomic_t' and marked it volatile. Add detection to
configure to ensure sig_atomic_t and volatile are supported.
1998-12-20 18:16:03 +00:00
Kurt Zeilenga
a9471890ca
Update posix thread version check to match against strings more likely
...
to be unique.
1998-12-03 17:15:58 +00:00
Kurt Zeilenga
6f92e197dc
Add libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
...
Updated to use libtool 1.2 (with FreeBSD3.0 a.out v. elf detection).
Updated autoconf to 1.12 with sed patch (don't use stock 1.12).
aclocal.m4 is built using automake's aclocal, v1.3.
Updated mkdep to support libtool .lo files.
Updated automake provided macros for TERMIOS, STRTOD, MKTIME, PTRDIFF_T
Autoconf now checks to ensure C compiler supports ANSI C prototypes.
Updated make files templates.
1998-11-22 04:22:28 +00:00