]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/headers.m4: Suggest reading the section "Present
authorAkim Demaille <akim@epita.fr>
Fri, 28 Mar 2003 17:11:29 +0000 (17:11 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 28 Mar 2003 17:11:29 +0000 (17:11 +0000)
But Cannot Be Compiled" when the header causes problems.

ChangeLog
lib/autoconf/headers.m4
tests/torture.at

index 23e201b64e4495ac75e50f567e76e096861b7680..13c26cd368fa1b688c69b6375085010f9c8738cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-28  Akim Demaille  <akim@epita.fr>
+
+       * lib/autoconf/headers.m4: Suggest reading the section "Present
+       But Cannot Be Compiled" when the header causes problems.
+
 2003-03-28  Akim Demaille  <akim@epita.fr>
 
        * tests/torture.at (Configuring subdirectories): Require aclocal
index 9d422cb9c60deddee7b5552e59fb4a37d81f89c8..43ecd10f08572b7fae0be169d1870f445d4a18cc 100644 (file)
@@ -130,6 +130,7 @@ case $ac_header_compiler:$ac_header_preproc in
   no:yes )
     AC_MSG_WARN([$1: present but cannot be compiled])
     AC_MSG_WARN([$1: check for missing prerequisite headers?])
+    AC_MSG_WARN([$1: see the documentation, section "Present But Cannot Be Compiled"])
     AC_MSG_WARN([$1: proceeding with the preprocessor's result])
     AC_MSG_WARN([$1: in the future, the compiler will take precedence])
     (
index b29c08820a9e16be070d21c7a61a8da30ca4be45..d4c7cd9c77d594578c1aad19116036ef9b4d1feb 100644 (file)
@@ -561,7 +561,7 @@ AT_KEYWORDS(autoreconf)
 # We use aclocal (via autoreconf).
 AT_CHECK([aclocal --version || exit 77], [], [stdout], [ignore])
 # It should understand configure.ac.
-AT_CHECK([grep 1.4 stdout && exit 77], [1], [ignore])
+AT_CHECK([[grep '1.[01234] stdout && exit 77]], [1], [ignore])
 
 # The contents of `inner/', and `inner/innermost/'.
 AS_MKDIR_P([inner/innermost])