X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=buildconf.sh;h=c6a4e3921223193fa23a58a740a2aea36b5a311c;hb=6f3834da6184bd3c38812c1b3f30e8c9d287d887;hp=984801933f3f73959121cda528af3ae8393b6a62;hpb=911c48d1500fb1fe8d43da7507c4fd46bc95e2ec;p=yazpp-moved-to-github.git diff --git a/buildconf.sh b/buildconf.sh index 9848019..c6a4e39 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,14 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.8 2002-09-10 11:58:13 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 -libtoolize --force -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <