From b4e80d145253134b44614896ba7f0b1975d22afa Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 15 Mar 2008 22:26:38 +0100 Subject: [PATCH] Auto add Git submodules in buildconf.sh. --- buildconf.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 1.7.10.4