X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=122cff1cf6803ba3654135610361a2071bb35b81;hb=f3f20a205132c39c9434b10086422c6b49b47faf;hpb=8bce7c5592247e2c2c70f123f8e5e5294a84dfda diff --git a/buildconf.sh b/buildconf.sh index 122cff1..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,15 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.10 2003-05-06 12:09:24 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 -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <