Fix compilation on systems where Libxml2 does not exist
[yaz-moved-to-github.git] / buildconf.sh
index aeb6d5e..acb37df 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.37 2006-05-26 15:07:08 adam Exp $
+# $Id: buildconf.sh,v 1.39 2006-06-27 12:23:11 adam Exp $
 
 automake=automake
 aclocal=aclocal
@@ -26,8 +26,7 @@ fi
 
 set -x
 # I am tired of underquoted warnings for Tcl macros
-#$aclocal -I m4 2>&1 | grep -v "warning: underquoted definition"
-$aclocal -I m4
+$aclocal -I m4 2>&1 | grep -v "warning: underquoted definition"
 $libtoolize --automake --force 
 $automake --add-missing 
 $autoconf
@@ -57,7 +56,7 @@ esac
 
 if $enable_configure; then
     if test -n "$sh_flags"; then
-       CFLAGS="$sh_flags" ./configure $*
+       CFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
     else
        ./configure $*
     fi