From: Akim Demaille Date: Fri, 28 Mar 2003 17:11:29 +0000 (+0000) Subject: * lib/autoconf/headers.m4: Suggest reading the section "Present X-Git-Tag: AUTOCONF-2.57a~74 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4c6f840b3f344568f48c505a1de3b83468382ae1;p=thirdparty%2Fautoconf.git * lib/autoconf/headers.m4: Suggest reading the section "Present But Cannot Be Compiled" when the header causes problems. --- diff --git a/ChangeLog b/ChangeLog index 23e201b64..13c26cd36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-28 Akim Demaille + + * lib/autoconf/headers.m4: Suggest reading the section "Present + But Cannot Be Compiled" when the header causes problems. + 2003-03-28 Akim Demaille * tests/torture.at (Configuring subdirectories): Require aclocal diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4 index 9d422cb9c..43ecd10f0 100644 --- a/lib/autoconf/headers.m4 +++ b/lib/autoconf/headers.m4 @@ -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]) ( diff --git a/tests/torture.at b/tests/torture.at index b29c08820..d4c7cd9c7 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -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])