X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=4fd0a4d0d2e4b385ab3982654e415dc02a777d40;hb=5a145dc87e4756afc3e247cded32a9666457f065;hp=920ab82c66d4d7dedd470aa72eb2e76eb76f5cdc;hpb=a972033c648be309cf069a5af273cb29899f6b15;p=pazpar2-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 920ab82..4fd0a4d 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,4 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.4 2007-04-10 08:11:18 adam Exp $ automake=automake aclocal=aclocal @@ -8,6 +7,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