X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=6e6e322e9f513815d6f139fd8f8d07e30ed6d614;hp=3debbfcf1eda73016c50f17dbd3d89f3d4c9f79e;hb=bfcb19b17256263c4fca826add7724ad7c847943;hpb=d96213e7e29deb01d3f24408b557319adea3cb3d diff --git a/buildconf.sh b/buildconf.sh index 3debbfc..6e6e322 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,10 +1,55 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.3 2001-05-16 07:37:39 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 <