From: Adam Dickmeiss Date: Wed, 12 Mar 2008 13:32:04 +0000 (+0100) Subject: Auto add Git submodules in buildconf.sh. X-Git-Tag: v3.0.30~88 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=74070de2e1115b836d4bfd1934a0db659ee3ffde;p=yaz-moved-to-github.git Auto add Git submodules in buildconf.sh. --- diff --git a/buildconf.sh b/buildconf.sh index 6ba4f29..b8905d4 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