X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/5d94b2fead2e3631d6eb8925e46da228857d16e2..d887805f4e4f22806af2776c229a73c8cd7abee6:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 68% index f37fd42f6..5187cd4aa 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,34 @@ -#!/bin/sh - -autoreconf --force "$@" +#!/bin/sh +# Usage: sh -x ./autogen.sh + +set -e + +[ -f GUILE-VERSION ] || { + echo "autogen.sh: run this command only at the top of guile-core." + exit 1 +} + +###################################################################### +### announce build tool versions +echo "" +autoconf --version +echo "" +automake --version +echo "" +if test "`uname -s`" = Darwin; then + glibtool --version +else + libtool --version +fi +echo "" +${M4:-m4} --version +echo "" +flex --version +echo "" + +###################################################################### +### update infrastructure + +autoreconf -i --force --verbose + +echo "Now run configure and make."