X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/f2ae4555395c65ae0a144de1e117a3c0f17d12c4..d21ef2683860561e7b7fdcf2e4ab5523ea320534:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 80% index 9a9c9abfa..2e39fb5d8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,19 +1,38 @@ -#!/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 ) - -echo "Now run configure and make." -echo "You must pass the \`--enable-maintainer-mode' option to configure." +#!/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."