From: Adam Dickmeiss Date: Sat, 15 Mar 2008 21:26:38 +0000 (+0100) Subject: Auto add Git submodules in buildconf.sh. X-Git-Tag: PAZPAR2.1.0.7~7 X-Git-Url: http://lists.indexdata.com/?a=commitdiff_plain;h=b4e80d145253134b44614896ba7f0b1975d22afa;p=pazpar2-moved-to-github.git Auto add Git submodules in buildconf.sh. --- diff --git a/buildconf.sh b/buildconf.sh index 920ab82..a6c4a32 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -8,6 +8,12 @@ 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