Commit Graph

63 Commits

Author SHA1 Message Date
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
5d4eda1770 For Mingw32, include stdlib.h to test for sys_errlist
See README 1.27 log
1999-10-28 07:23:45 +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
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
40fa9d36ce s/Id/OpenLDAP/ in RCSids 1999-08-30 08:08:00 +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
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
8f970aa247 New pthread tests... 1999-08-13 23:07:21 +00:00
Kurt Zeilenga
2b79ff2c48 Initial inet_aton() detection. 1999-08-03 20:02:44 +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
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
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
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
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
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
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
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
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
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
27572b4257 Fixed small error in last commit for sys_errlist in openldap.m4 1999-03-13 18:41:07 +00:00