X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/5c68589bb1daea36442a6164a5e13c8dd3d3aed0..22c9e769f1240c7bbc69ccc0506ff68fe7e76653:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 78% index 3bd36896f..2e39fb5d8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,14 +1,38 @@ -#!/bin/sh - -[ -f GUILE-VERSION ] || { - echo "autogen.sh: run this command only at the top of a Guile source tree." - exit 1 -} - -aclocal -I . -autoheader -autoconf -automake - -( cd guile-readline; ./autogen.sh ) -( cd libltdl; ./autogen.sh ) +#!/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 "" + +# Typical MacOS X installations rename 'libtoolize' to 'glibtoolize', so +# adjust to that. +if test "`uname -s`" = "Darwin"; then + glibtoolize --version +else + libtoolize --version +fi + +echo "" +${M4:-m4} --version +echo "" +flex --version +echo "" + +###################################################################### +### update infrastructure + +autoreconf -i --force --verbose + +echo "Now run configure and make."