Switching to Libtool shared libraries for Zebra.
[idzebra-moved-to-github.git] / configure.in
index a109e0f..23b9844 100644 (file)
@@ -1,8 +1,9 @@
-dnl Zebra, Index Data Aps, 1995-2003
-dnl $Id: configure.in,v 1.77 2003-04-24 20:10:24 adam Exp $
+dnl Zebra, Index Data Aps, 1995-2004
+dnl $Id: configure.in,v 1.94 2004-08-24 10:37:18 adam Exp $
 dnl
 AC_INIT(include/zebraver.h)
-AM_INIT_AUTOMAKE(idzebra,1.3.11)
+AM_INIT_AUTOMAKE(idzebra,1.4.0)
+AM_PROG_LIBTOOL
 dnl ------ Substitutions
 AC_SUBST(TCL_INCLUDE)
 AC_SUBST(TCL_LIB)
@@ -76,7 +77,6 @@ else
        yazflag=""
 fi
 YAZ_INIT($yazflag)
-
 dnl ------ Look for Tcl
 dnl See if user has specified location of tclConfig.sh; otherwise
 dnl see if tclConfig.sh exists in same prefix lcoation as tclsh; otherwise
@@ -372,7 +372,6 @@ AC_OUTPUT([
   isamb/Makefile
   isams/Makefile
   isamc/Makefile
-  isam/Makefile
   rset/Makefile
   data1/Makefile
   recctrl/Makefile
@@ -387,13 +386,19 @@ AC_OUTPUT([
   doc/zebraphp.dsl
   doc/tkl.xsl
   test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile
-  test/rusmarc/Makefile test/cddb/Makefile
+  test/rusmarc/Makefile test/cddb/Makefile test/malxml/Makefile 
+  test/config/Makefile
   perl/Makefile.PL test/xelm/Makefile
-  test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile
+  test/dmoz/Makefile test/xpath/Makefile test/sort/Makefile test/zsh/Makefile
+  test/marcxml/Makefile test/charmap/Makefile test/codec/Makefile
   examples/Makefile examples/gils/Makefile examples/zthes/Makefile
   idzebra.spec
 ])
-
 if test -x "$perlbin"; then
-  res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`;
+       res=`cd perl ; $perlbin Makefile.PL ; cd .. ;`;
 fi
+if test  -z "$YAZLIB"; then
+       echo "YAZ was not found. Use --with-yazconfig=DIR to specify location."
+       test -f /etc/debian_version && echo "Debian package libyaz-dev is required."
+fi
+