]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* configure.in: If this is a beta, dump the core of BUGS.
authorAkim Demaille <akim@epita.fr>
Tue, 23 Jan 2001 12:53:52 +0000 (12:53 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 23 Jan 2001 12:53:52 +0000 (12:53 +0000)
* tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.

BUGS
ChangeLog
configure
configure.in
tests/base.at

diff --git a/BUGS b/BUGS
index 01d00847160cdae3e97d00d929d50b2ede8633c4..61aeb5914ca20a6e87b08c2646128008853bd9aa 100644 (file)
--- 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
index a0986480843bf0256d7cd1a25982ca213740e85f..c4ccee112ba43fb193f2c93e7a9c0d513754cd3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
index 1e86fb919be9161633d4d6519b4b6670e2a14d0a..dd978d0574e06783fccb78fd298c5c2ea2e0fc62 100755 (executable)
--- 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
index 10f7618abae93a87f90fd0c812ae3347601c243e..4bfa8b448193cadff025d17f00aa40605f31c268 100644 (file)
@@ -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
index e47535622c2a6fade80c212fcf6e6620d3d6c627..31ebf55a20f906676abf58311e3ffc573c911656 100644 (file)
@@ -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