Do not declare static function f in AC_TRY_LINK test
[idzebra-moved-to-github.git] / buildconf.sh
index 2fd848b..40377c2 100755 (executable)
@@ -1,10 +1,16 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.3 2001-02-26 21:21:50 adam Exp $
+# $Id: buildconf.sh,v 1.11 2004-08-24 10:37:18 adam Exp $
+set -x
 dir=`aclocal --print-ac-dir`
 if [ -f $dir/yaz.m4 ]; then
-       aclocal || exit 1
+       aclocal
 else
-       aclocal -I . || exit 1
+       aclocal -I .
+fi
+libtoolize --automake --force 
+automake -a 
+automake -a 
+autoconf
+if [ -f config.cache ]; then
+       rm config.cache
 fi
-automake -a >/dev/null 2>&1 || exit 2
-autoconf || exit 3