X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=3817a7a0b236da4e6922f25763adfa8e331dbb9c;hb=refs%2Fheads%2Fmodule_log_level;hp=6dbd1fbe5baa4ed325531217c7df388343e8d56a;hpb=74dc4c62bbdf03c3f7eb22f08836f11acd468449;p=yaz-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 6dbd1fb..3817a7a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -6,6 +6,7 @@ autoconf=autoconf libtoolize=libtoolize autoheader=autoheader +test -d autom4te.cache && rm -r autom4te.cache test -d config || mkdir config if [ -d .git ]; then git submodule init @@ -66,6 +67,13 @@ case $1 in enable_help=false shift ;; + -D) + sh_cflags="-g -Wall -Werror -Wdeclaration-after-statement" + sh_cxxflags="-g -Wall -Werror" + enable_configure=true + enable_help=false + shift + ;; -c) sh_cflags="" sh_cxxflags="" @@ -127,7 +135,7 @@ EOF if [ "`uname -s`" = FreeBSD ]; then cat <