X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/093e7da4bc2b467e91a2ddac96758161690180fd..ca5e0414e96886177d883a249edd957d2331db65:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 85% index 02bba0a34..5187cd4aa 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,16 +1,34 @@ -#!/bin/sh - -[ -f GUILE-VERSION ] || { - echo "autogen.sh: run this command only at the top of a Guile source tree." - exit 1 -} - -./guile-aclocal.sh - -libtoolize --copy --automake --ltdl -autoheader -autoconf -automake --add-missing -flex -t libguile/c-tokenize.lex > libguile/c-tokenize.c - -( echo "guile-readline..."; cd guile-readline; ./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."