X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/e274f1c232db823e7c8e875cec6c1709c1a68445..9081209547ca012215cc669839af10b840eefa45:/autogen.sh diff --git a/autogen.sh b/autogen.sh dissimilarity index 93% index 5bc8c7835..501925f40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,17 +1,32 @@ -#!/bin/sh - -if test -f "`aclocal --print-ac-dir`/guile.m4"; then - aclocal -else - if test -f "`guile-config info datadir`/aclocal/guile.m4"; then - aclocal -I "`guile-config info datadir`/aclocal" - else - echo "Cannot find guile.m4"; - exit; - fi -fi - -libtoolize && \ -autoheader && \ -automake -a && \ -autoconf +#!/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 "" + +###################################################################### +### update infrastructure + +autoreconf -i --force --verbose + +echo "Now run configure and make."