From 34d19ef64368a8bac8a32f799b71dc05dd587654 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sat, 20 Jul 2002 14:08:34 +0000 Subject: 2002-07-20 Han-Wen * *.c: add space after commas everywhere. * *.c: use SCM_VECTOR_SET everywhere, where a vector is written. Document cases where SCM_WRITABLE_VELTS() is used. * vectors.h (SCM_VELTS): prepare for write barrier, and let SCM_VELTS() return a const pointer (SCM_VECTOR_SET): add macro. * autogen.sh (mscripts): find and check version number of autoconf. Complain if 2.53 is not found. --- autogen.sh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index a41df1179..ef7b58af8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -85,8 +85,26 @@ fi ###################################################################### -autoheader -autoconf + +# configure.in reqs autoconf-2.53; try to find it +for suf in "-2.53" "2.53" "" false; do + version=`autoconf$suf --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` + if test "0$version" -eq 253; then + autoconf=autoconf$suf + autoheader=autoheader$suf + break + fi +done + +if test -z "$autoconf"; then + echo "ERROR: Please install autoconf 2.53" + exit 1 +fi + + +################################################################ +$autoheader +$autoconf # Automake has a bug that will let it only add one copy of a missing # file. We need two mdate-sh, tho, one in doc/ref/ and one in -- cgit v1.2.1