X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=c84083e9551646a2181498e30a9362b38dc36354;hb=f3f20a205132c39c9434b10086422c6b49b47faf;hpb=cefaccf49b16e9ae79f53d963a03ad40f332de0f diff --git a/buildconf.sh b/buildconf.sh index c84083e..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,14 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.9 2002-11-26 20:15:44 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 -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <