#!/bin/sh
-# $Id: buildconf.sh,v 1.37 2006-05-26 15:07:08 adam Exp $
+# $Id: buildconf.sh,v 1.44 2006-10-09 14:22:43 heikki Exp $
automake=automake
aclocal=aclocal
set -x
# I am tired of underquoted warnings for Tcl macros
-#$aclocal -I m4 2>&1 | grep -v "warning: underquoted definition"
$aclocal -I m4
$libtoolize --automake --force
$automake --add-missing
conf_flags=""
case $1 in
-d)
- sh_flags="-g -Wall -Wdeclaration-after-statement"
+ #sh_flags="-g -Wall -Wdeclaration-after-statement -Werror -Wstrict-prototypes"
+ sh_flags="-g -Wall -Wdeclaration-after-statement -Wstrict-prototypes"
enable_configure=true
enable_help=false
shift
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