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
2ef6c4d
..
cdb3f48
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,7
+1,7
@@
-dnl Zebra
-dnl (c) Index Data 1994-1999
-dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.5 1999-05-20 12:57:18 adam Exp $
+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)
dnl ------ Substitutions
AC_SUBST(ODEFS)
AC_INIT(include/zebraver.h)
dnl ------ Substitutions
AC_SUBST(ODEFS)
@@
-14,6
+14,8
@@
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_RANLIB
+dnl
+dnl ------ Look for Tcl
TCL_LIB=""
TCL_INCLUDE=""
tclconfig=NONE
TCL_LIB=""
TCL_INCLUDE=""
tclconfig=NONE
@@
-27,17
+29,24
@@
fi
if test -r ${tclconfig}/tclConfig.sh; then
AC_MSG_CHECKING(for Tcl)
. ${tclconfig}/tclConfig.sh
if test -r ${tclconfig}/tclConfig.sh; then
AC_MSG_CHECKING(for Tcl)
. ${tclconfig}/tclConfig.sh
- TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS"
- TCL_INCLUDE=-I${TCL_PREFIX}/include
+ if test -r ${tclconfig}/../generic/tcl.h; then
+ TCL_INCLUDE=-I${tclconfig}/../generic
+ TCL_LIB="$TCL_BUILD_LIB_SPEC $TCL_LIBS"
+ else
+ TCL_INCLUDE=-I${TCL_PREFIX}/include
+ TCL_LIB="$TCL_LIB_SPEC $TCL_LIBS"
+ fi
SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
SHLIB_LD=$TCL_SHLIB_LD
SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
SHLIB_VERSION=$TCL_SHLIB_VERSION
AC_MSG_RESULT($TCL_VERSION)
ODEFS="-DHAVE_TCL_H=1"
SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
SHLIB_LD=$TCL_SHLIB_LD
SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
SHLIB_VERSION=$TCL_SHLIB_VERSION
AC_MSG_RESULT($TCL_VERSION)
ODEFS="-DHAVE_TCL_H=1"
+else
+ ODEFS="-DHAVE_TCL_H=0"
fi
dnl
fi
dnl
-dnl ----- Sockets
+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
@@
-50,14
+59,23
@@
if test "$checkBoth" = "1"; then
fi
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"]))
dnl
fi
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"]))
dnl
-dnl ------ tcpd
+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"])
+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
-dnl ------ Headers
+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
dnl
AC_STDC_HEADERS
if test "$ac_cv_header_stdc" = "no"; then
AC_MSG_WARN(Your system doesn't seem to support ANSI C)
fi
dnl
-dnl ------ Makefiles
+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)