X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=1e682b18a6a0571145917cff32ffaa39a8cb5669;hb=0dedb6a7a6a0f0ddaf56cb0673978fdd85e64be1;hpb=04a991ce4fba7c149df537f3050af0e600c23b28 diff --git a/buildconf.sh b/buildconf.sh index 1e682b1..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,13 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.4 2001-02-26 22:14:59 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 -automake -a >/dev/null 2>&1 || exit 2 -autoconf || exit 3 -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <