From: Zack Weinberg Date: Fri, 10 Jul 2020 18:16:18 +0000 (-0400) Subject: NEWS: add notes about known breakage due to pickier macros. X-Git-Tag: v2.69b~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83798d2971a46fb0f49c020e3fdf0c0d43cfb63d;p=thirdparty%2Fautoconf.git NEWS: add notes about known breakage due to pickier macros. These are all cases where the offending configure script or third-party macro was always incorrect, but autoconf 2.69 let you get away with it. --- diff --git a/NEWS b/NEWS index c1a3e70e..4f6d59a1 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,27 @@ GNU Autoconf NEWS - User visible changes. account. This makes it possible to use AC_DEFINE for secondary headers without duplicating the template in the main config header. +** Many macros have been improved to expand their arguments + once and only once. This makes ‘autoconf’ run faster. However, it + may break configure scripts that did not quote all macro arguments + properly. The ‘M4 Quotation’ section of the manual explains how to + quote macro arguments properly. + +** Several macros that are commonly used early in a configure + script, such as AC_PROG_CC, have been optimized and no longer + invoke as many subroutine macros as they used to. This can expose + several classes of bugs: these are the ones we know about: + + - Make sure to explicitly invoke all of the macros that set result + 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. + + - AC_REQUIRE cannot be applied to macros that need to be used with + arguments. Instead, invoke the macro normally, with its arguments. + ** Macros that take whitespace-separated lists as arguments now always expand macros within those arguments. (Formerly, these macros would *usually* expand those arguments, but the behavior was