]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
NEWS: mention that AS_INIT no longer embeds full paths to source files.
authorZack Weinberg <zackw@panix.com>
Thu, 9 Jul 2020 17:59:05 +0000 (13:59 -0400)
committerZack Weinberg <zackw@panix.com>
Thu, 9 Jul 2020 17:59:05 +0000 (13:59 -0400)
(Change made in c6daae41276a49b52a9d5e2f70c95651364ed619.)

Also reorder some of the NEWS entries more logically.

NEWS

diff --git a/NEWS b/NEWS
index fc0fef801a5b3de89df1b78c7bff483a2ce6e30a..c1a3e70e37f3f378b24b7f00c1a61200a8c026ea 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -24,16 +24,6 @@ GNU Autoconf NEWS - User visible changes.
    $as_echo_n now elicits a warning in the 'obsolete' category.
    The macros AS_ECHO and AS_ECHO_N should be used instead.
 
-** AC_CHECK_HEADER and AC_CHECK_HEADERS now default to doing only a
-   compilation test.  This completes the transition from preprocessor-
-   based header tests begun in Autoconf 2.56.
-
-   The double test that was the default since Autoconf 2.64 is no
-   longer available.  You can still request a preprocessor-only test
-   by specifying '-' as the fourth argument to either macro, but this
-   is now deprecated.  If you really need that behavior use
-   AC_PREPROC_IFELSE.
-
 ** When checking for missing templates, autoheader now takes any
    templates defined in the inputs of secondary config headers into
    account.  This makes it possible to use AC_DEFINE for secondary
@@ -55,6 +45,9 @@ GNU Autoconf NEWS - User visible changes.
    AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS, AC_CHECK_HEADERS_ONCE,
    AC_CONFIG_MACRO_DIRS, AC_CONFIG_SUBDIRS, and AC_REPLACE_FUNCS.
 
+** Man pages for config.guess and config.sub are no longer provided.
+   They were moved to the master source tree for config.guess and config.sub.
+
 ** Macros
 
 - New macro AC_C__GENERIC.
@@ -108,6 +101,16 @@ GNU Autoconf NEWS - User visible changes.
 - AT_TESTED arguments can use variable or command substitutions, including
   in particular $EXEEXT
 
+- AC_CHECK_HEADER and AC_CHECK_HEADERS now default to doing only a
+  compilation test.  This completes the transition from preprocessor-
+  based header tests begun in Autoconf 2.56.
+
+  The double test that was the default since Autoconf 2.64 is no
+  longer available.  You can still request a preprocessor-only test
+  by specifying '-' as the fourth argument to either macro, but this
+  is now deprecated.  If you really need that behavior use
+  AC_PREPROC_IFELSE.
+
 - AC_INCLUDES_DEFAULT has been streamlined.  It now assumes that the
   ISO C90 headers 'stdlib.h' and 'string.h' are unconditionally
   available, and does not include the pre-standard header 'memory.h'
@@ -143,8 +146,14 @@ GNU Autoconf NEWS - User visible changes.
   use with multiple languages, rather than forcing all checks in the
   language used by the first encounter of the macro.
 
-** Man pages for config.guess and config.sub are no longer provided.
-They were moved to the master source tree for config.guess and config.sub.
+- AS_INIT now writes only the base filename of the primary input file
+  into the generated script.  This avoids embedding (part of) the path
+  to the source directory in generated files, which hinders build
+  reproducibility.
+
+  We believe this was the only case where generated file contents could
+  change depending on the build environment.  If you find any other cases
+  please report them as bugs.
 
 * Noteworthy changes in release 2.69 (2012-04-24) [stable]