Fix init response so it is equivalent to that returned by the target
[yazpp-moved-to-github.git] / buildconf.sh
index c0873b3..9848019 100755 (executable)
@@ -1,6 +1,14 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.3 2000-11-20 11:27:33 adam Exp $
-aclocal
-libtoolize --force
-automake -a
+# $Id: buildconf.sh,v 1.8 2002-09-10 11:58:13 adam Exp $
+dir=`aclocal --print-ac-dir`
+if [ -f $dir/yaz.m4 ]; then
+       aclocal
+else
+       aclocal -I . 
+fi
+libtoolize --force 
+automake -a 
 autoconf
+if [ -f config.cache ]; then
+       rm config.cache
+fi