Commit Graph

157 Commits

Author SHA1 Message Date
Kurt Zeilenga
9db062bb71 Update pthread checks:
Add plain -lpthread check.
	Move *_r() checks so that they are checked for regradless
		of thread libs used.  Before they were only being checked
		when using threads.
	Fix yields test such that compile/link/odd runtime failures results in
		'yes' instead of 'no'.
1998-12-14 00:23:22 +00:00
Kurt Zeilenga
a3c8546021 Update kerberos checks. 1998-12-10 23:35:28 +00:00
Kurt Zeilenga
545048451c Update Kerberos checks. 1998-12-07 23:32:25 +00:00
Kurt Zeilenga
76dc7b2673 Add checks for gethostby{name,addr}_r. Only should be used if
linking with $LTHREAD_LIBS.
1998-12-04 04:21:19 +00:00
Kurt Zeilenga
514c44a5c8 Add checks for reentrant functions when LTHREAD_LIBS is used.
Don't use new HAVE_FUNC_R on the client side (apps or libs).
1998-12-04 02:31:41 +00:00
Kurt Zeilenga
76fe6f86bd Fix --with-threads=yes. 1998-12-02 19:31:48 +00:00
Kurt Zeilenga
1105b1a892 Skip NDBM check when in auto detecting LDBM api. 1998-12-01 18:33:31 +00:00
Kurt Zeilenga
c1cef27bda Update slapd to use lutil_passwd() for both user and root passwords.
Remove MD5 and SHA1 options (both are now always on).  Rename
functions to be lutil_ instead of ldap_.
Create --enable-cleartext option.  Default is currently 'on'.
1998-12-01 03:36:37 +00:00
Kurt Zeilenga
c8298ec23b Remove lint from pthread TRY_RUN checks. 1998-12-01 00:07:04 +00:00
Kurt Zeilenga
febafbdf28 Add varients of REENTRANT... 1998-11-30 20:40:42 +00:00
Kurt Zeilenga
70a4dd7f87 Add pthread_create consistency check. 1998-11-30 01:58:54 +00:00
Kurt Zeilenga
a093e98658 Subsitute ldap_subdir after processing argument. 1998-11-29 23:50:01 +00:00
Kurt Zeilenga
0c24fa2f3d Add --with-subdir to allow user specification of install subdirectory
to be used.  --without-subdir can be used to specify no subdirectory.
1998-11-29 20:03:57 +00:00
Kurt Zeilenga
edd464ee8f Update build environment:
default sysconfdir subdirectory is openldap instead of ldap.
    This removes conflicts with other ldap subsystems.  Should
    be configure option.
  *.conf files are now preserved.  A *.conf.default are always
    created with the latest conf.
  *.help and ldapfriendly are now placed in $(datadir)/$(ldap_subdir)
  updated man pages to reflect changes.
1998-11-29 19:48:28 +00:00
Kurt Zeilenga
30cefc46de Add KRB_LIBS to makefiles. 1998-11-25 23:49:12 +00:00
Kurt Zeilenga
e020da90c1 Need to add unistd.h and sys/time.h checks back in now that
now that the mktime check is commented out.
1998-11-23 06:02:47 +00:00
Kurt Zeilenga
1650f15d9d Remove mktime/stdtod checks. They are not currently needed. 1998-11-23 03:08:26 +00:00
Kurt Zeilenga
0f518857f0 Update configure with new yielding select test. 1998-11-22 20:25:52 +00:00
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