X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/ee31ced26aeda90caf03f5e486108985f7aeee8c..0ad455ca6b8058a08fc88d911c3814b06275fe4e:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 76% index f192b4965..5187cd4aa 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,34 @@ -#!/bin/sh - -autoheader -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."