X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=40377c2dcf3a8f44c20cdf2d76ce6a318c430c08;hb=85ad68ab178a261dc548284ee68aae9107cbfaaf;hpb=cb007c6145b0dbb3fcbe9826f081650becf9a05c diff --git a/buildconf.sh b/buildconf.sh index 40377c2..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,16 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.11 2004-08-24 10:37:18 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 -libtoolize --automake --force -automake -a -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <