X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=cdb3f482020208fd43b95ec7f4b71b88b477f49b;hb=c0a1c79e55f706009113b2de3c11a6f13d4a0e7d;hp=2c0dc1362ac9aa32596c71844a23fc368708058b;hpb=10e178572346e8c5c3caaa43b803dd10c005cb5f;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index 2c0dc13..cdb3f48 100644 --- a/configure.in +++ b/configure.in @@ -1,21 +1,21 @@ -# Zebra, Index Data Aps, 1994-1999 -# $Id: configure.in,v 1.7 1999-05-21 12:00:17 adam Exp $ -# See the file LICENSE.2 for details. -# +dnl Zebra, Index Data Aps, 1994-1999 +dnl $Id: configure.in,v 1.10 1999-07-14 10:59:26 adam Exp $ +dnl See the file LICENSE.2 for details. +dnl AC_INIT(include/zebraver.h) -# ------ Substitutions +dnl ------ Substitutions AC_SUBST(ODEFS) AC_SUBST(DEFS) AC_SUBST(TCL_INCLUDE) AC_SUBST(TCL_LIB) -# -# ------ Checking programs +dnl +dnl ------ Checking programs AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_RANLIB -# -# look for Tcl +dnl +dnl ------ Look for Tcl TCL_LIB="" TCL_INCLUDE="" tclconfig=NONE @@ -45,8 +45,8 @@ if test -r ${tclconfig}/tclConfig.sh; then else ODEFS="-DHAVE_TCL_H=0" fi -# -# sockets +dnl +dnl ------ Socket libraries checkBoth=0 AC_CHECK_FUNC(connect) if test "$ac_cv_func_connect" = "no"; then @@ -58,15 +58,24 @@ if test "$checkBoth" = "1"; then AC_CHECK_FUNC(accept, , [LIBS=$oldLibs]) fi AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])) -# -# tcpd wrapper +dnl +dnl ------ times +AC_CHECK_HEADERS(sys/times.h) +dnl +dnl ------ TCP wrapper (for Linux) AC_CHECK_LIB(wrap, main, [LIBS="$LIBS -lwrap"]) -# -# headers +dnl +dnl ------- BZIP2 +AC_CHECK_LIB(bz2,bzCompressInit) +if test "$ac_cv_lib_bz2_bzCompressInit" = "yes"; then + AC_CHECK_HEADERS(bzlib.h) +fi +dnl +dnl ------ ANSI C Header files AC_STDC_HEADERS if test "$ac_cv_header_stdc" = "no"; then AC_MSG_WARN(Your system doesn't seem to support ANSI C) fi -# -# makefiles +dnl +dnl ------ Create Makefiles AC_OUTPUT(Makefile util/Makefile bfile/Makefile dfa/Makefile dict/Makefile isam/Makefile isamc/Makefile recctrl/Makefile rset/Makefile index/Makefile)