Fixed bug in result_set_optimize where LSLB == resultCount.
[yazpp-moved-to-github.git] / buildconf.sh
index 82489d2..071751e 100755 (executable)
@@ -1,6 +1,14 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.2 2000-10-26 21:31:50 adam Exp $
-aclocal
-libtoolize
-automake -a
-autoconf
+# $Id: buildconf.sh,v 1.6 2001-03-26 14:43:49 adam Exp $
+dir=`aclocal --print-ac-dir`
+if [ -f $dir/yaz.m4 ]; then
+       aclocal || exit 1
+else
+       aclocal -I . || exit 1
+fi
+libtoolize --force >/dev/null 2>&1 || exit 2
+automake -a >/dev/null 2>&1 || exit 3
+autoconf || exit 4
+if [ -f config.cache ]; then
+       rm config.cache
+fi