From: Adam Dickmeiss Date: Thu, 13 Mar 2008 09:04:14 +0000 (+0100) Subject: Add sub modules when not present. X-Git-Tag: v1.0.13.1~23 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;ds=sidebyside;h=209fec90b973990a0dd65c12db7e6abed465c8e3;p=metaproxy-moved-to-github.git Add sub modules when not present. --- diff --git a/buildconf.sh b/buildconf.sh index 2a68146..9929f2a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -7,6 +7,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 ..."