From: Eric Blake Date: Thu, 5 Feb 2009 13:12:24 +0000 (-0700) Subject: Mention new AC_DEFUN_ONCE clients. X-Git-Tag: v2.63b~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8e30e268da0fbf2f53fcc366d3cef59bc47119c;p=thirdparty%2Fautoconf.git Mention new AC_DEFUN_ONCE clients. * NEWS: Mention recent semantic changes. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 67b207ce7..c72253ab0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-05 Eric Blake + + Mention new AC_DEFUN_ONCE clients. + * NEWS: Mention recent semantic changes. + Reported by Ralf Wildenhues. + 2009-02-03 Eric Blake Use AC_DEFUN_ONCE for some one-shot AC_PROG macros. diff --git a/NEWS b/NEWS index ba006cd8f..94b310e34 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,16 @@ GNU Autoconf NEWS - User visible changes. and subsequent invocations are a silent no-op. This makes AC_DEFUN_ONCE an ideal macro for silencing AC_REQUIRE warnings. +** The following macros are now defined with AC_DEFUN_ONCE. This means + a subtle change in semantics; previously, an AC_DEFUN macro could + expand one of these macros multiple times or surround the macro + inside shell conditional text to bypass the effects of these + macros, but now the macro will expand exactly once, and prior to + the start of any enclosing AC_DEFUN macro: + AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET + AC_HEADER_ASSERT AC_PROG_INSTALL AC_PROG_MKDIR_P + AC_USE_SYSTEM_EXTENSIONS + ** AC_LANG_ERLANG works once again (regression introduced in 2.61a). ** AC_HEADER_ASSERT is fixed so that './configure --enable-assert' no