X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=6e6e322e9f513815d6f139fd8f8d07e30ed6d614;hp=da5439c77dbf19e0b8ae0a932563d1c14e34c3da;hb=b696a59e5609651787b64b953b581a3ceb263f14;hpb=e1f879d00e75be3b5b9f3ecc22b34cc0c1c61aec diff --git a/buildconf.sh b/buildconf.sh index da5439c..6e6e322 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,10 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.6 2001-10-23 22:44:32 adam Exp $ -aclocal || exit 1 -libtoolize --automake --force || exit 2 -automake -a >/dev/null 2>&1 || exit 3 -autoconf || exit 4 -if [ -f config.cache ]; then - rm config.cache + +if [ -d .git ]; then + git submodule init + git submodule update +fi + +. m4/id-config.sh + +if $enable_help; then + cat <