X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=buildconf.sh;h=dc0ba93391491ff969c1aca8b5cb117c2be2be6a;hb=179ed260b05ad876acf5c34b09024f1eec3cdbaa;hp=f7188422da3c3e43bac1d9aeb4b79d53224ae1e6;hpb=41b3d6e76417912fda803543325e1edba21896ba;p=pazpar2-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index f718842..dc0ba93 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,4 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.1 2007-01-08 12:43:41 adam Exp $ automake=automake aclocal=aclocal @@ -7,6 +6,16 @@ autoconf=autoconf libtoolize=libtoolize autoheader=autoheader +test -d config || mkdir config +if test .git; then + if test -d m4/.git -a -d doc/common/.git; then + : + else + git submodule init + fi + git submodule update +fi + if [ "`uname -s`" = FreeBSD ]; then # FreeBSD intalls the various auto* tools with version numbers echo "Using special configuration for FreeBSD ..." @@ -43,6 +52,7 @@ sh_flags="" conf_flags="" case $1 in -d) + #sh_flags="-g -Wall -Wdeclaration-after-statement" sh_flags="-g -Wall" enable_configure=true enable_help=false