X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=c6a4e3921223193fa23a58a740a2aea36b5a311c;hp=165b93e342e675b4789d08e259501e8597ea2c43;hb=37a894d52dcd595033b719cff476b77b1dfe81d1;hpb=03a58bebb2575313e5fb1709f2105541caaed237 diff --git a/buildconf.sh b/buildconf.sh index 165b93e..c6a4e39 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,15 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.9 2002-09-10 12:00:20 adam Exp $ -set -x -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 <