#!/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"
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
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