X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=buildconf.sh;h=95be2a5346b37833b158b4f0a564c294ddd6f5a0;hp=da5439c77dbf19e0b8ae0a932563d1c14e34c3da;hb=30af0a1ebbea75c3e757eb03d3f988c61fce8511;hpb=e1f879d00e75be3b5b9f3ecc22b34cc0c1c61aec diff --git a/buildconf.sh b/buildconf.sh index da5439c..95be2a5 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 <