Fix init response so it is equivalent to that returned by the target
[yazpp-moved-to-github.git] / buildconf.sh
index 858ad3b..9848019 100755 (executable)
@@ -1,6 +1,14 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.4 2000-12-07 13:27:14 adam Exp $
-aclocal -I .
-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