X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=6557a1794936243c4bc8a046df7f49db8d935279;hb=27bdd6aa26843aeac89f635ed495996088d8e8aa;hpb=4d942c0e72457c0ffcab606a7ecaa72157bc7e45 diff --git a/buildconf.sh b/buildconf.sh index 6557a17..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,13 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.8 2002-04-30 21:07:56 adam Exp $ -dir=`aclocal --print-ac-dir` -if [ -f $dir/yaz.m4 ]; then - aclocal -else - aclocal -I . + +if [ -d .git ]; then + git submodule init + git submodule update fi -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <