Require autoconf 2.59 or later. More m4 quoting
[metaproxy-moved-to-github.git] / buildconf.sh
index 6e07d30..121a2cf 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: buildconf.sh,v 1.4 2005-10-08 23:40:53 adam Exp $
+# $Id: buildconf.sh,v 1.6 2006-03-28 16:56:33 adam Exp $
 
 if automake --version|head -1 |grep '1\.[4-7]'; then
     echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
@@ -11,7 +11,9 @@ if automake --version|head -1 |grep '1\.[4-7]'; then
 fi
 
 set -x
-aclocal -I m4
+
+# I am tired of underquoted warnings for Tcl macros
+aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
 autoheader
 libtoolize --automake --force 
 automake --add-missing 
@@ -42,7 +44,7 @@ esac
 
 if $enable_configure; then
     if test -n "$sh_flags"; then
-       CXXFLAGS="$sh_flags" ./configure $*
+       CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
     else
        ./configure $*
     fi