* tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.
-*- 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:
* Status
- /*---------------------------------.
- | Don't use at all, just test it. |
- `---------------------------------*/
+ /*-----------------------------------------------------.
+ | Don't use this version in production, just test it. |
+ `-----------------------------------------------------*/
* Serious bugs
+2001-01-23 Akim Demaille <akim@epita.fr>
+
+ * 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 <akim@epita.fr>
* autoscan.pl: Don't use `defined' to check whether an array is
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
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
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