X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=c6a4e3921223193fa23a58a740a2aea36b5a311c;hp=02252f6ce8e18630579890c5473c03226b6ad1d4;hb=53d173adf3fb13f5fd25a7b02f339e2731d8a834;hpb=8a1224da4d5c0d6bde27b39d1ec0f9b6ffa6aea0 diff --git a/buildconf.sh b/buildconf.sh index 02252f6..c6a4e39 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,14 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.7 2002-04-15 09:43:30 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 -libtoolize --force -automake -a -autoconf || exit 4 -if [ -f config.cache ]; then - rm config.cache + +. m4/id-config.sh + +if $enable_help; then + cat <