From: Akim Demaille Date: Tue, 23 Jan 2001 12:53:52 +0000 (+0000) Subject: * configure.in: If this is a beta, dump the core of BUGS. X-Git-Tag: autoconf-2.50~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edff52ab4c67b016576243f85bf2db2e850859e9;p=thirdparty%2Fautoconf.git * configure.in: If this is a beta, dump the core of BUGS. * tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing. --- diff --git a/BUGS b/BUGS index 01d008471..61aeb5914 100644 --- a/BUGS +++ b/BUGS @@ -1,6 +1,6 @@ -*- outline -*- -This file lists the bugs you must be aware ofBe sure to check this +This file lists the bugs you must be aware of. Be sure to check this file before using Autoconf, and especially CVS versions of Autoconf. Many other bugs are registered on the GNATS server: @@ -12,9 +12,9 @@ address them. * Status - /*---------------------------------. - | Don't use at all, just test it. | - `---------------------------------*/ + /*-----------------------------------------------------. + | Don't use this version in production, just test it. | + `-----------------------------------------------------*/ * Serious bugs diff --git a/ChangeLog b/ChangeLog index a09864808..c4ccee112 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-01-23 Akim Demaille + + * configure.in: If this is a beta, dump the core of BUGS. + * tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing. + 2001-01-23 Akim Demaille * autoscan.pl: Don't use `defined' to check whether an array is diff --git a/configure b/configure index 1e86fb919..dd978d057 100755 --- a/configure +++ b/configure @@ -1999,3 +1999,7 @@ ac_clean_files=$ac_clean_files_save test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; } +# Report the state of this version of Autoconf if this is a beta. +case 2.49c in + *[a-z]*) sed -n '/^\* Status/,$p' BUGS;; +esac diff --git a/configure.in b/configure.in index 10f7618ab..4bfa8b448 100644 --- a/configure.in +++ b/configure.in @@ -45,3 +45,8 @@ fi AC_OUTPUT(Makefile m4/Makefile man/Makefile doc/Makefile tests/Makefile tests/atconfig) + +# Report the state of this version of Autoconf if this is a beta. +case AC_PACKAGE_VERSION in + *[[a-z]]*) sed -n '/^\* Status/,$p' BUGS;; +esac diff --git a/tests/base.at b/tests/base.at index e47535622..31ebf55a2 100644 --- a/tests/base.at +++ b/tests/base.at @@ -158,3 +158,39 @@ AT_CHECK_AUTOCONF AT_CHECK_CONFIGURE AT_CLEANUP + + +## ---------------------- ## +## AC_REQUIRE & AC_LANG. ## +## ---------------------- ## + +AT_SETUP([AC_REQUIRE & AC_LANG]) + +AT_DATA([configure.ac], +[[AC_DEFUN([AC_F77_1], +[AC_LANG_PUSH([Fortran 77]) +if test $ac_ext != f; then + AC_MSG_ERROR([F77_1: current shell language is $ac_ext, expected Fortran]) +fi +AC_LANG_POP +]) + + +AC_DEFUN([AC_F77_2], +[AC_LANG_PUSH([Fortran 77]) +AC_REQUIRE([AC_F77_1]) +if test $ac_ext != f; then + AC_MSG_ERROR([F77_2: current shell language is $ac_ext, expected Fortran]) +fi +AC_LANG_POP +]) + +AC_INIT +AC_F77_2 +AS_EXIT(0) +]]) + +AT_CHECK_AUTOCONF +AT_CHECK_CONFIGURE + +AT_CLEANUP