Commit Graph

208 Commits

Author SHA1 Message Date
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