Fix memory leak
[idzebra-moved-to-github.git] / buildconf.sh
index 726f10b..122cff1 100755 (executable)
@@ -1,5 +1,15 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.1 2001-02-21 09:52:39 adam Exp $
-aclocal -I .
-automake -a
+# $Id: buildconf.sh,v 1.10 2003-05-06 12:09:24 adam Exp $
+set -x
+dir=`aclocal --print-ac-dir`
+if [ -f $dir/yaz.m4 ]; then
+       aclocal
+else
+       aclocal -I .
+fi
+automake -a 
+automake -a 
 autoconf
+if [ -f config.cache ]; then
+       rm config.cache
+fi