From 209fec90b973990a0dd65c12db7e6abed465c8e3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 13 Mar 2008 10:04:14 +0100 Subject: [PATCH] Add sub modules when not present. --- buildconf.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildconf.sh b/buildconf.sh index 2a68146..9929f2a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -7,6 +7,14 @@ autoconf=autoconf 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 echo "Using special configuration for FreeBSD ..." -- 1.7.10.4