Zebra with full functionality
[idzebra-moved-to-github.git] / configure.in
index f70b492..5f55980 100644 (file)
@@ -1,5 +1,5 @@
-dnl Zebra, Index Data Aps, 1994-2000
-dnl $Id: configure.in,v 1.28 2001-02-28 09:01:41 adam Exp $
+dnl Zebra, Index Data Aps, 1994-2002
+dnl $Id: configure.in,v 1.33 2002-04-05 08:46:26 adam Exp $
 dnl
 AC_INIT(include/zebraver.h)
 AC_MSG_CHECKING(for package)
@@ -7,24 +7,12 @@ if test -r ${srcdir}/LICENSE.zmbol; then
        AC_MSG_RESULT([Z'mbol])
        PROGPREFIX=zmbol
        AC_DEFINE(ZMBOL,1)
-       AM_INIT_AUTOMAKE(zmbol,1.1)
+       AM_INIT_AUTOMAKE(zmbol,1.2.0)
 else
        AC_MSG_RESULT([Zebra])
        PROGPREFIX=zebra
        AC_DEFINE(ZMBOL,0)
-       AM_INIT_AUTOMAKE(zebra,1.1)
-       if test ! -r ${srcdir}/isam; then
-               mkdir ${srcdir}/isam
-       fi
-       touch ${srcdir}/isam/Makefile.in
-       if test ! -r ${srcdir}/isamc; then
-               mkdir ${srcdir}/isamc
-       fi
-       touch ${srcdir}/isamc/Makefile.in
-       if test ! -r ${srcdir}/isamb; then
-               mkdir ${srcdir}/isamb
-       fi
-       touch ${srcdir}/isamb/Makefile.in
+       AM_INIT_AUTOMAKE(zebra,1.2.0)
 fi
 AM_CONDITIONAL(ISZMBOL,test $PACKAGE = zmbol)
 dnl ------ Substitutions
@@ -77,7 +65,9 @@ else
 fi
 dnl
 dnl ------ times
-AC_CHECK_HEADERS(sys/times.h pthread.h)
+AC_CHECK_HEADERS(sys/times.h)
+dnl ------ mkstemp
+AC_CHECK_FUNCS(mkstemp)
 dnl
 dnl ------- BZIP2
 AC_CHECK_LIB(bz2,bzCompressInit)
@@ -152,5 +142,5 @@ AC_OUTPUT([
   include/Makefile
   tab/Makefile
   doc/Makefile
-  test/Makefile test/gils/Makefile test/usmarc/Makefile
+  test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile
 ])