diff options
author | Zack Weinberg <zackw@panix.com> | 2020-07-12 11:26:47 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2020-07-12 11:26:47 -0400 |
commit | d5cb54d02dba7ba9c0cd3736b46e7b50a71ce2f3 (patch) | |
tree | c3578bdb7d5dbb5fec2e4ca4adacdd5a46ffef44 /NEWS | |
parent | 8173e5d6fefd8a2a36974610f85784121f8dc36e (diff) | |
download | autoconf-d5cb54d02dba7ba9c0cd3736b46e7b50a71ce2f3.tar.gz |
Add AC_PROG_EGREP to AU_DEFUN for AC_HEADER_STDC (#110215)
AC_HEADER_STDC used to use AC_EGREP_CPP, and therefore had the side
effect of AC_REQUIRE([AC_PROG_EGREP]). In 2.70 AC_HEADER_STDC is an
AU_DEFUN and, before this change, the replacement didn’t invoke
AC_PROG_EGREP, which broke configure scripts that assumed $EGREP would
be set. Problem reported by Ross Burton.
* lib/autoconf/headers.m4 (AU::AC_HEADER_STDC): Also invoke AC_PROG_EGREP.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -44,8 +44,16 @@ GNU Autoconf NEWS - User visible changes. variables used later in the configure script, or in generated Makefiles. - - AC_REQUIRE must not appear inside hand-written shell conditional - constructs. Use AS_IF, AS_FOR, etc. instead. + - Autoconf macros that use AC_REQUIRE internally, are not safe to + use inside of hand-written shell conditional or looping + constructs. Use AS_IF, AS_CASE, AS_FOR, etc. instead. + (See the “Prerequisite Macros” section of the manual for + further explanation.) + + The set of macros that use AC_REQUIRE internally may change from + release to release. The only macros that are guaranteed *not* to + use AC_REQUIRE are the macros for acting on the results of a + test: AC_DEFINE, AC_SUBST, AC_MSG_*, AC_CACHE_CHECK, etc. - AC_REQUIRE cannot be applied to macros that need to be used with arguments. Instead, invoke the macro normally, with its arguments. |