X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=buildconf.sh;h=f9e6516203c93dfa6cbf8802b5dfa5f5369a5d82;hb=8fd8085671b4270baae56c827ff259e8da07196d;hp=7a74ee915f27181037e85768fcdeb8b8748b3237;hpb=5fb26f09be8e9bfe050702dcd47a0fd91c91c7b4;p=idzebra-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 7a74ee9..f9e6516 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,11 +1,20 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.25 2006-11-23 18:42:48 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 ..."