Kurt Zeilenga
6ad1c45bd3
Use LDAP_VFREE and friends. Other misc code cleanup.
2000-06-07 05:17:29 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
45c6324a9d
Move ldapd into the Attic, quipu tools remain for now.
2000-06-01 23:00:22 +00:00
Kurt Zeilenga
34edec3107
Strip installed executables
...
better library clean
2000-05-30 18:23:56 +00:00
Kurt Zeilenga
812ba2e81d
Add BerkeleyDB 3 DB_THREAD detection
2000-05-25 22:14:35 +00:00
Kurt Zeilenga
fa38b2edc3
Add basic detection for db3
2000-05-25 21:09:10 +00:00
Kurt Zeilenga
8411a5319a
New Berkeley DB detection
2000-05-25 20:44:07 +00:00
Kurt Zeilenga
0d2fb4e531
Fix $LIBS bug in fetch(3) detection
2000-05-16 01:24:02 +00:00
Kurt Zeilenga
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Howard Chu
605832eaa5
Added support for AIX security database:
...
configure.in: check for AIX security library, set in AUTH_LIBS macro
top.mk: add AUTH_LIBS macro to SECURITY_LIBS
portable.h.in: added HAVE_AIX_SECURITY macro (via autoheader)
passwd.c: use AIX getuserpw in chk_unix. Also fix logic in chk_unix:
getpwnam must always succeed for the given user. It is not a
fatal error if getspnam returns no result for the user: On
systems that support /etc/shadow, its usage is optional. The
same logic applies for AIX, SCO/HP SecureWare, etc.
2000-05-11 10:10:53 +00:00
Howard Chu
4efcc974a5
Added new support for NT and AIX dynamic linking - generate export tables
...
for executable files, not just libraries/modules. Also, the AIX linker
hardcodes -L paths by default; override this to prevent build paths from
appearing in distributed binaries.
mkdep.aix - a wrapper for AIX cc that sends dependency info to stdout so
that the standard mkdep script can operate.
2000-05-10 22:57:13 +00:00
Howard Chu
71a24bb705
Tweak the symlink creation rules for braindead "ln" commands.
2000-05-10 16:10:11 +00:00
Howard Chu
9ce83ce54f
Fix pthread_create test for AIX. AIX deviates from POSIX in that threads
...
are created detached by default. We need to set the thread attributes in
advance, otherwise pthread_detach will fail.
2000-05-10 16:09:26 +00:00
Dmitry Kovalev
f28e0c1967
update Win32 build environment to support back-sql
2000-03-16 19:58:36 +00:00
Dmitry Kovalev
8dc136ddd6
update Unix build environment to support back-sql
...
2 more steps left: add back-sql directory itself, and update Win32 build environment.
2000-03-16 18:54:11 +00:00
Kurt Zeilenga
7a72e094ed
Depend libraries upon setup.dsp
2000-02-25 19:28:24 +00:00
Kurt Zeilenga
10d904735b
Add NT build support for Unicode library.
2000-01-27 01:04:36 +00:00
Kurt Zeilenga
041c4e58d3
Remove .tar
2000-01-21 00:50:57 +00:00
Kurt Zeilenga
6437785a82
Initial implementation of Kerberos password verification for
...
simple bind via:
{KERBEROS}principal
Code is disabled by default (for security reasons). Use
--enable-kpasswd to enable. Behind SLAPD_KPASSWD.
Reworked Kerberos detection and split out KBIND as independent
feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND).
KBIND depends upon detection of KRB4 (or KRB425) support. Detection,
building with eBones (as distributed with FreeBSD 3.4) okay, but
wasn't able to test as I don't have a K4 KDC handy.
--with-kerberos has a number of detection options... most likely
don't work properly.
2000-01-08 18:42:11 +00:00
Kurt Zeilenga
b1639dadd6
Remove lint
...
Add copyrights
1999-12-13 04:53:59 +00:00
Kurt Zeilenga
5e12c84a6f
Add simple password test program.
...
Rework lutil_passwd routines to use struct berval instead of strings.
1999-12-09 01:11:16 +00:00
Kurt Zeilenga
26c7d69e8c
Update for new password codes for MSVC5
1999-12-08 06:44:22 +00:00
Gary Williams
27d13d7cea
build project doesnt need to create an exe, just a txt will do
1999-12-07 20:06:54 +00:00
Gary Williams
ae3f65c0b4
build -Win32 Release wants a make file
1999-12-07 20:05:44 +00:00
Kurt Zeilenga
f4856214fb
*** empty log message ***
1999-11-08 15:38:59 +00:00
Kurt Zeilenga
709f5ecb90
Modify NT Threads check to use AC_CHECK_FUNC(_beginthread)
1999-11-02 01:35:20 +00:00
Kurt Zeilenga
daa7907b4f
Move NT Thread test into build/openldap.m4. Still bogus (only
...
enables if MINGW32 and always enables if MINGW32).
1999-11-01 23:45:09 +00:00
Kurt Zeilenga
4757d60fb4
Use compile time, instead of run time, sizeof checks.
1999-11-01 17:36:09 +00:00
Kurt Zeilenga
c598c882fc
Fix typo in gethostbyaddr_r nargs test
1999-11-01 12:02:03 +00:00
Kurt Zeilenga
aab546e567
Fix nargs tests for gethostby{name,addr}_r to handle no prototype case.
1999-10-30 21:19:46 +00:00
Kurt Zeilenga
ae302ec787
Fix ctime_r nargs detection to return 0 if no prototype is available.
1999-10-30 21:07:03 +00:00
Howard Chu
e99eab787f
Use new macros from configure.in to accomodate NT/Mingw32 environment.
...
See README 1.27 log
1999-10-28 07:31:59 +00:00
Howard Chu
5d4eda1770
For Mingw32, include stdlib.h to test for sys_errlist
...
See README 1.27 log
1999-10-28 07:23:45 +00:00
Ben Collins
b7dd47c4cb
* configure.in: add --enable-dynamic option for linking our local binaries
...
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
run without requiring installation of libraries when we use --enable-dynamic
(LD_LIBRARY_PATH is always set, since it can't really hurt).
1999-09-29 00:56:43 +00:00
Julio Sánchez Fernández
f3c09a4f2d
The loading step in slapd build was failing because of a weird
...
@SLAPD tag. Removing it fixes the problem for me, but this should
be reviewed by someone who knows which @SLAPD_...@ tag was meant to
be there, if any.
1999-09-23 10:28:33 +00:00
Ben Collins
ed75be1b3c
* configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
...
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
-ltcl to the module and not slapd (this is the correct way to do this since the .la file
handles giving the correct libs when we pass the module to it in the linker line with
-dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
specific libraries. These should be defined in the back-*/Makefile.in file for each
module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
using a dynamic module (problem, libtool wont allow linking static libs into a libtool
lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
1999-09-23 05:32:10 +00:00
Ben Collins
53da7b6cda
* build/top.mk: removed references to TMPROOT and added DESTDIR support
...
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Ben Collins
7a0523b53d
* configure.in: Added better check for libwrap (the old way failed when
...
libwrap was a dynamic library). Added -lwrap to new subst var WRAP_LIBS
so we have more control over where it get's linked (dynamic libwrap
causes problems when we link to programs that don't define certains
globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
link command line specifically so it doesn't get thrown in with the rest
of the LIBS.
* configure: rebuilt
1999-09-22 15:00:51 +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
7b65fd3bd8
Add ; to header egrep targets to avoid syntax errors when using NeXT cpp.
1999-09-13 18:30:00 +00:00
Kurt Zeilenga
1c52d43149
Fix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect)
1999-09-10 02:15:03 +00:00
Kurt Zeilenga
5c5be8a287
Rework RCS id codes such that they are placed at the top of
...
configure. Implementation is dependent upon autoconf internals.
Attempts to use AC_REVISION hammered by libtool bugs. Will submit
reports to libtool camp and rework configure.in once fixes are
released.
1999-09-09 20:35:43 +00:00
Kurt Zeilenga
480103705f
use ' instead of " when setting rcs id variable
1999-09-09 05:31:52 +00:00
Kurt Zeilenga
0ed114224b
Generate OpenLDAP id for configure
1999-09-09 05:21:18 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
12bcc10c85
Remove misplaced sockpair.c
1999-09-05 19:17:42 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
40fa9d36ce
s/Id/OpenLDAP/ in RCSids
1999-08-30 08:08:00 +00:00
Kurt Zeilenga
d420fdf784
If filenm is "" or ":", skip it
1999-08-27 18:23:58 +00:00
Kurt Zeilenga
5a8254fa45
Remove lint from awk script (trailing ;)
...
Improve regex to allow detection of : inside of filenames.
Skip files with ':' in name
Fix noslash 'next' vs 'continue' bug
1999-08-27 17:51:40 +00:00
Kurt Zeilenga
5cf315c31f
Experimental support for GNU Pth's Posix Thread API. This might be a
...
suitable for systems with poor (or nonexistant) Pthread implementations.
1999-08-21 17:19:10 +00:00
Kurt Zeilenga
533c4177c8
Remove "touch all-common", not building when needed is worse than building
...
when not needed.
1999-08-19 17:03:41 +00:00
Kurt Zeilenga
b01f6de098
Update MSVC project and remove lint
1999-08-17 21:10:52 +00:00
Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Kurt Zeilenga
0b26912e40
res_search() detection: always look for res_search to include -lresolv
...
for inet_aton(). May be linked in when not absolutely necessary...
but no big deal, we'll likely start using res_search over sychronous
get{host,peer}byname calls anyways.
inet_aton() detection: use link instead of compile
1999-08-15 22:57:32 +00:00
Kurt Zeilenga
2509554904
Backout last two commits. Merged rule breaks specific behavior
...
of each rule!
1999-08-15 22:09:29 +00:00
Kurt Zeilenga
8f970aa247
New pthread tests...
1999-08-13 23:07:21 +00:00
Kurt Zeilenga
e3f34e305f
Rework --without-subdir to remove trailing /
1999-08-13 02:04:32 +00:00
Kurt Zeilenga
6fed2d1a91
Distribute missing for folks who don't have autoconf/automake/libtool
...
installed.
1999-08-10 17:30:25 +00:00
Howard Chu
adfd6865fe
Add missing veryclean target
1999-08-09 01:27:37 +00:00
Howard Chu
366e8fd5ad
Final round of module changes
1999-08-07 11:37:43 +00:00
Howard Chu
3d1dc1b90b
Modified to use libtool's ltdl instead of gmodule. Full Makefile support
...
for building backends as modules.
1999-08-07 07:59:41 +00:00
Howard Chu
b78a4a34f9
Preliminary Make rules to allow building backends as modules.
1999-08-06 16:15:05 +00:00
Kurt Zeilenga
e0691dfbc0
create SASL_LIBS to hold -lsasl
...
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Hallvard Furuseth
1f57e67d51
Silence libtool if `make -s' is running
1999-08-04 03:42:31 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +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
3f566efb94
remove .lo and .core on "make clean"
1999-07-31 01:11:33 +00:00
Kurt Zeilenga
8f267f7f71
Add echo...
1999-07-30 01:16:21 +00:00
Kurt Zeilenga
95dfc02cac
Fix opendlap typo
1999-07-30 01:01:17 +00:00
Kurt Zeilenga
b06ca56d42
Fix mkrelease
1999-07-30 00:57:35 +00:00
Kurt Zeilenga
10f138bc84
Initial make release script.
1999-07-28 20:56:34 +00:00
Kurt Zeilenga
bf92126cfe
Minor clarifications: use latest Sleepycat version.
1999-07-28 20:40:13 +00:00
Kurt Zeilenga
8f921243eb
Update COPYRIGHT notices
1999-07-28 20:35:22 +00:00
Kurt Zeilenga
b9764fff76
Back out paralyzing changes.
1999-07-24 21:40:58 +00:00
Howard Chu
61d0ffd135
Minor changes to support parallel make: Eliminate for-loops for building
...
subdirectories; add explicit dependencies for subdirs that need them.
1999-07-24 08:25:48 +00:00
Kurt Zeilenga
095f78b392
Use AC_CACHE_CHECK instead of AC_CACHE_VAR.
...
Rework sys_errlist detection to set HAVE_SYS_ERRLIST if sys_errlist
exists. If it declaration is needed, DECL_SYS_ERRLIST is also set.
1999-07-24 00:04:05 +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
Ben Collins
646d854ce8
Libtool's version info option is -version-info, not --version-info
1999-07-23 14:09:47 +00:00
Kurt Zeilenga
c47a2c4fce
Updates from libtool 1.3.3
1999-07-18 04:56:17 +00:00
Kurt Zeilenga
7e593d2efe
Replace install-sh with Autoconf 2.13 distributed version (from MIT).
1999-07-18 04:22:56 +00:00
Kurt Zeilenga
e147dc7ac0
Versions from Autoconf CVS repository (stable branch).
1999-07-18 04:14:23 +00:00
Kurt Zeilenga
5932dedb5c
Replace config.guess/.sub with versions from Autoconf 2.13.
1999-07-18 03:41:06 +00:00
Kurt Zeilenga
973f936ce7
Fix typo in last commit.
1999-07-16 17:07:53 +00:00
Kurt Zeilenga
afba0527a5
Don't use non-portable "ln -s -f".
1999-07-16 17:04:10 +00:00
Kurt Zeilenga
73276e84ae
Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
...
Includes support for update referral for each replicated backend.
Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world. Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Hallvard Furuseth
5d19e04366
Fix typo in socklen_t comment (signal.h -> sys/types.h and sys/socket.h)
1999-07-14 12:08:58 +00:00
Julio Sánchez Fernández
184a966329
Fix detection of socklen_t
...
Rebuild configure to reflect that
1999-07-14 11:13:32 +00:00
Julio Sánchez Fernández
c0a7e4ba85
Pass TLS_LIBS to the Makefile's.
1999-07-13 19:21:27 +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
2e7600588b
s/gecos/passwd/ in comment.
1999-06-26 20:53:25 +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
Kurt Zeilenga
b91a837296
Add a few missing dependencies on .exe projects.
1999-06-19 02:10:37 +00:00
Gary Williams
f0212c9245
add setup project to copy config files as necessary
1999-06-18 21:26:29 +00:00
Kurt Zeilenga
bbc568b21f
ldapconfig.h vs ldap_config.h changes
...
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
feb28db2a1
Add basic regex compatibility test.
1999-06-10 04:00:27 +00:00
Kurt Zeilenga
9778c97837
Fail depend test if .o is generated.
1999-06-09 02:41:58 +00:00
Kurt Zeilenga
deca38c9a9
Update build system to use output of new dependency generation detection
...
macros. Proceedures for using alternative dependency generation
"compiler" and "flags" has changed.
Pre-configure:
env MKDEP=mycc MKDEP_FLAGS=myccflags ./configure
Post-configure:
hack top.mk and run ./config.status
1999-06-08 19:13:00 +00:00
Kurt Zeilenga
a9fca665e6
OL_MKDEPEND: Round 2
...
now supports DETECTION using:
./configure
env MKDEP_FLAGS=-MM ./configure
env MKDEP=foo ./configure (no tests, no flags)
env MKDEP=foo MKDEP_FLAGS=-bar ./configure (no tests)
Exported AC_MKDEP and AC_MKDEP_FLAGS which can no be used
in build/*.mk
1999-06-08 01:33:36 +00:00
Kurt Zeilenga
b594f5209f
First cut of OL_CC_DEPEND test. Attempts to detect the appropriate
...
flag to generate dependencies. Output not used (yet).
1999-06-07 23:15:36 +00:00
Kurt Zeilenga
38c770968f
Someone who isn't likely to upgrade to BerkeleyDB 2 isn't likely
...
to install this patch.
1999-06-06 19:40:15 +00:00
Kurt Zeilenga
f3384af67e
Update BDB version number to 2.7.5... should rewrite this.
1999-06-06 19:36:02 +00:00
Kurt Zeilenga
ce4a4e6197
Allow -m to set CC_MKDEP and -x to set CC_MKDEP_FLAGS.
1999-06-06 17:45:39 +00:00
Kurt Zeilenga
e9b4114344
-c xxx overrides CC_MKDEP
1999-06-06 17:13:07 +00:00
Kurt Zeilenga
51a3df2ccf
mkdep was ignoring CC_MKDEP!
1999-06-06 06:38:37 +00:00
Kurt Zeilenga
fd41e31d46
Obtain version name from build/version (re-add build/version).
...
This will facilate version.c generation on non-UNIX systems.
1999-05-28 00:35:09 +00:00
Kurt Zeilenga
8af28623f0
Add missing MSVC5 project.
1999-05-26 20:36:30 +00:00
Kurt Zeilenga
62d26e3144
Add main MSVC5 workspace to build the works.
1999-05-26 19:25:22 +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
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
Kurt Zeilenga
c04fb542e6
$LIBVERSION -> $(LIBVERSION)
1999-05-20 21:34:17 +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
3d72675e77
Remove $(VERSIONFILE) dependencies
1999-04-29 18:28:57 +00:00
Kurt Zeilenga
e40f28aeeb
Forgot to add mkversion... ud needs the version string to
...
non-static and non-const and needs it named "Version".
1999-04-28 19:59:00 +00:00
Kurt Zeilenga
dba57a312c
Add mkversion script to generate version.c files. mkversion generates
...
identification strings compatible with ident(1) and what(1).
Uses $(VERSION) generated from configure.in. rm build/version
rm old version .c files
1999-04-28 05:40:17 +00:00
Kurt Zeilenga
2a537d1463
More sh portability changes
1999-04-21 06:09:19 +00:00
Kurt Zeilenga
835eff719a
Fix magic for 4.2BSD systems.
1999-04-21 05:47:01 +00:00
Kurt Zeilenga
82348ef0d0
Remove libtool --version-info warnings.
1999-04-20 22:11:02 +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
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
Hallvard Furuseth
a2708937b3
Do not pipe to awk, use temporary file instead
1999-04-06 00:55:08 +00:00
Hallvard Furuseth
0960e34bf2
Add $CC_MKDEP to override $CC and the -c option
1999-04-06 00:52:56 +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
12c3efb878
Replace -M with $CC_MKDEP_FLAGS in comment
1999-03-26 19:19:12 +00:00
Kurt Zeilenga
62f71f6042
Add TMPROOT support for two phase building/installing.
...
make all
make TMPROOT=/tmp/root install
will install everything under $(TMPROOT)$(prefix). Useful for
building bundling packages/ports for various operating systems.
1999-03-18 17:36:55 +00:00
Kurt Zeilenga
52884a2caa
Add copyright notice (to generate log message).
1999-03-18 02:13:09 +00:00
Kurt Zeilenga
2003488522
Bogus change just to generate a log message.
1999-03-18 02:03:16 +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
b5f8f61a88
Newest from GNU's CVS, provides detection of BeOS as well as other systems
1999-03-13 20:27:57 +00:00
Ben Collins
15e0a0f827
Declare LN_H=@LN_H@
1999-03-13 19:32:58 +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
Ben Collins
dfc4d48209
Don't FORCE manpages in all-common
1999-03-12 22:32:15 +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
cb9667b527
Remove @DEFS@ from CPPFLAGS... we use portable.h unconditionally.
1999-03-08 23:13:59 +00:00
Kurt Zeilenga
e45fa7e3e7
relocate LDAP_LIBPATH to front of LDFLAGS.
1999-03-08 02:31:03 +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
Kurt Zeilenga
460cb1a664
Fix new man.mk to create tmp pages in object directory, not $(srcdir).
1999-03-02 20:23:37 +00:00
Ben Collins
6af16c5870
Syntax error on install, mistakenly commited before with wrong one
1999-02-28 18:47:07 +00:00
Ben Collins
a914ff8171
Fixed a small mistake in the last commit, as well as adding a clean-common to remove the tmp files
1999-02-28 17:08:54 +00:00
Ben Collins
f02ef6773a
Moved man page generation to the build cycle instead of install
1999-02-28 16:10:37 +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
Hallvard Furuseth
38df8bdf38
Silence libtool if `make -s' is running
1999-02-20 08:04:54 +00:00
Hallvard Furuseth
dd78d8f2d6
Add $CC_MKDEP_FLAGS to override -M
1999-02-20 07:53:29 +00:00
Kurt Zeilenga
f0a9df6cd6
replace "ln -sf" with $(LN_S).
1999-02-06 00:00:49 +00:00
Kurt Spanier
e552c315f4
Fix typo in LDAP_LIBAVL_DEPEND
1999-02-03 13:05:10 +00:00
Kurt Zeilenga
a3cf741ab7
Fix slapd/tool dependencies on libraries.
1999-02-03 05:25:04 +00:00
Kurt Zeilenga
68ed8d140b
Add EXEEXT/OBJEXT for GNU win32 environments.
...
Add AWK for mkdep.
1999-02-01 02:17:17 +00:00
Kurt Zeilenga
80da91a5b2
Fix lthread depend.
1999-01-28 22:27:19 +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
f3fb0c74a6
Fix mkdep to split lines with multiple dependencies.
1999-01-26 20:27:25 +00:00
Kurt Zeilenga
01cd11c308
Move install.sh to install-sh. install.sh name may cause problems
...
with some 'make' programs that have a rule to create 'install' from
it there is no 'Makefile'. (per autoconf 2.12).
1999-01-25 02:30:58 +00:00
Kurt Zeilenga
6c0fc8b1b5
Real fix for FreeBSD 4.
1999-01-23 20:39:45 +00:00
Kurt Zeilenga
0e32729854
Add support for Freebsd 4.x (and greater)
1999-01-23 20:29:02 +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
28a671d10d
Revamp build system yet again to move all external libraries to
...
end of link. Basic order is:
$LDFLAGS internal-libs external-libs $LIBS $LTHREAD_LIBS
LTHREAD_LIBS is last as -lpthread (or equiv) must be last on many systems.
LIBS is next to last as some user might have put -lpthread (or equiv)
in $LIBS.
1999-01-14 01:31:43 +00:00
Kurt Zeilenga
2a220163d7
-lldif must proceed -lldap in 1.1 (for ldap_debug).
...
Might as well keep link order consistent between -devel and 1.1
1999-01-14 00:24:15 +00:00
Kurt Zeilenga
f31fd9ad69
Fix up a few typos and add some minor cleanup.
1999-01-13 06:05:10 +00:00
Kurt Spanier
956fe808a8
New description for use of Bereley DB 2.x on a Linux platform.
1999-01-12 14:15:35 +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 Spanier
77c35c2bcc
Description of the '-l syslog-local-user' option in the slapd manpage;
...
also description of .pid and .args files.
1999-01-08 09:59:09 +00:00
Kurt Spanier
95cd11b114
Re-specification of the DB patch.
1999-01-07 14:38:01 +00:00
Kurt Spanier
7fbe371ee9
Specification of the platform, that caused the problem.
1999-01-07 14:27:37 +00:00
Kurt Spanier
9c6d384b9a
- Make install creates $(RUNDIR)/var for pid and args files of slapd.
...
- slapd's pid/args file names are based on the servers binary file names,
providing for multiple servers beeing run on one host.
- slapd supports the -l command line parameter for selection of a
syslog LOCAL user (-lLOCAL0 .. -lLOCAL7)
- db_appinit() is called during first ldbm_open() in DB 2.x to initialize
DB debugging features (good to find bugs in the DB code :-)
- a patch for a non-initialized variable in DB's 2.x db_open is provided.
1999-01-05 15:40:58 +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
4219a94c3f
fix minor reinstall bug: INSTALLDIR -> MANDIR
1999-01-01 20:47:56 +00:00
Kurt Zeilenga
164def79fd
Add simple copyright notice.
1998-12-28 20:11:23 +00:00
Kurt Zeilenga
43094a1b33
Update copyright notices for 1999.
1998-12-28 19:58:57 +00:00
Kurt Zeilenga
a3ac3be6a7
Added lber_get/set_option. Removed lber_debug/ldap_debug.
...
Updated other codes as needed.
1998-12-22 01:34:01 +00:00
Kurt Zeilenga
77cb308d5a
Still wasn't working exactly write on FreeBSD3. Need to
...
check for $OBJFORMAT and if not available set to output of
/usr/bin/objformat (if available). Otherwise assume not elf.
1998-12-21 23:08:06 +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
4123a08af5
Fix server --without-xxx build issues...
1998-12-20 00:55:39 +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
052bbc2097
Fix ltconfig for FreeBSD 3 (elf detection was wrong).
...
Also fixed "empty translation unit" problem reported by
Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
1998-12-18 21:54:06 +00:00
Kurt Zeilenga
1376d2a821
Update libtool for FreeBSD elf support.
1998-12-04 02:27:58 +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
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
9aa2cd646b
Needs to add symlink for static version of library.
1998-11-29 17:36:58 +00:00
Kurt Zeilenga
1eba97fc91
Use environment $CC is available, otherwise cc. New makefiles
...
actually use -c option.
1998-11-22 19:18:58 +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