X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=c6a4e3921223193fa23a58a740a2aea36b5a311c;hp=071751ebd1fb809673d4d510f1f8b31f8cd95551;hb=HEAD;hpb=bd71f8812ca0f38438733efc89ecce1f49dae9e7 diff --git a/buildconf.sh b/buildconf.sh index 071751e..c6a4e39 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,14 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.6 2001-03-26 14:43:49 adam Exp $ -dir=`aclocal --print-ac-dir` -if [ -f $dir/yaz.m4 ]; then - aclocal || exit 1 -else - aclocal -I . || exit 1 + +if [ -d .git ]; then + git submodule init + git submodule update fi -libtoolize --force >/dev/null 2>&1 || exit 2 -automake -a >/dev/null 2>&1 || exit 3 -autoconf || exit 4 -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <