Commit Graph

523 Commits

Author SHA1 Message Date
Howard Chu
0b5ab06ec6 Tweak version.c rules 2003-03-28 18:47:57 +00:00
Howard Chu
bf0956d056 Use CPP __FILE__ and __TIME__ (not as pretty, but faster) instead of date.
So version.c files only need to be generated once.
2003-03-28 18:35:50 +00:00
Kurt Zeilenga
38284308f8 Clarify that mkrelease script must not muck with the export 2003-03-24 03:50:02 +00:00
Kurt Zeilenga
3b2b9f1cf8 mkrelease is too late for modification of the release. This
needs to be integrated into the MSVC build system.
2003-03-24 03:37:49 +00:00
Howard Chu
ae0576ea1b Edit portable.nt to update OPENLDAP_VERSION 2003-03-19 02:01:49 +00:00
Howard Chu
80f8f900d1 Use OPENLDAP_PACKAGE (from portable.h) instead of _OLV_PKG, etc. 2003-03-19 01:38:34 +00:00
Howard Chu
c086b9aec9 New version.h to replace mkversion 2003-03-18 22:50:07 +00:00
Kurt Zeilenga
87f0479abb Script I use to update copyrights once a year 2003-03-03 18:11:40 +00:00
Kurt Zeilenga
728f4f188f improve checking message 2003-03-03 01:44:41 +00:00
Howard Chu
348264a449 Really fix accrights test. 2003-03-02 23:11:00 +00:00
Howard Chu
13d29bab87 Fix accrights test, use <sys/socket.h> 2003-03-02 23:00:51 +00:00
Kurt Zeilenga
fe4f355328 Add acc_rights detection (needs testing) 2003-03-02 21:46:40 +00:00
Kurt Zeilenga
56677342f8 Add more -ldb varients 2003-02-28 17:05:02 +00:00
Kurt Zeilenga
b8c92f3862 tweak from rb@debian.org 2003-02-09 23:24:29 +00:00
Kurt Zeilenga
e0128cc2b3 Add -ldb41 linking 2003-02-08 01:15:35 +00:00
Kurt Zeilenga
eb9f396974 Require BDB 4.1 for back-bdb 2003-02-08 00:56:15 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
abb6ab789d Update shtool 2002-12-22 08:10:22 +00:00
Kurt Zeilenga
afe2f36d16 bump libtool to 1.4.3 2002-12-21 03:27:31 +00:00
Kurt Zeilenga
cadb230797 config.guess/sub from libtool 1.4.2 2002-12-21 03:26:40 +00:00
Kurt Zeilenga
9cc84c3ea2 Minor tweak 2002-12-20 18:25:26 +00:00
Kurt Zeilenga
a3141da110 Update to v1.4.3 2002-12-20 18:22:48 +00:00
Kurt Zeilenga
04b93e2628 Add LTHREAD_LIBS to BDB tests 2002-12-04 05:09:58 +00:00
Kurt Zeilenga
97b211174a Set -static when doing build from CVS 2002-11-26 18:11:05 +00:00
Kurt Zeilenga
20df7df206 Misc configure cleanup 2002-10-29 04:55:15 +00:00
Kurt Zeilenga
75e1620ee4 Add copy of OPL 2.0.1 and note in files which specifically refer
to 2.0.1 as to the location to the copy.
2002-10-15 23:22:20 +00:00
Kurt Zeilenga
8c04aa2328 Update to 1.6.1 2002-10-09 21:16:56 +00:00
Kurt Zeilenga
6853b62a45 Fix AC_CACHE_CHECK bug in DB_THREAD detection. 2002-10-08 19:47:17 +00:00
Howard Chu
9c80832e08 Fix pthread version check again 2002-09-18 00:11:53 +00:00
Howard Chu
2e6a83049e POSIX threads tweaks for Draft 4 vs Draft 5 2002-09-12 23:12:18 +00:00
Howard Chu
5dede11811 FIx previous commit, test for Draft 7 was inverted 2002-09-11 09:48:35 +00:00
Howard Chu
97b98783c3 Fix pthreads version detection 2002-09-11 07:43:20 +00:00
Howard Chu
3ab4579eca Unneeded, merged into regular mkdep script 2002-09-08 12:37:01 +00:00
Howard Chu
49f7399e24 Added rules to use "cc -E" output to generate dependencies. 2002-09-08 12:36:25 +00:00
Howard Chu
59bab3280d Use C preprocessor to generate #line directives that can be parsed to
generate dependencies. setenv MKDEP to this file before running configure.
2002-09-08 11:24:56 +00:00
Howard Chu
c9b7fc6407 New POSIX threads version support. Detects Draft 4,5,6,7,10 (final).
Should eliminate individual checks for pthread_yield, sched_yield,
and pthread_detach, but they're left in for now as a redundant check.
2002-09-07 14:09:09 +00:00
Kurt Zeilenga
4ce42af196 Add client-side subentries control support.
Make sure client controls are not specified multiple times.
NT port updates.
2002-08-30 07:05:12 +00:00
Kurt Zeilenga
2de5c33ba7 Add manageDsaIt/NOOP control support to every tool.
Update NT build.
2002-08-29 21:52:45 +00:00
Howard Chu
5ed1677d13 Detect EBCDIC for SP2NL/NL2SP translation 2002-07-27 00:56:33 +00:00
Kurt Zeilenga
3ad829e389 check for -ldb-4 in addition to -ldb4 2002-06-17 22:15:59 +00:00
Kurt Zeilenga
b43ad1dd0e Generate man page date from version.sh 2002-06-13 03:59:10 +00:00
Howard Chu
cb8b86e7ce Fix ITS#1824 include correct sasl.h for compatibility test
(must regenerate configure)
2002-05-16 19:28:57 +00:00
Kurt Zeilenga
53257cf037 Update SASL compat test to check for 1.5 compatibility 2002-05-13 20:16:10 +00:00
Howard Chu
41c5a36376 Require 2.1.3 or higher for Cyrus SASL 2 2002-05-07 23:56:59 +00:00
Kurt Zeilenga
bf662a8cd1 Trim finger from HEAD 2002-04-15 18:12:42 +00:00
Kurt Zeilenga
e0f33c6674 s/getdat/gendat/ 2002-03-24 01:55:37 +00:00
Kurt Zeilenga
abfbe2ba08 Minor tweaks. 2002-02-24 18:56:06 +00:00
Kurt Zeilenga
2f24e067c9 Check for -ldb4 before -ldb 2002-02-23 23:00:26 +00:00
Kurt Zeilenga
7c60cde35d Use shtool --version for pathtest 2002-02-11 16:55:32 +00:00
Kurt Zeilenga
0ae19ca0a9 Set SHTOOL directly. Add 'make pathtest'. 2002-02-11 16:40:13 +00:00
Howard Chu
ed4bb92be6 Fix ITS#1597 2002-02-11 09:57:08 +00:00
Kurt Zeilenga
d23c559646 Don't use 'shtool mkln' as ln(1) replacement.
Allow both <sasl/sasl.h> and <sasl.h>
2002-02-11 08:28:51 +00:00
Kurt Zeilenga
28a22d6785 Add rcs ids 2002-02-11 06:45:59 +00:00
Kurt Zeilenga
83d9892bdc shtool mkln -s doesn't work like ln -s. Revert for now. 2002-02-10 22:54:02 +00:00
Kurt Zeilenga
ce07fb958e Update libtool usage
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
2002-02-10 22:42:51 +00:00
Kurt Zeilenga
93af86ec6f Need to libldap/liblber to library path to get proper linkage 2002-02-10 20:14:38 +00:00
Kurt Zeilenga
45c32f7730 shtool updates 2002-02-10 17:50:58 +00:00
Kurt Zeilenga
bb84c73062 Reflect recent updates 2002-02-10 06:33:57 +00:00
Kurt Zeilenga
379d45534c Re add ltmain.sh 2002-02-10 05:42:57 +00:00
Kurt Zeilenga
f04f666d11 Disable use of --only-* flags 2002-02-10 05:10:19 +00:00
Kurt Zeilenga
54c204ea98 Update to use shtool, remove ltconfig 2002-02-10 04:30:23 +00:00
Kurt Zeilenga
3a5b94cdbd Update to libtool 1.4.2 2002-02-10 03:03:47 +00:00
Kurt Zeilenga
957b5af61d Suck in very latest versions from the FSF. 2002-02-10 02:09:25 +00:00
Kurt Zeilenga
83a0a76c6f Updated to FSF versions. Make cause tool breakage. 2002-01-30 23:06:38 +00:00
Kurt Zeilenga
1116bf4f45 Misc WinNT build updates 2002-01-30 04:06:31 +00:00
Kurt Zeilenga
f5dc8ed41c Back-BDB now requires Berkeley DB 4 as this release includes
important fixes necessary for proper operation of back-bdb.
2002-01-30 01:31:44 +00:00
Kurt Zeilenga
1e7ca2e850 Add BDB compatibility check. Require Berkeley DB 3.3 or greater. 2002-01-23 19:08:07 +00:00
Kurt Zeilenga
64f21dca49 DB4 changes 2002-01-21 03:37:32 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Kurt Zeilenga
763c0de59b Rework filter code
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Kurt Zeilenga
3336619c80 More "char *" to struct berval DN changes 2001-12-25 02:30:01 +00:00
Kurt Zeilenga
29d5819729 Fix up builds 2001-12-22 20:17:19 +00:00
Kurt Zeilenga
abd9be4def Remove lint and misc MSVC updates 2001-12-09 02:34:45 +00:00
Kurt Zeilenga
b2c265b1e0 Separate CFLAGS/CPPFLAGS when using libtool... 2001-12-08 02:32:23 +00:00
Kurt Zeilenga
fc6f1f5efb quick fix BSD builds 2001-12-08 01:57:25 +00:00
Howard Chu
0552b1c53f NT updates from jon@symas.com. 2001-12-07 04:03:25 +00:00
Kurt Zeilenga
f7e10947ca Use gar if ar(1) is not available 2001-11-28 02:32:47 +00:00
Kurt Zeilenga
ab45221382 Add openldap notice. 2001-10-24 20:18:26 +00:00
Kurt Zeilenga
308723d895 Fix typo 2001-10-24 16:56:21 +00:00
Kurt Zeilenga
cc2a59a36c Update to full notice 2001-10-24 16:51:48 +00:00
Kurt Zeilenga
9be9afa084 Init MPOOL in DB_THREAD test 2001-10-01 06:38:24 +00:00
Kurt Zeilenga
44146a1cb7 Rework DB_THREAD support. CDB support needs reimplementation. 2001-10-01 06:08:46 +00:00
Kurt Zeilenga
69dc4002ac Disable (for now) check for HAVE_BERKELEY_DB_THREAD and hence disable
use of BerkeleyDB's Concurrent DB API.
2001-09-29 23:41:34 +00:00
Kurt Zeilenga
8f4795d064 Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361) 2001-09-29 05:17:49 +00:00
Kurt Zeilenga
ea4bf672cc Sync detection with use. Don't use DB_CDB_ALLDB. Causes hang. 2001-09-28 20:52:48 +00:00
Kurt Zeilenga
118ca0dd4b Fix db1 error and add kerberos comment 2001-08-24 20:20:34 +00:00
Kurt Zeilenga
44bef574c8 Updated pthread test and usage (avoid pthread_detach if possible)
don't use tmpnam()
2001-06-09 01:05:35 +00:00
Kurt Zeilenga
5d01aeb507 update 2001-06-08 04:16:13 +00:00
Kurt Zeilenga
e7234eaf6c Not current 2001-06-08 04:13:31 +00:00
Kurt Zeilenga
5d1608ac1b Rework DB_THREAD test 2001-06-07 17:23:43 +00:00
Kurt Zeilenga
af79d6e354 Add some error check to be DB_thread checks 2001-06-07 17:04:53 +00:00
Kurt Zeilenga
d7d20254ac Another typo 2001-06-07 16:48:37 +00:00
Kurt Zeilenga
db5e933b45 Fix typo 2001-06-07 16:46:40 +00:00
Kurt Zeilenga
43d5dc2e88 Add error reporting to db check 2001-06-07 16:43:23 +00:00
Kurt Zeilenga
08de32f87a Add db version check 2001-06-07 16:40:11 +00:00
Kurt Zeilenga
be9a50af25 Update copyright (including with or without modification clarification) 2001-05-29 03:29:53 +00:00
Kurt Zeilenga
3ca26377c0 A little BDB cleanup 2001-05-28 22:05:49 +00:00
Kurt Zeilenga
d641cbf06f Fix syntax error in mpool test 2001-05-28 20:04:49 +00:00
Kurt Zeilenga
94e1d48032 Misc adjustments to CBM tests 2001-05-28 20:00:17 +00:00
Kurt Zeilenga
55b3490996 Fix typo 2001-05-28 19:49:50 +00:00
Kurt Zeilenga
4b8eae427f Initial CDB implementation. 2001-05-28 19:43:11 +00:00
Kurt Zeilenga
d633ab3e2a Clean up begin thread test 2001-05-07 19:01:46 +00:00
Kurt Zeilenga
a1a04f27f8 Make pthread test detect broke pthread join/detach behavior 2001-03-15 03:07:23 +00:00
Kurt Zeilenga
bf53620d64 Change some defaults
Label some options as experimental
Change how configure prints defaults
2001-01-22 06:49:12 +00:00
Kurt Zeilenga
8a22a0e0d0 SLP extension derived from patch provided by Caldera Systems.
Copyright 2000, Caldera Systems, Inc All rights reserved.
This software is not subject to any license of Caldera Systems, Inc

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself
2001-01-16 22:18:33 +00:00
Kurt Zeilenga
f6369e030a HP-UX make doesn't like continuations to empty lines 2000-12-04 20:19:40 +00:00
Kurt Zeilenga
a3dc67b814 Don't embed comments in command section of rule 2000-10-09 20:46:33 +00:00
Kurt Zeilenga
c9a7bbf27d Remove last change as Howard's integrated
--only-static, --only-dynamic changes.
2000-10-04 17:06:06 +00:00
Howard Chu
134af7343f Reintegrate AIX and --only-static/--only-shared support from r1.8 2000-10-04 02:53:19 +00:00
Kurt Zeilenga
35e61c403b Hack missing for use with OpenLDAP 2000-10-03 02:58:14 +00:00
Kurt Zeilenga
d394f9f252 Detail required build environment tools 2000-10-03 02:53:11 +00:00
Kurt Zeilenga
4d455105aa Add "Mac OS" support 2000-10-03 00:58:54 +00:00
Kurt Zeilenga
11962a233f Re-add Luke's changes to support Darwin (MacOS X beta) 2000-10-02 23:22:18 +00:00
Kurt Zeilenga
eedce5f62b True blue libtool 1.3.5 2000-10-02 22:54:10 +00:00
Kurt Zeilenga
6b4240fee4 Add changes to build environment support to support MacOS X (darwin).
Changes will be overwritten upon next autoconf/libtool update.
2000-10-02 18:15:04 +00:00
Kurt Zeilenga
ec170d179f Some translatros produce white space just before the ':' in dependencies.
Trim this.
2000-10-02 17:51:30 +00:00
Kurt Zeilenga
8cd1d69f49 Upgrade libtool from 1.3.3 to 1.3.5. 2000-10-01 21:39:20 +00:00
Kurt Zeilenga
ac2b57443e Don't set -rpath $(libdir) on linking (yet) 2000-10-01 21:38:03 +00:00
Kurt Zeilenga
099906fafb remove bogus --only-static from $(COMPILE) def 2000-10-01 21:32:54 +00:00
Kurt Zeilenga
b1868895f7 Fix last commit 2000-10-01 16:39:31 +00:00
Kurt Zeilenga
17d9a263d1 Use -rpath consistently 2000-10-01 16:33:48 +00:00
Kurt Zeilenga
641845f4c1 Rework schema install to work with VPATH support 2000-09-22 19:16:53 +00:00
Kurt Zeilenga
2b82d4f486 remove lint
update bdb codes
2000-09-22 01:40:57 +00:00
Kurt Zeilenga
ac5ecaf8e0 Centralize versioning in build/version.sh 2000-09-15 03:27:20 +00:00
Kurt Zeilenga
32929a23d2 Add shared lib versioning 2000-09-14 21:15:11 +00:00
Kurt Zeilenga
af4fdca0bb Use build/version.sh instead of build/version 2000-09-14 21:01:22 +00:00
Kurt Zeilenga
a4fac87687 Use ucdata (very experimental) 2000-09-07 23:19:10 +00:00
Kurt Zeilenga
9a7cc9e553 switch to 2.X to avoid having to update this on every minor release 2000-08-17 23:02:50 +00:00
Kurt Zeilenga
6d55d5fd69 Now 2.1-devel 2000-08-17 22:58:38 +00:00
Kurt Zeilenga
063691aec0 Add support for Sleepycat Berkeley DB 3.1 (ITS#649)
changes derived from Ian Logan's patch
2000-08-07 19:46:37 +00:00
Kurt Zeilenga
c5c9442637 Remove ldif.dsp 2000-06-25 23:16:42 +00:00
Kurt Zeilenga
07c7d3c3cb QUIPU -> Attic 2000-06-25 21:40:13 +00:00
Kurt Zeilenga
e393afaeec Kill LinuxThreads clones 2000-06-17 18:49:25 +00:00
Kurt Zeilenga
ef89854944 ITS#576: cause subdir make failure to halt subsequent making 2000-06-09 17:42:40 +00:00
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