X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/951afd33db6aa6af50d37da99f3519c1ad89da60..74bbb99457c661a98fbdde0c0504da1b3a053fc3:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 82% index 58690c7d0..5187cd4aa 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,14 +1,34 @@ -#!/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 - -( echo "guile-readline..."; cd guile-readline; ./autogen.sh ) -( echo "libltdl..."; 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 "" +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."