]> git.sur5r.net Git - openldap/log
openldap
26 years agoAdd libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
Kurt Zeilenga [Sun, 22 Nov 1998 04:22:28 +0000 (04:22 +0000)]
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.

26 years agoLIBS needs to be redefined to link test programs.
Kurt Zeilenga [Sat, 21 Nov 1998 20:50:35 +0000 (20:50 +0000)]
LIBS needs to be redefined to link test programs.

26 years agoBuild library test programs. Fix compiling issues.
Kurt Zeilenga [Sat, 21 Nov 1998 20:39:24 +0000 (20:39 +0000)]
Build library test programs.  Fix compiling issues.

26 years agoUpdate to my little php3-tool thingy - config file parsing.
Predrag "Pele" Balorda [Sat, 21 Nov 1998 20:33:20 +0000 (20:33 +0000)]
Update to my little php3-tool thingy - config file parsing.

26 years agoAdd hints for FreeBSD
Kurt Zeilenga [Fri, 20 Nov 1998 22:32:31 +0000 (22:32 +0000)]
Add hints for FreeBSD

26 years agoFix manual support. Set MANCOMPRESS to $(CAT) for now.
Kurt Zeilenga [Fri, 20 Nov 1998 19:54:39 +0000 (19:54 +0000)]
Fix manual support.  Set MANCOMPRESS to $(CAT) for now.
Need to extend autoconf to support user setting.

26 years ago$BINDIR should be $bindir
Kurt Zeilenga [Fri, 20 Nov 1998 18:12:31 +0000 (18:12 +0000)]
$BINDIR should be $bindir

26 years agoFix SunOS5 HAVE_THR detection -llwp -> -lthread
Kurt Zeilenga [Fri, 20 Nov 1998 17:52:44 +0000 (17:52 +0000)]
Fix SunOS5 HAVE_THR detection -llwp -> -lthread

26 years agoPass $(CC) to mkdep
Kurt Zeilenga [Fri, 20 Nov 1998 16:22:50 +0000 (16:22 +0000)]
Pass $(CC) to mkdep

26 years agoDon't use perror after ldbm_store() failure; errno is not set then.
Hallvard Furuseth [Fri, 20 Nov 1998 12:15:05 +0000 (12:15 +0000)]
Don't use perror after ldbm_store() failure; errno is not set then.

26 years agoAdd rfc2279 (obsoletes rfc2244)
Hallvard Furuseth [Fri, 20 Nov 1998 11:54:58 +0000 (11:54 +0000)]
Add rfc2279 (obsoletes rfc2244)

26 years agoThe tsleep() versions had different return types
Hallvard Furuseth [Fri, 20 Nov 1998 11:46:59 +0000 (11:46 +0000)]
The tsleep() versions had different return types

26 years agostack.c did not compile, needed ldap_log.h for its debugging statements.
Hallvard Furuseth [Fri, 20 Nov 1998 11:44:19 +0000 (11:44 +0000)]
stack.c did not compile, needed ldap_log.h for its debugging statements.

26 years agoDon't use the `return value' from void free()
Hallvard Furuseth [Fri, 20 Nov 1998 11:40:06 +0000 (11:40 +0000)]
Don't use the `return value' from void free()

26 years agoNeeded stdio.h
Hallvard Furuseth [Fri, 20 Nov 1998 11:38:45 +0000 (11:38 +0000)]
Needed stdio.h

26 years agoAdd strdup.c to project file.
Kurt Zeilenga [Fri, 20 Nov 1998 07:38:09 +0000 (07:38 +0000)]
Add strdup.c to project file.

26 years agoLWP/THR detected failed to set ol_link_threads.
Kurt Zeilenga [Fri, 20 Nov 1998 07:17:18 +0000 (07:17 +0000)]
LWP/THR detected failed to set ol_link_threads.

26 years agoUpdate string.h to unconditional declare forwards for
Kurt Zeilenga [Fri, 20 Nov 1998 07:04:20 +0000 (07:04 +0000)]
Update string.h to unconditional declare forwards for
strdup(), strcasecmp(), strncasecmp().  Should test to see
if these are truely needed.  Hopefully their addition will
not break other platforms.

26 years agoAdd strdup.c from -llutil, renamed to ldap_strdup() and always used.
Kurt Zeilenga [Fri, 20 Nov 1998 07:02:39 +0000 (07:02 +0000)]
Add strdup.c from -llutil, renamed to ldap_strdup() and always used.
This will allow us to substitute malloc() at a later date.

26 years agoUpdate INSTALL/README files with references to new documents.
Kurt Zeilenga [Fri, 20 Nov 1998 03:12:46 +0000 (03:12 +0000)]
Update INSTALL/README files with references to new documents.
Added new developer todo list.

26 years agoAdded some additional guidelines and clarified some existing points.
Kurt Zeilenga [Fri, 20 Nov 1998 01:59:16 +0000 (01:59 +0000)]
Added some additional guidelines and clarified some existing points.

26 years agoGuidelines for developers in doc/devel/, added doc/install for installation info
Hallvard Furuseth [Thu, 19 Nov 1998 20:59:21 +0000 (20:59 +0000)]
Guidelines for developers in doc/devel/, added doc/install for installation info

26 years agoadd ldap_strdup and eliminate strdup in libldap
Hallvard Furuseth [Thu, 19 Nov 1998 06:18:23 +0000 (06:18 +0000)]
add ldap_strdup and eliminate strdup in libldap

26 years agoAdd "avoid extern in .c files".
Hallvard Furuseth [Thu, 19 Nov 1998 04:49:01 +0000 (04:49 +0000)]
Add "avoid extern in .c files".

26 years agoAdded a file with coding rules and hints for OpenLDAP developers.
Hallvard Furuseth [Thu, 19 Nov 1998 04:38:05 +0000 (04:38 +0000)]
Added a file with coding rules and hints for OpenLDAP developers.

26 years agoSupport $LDAPRC to specify fullpath to additional rc file
Kurt Zeilenga [Thu, 19 Nov 1998 03:55:56 +0000 (03:55 +0000)]
Support $LDAPRC to specify fullpath to additional rc file
Don't support ./.ldaprc...  can be spoofed to easily.

26 years agopass struct in_addr.s_addr*, not long*, to gethostbyaddr
Hallvard Furuseth [Thu, 19 Nov 1998 03:02:33 +0000 (03:02 +0000)]
pass struct in_addr.s_addr*, not long*, to gethostbyaddr

26 years agoCheck in default ldap.conf file
Kurt Zeilenga [Thu, 19 Nov 1998 02:10:52 +0000 (02:10 +0000)]
Check in default ldap.conf file

26 years agoUpdate comments associated with SIGUSRx -> LDAP_SIGUSRx change.
Kurt Zeilenga [Thu, 19 Nov 1998 01:18:24 +0000 (01:18 +0000)]
Update comments associated with SIGUSRx -> LDAP_SIGUSRx change.

26 years agodebug messages incorrectly said "add" instead of "remove".
Kurt Zeilenga [Wed, 18 Nov 1998 20:27:21 +0000 (20:27 +0000)]
debug messages incorrectly said "add" instead of "remove".

26 years agofree parent's reader lock. Thanks Gary!
Kurt Zeilenga [Wed, 18 Nov 1998 20:20:54 +0000 (20:20 +0000)]
free parent's reader lock.  Thanks Gary!

26 years agoUpdate configure.
Kurt Zeilenga [Wed, 18 Nov 1998 20:12:31 +0000 (20:12 +0000)]
Update configure.

26 years agowrap include fcntl.h with HAVE_FCNTL_H
Kurt Zeilenga [Wed, 18 Nov 1998 20:11:15 +0000 (20:11 +0000)]
wrap include fcntl.h with HAVE_FCNTL_H

26 years agoRemove lint in UserDirectory found on NT
Kurt Zeilenga [Wed, 18 Nov 1998 20:08:02 +0000 (20:08 +0000)]
Remove lint in UserDirectory found on NT

26 years agoAdd headers to resolve implicit declaration warnings.
Kurt Zeilenga [Wed, 18 Nov 1998 18:11:55 +0000 (18:11 +0000)]
Add headers to resolve implicit declaration warnings.

26 years agoUpdate LinuxThread signal handling. Hide #ifdef hell in ac/signal.h.
Kurt Zeilenga [Wed, 18 Nov 1998 17:45:32 +0000 (17:45 +0000)]
Update LinuxThread signal handling.  Hide #ifdef hell in ac/signal.h.

26 years agoOBJS: passwd.c -> passwd.o (I thought I already fixed this once)
Kurt Zeilenga [Wed, 18 Nov 1998 16:15:10 +0000 (16:15 +0000)]
OBJS:  passwd.c -> passwd.o  (I thought I already fixed this once)

26 years agoProtect strdup/memcmp from macro subsitution. Let compiler pick registers.
Kurt Zeilenga [Wed, 18 Nov 1998 16:13:51 +0000 (16:13 +0000)]
Protect strdup/memcmp from macro subsitution.  Let compiler pick registers.

26 years agoNeed to add SIZEOF defines.
Kurt Zeilenga [Wed, 18 Nov 1998 06:10:11 +0000 (06:10 +0000)]
Need to add SIZEOF defines.

26 years agoFix multiple define protection.
Kurt Zeilenga [Wed, 18 Nov 1998 05:11:12 +0000 (05:11 +0000)]
Fix multiple define protection.

26 years agoShouldn't have removed uint32's multiple defined protection...
Kurt Zeilenga [Wed, 18 Nov 1998 05:09:05 +0000 (05:09 +0000)]
Shouldn't have removed uint32's multiple defined protection...

26 years agoAdd missing check for crypt.h
Kurt Zeilenga [Wed, 18 Nov 1998 04:48:16 +0000 (04:48 +0000)]
Add missing check for crypt.h
Sync portable.h.nt with portable.h.in

26 years agoMove byte orderring stuff to ac/bytes.h
Kurt Zeilenga [Tue, 17 Nov 1998 22:49:47 +0000 (22:49 +0000)]
Move byte orderring stuff to ac/bytes.h

26 years agoAdd sizeof checks to configure.in.
Kurt Zeilenga [Tue, 17 Nov 1998 22:49:15 +0000 (22:49 +0000)]
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.

26 years agoAdd AC_C_BIGENDIAN check for <ac/socket.h>. Code should be rewritten
Kurt Zeilenga [Tue, 17 Nov 1998 19:44:59 +0000 (19:44 +0000)]
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.

26 years agoNT doesn't have fork. Need to define HAVE_SPAWNLP
Kurt Zeilenga [Tue, 17 Nov 1998 19:14:11 +0000 (19:14 +0000)]
NT doesn't have fork.   Need to define HAVE_SPAWNLP

26 years agoRemove recently added externs. Some may not actually be bogus.
Kurt Zeilenga [Tue, 17 Nov 1998 19:08:29 +0000 (19:08 +0000)]
Remove recently added externs.  Some may not actually be bogus.

26 years agoUpdate handling of string headers.
Kurt Zeilenga [Tue, 17 Nov 1998 19:05:48 +0000 (19:05 +0000)]
Update handling of string headers.
Update NT port.

26 years agoBack out probable fix to strange alignment code
Hallvard Furuseth [Tue, 17 Nov 1998 17:44:50 +0000 (17:44 +0000)]
Back out probable fix to strange alignment code

26 years agoBack out K&Rification change; would only be needed in ldap.h and lber.h.
Hallvard Furuseth [Tue, 17 Nov 1998 04:07:31 +0000 (04:07 +0000)]
Back out K&Rification change; would only be needed in ldap.h and lber.h.

26 years agoKill off #elif in ldap/include/. K&R does not support it.
Hallvard Furuseth [Tue, 17 Nov 1998 01:25:45 +0000 (01:25 +0000)]
Kill off #elif in ldap/include/.  K&R does not support it.

26 years agoMake sure tblsize in initialized in ldap_new_select_info()
Kurt Zeilenga [Mon, 16 Nov 1998 23:55:37 +0000 (23:55 +0000)]
Make sure tblsize in initialized in ldap_new_select_info()
Regenerate configure.

26 years agoRemove extern declarations of library functions from source.c.
Kurt Zeilenga [Mon, 16 Nov 1998 05:07:27 +0000 (05:07 +0000)]
Remove extern declarations of library functions from source.c.
  This could cause problems on odd systems.  The generic
  headers should be extended as needed to include necessary
  system headers or, if necessary, make explicit declarations.
Extended ac/string.h header to look for string.h/strings.h if
  STDC_HEADERS is not defined.  Also provide basic declarations for
  str*() functions.  This could cause problems on odd systems.
Extended ac/unistd.h header to define basic declaration for misc
  functions that might be missing from headers.   This includes
  externs for getenv(), getopt(), mktemp(), tempname().
Protect fax500.h from multiple inclusion.  Moved includes of
  system/generic headers back to source files.
Made mail500 helper functions static.
Fixed includes of ctype.h, signal.h, etc. to use generics.
lutil/tempname.c: was including stdlib.h twice, one should stdio.h.
Wrapped <sys/resource.h> with HAVE_SYS_RESOURCE_H.
lber/io.c/ber_get_next(): Changed noctets back to signed.
  Used with BerRead which expects signed int as second arg and
  returns signed int.

26 years agoAdd checks for string.h and strings.h and apply them in generic header.
Kurt Zeilenga [Mon, 16 Nov 1998 02:02:45 +0000 (02:02 +0000)]
Add checks for string.h and strings.h and apply them in generic header.

26 years agoUpdate pthread preemptive test. Still needs work.
Kurt Zeilenga [Mon, 16 Nov 1998 00:52:15 +0000 (00:52 +0000)]
Update pthread preemptive test.  Still needs work.

26 years agoProtoized, moved extern definitions to .h files, fixed related bugs.
Hallvard Furuseth [Sun, 15 Nov 1998 22:40:11 +0000 (22:40 +0000)]
Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking.  Retyped a number of functions, usually
to return void.  Fixed a number of printf format errors.

API changes (in ldap/include):
  Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
  for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.

A number of `extern' declarations are left (some added by protoize), to
be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.

26 years agoRemove #ifdef sunos in lthread HAVE_LWP code.
Kurt Zeilenga [Sun, 15 Nov 1998 22:05:28 +0000 (22:05 +0000)]
Remove #ifdef sunos in lthread HAVE_LWP code.

26 years agoAdded declarations of common str*() functions
Hallvard Furuseth [Sun, 15 Nov 1998 21:52:56 +0000 (21:52 +0000)]
Added declarations of common str*() functions

26 years agoAdd check to see if errno is always thread specific.
Kurt Zeilenga [Sun, 15 Nov 1998 20:55:17 +0000 (20:55 +0000)]
Add check to see if errno is always thread specific.
If it is not, then everything must use threading libraries.

26 years agofix typo in previous commit.
Kurt Zeilenga [Sun, 15 Nov 1998 15:05:22 +0000 (15:05 +0000)]
fix typo in previous commit.

26 years agodon't assume NULL is zero.
Kurt Zeilenga [Sun, 15 Nov 1998 06:55:20 +0000 (06:55 +0000)]
don't assume NULL is zero.

26 years agoUse "generic" ac headers.
Kurt Zeilenga [Sun, 15 Nov 1998 06:54:30 +0000 (06:54 +0000)]
Use "generic" ac headers.

26 years agoPthread library check. Autoconf uses same cache variable based
Kurt Zeilenga [Fri, 13 Nov 1998 04:28:56 +0000 (04:28 +0000)]
Pthread library check.  Autoconf uses same cache variable based
upon library and function, but not secondary libraries.  Must use
different functions in such cases.

26 years agoRemoved space in front of `#endif'; `make depend' did not like it.
Hallvard Furuseth [Fri, 13 Nov 1998 03:06:54 +0000 (03:06 +0000)]
Removed space in front of `#endif'; `make depend' did not like it.

26 years agoEliminate #ifdef DOS
Kurt Zeilenga [Thu, 12 Nov 1998 23:28:47 +0000 (23:28 +0000)]
Eliminate #ifdef DOS

26 years agoUpdates based upon latest NT UserDirectory changes:
Kurt Zeilenga [Thu, 12 Nov 1998 23:25:53 +0000 (23:25 +0000)]
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

26 years agoModified UD as necessary to compile and link under NT.
Kurt Zeilenga [Thu, 12 Nov 1998 23:19:16 +0000 (23:19 +0000)]
Modified UD as necessary to compile and link under NT.

26 years agoMove extern declarations to headers.
Kurt Zeilenga [Thu, 12 Nov 1998 21:07:28 +0000 (21:07 +0000)]
Move extern declarations to headers.
Update NT portable.h and features.h

26 years agoRework prototype ifdef to use __NO_PROTOTYPES and __NEED_PROTOTYPES
Kurt Zeilenga [Thu, 12 Nov 1998 20:30:42 +0000 (20:30 +0000)]
Rework prototype ifdef to use  __NO_PROTOTYPES and __NEED_PROTOTYPES
to force no prototypes or require them.
Remove _WIN32 clause.  Will update portable.h.nt to define __NEED_PROTOTYPES.

26 years agoInclude ldif.h to pickup declaration of str_getline()
Kurt Zeilenga [Thu, 12 Nov 1998 20:17:01 +0000 (20:17 +0000)]
Include ldif.h to pickup declaration of str_getline()
Fix pointer truncation to int by including prototypes in forward declarations.

26 years agoremove an entry from its parent's children ID list when it's deleted.
Kurt Zeilenga [Thu, 12 Nov 1998 18:39:33 +0000 (18:39 +0000)]
remove an entry from its parent's children ID list when it's deleted.
Provided by "Gary D. Williams" <sasgwi@unx.sas.com>

26 years agoForced commit to correct previous log, files were not changed.
Hallvard Furuseth [Thu, 12 Nov 1998 03:03:57 +0000 (03:03 +0000)]
Forced commit to correct previous log, files were not changed.

inet_addr() on OSF1 returns (unsigned int)0xffffffff, not int.
If it had returned int, the old code would have worked.

26 years agoCheck if inet_addr() returns 0xffffffff as well as -1.
Hallvard Furuseth [Thu, 12 Nov 1998 02:24:43 +0000 (02:24 +0000)]
Check if inet_addr() returns 0xffffffff as well as -1.
It returns (int)0xffffffff on OSF1 which has 64-bit long, so
`unsigned long address; ... if((address = inet_addr(str)) == -1)' fails.

26 years agoFix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
Hallvard Furuseth [Wed, 11 Nov 1998 23:37:38 +0000 (23:37 +0000)]
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
 #include <stdlib.h>    to get malloc & co various places,
 #include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
 declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.

26 years agoMemory leaks: Values from ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 22:10:05 +0000 (22:10 +0000)]
Memory leaks: Values from ldap_get_dn were not freed.

26 years agoMemory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 21:27:21 +0000 (21:27 +0000)]
Memory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.

26 years agoLocks were not always released, in particular if something went wrong.
Hallvard Furuseth [Wed, 11 Nov 1998 19:17:25 +0000 (19:17 +0000)]
Locks were not always released, in particular if something went wrong.
Fixed in slurpd and the slapd main dir.  Slapd clients were not examined.
It also "felt right" to swap the order of closing dfp and rfp in slurpd
copy_replog(), so the last acquired lock is unlocked first.

26 years agostrlen() needed string.h.
Hallvard Furuseth [Wed, 11 Nov 1998 16:35:58 +0000 (16:35 +0000)]
strlen() needed string.h.

26 years agoFix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4
Hallvard Furuseth [Wed, 11 Nov 1998 15:53:04 +0000 (15:53 +0000)]
Fix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4

26 years ago&deref_kv -> deref_kv; som compilers don't like &array
Hallvard Furuseth [Wed, 11 Nov 1998 15:42:22 +0000 (15:42 +0000)]
&deref_kv -> deref_kv; som compilers don't like &array

26 years agoUpdate NT4 port.
Kurt Zeilenga [Wed, 11 Nov 1998 05:50:51 +0000 (05:50 +0000)]
Update NT4 port.

26 years agoAdd/Remove defines to make current with ldapconfig.h.edit 1.8
Kurt Zeilenga [Wed, 11 Nov 1998 03:13:55 +0000 (03:13 +0000)]
Add/Remove defines to make current with ldapconfig.h.edit 1.8

26 years agoCreate feature file for NT build environment.
Kurt Zeilenga [Wed, 11 Nov 1998 03:03:03 +0000 (03:03 +0000)]
Create feature file for NT build environment.

26 years agoDon't include portable.h. Headers can and should assume portable.h
Kurt Zeilenga [Wed, 11 Nov 1998 01:38:02 +0000 (01:38 +0000)]
Don't include portable.h.  Headers can and should assume portable.h
has been included.

26 years agoUpdate configure to handle DEC OSF1 3.2 special cases.
Kurt Zeilenga [Wed, 11 Nov 1998 00:24:22 +0000 (00:24 +0000)]
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.

26 years agoAdded support for ldap.conf file. See ldap.conf(5) for details.
Kurt Zeilenga [Tue, 10 Nov 1998 23:37:30 +0000 (23:37 +0000)]
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.

26 years agoHAVE_PTHREAD_ATTR_SETDETACHSTATE_NP should be HAVE_PTHREAD_ATTR_SETDETACH_NP
Kurt Zeilenga [Tue, 10 Nov 1998 22:42:19 +0000 (22:42 +0000)]
HAVE_PTHREAD_ATTR_SETDETACHSTATE_NP should be HAVE_PTHREAD_ATTR_SETDETACH_NP

26 years agoRemoved LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex().
Hallvard Furuseth [Tue, 10 Nov 1998 22:18:22 +0000 (22:18 +0000)]
Removed LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex().

26 years agoUpdate apitest with to toy with additional ldap options and extensions.
Kurt Zeilenga [Tue, 10 Nov 1998 20:27:47 +0000 (20:27 +0000)]
Update apitest with to toy with additional ldap options and extensions.

26 years agoAdd support for OSF1 c89's -thread option to enable threads.
Kurt Zeilenga [Tue, 10 Nov 1998 19:48:52 +0000 (19:48 +0000)]
Add support for OSF1 c89's -thread option to enable threads.
Fix old -pthread -lmach ... support to check for -lc_r instead of -lc.

26 years agoAdd support for runtime determination of API extensions.
Kurt Zeilenga [Mon, 9 Nov 1998 23:21:38 +0000 (23:21 +0000)]
Add support for runtime determination of API extensions.

26 years agoInitialize openldap_ldap_global_options struct (not yet used).
Kurt Zeilenga [Mon, 9 Nov 1998 23:02:27 +0000 (23:02 +0000)]
Initialize openldap_ldap_global_options struct (not yet used).

26 years agoUpdate thread detection:
Kurt Zeilenga [Mon, 9 Nov 1998 21:15:56 +0000 (21:15 +0000)]
Update thread detection:
  ifndef HAVE_PTHREAD_KILL pthread_kill() code and prototype.
  Fix HAVE_FUNC_PTHREAD defines from previous change.

26 years agoFix rwlock pthread draft4 compatibility.
Kurt Zeilenga [Mon, 9 Nov 1998 20:50:52 +0000 (20:50 +0000)]
Fix rwlock pthread draft4 compatibility.
Fix pthread_attr_init/destroy pthread draft4 compatibility.

26 years agoInitial LDAP_API_FEATURE_X_OPENLDAP commit:
Kurt Zeilenga [Mon, 9 Nov 1998 19:41:09 +0000 (19:41 +0000)]
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

26 years agoSplit out ldapoptions from struct ldap to facilate global options.
Kurt Zeilenga [Mon, 9 Nov 1998 18:40:37 +0000 (18:40 +0000)]
Split out ldapoptions from struct ldap to facilate global options.
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.

26 years agoAdd -lresolv check for LDAP_DNS.
Kurt Zeilenga [Sun, 8 Nov 1998 19:37:03 +0000 (19:37 +0000)]
Add -lresolv check for LDAP_DNS.
Updated portable.h.nt based upon portable.h.in (1.11).

26 years agoDon't try to use TIOCGWINSZ unless it's defined.
Kurt Zeilenga [Sun, 8 Nov 1998 17:26:23 +0000 (17:26 +0000)]
Don't try to use TIOCGWINSZ unless it's defined.
initialize_client() should return void.  Fix and forward declaration.

26 years agoRemoved bad LDAP* argument to disambiguate()
Hallvard Furuseth [Sun, 8 Nov 1998 05:01:17 +0000 (05:01 +0000)]
Removed bad LDAP* argument to disambiguate()

26 years agoUndo last change (I commited the wrong version)
Hallvard Furuseth [Sun, 8 Nov 1998 04:59:11 +0000 (04:59 +0000)]
Undo last change (I commited the wrong version)