Merge branch 'faster-clean'
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 21 Aug 2010 09:07:22 +0000 (11:07 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 21 Aug 2010 09:08:30 +0000 (11:08 +0200)
* faster-clean:
  Speed up removal of auxiliary linker output files for ltlibraries.

1  2 
ChangeLog

diff --combined ChangeLog
+++ b/ChangeLog
@@@ -1,5 -1,10 +1,10 @@@
  2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
+       Speed up removal of auxiliary linker output files for ltlibraries.
+       * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Rewrite using just
+       one `rm' invocation.
+       Report by Bob Friesenhahn.
        Improve robustness of mdate-sh script.
        * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
        $ls_command is word-split properly upon invocation.
        Don't hide the table of contents.
        * doc/automake.texi: Move the table of contents to the beginning.
  
 +2010-08-16  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Optimize compile script on MSYS.
 +      * lib/compile (func_file_conv): Add new argument 'lazy' which
 +      takes an optional list of conversion types where the requested
 +      conversion isn't needed.
 +      (func_cl_wrapper): Take advantage of the above for cases where
 +      MSYS is doing the conversion for us.
 +      Suggested by Ralf Wildenhues.
 +
 +2010-08-16  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Support more C++ file extensions for MSVC in the compile script.
 +      * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
 +      file extension as C++, unless it's given a hint. So hint about
 +      .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
 +      .c, .cpp, .CPP, .lib, .LIB and .Lib files.
 +      * lib/compile3.test: Test the C++ hinting.
 +
 +2010-08-12  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Enable the use of "link -lib" as the wrapped archiver.
 +      * lib/ar-lib: Enable the use of "link -lib" as the wrapped
 +      archiver, as well as allowing some other options to be passed
 +      through to the wrapped archiver.
 +      * tests/ar-lib.test: Test the above.
 +
  2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Tweak and/or extend some `acloca*.test' tests.
        * tests/ar2.test: Likewise, and make grepping of generated
        Makefile.in stricter.
  
 +2010-08-06  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
 +      * lib/ar-lib: New auxiliary script.
 +      * lib/Makefile.am: Add above.
 +      * tests/ar-lib.test: New test.
 +      * tests/Makefile.am: Add above.
 +      * automake.in (@common_files): Distribute the 'ar-lib' script.
 +      * doc/automake.texi (Auxiliary Programs): Mention the new
 +      'ar-lib' script.
 +      (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
 +      * NEWS: Update.
 +
 +2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix shell pattern negation in compile script.
 +      * lib/compile (func_file_conv): Use `!' not `^' for pattern
 +      negation.
 +
  2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        Fix maintainer-check failure.
        * tests/cond5.test: Add delay before the first kill attempt to
        cater for problems with MSYS bash.
  
 +2010-08-01  Peter Rosin  <peda@lysator.liu.se>
 +
 +      Wrap some MSVC options in the compile script.
 +      * lib/compile: MSVC supports naming the output file, the option
 +      is just not called -o, so transform -o into the appropriate form
 +      for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
 +      -Xlinker and -I) and convert file names to windows form where
 +      needed for those options to make MSVC more usable in an
 +      autotooled environment.
 +      * doc/automake.texi (Auxiliary Programs): Document the above
 +      extension of the compile script.
 +      * NEWS: Updated.
 +      * tests/defs.in: New required entry 'cl'.
 +      * tests/compile3.test: New test.
 +      * tests/compile4.test: New test.
 +      * tests/compile5.test: New test.
 +      * tests/Makefile.am: Update.
 +
  2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        Add example git work flow; discuss merge --log in HACKING.
        * tests/ext.test: Add a comment explaining why an apparently
        useless `if' statement is indeed required.
  
 +2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
        Add useful comment in test script obsolete.test.
        * tests/obsolte.test: Add a comment explaining why we need
        an indirection in adding $AUTOUPDATE to $required.
        * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
        definition of this variable.
  
 +      Parallel tests generation: improve comments (tiny change).
 +      * tests/Makefile.am ($(parallel_tests)): Added useful comment to
 +      generated tests.
 +
 +      Tests defs: truly get rid of `$am_defs_included' (unused variable)
 +       * tests/defs.in ($am_defs_included): Remove, its now unused.  It
 +      should have been removed in a previous changeset, but the removal
 +      was done only partially (oversight).
 +
  2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        Remove a couple of unneeded conditionals from tests.
        * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
        Automake stderr.  Some unrelated cosmetic changes.
  
 +2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      cscope.test: ensure verbose printing of captured stderr.
 +      * tests/cscope.test: Print captured stderr before failing.
 +
 +2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
        Testsuite: ensure verbose printing of captured stderr.
        * tests/acloca18.test: Print captured stderr before either failing
        or grepping it.  Be sure to send captured stderr to stderr, not to
        Enable `errexit' shell flag.
  
  2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix error in generation of parallel tests.
 +      * tests/defs.in ($am_skip_defs): New variable, to be used when
 +      ./defs must be sourced multiple times.  If set, unset it and
 +      only define $srcdir; otherwise, also go through the rest of
 +      the script.
 +      ($am_defs_included): Remove, no more needed.
 +      * tests/Makefile.am ($(parallel_tests)): Update accordingly,
 +      using only $srcdir from defs.
 +      Fixes potential test failures of tests that use $required.
 +
 +2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Enable `errexit' shell flag in some test scripts.
        * tests/subcond.test: Enabled `errexit' shell flag, and related
        * tests/version2.test: Likewise, and avoid deprecated constructs
        in the generated `configure.in'.
  
 +2010-06-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Improve declaration of dependencies in the testsuite.
 +      * tests/Makefile.am (check_SCRIPTS): Remove.  Instead, let ...
 +      ($(TEST_LOGS)): ... all test logs depend on the scripts.
 +      * test/gen-parallel-tests: For each parallel test foo-p.test,
 +      let `foo-p.log' also depend on `foo.test', since it is sourced.
 +
 +2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Coverage for TAGS_DEPENDENCIES warning.
 +      * tests/tags2.test: New test.
 +      * tests/Makefile.am: Update.
 +
 +      Coverage for use of anachronistic variables.
 +      * tests/oldvars.test: New test.
 +      * tests/Makefile.am: Update.
 +
 +      Testsuite coverage for bogus macro file serial numbers.
 +      * tests/acloca18.test: Also test ill-formed serial numbers
 +      and serial numbers after macro definitions.
 +
 +      Coverage for aclocal diagnosing underquoted macros.
 +      * tests/acloca23.test: New test.
 +      * tests/Makefile.am: Update.
 +
  2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
        * tests/mdate.test: Likewise.
        Prompted by Stefano Lattarini's change to discover.test.
  
 +2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      More minor message fixes.
 +      * aclocal.in (scan_file): Fix recommended info command line.
 +      * automake.in (handle_lib_objects): No need to prepend function
 +      name to prog_error message.
 +      (handle_tags): Add missing word and missing space in error
 +      message.
 +      (handle_dist): Add missing closing single quote in message.
 +      Line-wrap one long message for readability.
 +
 +2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix distcheck failure with distributed generated parallel tests.
 +      * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir)
 +      being different from the value at developer `make dist' time.
 +      * tests/defs.in: Protect against mutiple inclusion, by using ...
 +      ($am_defs_included): ... this new variable.
 +      ($srcdir): Do not compute, but simply define to `@abs_srcdir@'
 +      as substituted by configure.
 +      Report, suggestions and first fix by Ralf Wildenhues, final
 +      patch by Stefano Lattarini.
 +
  2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Improve tests link*.test (enable `errexit' shell flag).
  
  2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
 +      Tiny fix in silent8.test (display output of `make' command).
 +      * tests/silent8.test: Make sure that the captured output of `make'
 +      command is always displayed.
 +
        Make tests on user extensibility of silent-rules mode stricter.
        * tests/silent6.test: Made stricter w.r.t. the grepping of the
        output produced by `make'.
        * tests/silent5.test: Likewise.
        * tests/silent9.test: Likewise.
  
 -2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 -
 -      Fix silent-rules output for disabled dependency tracking.
 -      * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
 -      expansion code to also work in the case where %AMDEP% expands
 -      to FALSE at config.status time, using new substitution string
 -      %VERBOSE-NODEP%.
 -      * automake.in (verbose_nodep_flag): New function, appending
 -      `@am__nodep@' to the verbose-variable name.
 -      (handle_languages): If dependencies are not disabled, use it to
 -      set %VERBOSE-NODEP%.
 -      * m4/depend.m4: Substitute am__nodep as '_no', so the second
 -      verbose-variable will always expand to an empty string, if
 -      dependencies are enabled.
 -      * tests/silent5.test: Also test --disable-dependency-tracking;
 -      also test per-target flags for non-C language files.
 -      * tests/silent9.test: New test, like silent4.test but disable
 -      dependency tracking.
 -      * tests/Makefile.am: Adjust.
 -      * NEWS, THANKS: Update.
 -      Report by Dmitry V. Levin <ldv@altlinux.org>.
 -
  2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Extend test on `nostdinc' automake option.
  
  2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
 +      Fix truncated comment in Makefile.am.
 +      * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished
 +      sentence in comment.
 +      Report by Stefano Lattarini.
 +
 +      Relax silent8.test for NetBSD make.
 +      * tests/silent8.test: Accept ./foo.info in output as well.
 +
        Fix unportable sed script in maintainer-check test.
        * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
        not contain semicolon after 'b' or brace commands, for NetBSD.
  
  2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
 +      Warning and error message formatting cleanups.
 +      * aclocal.in (parse_arguments, main): Remove trailing period or
 +      newline in error or warning messages, avoid capitalization of
 +      the first word of a message.
 +      * automake.in (check_user_variables, handle_languages)
 +      (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files)
 +      (scan_autoconf_files, cond_stack_if, require_file_internal)
 +      (usage, generate_makefile, parse_arguments): Likewise.
 +      * lib/Automake/ChannelDefs.pm (set_strictness): Likewise.
 +      * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise.
 +      * lib/Automake/Options.pm (set_strictness): Likewise.
 +      * lib/Automake/Rule.pm (define): Likewise.
 +      * lib/Automake/Variable.pm (define, variables_dump): Likewise.
 +      * tests/ltinstloc.test, tests/suffix11.test: Adjust expected
 +      error message.
 +      * lib/Automake/Channels.pm (setup_channel): Reword error message
 +      to be the same as in msg.
 +
 +      Fix placing of ellipses in English text and synopses.
 +      * Makefile.am: Be sure to add a space before `...' in natural
 +      language text.
 +      * automake.in (scan_autoconf_traces): Likewise.
 +      * lib/Automake/Rule.pm (define): Likewise.
 +      * lib/Automake/Variable.pm (define): Likewise.
 +      * lib/am/dejagnu.am: Likewise.
 +      * lib/am/progs.am: Likewise.
 +      * lib/gnupload (dprint, upload): Likewise.
 +      * tests/confdeps.test: Likewise.
 +      * tests/location.test: Adjust expected output.
 +      * automake.in (usage): In synopsis, use singular for OPTION,
 +      * remove space before ellipsis.
 +      * aclocal.in (usage): Likewise.  Also, fix indentation.
 +
 +      Fix more duplicate message prefixes.
 +      * lib/Automake/XFile.pm (seek): Do not prepend $me.
 +      ($me): Remove now-unused package-global.
 +      * aclocal.in (check_acinclude): Remove duplicate 'warning: '
 +      prefix.
 +
        Fix typo in manual.
        * doc/automake.texi (Simple Tests using parallel-tests): Add
        missing closing parenthesis.
        * automake.in (read_main_am_file): Call variables_dump, not
        macros_dump.  Print actual error before list of variables.
  
 -2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +2010-04-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Minor improvements in comments of test `silent3.test'.
        * tests/silent3.test: Tell to keep it in sync with `silent9.test'
  
  2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
 +      Print 'warnings are treated as errors' note if needed.
 +      * lib/Automake/Channels.pm: Fix typo in comment.
 +      (_print_message): If -Werror is enabled, print a 'warnings are
 +      treated as errors' note before the first such warning.
 +      * tests/warnopts.test: Adjust comment to mention expected warning.
 +      Adjust code to ignore 'warnings are treated as errors' note.
 +      * tests/location.test: Adjust expected output with -Werror.
 +      * tests/werror4.test: New test.
 +      * tests/Makefile.am: Update.
 +      * NEWS: Update.
 +
 +      Ensure we don't print 'warning:' or 'error:' twice.
 +      * Makefile.am (sc_ensure_testsuite_has_run): New helper rule.
 +      (sc_tests_logs_duplicate_prefixes): New rule, to check for
 +      wrong-looking warning and error messages in the test suite logs.
 +      * aclocal.in (scan_configure_dep, scan_file): Remove duplicate
 +      `warning: ' prefix.
 +      * tests/vars3.test: Rename variable to avoid false positive.
 +
 +      Prepend type to warning, error, and fatal messages.
 +      For the first part of messages of types `error' or `fatal',
 +      prepend `error: ' to the message.  Prepend `warning: ' to
 +      warning messages, whatever the setting of -Werror.
 +      * lib/Automake/Channels.pm (partial): Move up definition.
 +      (_format_message): Emit `header' and `footer' strings only with
 +      the first resp. last part of a set of partial messages.
 +      * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the
 +      end of the module.
 +      (Automake::ChannelDefs): Setup warning channels with header
 +      `warning: ', error and fatal messages with header `error: '.
 +      * tests/condinc2.test, tests/ltinstloc.test: Adjust expected
 +      error messages.
 +      * tests/comment5.test: Likewise.  Also, include stack notes
 +      should not start with `error:'.
 +      * tests/location.test: Likewise.  Also, try both -Werror and
 +      -Wno-error.
 +      * NEWS: Update.
 +      Report by Bruno Haible.
 +
 +      Fix capitalization of error messages, reword one message.
 +      * lib/Automake/Variable.pm (define): Do not capitalize the first
 +      word in the error message.
 +      * automake.in (require_file_internal): Likewise.  Also, reword
 +      and line-wrap for better readability.
 +      * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
 +      Adjust tests.
 +
 +      Fix connected warnings about obsolete exeext override.
 +      * lib/Automake/Rule.pm (define): Merge two warnings that belong
 +      together, by setting the 'partial' flag for the first one.
 +
        Fix per-Makefile.am setting of -Werror.
        Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
        Makefile.am would carry over to other Makefile.am files
        * NEWS, THANKS: Update.
        Report by Pavel Sanda.
  
 +2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Avoid possible false negatives in cond46.test.
 +      * tests/cond46.test: Enable shell `errexit' flag (and bumped
 +      copyright years).  Due to this change, the testcase should now
 +      fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose
 +      outcomes were previously unchecked), and on failures in grepping
 +      the expected diagnostic in Automake stderr.
 +
 +2010-04-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Generated tests are now just a thin layer around other tests.
 +      * tests/Makefile.am: Rewrite the rule to generate the `*-p.test'
 +      test scripts so that any of them simply includes the corresponding
 +      `*.test' script (after setting `$parallel_tests' to `yes').
 +      * tests/.gitignore: Add wildcard for temporary files used in the
 +      generation of `*-p.test' tests.
 +
  2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Avoid an unportable use of `$status' shell variable.
        * tests/parallel-tests6.test: Likewise.
        * tests/parallel-tests7.test: Likewise.
  
 +2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix cscope test on systems without working Fortran compiler.
 +      * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
 +      * THANKS: Update.
 +      Report by Peter Johansson.
 +
 +2010-02-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>  (tiny change)
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Add lzip compression support.
 +      * automake.in (handle_dist): Recognize dist-lzip.
 +      (make_paragraphs): Map LZIP to dist-lzip.
 +      * doc/automake.texi (Dist): Add dist-lzip.
 +      (Options): Likewise.
 +      * lib/Automake/Options.pm (_process_option_list): Add dist-lzip.
 +      * lib/am/distdir.am
 +      (dist dist-all): Add command to create an lzip-compressed tarball.
 +      (distcheck): Handle lzip-compressed tarballs just like the others.
 +      * tests/defs.in: Test for lzip, too.
 +      * tests/lzip.test: New file, based on nogzip.test.
 +      * tests/Makefile.am (TESTS): Add lzip.test.
 +      * NEWS: Update.
 +
  2010-02-22  Karl Berry  <karl@gnu.org>
  
        Improve help message of mdate-sh.
        Fix some typos in the manual
        * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
  
 +2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix silent-rules output for disabled dependency tracking.
 +      * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
 +      expansion code to also work in the case where %AMDEP% expands
 +      to FALSE at config.status time, using new substitution string
 +      %VERBOSE-NODEP%.
 +      * automake.in (verbose_nodep_flag): New function, appending
 +      `@am__nodep@' to the verbose-variable name.
 +      (handle_languages): If dependencies are not disabled, use it to
 +      set %VERBOSE-NODEP%.
 +      * m4/depend.m4: Substitute am__nodep as '_no', so the second
 +      verbose-variable will always expand to an empty string, if
 +      dependencies are enabled.
 +      * tests/silent5.test: Also test --disable-dependency-tracking;
 +      also test per-target flags for non-C language files.
 +      * tests/silent9.test: New test, like silent4.test but disable
 +      dependency tracking.
 +      * tests/Makefile.am: Adjust.
 +      * NEWS, THANKS: Update.
 +      Report by Dmitry V. Levin <ldv@altlinux.org>.
 +
  2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Slighty improve tests acoutbs.test and acoutbs2.test.