X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d6d56c22d6d7ea62b66f3e1d1dfc728660901b32;hp=17d2eebeac0d9f1a6240358ecb9c5519a38211a6;hb=f5aa3da6fa8c40d6f8295514edf08477e3f3a054;hpb=2f1a9a4b28ae43c9da9e0740f84048065b2d3bf6 diff --git a/buildconf.sh b/buildconf.sh index 17d2eeb..d6d56c2 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,16 +1,56 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.1 2004-04-11 11:36:46 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 --force -automake -a -automake -a -autoconf -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <