X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d86b2701d8b9f0924f3c7d2643c93a4ab4af1e71;hp=8647f28129dab197dfb0656600f8bbd2bda19914;hb=24aa5ea66edef77f6d086275cc6370815aeaab60;hpb=75b457189bc3d6551a945b862d0618f2a29b86bd diff --git a/buildconf.sh b/buildconf.sh index 8647f28..d86b270 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,11 +1,19 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.46 2007-02-20 09:53:01 adam Exp $ automake=automake aclocal=aclocal autoconf=autoconf libtoolize=libtoolize +test -d config || mkdir config +if test .git; then + if test -d m4/.git -a -d doc/common/.git; then + : + else + git submodule init + fi + git submodule update +fi if [ "`uname -s`" = FreeBSD ]; then # FreeBSD intalls the various auto* tools with version numbers echo "Using special configuration for FreeBSD ..."