X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=fc38762e10755c762d9ba44727d179c2682624bc;hb=00d6544408e2de88277e091fb7f8f4dfe3949558;hpb=81a75ae20b5b250309a70de51bfdf8de0019f882 diff --git a/buildconf.sh b/buildconf.sh index fc38762..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,13 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.7 2002-04-05 08:46:26 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 >/dev/null 2>&1 -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <