* lib/am/header-vars.am (build_triplet, host_triplet,
[platform/upstream/automake.git] / ChangeLog
index 83715a0..0fef413 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,272 @@
+2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/header-vars.am (build_triplet, host_triplet,
+       target_triplet): Define.  Were removed by mistake on 2002-04-13.
+
+2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       For PR automake/186:
+       * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
+       * tests/destdir.test: New file.
+       * tests/Makefile.am (TESTS): Add destdir.test.
+
+2002-05-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
+       (conditional_is_redundant): Simplify.
+       (conditional_implies_one_of,
+       variable_not_always_defined_in_cond): New functions
+       (macro_define): Reject appends if the variable is not defined in
+       all conditions where `+=' applies.
+       (invert_conditions): Rewrite.  Before this patch,
+       invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
+       would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
+       wrong (these conditions implies "A_FALSE").  Now it outputs (),
+       which just means the input conditions cover all cases.
+       (variable_conditions_permutations): Never output FALSE conditions.
+       * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
+       in the CHECK_FALSE condition to fix the test.
+       * tests/pluseq5.test: Actually check the diagnostic.
+       * tests/pluseq9.test: New file.
+       * tests/Makefile.am (TESTS): Add pluseq9.test.
+
+2002-05-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       Fix for PR automake/322:
+       * automake.in (read_am_file): Rename $was_rule as $prev_state, and
+       set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
+       Handle comments continued by backslashes.
+       * tests/comment6.test: New file.
+       * tests/Makefile.am (TESTS): Add comment6.test.
+       Reported by Braden N. McDaniel.
+
+2002-05-08  Charles Wilson  <cwilson@ece.gatech.edu>
+            Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
+       both `program$(EXEEXT)' and `program'; needed under Cygwin.
+       * tests/libtool3.test: New file.
+       * tests/Makefile.am (TESTS): Add libtool3.test.
+
+2002-05-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * TODO: Undust.
+
+2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
+
+2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       Erase stamps from the Makefile that generates them.
+
+       * automake.in (handle_configure): Append each used stamp to
+       @distclean_config.  Don't warn about stamp-h in AC_OUTPUT, this
+       file is not used anymore.
+       * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
+       stamp-h[0-9]*.
+       * tests/subdir6.test: New file.
+       * tests/Makefile.am (TESTS): Add it.
+
+2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       Fix for condd.test (conditional `+='):
+       * automake.in (%appendvar): New.
+       (initialize_per_input): Clear it.
+       (macro_define): Handle += for variable defined in another condition.
+       * automake.texi (Conditional Sources): Use conditional += in
+       the example.
+       (General Operation, Conditionals): Remove note about broken +=.
+       * tests/cond21.test: New file.
+       * tests/condd.test: Also test conditional append to a _SOURCE
+       variable.  Create missing directories.
+       * tests/Makefile.am (TESTS): Add cond21.test.
+       (XFAILS): Remove condd.test.
+
+2002-05-05  Tom Tromey  <tromey@redhat.com>
+
+       * automake.texi (Program and Library Variables): Mention _LFLAGS.
+
+2002-04-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
+       files.  Fix subobj9.test on OSF and IRIX.
+       Reported by Nelson H. F. Beebe.
+
+2002-04-26  Tom Tromey  <tromey@redhat.com>
+
+       * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
+       For Debian bug 144221.
+
+2002-04-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/man2.test: Use `pwd`, not $PWD.  Use $MAKE -e.
+
+2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * automake.in (subobjname): Use the length of %subobjvar
+       instead of $subobjnamenum.
+       (subobjnamenum): Remove.
+
+2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       For PR automake/307:
+       * lib/depcomp: Never compute dependencies in the background, this
+       can cause races with libtool.  Compute the dependencies after
+       the actual compilation.  Don't make libtool silent now that
+       it's run in the foreground.
+       * tests/pr307.test: New file.
+       * tests/Makefile.am (TESTS): Add pr307.test.
+       Reported by Laurent Morichetti.
+
+2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * lib/am/check.am: Show skipped tests.  Display the
+       $(PACKAGE_BUGREPORT) address on failure.
+
+2002-04-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       Fix PR automake/315:
+       * automake.in (subobjname): Rewrite to generate variable name
+       unique for each content.
+       (%substnums): Remove.
+       (%subobjvar): New hash.
+       (initialize_per_input): Clear %subobjvar.
+       (define_objects_from_sources): Return the name of the variable
+       defined, in addition to the linker.  Call subobjname only once
+       the content of the variable to define is known.
+       (handle_source_transform): Adjust call to define_objects_from_sources.
+       * tests/specflags8.test: Mention PR 315.
+       * tests/subobjname.test: New file.
+       * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
+       (TESTS): Add subobjname.test.
+
+2002-04-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
+       the whole file for 'generated by automake', not only the
+       first line.  This accounts for post-processed Makefile.in's.
+       * tests/postproc.test: New file.
+       * tests/Makefile.am (TESTS): Add postproc.test.
+
+2002-04-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       For PR automake/151 and PR automake/314:
+       * automake.texi (A Program): Split into
+       (Program Sources, Linking, Conditional Sources, Conditional
+       Programs): ... these subsections; moving the Linking node
+       before the Conditional discussions.
+       (Conditional Sources): More details.  Notably, mention
+       hello_DEPENDENCIES.
+       (Conditionals): Adjust reference to Conditional Programs.
+
+2002-04-19  Paul Eggert  <eggert@twinsun.com>
+
+       Fix some bugs when using "$@" when there might be zero positional
+       arguments in cases where this matters.  Zsh doesn't support
+       the workaround ${1+"$@"} that has been used by Automake since
+       the Mon Dec  4 11:55:36 1995 change.
+
+       * aclocal.in: Use 'case' statement to work around problem.
+       * automake.in: Likewise.
+       * lib/ylwrap: Likewise.
+       * lib/missing: No need for workaround, as the command is never
+       invoked with zero arguments.
+       * tests/ccnoco.test: Likewise.
+       * missing: Update from lib/missing.
+
+2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * automake.in (initialize_per_input): Clear %require_file_found.
+       (%require_file_found): Group the declaration with the other
+       variables initialized by initialize_per_input.
+       * tests/required.test: New file.
+       * tests/Makefile.am (TESTS): Add it.
+       Reported by Marius Vollmer.
+
+2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
+       override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
+       (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
+       * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
+       * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
+       files.
+       * tests/confh5.test: New file.
+       * tests/Makefile.am (TESTS): Add confh5.test.
+       * automake.texi (Optional, Public macros): Update descriptions
+       of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
+
+2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/man2.test: New file.
+       * tests/Makefile.am (TESTS): Add man2.test.
+       * lib/am/mans.am (install-man%SECTION%): Change the extension
+       of the man pages being installed, as documented.
+
+2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       Enable traces; wipe out the old configure.in parser.
+
+       * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
+       'autoconf'.  Honnor the $filename argument.
+       (scan_autoconf_files): Don't call scan_one_autoconf_file.
+       Always call scan_autoconf_traces.
+       (scan_one_autoconf_file): Remove, with it associated regexes.
+       (obsolete, obsolete_rx): Remove.
+       (register_language, handle_languages): Remove the 'define_flag'
+       support.  Remove it from the struct and language definitions too.
+       (unquote_m4_arg): Remove.
+       * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
+       the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
+       are now generated automatically.
+       * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
+       automake.in.
+       * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
+
+2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/version6.test: New file.
+       * tests/Makefile.am (TESTS): Add tests/version6.test.
+       * automake.in (version_check): Return 0 on equality.
+
+2002-04-13  Andreas Schwab  <schwab@suse.de>
+
+       * THANKS: Update my mail address.
+
+2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/discover.test: Use a full configure.in that calls AC_INIT.
+       Use AC_LIBOBJ.  Grep the error message.
+       * test/ldadd.test: Don't use LIBOBJS.  Use a full configure.in.
+       Grep the error message.  Require libtool.
+       * tests/ldflags.test:  Don't use LIBOBJS.
+       * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
+       error messages for CC and CXX.
+
+2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
+       and AMDEPBACKSLASH.
+       * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
+       * tests/ext.test: Enable dependencies for OBJC.
+       * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
+       Delete.  They tests for different flavors of $LIBOBJS assignments
+       that wont be supported anymore.
+       * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
+       * tests/obsolete.test: Don't test Automake.
+       * tests/suffix5.test: Require libtool.
+       * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
+       libobj9.test.
+
+2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * configure.in (APIVERSION): Fix definition.
+
+2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * NEWS: Catch up with changes since 1.6.
+
 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * tests/yacc8.test: Don't assume GNU make, run config.status
 
 -----
 
-Copyright 2002 Free Software Foundation, Inc.
+Copyright (C) 2002 Free Software Foundation, Inc.
 
 This file is part of GNU Automake.