From: Adam Dickmeiss Date: Wed, 12 Mar 2008 13:35:31 +0000 (+0100) Subject: Auto add Git submodules in buildconf.sh. X-Git-Tag: v2.0.28~15 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=34c193eda828dd8c6009d9b432d377113a49d777;p=idzebra-moved-to-github.git Auto add Git submodules in buildconf.sh. --- diff --git a/buildconf.sh b/buildconf.sh index 422d2a6..7c2183a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -7,6 +7,12 @@ autoconf=autoconf libtoolize=libtoolize test -d config || mkdir config +if test -d m4 -a -d doc/common; then + : +else + git submodule init + git submodule update +fi if [ "`uname -s`" = FreeBSD ]; then # FreeBSD intalls the various auto* tools with version numbers