X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=7e6581d4bffb790a33e2e2df8fa0e7738c08b632;hp=6ba4f293b8863d84e7fb5ef7f17a0e36b8c3e1f8;hb=d940392c53c32ccf76fb287cc5b997b9e921a431;hpb=689ff444ffea343f202398ee3eacf5a4cf94154e diff --git a/buildconf.sh b/buildconf.sh index 6ba4f29..7e6581d 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,4 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.46 2007-02-20 09:53:01 adam Exp $ automake=automake aclocal=aclocal @@ -7,6 +6,12 @@ autoconf=autoconf libtoolize=libtoolize 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