X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=d6d56c22d6d7ea62b66f3e1d1dfc728660901b32;hp=5f6c74b444dd98b59dceda161fd576346d38844a;hb=7efe8383431522089f1e06864dc8d7fdf782a8a6;hpb=5f41603d89c37f70252ed88fc3f8df67dde9c061 diff --git a/buildconf.sh b/buildconf.sh index 5f6c74b..d6d56c2 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,16 +1,56 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.4 2004-08-16 12:39:44 adam Exp $ -set -x -dir=`aclocal --print-ac-dir` -if [ -f $dir/yazpp.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 <