X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=95be2a5346b37833b158b4f0a564c294ddd6f5a0;hp=1ded9da60d8fde5b4b2a214aae1466d87b8f6811;hb=30af0a1ebbea75c3e757eb03d3f988c61fce8511;hpb=69392bd6f5e182f413fd406c598d4ae0108f166c diff --git a/buildconf.sh b/buildconf.sh index 1ded9da..95be2a5 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,9 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.2 2001-02-26 22:52:54 adam Exp $ -aclocal || exit 1 -libtoolize --force >/dev/null 2>&1 || 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 <