Merge branch 'maint' into branch-1.11
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 9 Dec 2011 23:27:11 +0000 (00:27 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 9 Dec 2011 23:27:11 +0000 (00:27 +0100)
* maint:
  dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings
  news: fix typos, grammaros and suboptimal wording

1  2 
ChangeLog
Makefile.in
NEWS
doc/automake.texi

diff --cc ChangeLog
Simple merge
diff --cc Makefile.in
Simple merge
diff --cc NEWS
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -31,9 -27,11 +31,14 @@@ New in 1.11.1a
    - The `lzma' compression scheme and associated automake option `dist-lzma'
      is obsoleted by `xz' and `dist-xz' due to upstream changes.
  
+   - 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-xz BZIP2=-5"
 +  - 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
      the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,
      instead of the old DISTCHECK_CONFIGURE_FLAGS.
      The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the
-     user; still, the old Makefile.am files that used to define it should
+     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 selected archiver is Microsoft lib.
 +    This new macro is required for LIBRARIES and LTLIBRARIES when automake
 +    is run with -Wextra-portability 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)'.
      the `${infodir}/dir' file, by exporting the new environment variable
      `AM_UPDATE_INFO_DIR' to the value "no".
  
 -Bugs fixed in 1.11.0a:
 +Bugs fixed in 1.11.1a:
  
 -* Bugs introduced by 1.11:
 +* Bugs introduced by 1.11.1:
 +
- * Long standing bugs:
++* Long-standing bugs:
  
    - The `parallel-tests' test driver works around a GNU make 3.80 bug with
      trailing white space in the test list (`TESTS = foo $(EMPTY)'), and
      or "redefinition of TEST_EXTENSIONS), or even, in some situations,
      silently producing broken `Makefile.in' files.
  
-   - The `silent-rules' option now also silences all compile rules if dependency
-     tracking is disabled.  Also, when `silent-rules' is not used, the output from
-     `make' does not contain spurious extra lines with only a backslash in them
-     any more; it now again matches that from pre-1.11 Automake.
-   - Several scripts as well as the parallel-tests testsuite driver now
-     exit with the right exit status upon receiving a signal.
-   - The `dist-xz' option now uses `xz -9' for maximum compression.
+   - The `silent-rules' option now truly silences all compile rules, even
+     when dependency tracking is disabled.  Also, when `silent-rules' is
+     not used, `make' output no longer contains spurious backslash-only
+     lines, thus once again matching what Automake did before 1.11.
  
 -  - The AM_COND_IF macro also works if the shell expression for the conditional
 -    is no longer valid for the condition.
 +  - A per-Makefile.am setting of -Werror does not carry over to the
 +    handling of other Makefile.am files any more.
  
 -* Long-standing bugs:
 +  - The order of Yacc and Lex flags is fixed to be consistent with other
 +    languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
 +    $(LFLAGS), so that the user variables override the developer variables.
  
    - "make distcheck" now correctly complains also when "make uninstall"
      leaves one and only one file installed in $(prefix).
      `get_python_lib' function if it points outside the configured prefix,
      unless the `--prefix' argument was either `/usr' or below `/System'.
  
 -  - The testsuite does not try to change the mode of `ltmain.sh' files from
 -    a Libtool installation (symlinked to test directories) any more.
 +  - The AM_COND_IF macro also works if the shell expression for the conditional
 +    is no longer valid for the condition.
  
 -  - AM_PROG_GCJ uses AC_CHECK_TOOLS to look for `gcj' now, so that prefixed
 -    tools are preferred in a cross-compile setup.
 +  - Rules generated by Automake now try harder to not change any files when
 +    `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
 +    Yacc source files and the rule to update config.h.
  
-   - Several scripts as well as the parallel-tests testsuite driver now
-     exit with the right exit status upon receiving a signal.
-   - A per-Makefile.am setting of -Werror does not carry over to the
-     handling of other Makefile.am files any more.
-   - The order of Yacc and Lex flags is fixed to be consistent with other
-     languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
-     $(LFLAGS), so that the user variables override the developer variables.
+   - Several scripts and the parallel-tests testsuite driver now exit with
+     the right exit status upon receiving a signal.
  
-   - Rules generated by Automake now try harder to not change any files when
-     `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
-     Yacc source files and the rule to update config.h.
+   - A per-Makefile.am setting of -Werror does not erroneously carry over
+     to the handling of other Makefile.am files.
  
 -  - The order of Yacc and Lex flags is now consistent with that of other
 -    languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before
 -    $(LFLAGS), so that the user variables override the developer variables.
 -
 -  - Rules generated by Automake now try harder not to change any files when
 -    `make -n' is invoked.  Fixes include compilation of Emacs Lisp, Vala, or
 -    Yacc source files and the rule to update config.h.
 -
    - The code for automatic dependency tracking works around a Solaris
      make bug triggered by sources containing repeated slashes when the
      `subdir-objects' option was used.
      and error out if `javadir' is undefined, instead of silently producing
      a broken Makefile.in.
  
-   - Now aclocal and automake, when they've to spawn autoconf or autom4te
-     processes, honour the configure-time definitions of AUTOCONF and
-     AUTOM4TE.
+   - aclocal and automake now honour the configure-time definitions of
+     AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes.
  
-   - The `install-info' recipe does not try anymore to guess whether the
+   - The `install-info' recipe no longer tries to guess whether the
      `install-info' program is from Debian or from GNU, and adaptively
-     change its behaviour; this has proven to be frail and easy to regress.
+     change its behaviour; this has proven to be frail and easy to
+     regress.
  \f
 +Bugs fixed in 1.11.1:
 +
 +  - Lots of minor bugfixes.
 +
 +* Bugs introduced by 1.11:
 +
 +  - The `parallel-tests' test driver works around a GNU make 3.80 bug with
 +    trailing white space in the test list (`TESTS = foo $(EMPTY)').
 +
 +* Long standing bugs:
 +
 +  - On Darwin 9, `pythondir' and `pyexecdir' pointed below `/Library/Python'
 +    even if the `--prefix' argument pointed outside of a system directory.
 +    AM_PATH_PYTHON has been fixed to ignore the value returned from python's
 +    `get_python_lib' function if it points outside the configured prefix,
 +    unless the `--prefix' argument was either `/usr' or below `/System'.
 +
 +  - The testsuite does not try to change the mode of `ltmain.sh' files from
 +    a Libtool installation (symlinked to test directories) any more.
 +
 +  - 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.
 +\f
  New in 1.11:
  
  * Version requirements:
Simple merge