From 34c193eda828dd8c6009d9b432d377113a49d777 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 12 Mar 2008 14:35:31 +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 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 -- 1.7.10.4