From: Adam Dickmeiss Date: Thu, 13 Mar 2008 08:27:16 +0000 (+0100) Subject: Add submodules if not present already. X-Git-Tag: v1.1.0.1~9 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=05ee65c04676229f218e95ba6e1e19354ec14175;p=yazpp-moved-to-github.git Add submodules if not present already. --- diff --git a/buildconf.sh b/buildconf.sh index a661483..00028e1 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,6 +1,14 @@ #!/bin/sh # $Id: buildconf.sh,v 1.17 2006-07-07 06:21:29 adam Exp $ +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 automake --version|head -1 |grep '1\.[4-7]'; then echo "automake 1.4-1.7 is active. You should use automake 1.8 or later" if test -f /etc/debian_version; then