Commit Graph

39 Commits

Author SHA1 Message Date
Kurt Zeilenga
04d91569e1 Replaced PREEMPTIVE_THREADS with HAVE_YIELDING_SELECT to clarify
the exact nature of the functionality being tested.  -DNO_THREADS
does NOT have a yield select, hence the macro is not defined.
The slapd/daemon code has been changed to test both no threads
and yielding select before using a timeout of NULL.
1998-11-22 20:08:14 +00:00
Kurt Zeilenga
475fd6dc45 "make veryclean" now lives up to its name. 1998-11-22 06:24:59 +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
Kurt Zeilenga
b35e18c03f Build library test programs. Fix compiling issues. 1998-11-21 20:39:24 +00:00
Kurt Zeilenga
db573ddd11 Fix SunOS5 HAVE_THR detection -llwp -> -lthread 1998-11-20 17:52:44 +00:00
Kurt Zeilenga
781bf990e5 LWP/THR detected failed to set ol_link_threads. 1998-11-20 07:17:18 +00:00
Kurt Zeilenga
9f55887315 wrap include fcntl.h with HAVE_FCNTL_H 1998-11-18 20:11:15 +00:00
Kurt Zeilenga
bda79e1324 Add missing check for crypt.h
Sync portable.h.nt with portable.h.in
1998-11-18 04:48:16 +00:00
Kurt Zeilenga
05e597d869 Add sizeof checks to configure.in.
Add ac/bytes.h to provided sized types.
Use new sized type in md5/sha1 header through simple typedef.
Should substitute old type for new everywhere.
1998-11-17 22:49:15 +00:00
Kurt Zeilenga
a240efce5c Add AC_C_BIGENDIAN check for <ac/socket.h>. Code should be rewritten
not to require knowledge of byte order such that this check can be removed.
1998-11-17 19:44:59 +00:00
Kurt Zeilenga
da42acb93a Update handling of string headers.
Update NT port.
1998-11-17 19:05:48 +00:00
Kurt Zeilenga
24c5b0e791 Add checks for string.h and strings.h and apply them in generic header. 1998-11-16 02:02:45 +00:00
Kurt Zeilenga
b8d552b9b3 Update pthread preemptive test. Still needs work. 1998-11-16 00:52:15 +00:00
Kurt Zeilenga
d0942df6c9 Add check to see if errno is always thread specific.
If it is not, then everything must use threading libraries.
1998-11-15 20:55:17 +00:00
Kurt Zeilenga
f2aa11550e Pthread library check. Autoconf uses same cache variable based
upon library and function, but not secondary libraries.  Must use
different functions in such cases.
1998-11-13 04:28:56 +00:00
Kurt Zeilenga
5c2334c8a4 Updates based upon latest NT UserDirectory changes:
configure checks for getpwuid(), sys/resource.h, and pwd.h
	Fix !TERMIOS && !SGTTY ifdef in ud/util.c
1998-11-12 23:25:53 +00:00
Kurt Zeilenga
376e1e02ff Update configure to handle DEC OSF1 3.2 special cases.
-thread & -pthread are still treated as libraries, will need
additional work to use them as CFLAGS.
Eliminated HAVE_DCE define (was redundant) and its use.  Code
now relies on draft4 and function existance tests.
1998-11-11 00:24:22 +00:00
Kurt Zeilenga
078c192c63 Add support for OSF1 c89's -thread option to enable threads.
Fix old -pthread -lmach ... support to check for -lc_r instead of -lc.
1998-11-10 19:48:52 +00:00
Kurt Zeilenga
8cb0ff3a68 Fix rwlock pthread draft4 compatibility.
Fix pthread_attr_init/destroy pthread draft4 compatibility.
1998-11-09 20:50:52 +00:00
Kurt Zeilenga
a48b606a2f Initial LDAP_API_FEATURE_X_OPENLDAP commit:
configure generates ldap_features.h based from ldap_features.h.in
  LDAP_REFERRALS -> LDAP_API_FEATURE_OPENLDAP_V2_REFERRALS
  LDAP_DNS -> LDAP_API_FEATURE_OPENLDAP_V2_DNS
1998-11-09 19:41:09 +00:00
Kurt Zeilenga
a5ee7b5842 Add -lresolv check for LDAP_DNS.
Updated portable.h.nt based upon portable.h.in (1.11).
1998-11-08 19:37:03 +00:00
Kurt Zeilenga
ba8131d5be loginfo test... 1998-11-08 00:47:07 +00:00
Kurt Zeilenga
1b812b7629 Test new loginfo, only added a comment. 1998-11-08 00:44:17 +00:00
Kurt Zeilenga
f86c9b2f85 Added comment to test new loginfo commands. 1998-11-08 00:40:40 +00:00
Kurt Zeilenga
54c66420f0 Add additional LDAPD/ISODE checks 1998-11-08 00:26:20 +00:00
Kurt Zeilenga
fb45c9baba Add LDAPD library checks.
Remove AC_GCC_TRADITIONAL check.  Likely to cause more harm than good.
1998-11-06 21:14:19 +00:00
Kurt Zeilenga
4646b76608 define _REENTRANT & _THREAD_SAFE to pull in reentrant/threadsafe prototypes.
modify apps to use TOLOWER/TOUPPER macros to ensure isupper/islower is
called when approprate.
1998-11-05 06:11:47 +00:00
Kurt Zeilenga
c230adae6b Add cross compiling warnings and errors.
Now require --enable-x-compile if cross compiling.
Add tests for threadsafe/reentrant functions.
Add tests for setconcurrency functions.
1998-11-05 02:50:28 +00:00
Kurt Zeilenga
5009ee7b13 Add tests for vsnprintf and snprintf. 1998-11-04 23:29:52 +00:00
Kurt Zeilenga
2c6e3e6008 Add CPP check. 1998-11-04 20:10:51 +00:00
Kurt Zeilenga
df104514a8 Fix DCE detection. 1998-11-04 17:35:18 +00:00
Kurt Zeilenga
a76130b705 Fixed assignment bugs from Hallvard. 1998-11-04 16:36:04 +00:00
Kurt Zeilenga
0300aebdc5 autoconf update 1998-11-04 01:35:21 +00:00
Kurt Zeilenga
312fe11024 Fix bogus SunOS/Solaris LWP tests. 1998-11-02 18:45:31 +00:00
Kurt Zeilenga
72ecc42de1 Try to find sched_yield in -lposix4 (Solaris) and -lrt (Digital Unix) 1998-11-02 05:16:07 +00:00
Kurt Zeilenga
1c0f451699 Check in mach cthread fixes. Should make non-pthread detection
work better.
1998-11-01 18:11:11 +00:00
Kurt Zeilenga
ad9da05240 Fix aclgroups (missing 's')
Remove lint
1998-10-25 20:20:56 +00:00
Kurt Zeilenga
8ffd286942 bash(1) doesn't like empty if statements 1998-10-25 06:26:44 +00:00
Kurt Zeilenga
2a869f5a99 merged with autoconf branch 1998-10-25 01:41:42 +00:00