X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=ce336468b9714a34ea958dfbc75fb11bb7837eb8;hp=4823d771979e66904f866971c4fbed9f0c592bc8;hb=0dedb6a7a6a0f0ddaf56cb0673978fdd85e64be1;hpb=2b1851bd5565e3d21f9cf9a37661a584c063b75f diff --git a/buildconf.sh b/buildconf.sh index 4823d77..ce33646 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,16 +1,54 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.6 2002-04-04 14:14:13 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 -test -d isamc || mkdir isamc -test -d isamb || mkdir isamb -test -d isam || mkdir isam -automake -a >/dev/null 2>&1 -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <