Kurt Zeilenga
320cc86969
Define HAVE_NT_EVENT_LOG && HAVE_NT_SERVICE_MANAGER when HAVE_NT_THREADS
1999-11-01 22:06:00 +00:00
Kurt Zeilenga
bb1b81473b
Add configure tests for ssize_t and caddr_t and remove NT preamble
...
(excepting WIN32_LEAN_AND_MEAN). Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Kurt Zeilenga
4757d60fb4
Use compile time, instead of run time, sizeof checks.
1999-11-01 17:36:09 +00:00
Kurt Zeilenga
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Kurt Zeilenga
26d8290859
Remove more dependencies upon $ac_cv_mingw32
1999-11-01 03:40:55 +00:00
Howard Chu
17e1877a12
Fix broken MSVC builds. The previous round of Mingw32 patches changed some
...
ifdefs to depend on _WINNT, which is bogus. Added _WIN32 back on these ifs,
and fixed some other include problems.
1999-10-31 02:26:41 +00:00
Howard Chu
8da24171e3
Added NT-specific definitions to acconfig.h preamble
1999-10-28 11:17:58 +00:00
Kurt Zeilenga
f3da68969b
Add third argument AC_DEFINE() calls added by last commit to
...
avoid having to define macros by hand in acconfig.h (which
were mistaken added to portable.h.in).
1999-10-28 07:48:59 +00:00
Howard Chu
dbabbeeccc
Added macros for Mingw32 support.
...
See README 1.27 log
1999-10-28 07:24:39 +00:00
Kurt Zeilenga
bdca662249
Add lutil_entropy(). Currently only supports /dev/urandom or
...
Linux equivs. Should be extended to support other quality
sources of entropy. Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
c0a6159844
Initial Kth Kerberos support. Changes based upon suggestions
...
from Booker Bense <bbense@networking.stanford.edu>.
1999-10-01 05:11:39 +00:00
Kurt Zeilenga
6b0ccd4a5d
Add experimental detection of BerkeleyDB2 DB_THREAD.
...
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
1999-09-20 20:55:54 +00:00
Kurt Zeilenga
0307dd3b38
Use pipe(2) if descriptors are selectable.
1999-08-31 17:01:10 +00:00
Kurt Zeilenga
fed44d4972
Add some basic detection of restartable syscalls, sigaction,
...
socketpair. Use dependent on useful detection is.
1999-08-31 00:58:22 +00:00
Kurt Zeilenga
7ee686dbb4
Fix NEEDS typo
1999-08-25 06:31:56 +00:00
Kurt Zeilenga
b8a3a153bb
Axe <varargs.h> support. Assume STDC C translator is available
...
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Kurt Zeilenga
1b0aa8cf23
Support for native GNU Pth Threads (--with-threads=pth)
...
Tests behave as expected excepting slapd sometimes does not
shutdown properly.
1999-08-22 03:04:33 +00:00
Kurt Zeilenga
87675a953d
ACIs from Mark Valence <kurash@sassafras.com> (ITS#261)
1999-08-20 22:42:04 +00:00
Kurt Zeilenga
a805d80ef2
Rebuild configure and portable.h.in
1999-08-08 17:17:44 +00:00
Kurt Zeilenga
7b6a923937
Add basic configure support of --enable-quipu
1999-08-05 01:23:04 +00:00
Kurt Zeilenga
ecb9c3b3fb
Add multimaster replication support (ITS#170) based upon
...
updated patch submitted Philipp Klaus <ldapml@internet.access.ch>
Can be enabled using --enable-multimaster. TODO:
Replication test likely should be adjusted to test multimaster environment.
1999-08-03 22:15:19 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
f90ed5aef8
Add a little SASL framework and remove old X-DIGEST-MD5 hardcode.
...
This code is not called (yet).
1999-08-03 02:37:42 +00:00
Kurt Zeilenga
8a0b9e8a3b
Add HAVE_CYRUS_SASL define
1999-08-03 00:50:52 +00:00
Kurt Zeilenga
6f51f4d671
Add detection for Cyrus SASL library.
...
Improve detection of FreeBSD FetchURL library.
1999-08-02 23:35:03 +00:00
Kurt Zeilenga
48d5465ab7
Add support for "foo:< http://localhost/path .
...
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +00:00
Kurt Zeilenga
2967e3c9ef
Relocate headers checks to above libraries such that their results can
...
be used during library and function checks.
1999-07-29 18:38:21 +00:00
Kurt Zeilenga
fc4fe0ec7e
Generate new configure after new netinet/tcp.h test.
1999-07-27 00:52:50 +00:00
Kurt Zeilenga
259d56da08
Use AC_DEFINE third argument to generate portable.h.in entries instead
...
of explicit acconfig.h entries.
1999-07-23 21:10:02 +00:00
Kurt Zeilenga
cbb5553b03
Newer versions of OpenSSL install headers in $prefix/include/openssl...
1999-07-14 00:03:52 +00:00
Kurt Zeilenga
ff28f54d2d
Add configure support for 'socklen_t' as provided by Hallvard.
1999-07-13 18:46:22 +00:00
Kurt Zeilenga
51d1c90887
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
1999-07-05 06:26:26 +00:00
Kurt Zeilenga
5f28509311
detect write() and use HAVE_WRITE instead of
...
!defined( DOS ) && !defined( MACOS )
Add detection for read & recv/send for later use.
1999-06-28 04:11:41 +00:00
Kurt Zeilenga
ab10099fc1
Added support for "userPassword: {UNIX}uid". getpwnam("uid") is
...
used to fetch the pw_passwd which is than passwd to crypt().
getspnam() is used instead of getpwnam() when available.
Added configration detection of pw_passwd, shadow.h, getpwnam()
and getspnam().
1999-06-26 20:52:59 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Kurt Zeilenga
da549e3a42
_SGI_MP_SOURCE errno/h_errno experiment
1999-06-11 00:07:10 +00:00
Kurt Zeilenga
be991c81df
Add test for BeOS's closesocket
1999-06-09 00:10:26 +00:00
Howard Chu
967d1dcb2d
For ITS#157: Added LDAP backend for slapd, which also required adding
...
LDAP_OPT_MATCH_STRING to ldap.h and libldap/options.c.
1999-05-26 02:35:20 +00:00
Kurt Zeilenga
83408503a7
Eliminate DECL_STRDUP check in favor of simple fix to <ac/string.h> header.
...
Add #undef and other protection of macros.
1999-05-24 23:01:57 +00:00
Kurt Zeilenga
4e2b2f8a70
s/PACKAGE/OPENLDAP_PACKAGE/
...
s/VERSION/OPENLDAP_VERSION/
manually define for NT. Should sort out mechanism for one place
updating of package/version strings.
1999-05-21 04:00:25 +00:00
Kurt Zeilenga
c23e4fe6a7
Add EXEEXT and MKVERSION support.
1999-05-19 07:12:20 +00:00
Kurt Zeilenga
00da392c5f
Add check for <sys/select.h> for AIX.
1999-05-18 18:34:02 +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
Kurt Zeilenga
beddb31813
Backout ssl/ssl.h change for now. Trying to support "odd" 3rd
...
repackagers is a can of worms.
1999-04-30 00:50:08 +00:00
Kurt Zeilenga
7ba980f0f6
Modify slapd set user/group support to use -u/-g instead -U/-G.
...
Moved -u (udp) to -c (connectionless). Connectionless is depreciated
and undocumented.
Added tests for set{,e}{u,g}id to configure. Use existance of
setuid/setgid to enable feature. Use seteuid/setegid only if
they exist.
Fixed minor minor leak of username/groupname if specificied
more than once. (This should actually be an error)
1999-04-21 00:40:20 +00:00
Kurt Zeilenga
48e73426cb
Add basic gmodule detection for SLAPD_MODULES.
...
Cleanup perl detection.
1999-04-14 01:33:01 +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
b4658cbe24
Cleanup socket() detection.
...
Move select() detection forward, error if not available.
Move select() args type check forward so it can be used in subsequent tests.
1999-04-04 20:36:35 +00:00
Kurt Zeilenga
82453169fc
Add select args type & vfork tests for experimentation purposes.
1999-04-04 00:59:32 +00:00
Hallvard Furuseth
9ebd9a0289
Add -U and -G options to set user and group id.
...
Move socket setup to set_socket(), called before the uid/gid change.
1999-04-03 03:19:07 +00:00
Kurt Zeilenga
f626fbbd57
Rebuild configure due to MDBM addition.
1999-03-30 04:46:17 +00:00
Juan Gomez
009038a795
MDBM detection feature.
1999-03-30 04:25:52 +00:00
Kurt Zeilenga
30f953160f
Add wait4/3 detection.
...
Modify slapd_tester to use pid_t and wait macros. May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
1999-03-29 01:40:17 +00:00
Kurt Zeilenga
61f6d5d8ca
Add check for <assert.h> and put include in right file (acconfig.h)
1999-03-20 03:21:19 +00:00
Kurt Zeilenga
f999e1350d
Provide global assert solution. <ac/assert.h> (new) is now included
...
by portable.h with NDEBUG undefined. This makes assert() is always
available and automatically disables itself when LDAP_DEBUG is undefined.
I've included a basic assert() for pre-STDC compilers. It relies on
abort() which may not actually be available. (well replace abort()
with whatever is appropriate if and when we're faced with a pre-STDC
compiler that doesn't have assert()).
1999-03-20 03:13:24 +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
98d3206c42
Rebuild configure and portable.h.in...
1999-03-17 22:10:31 +00:00
Kurt Zeilenga
8694a8395c
Add EBCDIC test in preparation for VM port.
1999-03-15 19:31:13 +00:00
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
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
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
6de5ba2834
Fix typo -lxttp => -lxtpp in HAVE_XTPP comment
1999-03-09 08:05:27 +00:00
Kurt Zeilenga
6570ec368c
Regenerate configure and friends.
1999-03-08 20:01:17 +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
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
ce6836dbed
Apply Hallvard's D4 pthread detection patch.
1999-03-03 23:32:00 +00:00
Kurt Zeilenga
180eed16fe
Rebuild autoconf/autoheader generated files after TLS and gethostbyname_r
...
changes.
1999-03-01 18:55:52 +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 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
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
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
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
8981a52ed3
Rebuild configure using autoconf 1.3 (with aclocal from automake 1.4).
1999-02-01 01:36:42 +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
c09da45c85
Run autoconf/autoheader to generate new configure/portable.h.in
1999-01-16 00:59:49 +00:00
Kurt Zeilenga
b7beec1663
Initial version of the experimental 'back-perl'
...
John's still working on the 'perl-test' (the perl backend test module).
1999-01-14 06:33:09 +00:00
Kurt Zeilenga
cb31c7aa9a
Update check for res_search. If not available in $LIBS, check
...
in -lbind then in -lresolv.
1999-01-13 01:11:28 +00:00
Kurt Zeilenga
318531a437
Use pthread_detach() to detach connection threads instead of
...
creating them detached. This hopefully will reduce problems on
draft4 pthread implementations related to creating detached
threads (which is _np under draft4) on some platforms without
causing problems with other thread implementations.
1999-01-11 19:04:34 +00:00
Kurt Zeilenga
82b94e2258
Change SLAPD shutdown to do a cond wait on active threads instead
...
of a busy wait and allow the pthread_yield within the loop to be
removed. This was the only pthread_yield which was necessary
when usng non-preemptive threads. As such, the configure.in
sched_yield/pthread_yield missing error can be removed from
configure.in. If explicit yield function is missing, just provide
a no-op replacement.
Moved declaration of various slapd globals from main.c to init.c
so they can be shared with ldbm tools.
1999-01-11 18:36:40 +00:00
Kurt Zeilenga
334768c1bb
Update build environment to fix VPATH support.
...
make depend, make tests, and make install all work when build directory
is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
such as -L/usr/local/lib. If you put this in LIBS, some libraries
may not be found a link time.
Likely broke Kerberos/LDAPD support. Don't have those in my testbed.
1999-01-10 02:25:41 +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
f9d26dacd4
Teached autoconf to figure out how may arguments ctime_r expects.
...
Updated util-int.c to use this information.
1999-01-02 00:56:45 +00:00
Kurt Zeilenga
cfa450d078
Fix schema check bug... actually charray needs to dup strings on
...
add/merge as we now free strings agressively. Improved debug
message to include name of missing required attribute and added
check for 'operational attributes'. This check should be used
everywhere we need to test for operational attributes (add/modify).
Also, enabled schema checking for tests (and fixed resulting
problems by adjusting oc.conf).
1998-12-28 23:43:04 +00:00
Randy Kunkee
a451ccc50b
Fix line 62 of bprint.c "#elif" line with no expression.
...
Add check for to configure.in vsprintf, since HAVE_VSPRINTF is presumably
what was intended there. Finally, also protected a bunch of if test
expressions with double quotes, as they were producing illegal test
commands.
1998-12-24 01:31:40 +00:00
Kurt Zeilenga
362d6cbf2a
Add configure code for setting LDAP_SYSLOG but actually use hardcoded
...
LDAP_SYSLOG in slap.h/slurp.h.
1998-12-20 21:56:44 +00:00
Kurt Zeilenga
a5eee14f72
Add detection of dmalloc library.
1998-12-20 19:12:20 +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
8aba5c5059
Provide framework for ldap_r and reentrant/thread safety levels.
...
-lldap_r can now be implemented...
1998-12-20 00:58:55 +00:00
Kurt Zeilenga
0024cf2f4b
-lldap reentrantancy improvements from Bart Hartgers <A.Hartgers@phys.tue.nl>
...
including use of ctime_r, gethostby*_r, etc.. Also reworked ldap_sort_entries
to be reentrant.
Need to add code to properly set LDAP_API_FEATURE_THREAD_SAFE.
1998-12-19 01:27:20 +00:00
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
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
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
febafbdf28
Add varients of REENTRANT...
1998-11-30 20:40:42 +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
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
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
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
1fc810bfe5
Added support for ldap.conf file. See ldap.conf(5) for details.
...
Modified clients to reduce use of ldapconfig.h.edit.
ldap_{get,set}_option support is relatively complete. Needs
to be extended to support other "features" of OpenLDAP.
1998-11-10 23:37:30 +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
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
0300aebdc5
autoconf update
1998-11-04 01:35:21 +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
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