X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d86b2701d8b9f0924f3c7d2643c93a4ab4af1e71;hp=7e6581d4bffb790a33e2e2df8fa0e7738c08b632;hb=24aa5ea66edef77f6d086275cc6370815aeaab60;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/buildconf.sh b/buildconf.sh index 7e6581d..d86b270 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -6,13 +6,14 @@ autoconf=autoconf libtoolize=libtoolize test -d config || mkdir config -if test -d m4/.git -a -d doc/common/.git; then - : -else - git submodule init +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 ..."