X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=4fd0a4d0d2e4b385ab3982654e415dc02a777d40;hb=be895e49ab7887f5423529b6f11c377218f61c1a;hp=f5693c0dc928812b784f019544024aca4e6bf725;hpb=b3d3c99fe4ee3420bd199082bd06d87452f93ec9;p=pazpar2-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index f5693c0..4fd0a4d 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,4 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.2 2007-01-12 23:32:33 adam Exp $ automake=automake aclocal=aclocal @@ -7,6 +6,14 @@ autoconf=autoconf libtoolize=libtoolize autoheader=autoheader +test -d config || mkdir config +if test -d m4/.git -a -d doc/common/.git; then + : +else + git submodule init + 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,7 +50,8 @@ sh_flags="" conf_flags="" case $1 in -d) - sh_flags="-g -Wall -Wdeclaration-after-statement" + #sh_flags="-g -Wall -Wdeclaration-after-statement" + sh_flags="-g -Wall" enable_configure=true enable_help=false shift