From: Kurt Zeilenga Date: Sun, 9 Aug 1998 16:32:40 +0000 (+0000) Subject: And configure.in (built by autoscan) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58dada6feabc45d1227c58009fda9fe5ab2d48b4;p=thirdparty%2Fopenldap.git And configure.in (built by autoscan) --- diff --git a/configure.in b/configure.in new file mode 100644 index 0000000000..c7ddcfbdb1 --- /dev/null +++ b/configure.in @@ -0,0 +1,63 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(build/unproto/error.c) + +dnl Checks for programs. +AC_PROG_CXX +AC_PROG_AWK +AC_PROG_CC +AC_PROG_CPP +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET +AC_PROG_RANLIB + +dnl Checks for libraries. +dnl Replace `main' with a function in -lavl: +AC_CHECK_LIB(avl, main) +dnl Replace `main' with a function in -lcrypt: +AC_CHECK_LIB(crypt, main) +dnl Replace `main' with a function in -llber: +AC_CHECK_LIB(lber, main) +dnl Replace `main' with a function in -lldap: +AC_CHECK_LIB(ldap, main) +dnl Replace `main' with a function in -lldbm: +AC_CHECK_LIB(ldbm, main) +dnl Replace `main' with a function in -lldif: +AC_CHECK_LIB(ldif, main) +dnl Replace `main' with a function in -llthread: +AC_CHECK_LIB(lthread, main) +dnl Replace `main' with a function in -lm: +AC_CHECK_LIB(m, main) +dnl Replace `main' with a function in -lresolv: +AC_CHECK_LIB(resolv, main) +dnl Replace `main' with a function in -lt: +AC_CHECK_LIB(t, main) +dnl Replace `main' with a function in -ltermcap: +AC_CHECK_LIB(termcap, main) + +dnl Checks for header files. +AC_HEADER_DIRENT +AC_HEADER_STDC +AC_HEADER_SYS_WAIT +AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sgtty.h sys/file.h sys/ioctl.h sys/time.h syslog.h termio.h unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_TYPE_UID_T +AC_TYPE_OFF_T +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_STRUCT_ST_BLKSIZE +AC_HEADER_TIME +AC_STRUCT_TM + +dnl Checks for library functions. +AC_PROG_GCC_TRADITIONAL +AC_FUNC_MEMCMP +AC_TYPE_SIGNAL +AC_FUNC_STRFTIME +AC_FUNC_VPRINTF +AC_FUNC_WAIT3 +AC_CHECK_FUNCS(gethostname gettimeofday mktime re_comp select socket strdup strerror strstr strtod strtol strtoul) + +AC_OUTPUT(libraries/libldbm/Makefile build/Makefile libraries/msdos/Makefile clients/tools/Makefile doc/man/man5/Makefile build/platforms/Makefile servers/Makefile clients/fax500/Makefile doc/guides/Makefile contrib/whois++/Makefile doc/man/Makefile contrib/saucer/Makefile Makefile servers/ldapd/Makefile libraries/macintosh/Makefile clients/ud/Makefile include/Makefile tests/Makefile servers/slapd/back-ldbm/Makefile servers/slapd/back-passwd/Makefile libraries/libavl/Makefile libraries/liblber/Makefile libraries/Makefile libraries/vms/Makefile clients/gopher/Makefile doc/Makefile clients/finger/Makefile libraries/libldap/Makefile libraries/liblthread/Makefile libraries/msdos/winsock/makefile servers/slapd/back-shell/Makefile servers/slapd/tools/Makefile servers/slapd/Makefile doc/rfc/Makefile build/platforms/vms/Makefile clients/rcpt500/Makefile servers/slapd/shell-backends/Makefile doc/man/man1/Makefile clients/mail500/Makefile doc/man/man8/Makefile libraries/libldif/Makefile servers/slurpd/Makefile doc/man/man3/Makefile clients/Makefile build/unproto/Makefile)