Merge branch 'maint'
[platform/upstream/automake.git] / NEWS
diff --git a/NEWS b/NEWS
index 46803a7..9db43aa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,16 +1,11 @@
-New in 1.11.0a:
+New in 1.11a:
 
-* WARNING: Future backward-incompatibilities!
-
-  - The Automake support for automatic de-ANSI-fication will be removed in
-    the next major Automake release (1.12).
+* Changes to automake:
 
-  - The `--acdir' option of aclocal is deprecated, and will probably be
-    removed in the next major Automake release (1.12).
+  - automake now generates silenced rules for texinfo outputs.
 
-  - The exact order in which the directories in the aclocal macro
-    search path are looked up is probably going to be changed in the
-    next Automake release (1.12).
+  - The deprecated options `--output-dir', `--Werror' and `--Wno-error'
+    have been removed.
 
 * Changes to aclocal:
 
@@ -22,16 +17,50 @@ New in 1.11.0a:
     automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION)
     and before the system acdir (by default ${prefix}/share/aclocal).
 
+  - The exact order in which the directories in the aclocal macro
+    search path are looked up is probably going to be changed in the
+    next Automake release (1.12).
+
+* New targets:
+
+  - New `cscope' target to build a cscope database for the source tree.
+
 * Miscellaneous changes:
 
+  - The `dist' and `dist-all' targets now can run compressors in parallel.
+
   - The `lzma' compression scheme and associated automake option `dist-lzma'
     is obsoleted by `xz' and `dist-xz' due to upstream changes.
 
+  - "make dist" can now create lzip-compressed tarballs.
+
   - You may adjust the compression options used in dist-xz and dist-bzip2.
     The default is now merely -e for xz, but still -9 for bzip;  you may
     specify a different level via the XZ_OPT and BZIP2 envvars respectively.
     E.g., "make dist-xz XZ_OPT=-7" or "make dist-bzip2 BZIP2=-5"
 
+  - Messages of types warning or error from `automake' and `aclocal' are now
+    prefixed with the respective type, and presence of -Werror is noted.
+
+  - The `compile' script now converts some options for MSVC for a better
+    user experience.  Similarly, the new `ar-lib' script wraps Microsoft lib.
+
+  - Automake's early configure-time sanity check now tries to avoid sleeping
+    for a second, which slowed down cached configure runs noticeably.  In that
+    case, it will check back at the end of the configure script to ensure that
+    at least one second has passed, to avoid time stamp issues with makefile
+    rules rerunning autotools programs.
+
+  - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES and
+    adds them to the normal list of dependencies, but without overwriting the
+    foo_DEPENDENCIES variable, which is normally computed by automake.
+
+  - C source and header files derived from non-distributed Yacc sources are
+    now removed by "make clean", not only by "make maintainer-clean".
+
+  - The `compile' script now converts some options for MSVC for a better
+    user experience.  Similarly, the new `ar-lib' script wraps Microsoft lib.
+
   - The py-compile script now accepts empty arguments passed to the options
     `--destdir' and `--basedir', and complains about unrecognized options.
     Moreover, a non-option argument or a special `--' argument terminates
@@ -45,6 +74,11 @@ New in 1.11.0a:
     user; still, the old Makefile.am files that used to define it will
     still continue to work as before.
 
+  - New macro AM_PROG_AR that looks for an archiver and wraps it in the new
+    'ar-lib' auxiliary script if the found archiver is Microsoft lib.  This
+    new macro is required for LIBRARIES and LTLIBRARIES when automake is
+    run with -Wextra-portability (or -Wall) and -Werror.
+
   - When using DejaGnu-based testsuites, the user can extend the `site.exp'
     file generated by automake-provided rules by defining the special make
     variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'.
@@ -53,7 +87,11 @@ New in 1.11.0a:
     the `${infodir}/dir' file, by exporting the new environment variable
     `AM_UPDATE_INFO_DIR' to the value "no".
 
-Bugs fixed in 1.11.0a:
+  - Support for automatic de-ANSI-fication has been removed.
+
+Bugs fixed in 1.11a:
+
+  - Lots of minor bugfixes.
 
 * Bugs introduced by 1.11:
 
@@ -101,6 +139,11 @@ Bugs fixed in 1.11.0a:
   - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
     tools are preferred in a cross-compile setup.
 
+  - The distribution is tarred up with mode 755 now by the `dist*' targets.
+    This fixes a race condition where untrusted users could modify files
+    in the $(PACKAGE)-$(VERSION) distdir before packing if the toplevel
+    build directory was world-searchable.  This is CVE-2009-4029.
+
   - Several scripts and the parallel-tests testsuite driver now exit with
     the right exit status upon receiving a signal.
 
@@ -119,6 +162,24 @@ Bugs fixed in 1.11.0a:
     make bug triggered by sources containing repeated slashes when the
     `subdir-objects' option was used.
 
+  - Automake now detects the presence of the `-d' flag in the various
+    `*YFLAGS' variables even when their definitions involve indirections
+    through other variables, such as in:
+      foo_opts = -d
+      AM_YFLAGS = $(foo_opts)
+
+  - Automake now complains if a `*YFLAGS' variable has any conditional
+    content, not only a conditional definition.
+
+  - Explicit enabling and/or disabling of Automake warning categories
+    through the `-W...' options now always takes precedence over the
+    implicit warning level implied by Automake strictness (foreign, gnu
+    or gnits),  regardless of the order in which such strictness and
+    warning flags appear.  For example, a setting like:
+      AUTOMAKE_OPTIONS = -Wall --foreign
+    will cause the warnings in category `portability' to be enabled, even
+    if those warnings are by default disabled in `foreign' strictness.
+
   - The parallel-tests driver no longer produces erroneous results with
     Tru64/OSF 5.1 sh upon unreadable log files.