projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fix in bend_init where handle wasn't set to NULL when
[idzebra-moved-to-github.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
492aa2c
..
cdb3f48
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,21
+1,21
@@
-# Zebra, Index Data Aps, 1994-1999
-# $Id: configure.in,v 1.6 1999-05-21 11:08:46 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)
AC_INIT(include/zebraver.h)
-# ------ Substitutions
+dnl ------ Substitutions
AC_SUBST(ODEFS)
AC_SUBST(DEFS)
AC_SUBST(TCL_INCLUDE)
AC_SUBST(TCL_LIB)
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
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
TCL_LIB=""
TCL_INCLUDE=""
tclconfig=NONE
@@
-42,9
+42,11
@@
if test -r ${tclconfig}/tclConfig.sh; then
SHLIB_VERSION=$TCL_SHLIB_VERSION
AC_MSG_RESULT($TCL_VERSION)
ODEFS="-DHAVE_TCL_H=1"
SHLIB_VERSION=$TCL_SHLIB_VERSION
AC_MSG_RESULT($TCL_VERSION)
ODEFS="-DHAVE_TCL_H=1"
+else
+ ODEFS="-DHAVE_TCL_H=0"
fi
fi
-#
-# sockets
+dnl
+dnl ------ Socket libraries
checkBoth=0
AC_CHECK_FUNC(connect)
if test "$ac_cv_func_connect" = "no"; then
checkBoth=0
AC_CHECK_FUNC(connect)
if test "$ac_cv_func_connect" = "no"; then
@@
-56,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"]))
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"])
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
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)
AC_OUTPUT(Makefile util/Makefile bfile/Makefile dfa/Makefile dict/Makefile isam/Makefile isamc/Makefile recctrl/Makefile rset/Makefile index/Makefile)