1 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * lib/am/header-vars.am (build_triplet, host_triplet,
4 target_triplet): Define. Were removed by mistake on 2002-04-13.
6 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
9 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
10 * tests/destdir.test: New file.
11 * tests/Makefile.am (TESTS): Add destdir.test.
13 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
15 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
16 (conditional_is_redundant): Simplify.
17 (conditional_implies_one_of,
18 variable_not_always_defined_in_cond): New functions
19 (macro_define): Reject appends if the variable is not defined in
20 all conditions where `+=' applies.
21 (invert_conditions): Rewrite. Before this patch,
22 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
23 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
24 wrong (these conditions implies "A_FALSE"). Now it outputs (),
25 which just means the input conditions cover all cases.
26 (variable_conditions_permutations): Never output FALSE conditions.
27 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
28 in the CHECK_FALSE condition to fix the test.
29 * tests/pluseq5.test: Actually check the diagnostic.
30 * tests/pluseq9.test: New file.
31 * tests/Makefile.am (TESTS): Add pluseq9.test.
33 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
35 Fix for PR automake/322:
36 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
37 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
38 Handle comments continued by backslashes.
39 * tests/comment6.test: New file.
40 * tests/Makefile.am (TESTS): Add comment6.test.
41 Reported by Braden N. McDaniel.
43 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
44 Alexandre Duret-Lutz <duret_g@epita.fr>
46 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
47 both `program$(EXEEXT)' and `program'; needed under Cygwin.
48 * tests/libtool3.test: New file.
49 * tests/Makefile.am (TESTS): Add libtool3.test.
51 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
55 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
57 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
59 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
61 Erase stamps from the Makefile that generates them.
63 * automake.in (handle_configure): Append each used stamp to
64 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
65 file is not used anymore.
66 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
68 * tests/subdir6.test: New file.
69 * tests/Makefile.am (TESTS): Add it.
71 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
73 Fix for condd.test (conditional `+='):
74 * automake.in (%appendvar): New.
75 (initialize_per_input): Clear it.
76 (macro_define): Handle += for variable defined in another condition.
77 * automake.texi (Conditional Sources): Use conditional += in
79 (General Operation, Conditionals): Remove note about broken +=.
80 * tests/cond21.test: New file.
81 * tests/condd.test: Also test conditional append to a _SOURCE
82 variable. Create missing directories.
83 * tests/Makefile.am (TESTS): Add cond21.test.
84 (XFAILS): Remove condd.test.
86 2002-05-05 Tom Tromey <tromey@redhat.com>
88 * automake.texi (Program and Library Variables): Mention _LFLAGS.
90 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
92 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
93 files. Fix subobj9.test on OSF and IRIX.
94 Reported by Nelson H. F. Beebe.
96 2002-04-26 Tom Tromey <tromey@redhat.com>
98 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
99 For Debian bug 144221.
101 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
103 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
105 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
107 * automake.in (subobjname): Use the length of %subobjvar
108 instead of $subobjnamenum.
109 (subobjnamenum): Remove.
111 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
114 * lib/depcomp: Never compute dependencies in the background, this
115 can cause races with libtool. Compute the dependencies after
116 the actual compilation. Don't make libtool silent now that
117 it's run in the foreground.
118 * tests/pr307.test: New file.
119 * tests/Makefile.am (TESTS): Add pr307.test.
120 Reported by Laurent Morichetti.
122 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
124 * lib/am/check.am: Show skipped tests. Display the
125 $(PACKAGE_BUGREPORT) address on failure.
127 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
130 * automake.in (subobjname): Rewrite to generate variable name
131 unique for each content.
132 (%substnums): Remove.
133 (%subobjvar): New hash.
134 (initialize_per_input): Clear %subobjvar.
135 (define_objects_from_sources): Return the name of the variable
136 defined, in addition to the linker. Call subobjname only once
137 the content of the variable to define is known.
138 (handle_source_transform): Adjust call to define_objects_from_sources.
139 * tests/specflags8.test: Mention PR 315.
140 * tests/subobjname.test: New file.
141 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
142 (TESTS): Add subobjname.test.
144 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
146 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
147 the whole file for 'generated by automake', not only the
148 first line. This accounts for post-processed Makefile.in's.
149 * tests/postproc.test: New file.
150 * tests/Makefile.am (TESTS): Add postproc.test.
152 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
154 For PR automake/151 and PR automake/314:
155 * automake.texi (A Program): Split into
156 (Program Sources, Linking, Conditional Sources, Conditional
157 Programs): ... these subsections; moving the Linking node
158 before the Conditional discussions.
159 (Conditional Sources): More details. Notably, mention
161 (Conditionals): Adjust reference to Conditional Programs.
163 2002-04-19 Paul Eggert <eggert@twinsun.com>
165 Fix some bugs when using "$@" when there might be zero positional
166 arguments in cases where this matters. Zsh doesn't support
167 the workaround ${1+"$@"} that has been used by Automake since
168 the Mon Dec 4 11:55:36 1995 change.
170 * aclocal.in: Use 'case' statement to work around problem.
171 * automake.in: Likewise.
172 * lib/ylwrap: Likewise.
173 * lib/missing: No need for workaround, as the command is never
174 invoked with zero arguments.
175 * tests/ccnoco.test: Likewise.
176 * missing: Update from lib/missing.
178 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
180 * automake.in (initialize_per_input): Clear %require_file_found.
181 (%require_file_found): Group the declaration with the other
182 variables initialized by initialize_per_input.
183 * tests/required.test: New file.
184 * tests/Makefile.am (TESTS): Add it.
185 Reported by Marius Vollmer.
187 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
189 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
190 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
191 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
192 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
193 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
195 * tests/confh5.test: New file.
196 * tests/Makefile.am (TESTS): Add confh5.test.
197 * automake.texi (Optional, Public macros): Update descriptions
198 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
200 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
202 * tests/man2.test: New file.
203 * tests/Makefile.am (TESTS): Add man2.test.
204 * lib/am/mans.am (install-man%SECTION%): Change the extension
205 of the man pages being installed, as documented.
207 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
209 Enable traces; wipe out the old configure.in parser.
211 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
212 'autoconf'. Honnor the $filename argument.
213 (scan_autoconf_files): Don't call scan_one_autoconf_file.
214 Always call scan_autoconf_traces.
215 (scan_one_autoconf_file): Remove, with it associated regexes.
216 (obsolete, obsolete_rx): Remove.
217 (register_language, handle_languages): Remove the 'define_flag'
218 support. Remove it from the struct and language definitions too.
219 (unquote_m4_arg): Remove.
220 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
221 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
222 are now generated automatically.
223 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
225 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
227 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
229 * tests/version6.test: New file.
230 * tests/Makefile.am (TESTS): Add tests/version6.test.
231 * automake.in (version_check): Return 0 on equality.
233 2002-04-13 Andreas Schwab <schwab@suse.de>
235 * THANKS: Update my mail address.
237 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
239 * tests/discover.test: Use a full configure.in that calls AC_INIT.
240 Use AC_LIBOBJ. Grep the error message.
241 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
242 Grep the error message. Require libtool.
243 * tests/ldflags.test: Don't use LIBOBJS.
244 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
245 error messages for CC and CXX.
247 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
249 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
251 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
252 * tests/ext.test: Enable dependencies for OBJC.
253 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
254 Delete. They tests for different flavors of $LIBOBJS assignments
255 that wont be supported anymore.
256 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
257 * tests/obsolete.test: Don't test Automake.
258 * tests/suffix5.test: Require libtool.
259 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
262 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
264 * configure.in (APIVERSION): Fix definition.
266 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
268 * NEWS: Catch up with changes since 1.6.
270 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
272 * tests/yacc8.test: Don't assume GNU make, run config.status
273 to regenerate the Makefile.
275 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
277 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
278 always followed by a SHELL setting.
279 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
280 SHELL when calling `$MAKE -e'.
282 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
284 * tests/subobj9.test: Use configure.in, not configure.ac,
285 otherwise this fails with old libtool versions.
287 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
289 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
292 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
294 * ChangeLog.2001: New file, extracted from ChangeLog.
295 * Makefile.am (EXTRA_DIST): Add it.
297 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
299 * automake.texi (Canonicalization): The sources for libmumble++.a
300 go into libmumble___a_SOURCES.
302 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
304 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
305 test suite. Suggest `sleep 2' instead.
306 * tests/confsub.test: Use `sleep 2'.
308 2002-04-04 Paul Eggert <eggert@twinsun.com>
311 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
312 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
313 MAKEFLAGS contains '$(...)'.
315 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
317 * tests/specflags8.test: Typo.
319 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
321 * tests/specflags6.test: Run aclocal.
322 * tests/Makefile.am (TESTS): Add specflags6.test.
324 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
326 * tests/specflags7.test, tests/specflags8.test: New files.
327 * tests/Makefile.am (TESTS): Add them.
328 (XFAIL_TESTS): Add specflags8.test.
330 2002-03-29 Tom Tromey <tromey@redhat.com>
332 * automake.in (check_typos): Examine AM_LDFLAGS.
333 Fixes PR automake/311.
336 * lib/am/libtool.am (clean-libtool): Use LTRMS.
337 * automake.in (handle_single_transform_list): When processing a
338 libtool object, clean the ordinary object and register the
340 (libtool_clean_directories): New global.
341 (initialize_per_input): Initialize it.
342 (generate_makefile): Call handle_libtool later.
343 (handle_libtool): Handle libtool_clean_directories.
344 * tests/subobj9.test: New file.
345 * tests/Makefile.am (TESTS): Added subobj9.test.
347 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
349 * tests/extra6.test, tests/subdir5.test: Require GNU make.
351 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
353 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
355 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
357 * tests/extra7.test: New file.
358 * tests/Makefile.am: Add it.
359 * lib/am/distdir.an (distdir): When a distribuable directory
360 exists both in `.' and $(srcdir), merge both directories. This
361 works around a failure of extra6.test on Tru64 reported by
364 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
366 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
368 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
370 * Makefile.am (maintainer-check): Catch occurrences of
371 `$MAKE foo=bar' in the testsuite. Suggest using
372 `foo=bar $MAKE -e' instead.
373 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
374 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
375 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
376 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
378 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
380 Fix for PR automake/310:
381 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
382 so it never appears as a plain word.
384 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
386 * lib/depcomp (tru64): Correctly compute `base'.
388 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
390 * tests/pr211.test: s/requires/required/, otherwise the test fails
391 if libtool is not installed.
393 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
395 * tests/dirname.test: Don't use $SHELL when calling ./configure.
397 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
399 * tests/dirname.test: Use --quiet to fix failure on installations
401 Reported by Nicolas Joly.
403 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
405 * Makefile.am (maintainer-check): Check for misuses of make,
406 autoconf, automake, aclocal, and perl in the testsuite. Suggest
407 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
408 * tests/confsub.test: Use $AUTOCONF and $MAKE.
409 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
410 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
411 tests/pr224.test, tests/pr287.test, tests/strip.test,
412 tests/yacc8.test: Use $MAKE.
414 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
416 Add support for two-dot versions.
418 * tests/version5.test: New file.
419 * tests/Makefile.am (TESTS): Add it.
420 * automake.in (version_split, version_compare): New functions.
421 (version_check): Rewrite using version_split and version_compare.
422 (process_option_list): Adjust regex.
424 2002-03-18 Richard Boulton <richard@tartarus.org>
426 Fix for PR automake/306:
427 * automake.texi (Generalities): Document +=.
428 (Conditionals): Document limitations of += with conditionals.
430 2002-03-17 Tom Tromey <tromey@redhat.com>
432 Fix for PR automake/295:
433 * automake.texi (Invoking Automake): Deprecate --output-dir.
434 * automake.in (usage): Don't document --output-dir.
435 (output_directory): Don't initialize.
436 (parse_arguments): Deprecate --output-dir.
438 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
439 Fixes PR automake/304.
441 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
443 * tests/dirforbid.test: Workaround for NetBSD sh bug.
444 Fixes PR automake/305.
446 2002-03-11 Richard Boulton <richard@tartarus.org>
448 * automake.in (check_typos): Allow variables with reserved
449 suffices (such as _LDFLAGS) and prefixes which aren't
450 recognised if the variable is defined in configure.ac.
453 2002-03-11 Richard Boulton <richard@tartarus.org>
455 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
456 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
457 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
459 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
461 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
464 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
466 Fix for PR automake/303:
467 * automake.in (version_check): Move the error message ...
468 (process_option_list): ... here, so we can distinguish between
469 global and local options.
471 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
473 * tests/pr300-lib.test, tests/pr300-ltlib.test,
474 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
475 Autoconf doesn't complain about Makefile being output twice.
477 2002-03-06 Tom Tromey <tromey@redhat.com>
479 * configure.in: Upped version to 1.6a.
481 2002-03-05 Tom Tromey <tromey@redhat.com>
483 * configure.in: Released 1.6.
485 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
487 Fix for PR automake/300:
488 * tests/pr300-lib.test, tests/pr300-ltlib.test,
489 tests/pr300-prog.test: New files.
490 * tests/Makefile.am (TESTS): Add them.
491 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
492 compute the directory.
493 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
494 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
495 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
496 (uninstall-%DIR%LIBRARIES): Honor nobase_.
497 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
498 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
499 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
500 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
501 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
502 (uninstall-%DIR%PROGRAMS): Honor nobase_.
503 See also the fix for nobase.test on 2001-11-09.
505 2002-03-05 Tom Tromey <tromey@redhat.com>
507 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
509 2002-03-05 Pavel Roskin <proski@gnu.org>
511 * tests/yacc8.test: Add a command between "test" and "cd" to
512 work around a bug in bash-2.05.
514 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
516 Fix for PR automake/294:
517 * tests/dirforbid.test: New file.
518 * tests/Makefile.am (TESTS): Add it.
519 * automake.in (standard_prefix): New hash.
520 (am_primary_prefixes): Forbid standard_prefixes which are not
522 * automake.texi (Uniform): Remove FIXME.
524 2002-03-05 Jim Meyering <meyering@lucent.com>
526 * automake.in (@common_files): Add config.rpath.
528 2002-03-05 Kevin Ryde <user42@zip.com.au>
531 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
532 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
535 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
537 * automake.in (scan_one_autoconf_file): Declare
538 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
539 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
540 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
541 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
542 of s/// in the sed invocation, to support filenames containing
544 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
545 * tests/lex5.test, tests/yacc8.test: New files.
546 * tests/Makefile.am (TESTS): Add them.
548 2002-02-23 Per Bothner <per@bothner.com>
550 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
553 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
555 * tests/make.test: Revert the grep logic to work around a bug
556 in NetBSD sh (see NetBSD Problem Report #11542).
557 Reported by Patrick Welche.
559 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
561 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
562 to try and prevent a non-lisp emacs from starting in interactive
564 * automake.texi: Document this change.
566 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
568 * automake.texi (Macros): Split into ...
569 (Public Macros, Private Macros): ... these.
571 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
573 * tests/insthook.test: Use sed instead of "tail +X".
575 2002-02-18 Paul Eggert <eggert@twinsun.com>
577 * lib/depcomp: Don't use "tail +3"; it's not portable to
578 POSIX 1003.1-2001 hosts.
580 2002-02-18 Jim Meyering <meyering@lucent.com>
582 * tests/cond12.test: Use sed 1q, not `head -n 1'.
583 The latter is not portable to some old systems.
584 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
585 Use `sed 1q' instead.
586 * tests/insthook.test: Likewise.
588 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
590 * automake.in (handle_lib_objects_cond): Tell the user to put
591 global linker flags in AM_LDFLAGS, not LDFLAGS.
593 * automake.texi (General Operation): AC_SUBST'ed variables
594 override Automake's variables.
595 (Uniform): More words and @refs.
596 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
597 (etags): More explanations about the first example.
598 (Invoking Automake): Mention autoreconf. More @refs.
599 (Requirements): Mention AC_CONFIG_FILES.
600 (Optional): AC_CHECK_TOOL will no longer install config.sub and
601 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
602 (Invoking aclocal): aclocal no longer warn about duplicates.
603 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
604 (Extending aclocal): Suggest using the output of
605 `aclocal --print-ac-dir` to install third-party macros.
606 (Alternative): Specify ordering of dist_, nodist_, and nobase_
608 (A Program): Mention scripts. The global LDADD variable is not
609 meant to hold link flags, suggest using AM_LDFLAGS instead.
610 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
611 _LIBADD and _LDADD are subject to the same restriction wrt to
613 (Program and Library Variables) <maude_DEPENDECIES>: Is also
614 derived from maude_LIBADD.
615 (Program variables): Define AM_LDFLAGS.
616 (Dependencies): Passing the no-dependencies option to
617 AM_INIT_AUTOMAKE is prefered.
618 (Scripts): Explain why automake is magically cleaned.
619 Mention noinst_SCRIPTS and check_SCRIPTS.
620 (Data): Use dist_ in Automake's example.
621 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
622 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
624 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
626 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
627 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
628 of asking the maintainer to do it manually.
629 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
630 Automake/XFile.pm: New upstream versions.
632 2002-02-02 Tom Tromey <tromey@redhat.com>
634 * automake.texi (Macros): Warn about upgrading.
636 2002-02-01 Tom Tromey <tromey@redhat.com>
638 Change per GNU coding standards:
639 * aclocal.in (parse_arguments): Only mention most recent year in
641 * automake.in (version): Only mention most recent year.
643 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
645 * automake.texi (API versioning): New Node.
646 (Extending): Use $(DESTDIR) in examples.
648 2002-01-28 Akim Demaille <akim@epita.fr>
650 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
651 Respect the --help layout.
653 2002-01-27 Tom Tromey <tromey@redhat.com>
655 * configure.in: Bumped to 1.5e.
657 * lib/am/yacc.am: Use `rm -f'.
659 * configure.in: Released 1.5d.
661 * lib/config.guess: New version from FSF.
663 * Makefile.am (uninstall-hook): New target.
665 2002-01-24 Akim Demaille <akim@epita.fr>
667 * lib/install-sh: Update, from Autoconf.
669 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
671 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
672 as AC_CANONICAL_HOST (the former does not require the latter since
674 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
675 * automake.texi (Requirements): Do not require STRIP to be
678 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
680 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
681 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
682 * tests/pr224.test: Make sure .deps subdirectories are
685 2002-01-22 Tom Tromey <tromey@redhat.com>
687 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
688 no-dependencies option is set.
689 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
690 no-dependencies option is set. Don't call AM_DEP_TRACK or
693 2002-01-22 Pavel Roskin <proski@gnu.org>
695 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
698 2002-01-22 Akim Demaille <akim@epita.fr>
700 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
703 2002-01-21 Tom Tromey <tromey@redhat.com>
705 * Makefile.am (fetch): Don't fetch ansi2knr.
707 * automake.texi (Macros): Updated for new variable names.
708 (Program and Library Variables): Likewise.
709 (Assembly Support): Likewise.
710 * m4/as.m4: Use CCAS and CCASFLAGS.
711 * automake.in (asm): Use CCAS and CCASFLAGS.
713 2002-01-21 Akim Demaille <akim@epita.fr>
715 * automake.in (&parse_arguments): Use a more GNUish error message
718 2002-01-20 Tom Tromey <tromey@redhat.com>
720 Fix for PR automake/231:
721 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
722 * m4/depend.m4: Document `GCJ'.
725 * tests/Makefile.am (TESTS): Added pr224.test.
726 * tests/pr224.test: New file.
727 * lib/depcomp: Fixed computation of depfile.
728 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
729 * automake.in (handle_single_transform_list): Only reject `..'
730 component for Java. Put dependencies in directory near object.
731 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
733 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
735 * tests/defs: Export AUTOMAKE and ACLOCAL.
737 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
739 Fix for PR automake/204:
740 * tests/pr204.test: New file.
741 * tests/Makefile.am (TESTS): Add it.
742 * automake.in (handle_single_transform_list): Don't distribute
743 sources derived from non-distributed sources.
745 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
747 Fix for PR automake/229:
748 * tests/pr229.test: New file.
749 * tests/Makefile.am (TESTS): Add it.
750 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
751 AC_EMXOS2, and AC_MINGW32.
753 2002-01-18 Tom Tromey <tromey@redhat.com>
755 * tests/cond7.test: Fix test bug exposed by copyright update.
758 * automake.in (lang_c_rewrite): Don't prepend directory to base if
759 directory is `.'. Also, properly compute de_ansi_files entry in
761 * tests/Makefile.am (TESTS): Added ansi7.test.
762 * tests/ansi7.test: New file.
764 * aclocal.in (parse_arguments): Added 2002.
765 (write_aclocal): Likewise.
766 (parse_arguments): Updated my email address.
767 * automake.in (gen_copyright): Added 2002.
768 (version): Likewise. Also, changed my email address.
770 * configure.in (APIVERSION): Refined definition.
772 2002-01-18 Tom Tromey <tromey@redhat.com>
775 * lib/missing: Accept versioned aclocal.
776 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
778 2002-01-17 Pavel Roskin <proski@gnu.org>
780 * m4/Makefile.am (m4datadir): Use APIVERSION.
782 2002-01-16 Tom Tromey <tromey@redhat.com>
784 * Makefile.am (install-exec-hook): Use APIVERSION.
785 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
786 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
788 * automake.in (perllibdir): Use APIVERSION.
790 * aclocal.in (perllibdir): Use APIVERSION.
791 (APIVERSION): New global.
792 (parse_arguments): Use APIVERSION.
793 * configure.in (APIVERSION): New subst.
794 (pkgvdatadir): Use APIVERSION.
796 2002-01-15 Tom Tromey <tromey@redhat.com>
799 * lib/missing: Match against `automake*' to pick up versioned
801 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
802 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
804 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
805 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
807 (scriptdir): Use pkgvdatadir.
808 (installcheck-local): Likewise.
809 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
810 * automake.in (perllibdir): Added VERSION.
812 * aclocal.in (parse_arguments): Search versioned directory. Don't
813 push unversioned directory unless it exists.
814 (perllibdir): Added VERSION.
815 (default_acdir): New global.
816 * m4/Makefile.am (m4datadir): Added $(VERSION).
817 * Makefile.am (install-exec-hook): New target.
818 * configure.in (ACLOCAL): Search build directory.
819 (pkgvdatadir): New subst.
821 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
823 * lib/config.sub, lib/config.guess: New versions from FSF.
825 2002-01-13 Tom Tromey <tromey@redhat.com>
828 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
830 (lang_c_finish): Likewise. Also, use directory information from
833 2002-01-13 Kevin Ryde <user42@zip.com.au>
836 * tests/Makefile.am (TESTS): Added ansi6.test.
837 * tests/ansi6.test: New file.
839 2002-01-13 Tom Tromey <tromey@redhat.com>
842 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
844 * tests/Makefile.am (TESTS): Added pr287.test.
845 * tests/pr287.test: New file.
847 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
849 * lib/am/distdir.am (distdir): Handle subdirectories.
850 * tests/extra6.test: New file.
851 * tests/Makefile.am (TESTS): Add it.
853 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
855 * tests/extra2.test: Run $ACLOCAL.
857 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
859 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
860 AM_INIT_AUTOMAKE arguments when using the old-style call.
861 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
862 Suggested by Pavel Roskin.
864 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
866 * test/nodefine.test, test/nodefine2.test: Check that no-define
867 works, not the contrary...
868 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
869 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
872 2002-01-12 Jim Meyering <meyering@lucent.com>
874 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
875 * tests/libobj11.test: New file.
876 * tests/Makefile.am (TESTS): Add libobj11.test.
878 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
880 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
882 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
884 * automake.in (file_contents_internal): Introduce two variables,
885 $is_rule and $discard_rules to track rules spanning across multiple
886 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
887 where only the first paragraph of such a multi-paragraph rule was
888 discarded; but it leaves many similar latent bugs (see the FIXMEs).
890 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
892 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
893 * tests/error.test: Use some macro names which are not defined by
896 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
898 * automake.texi (Complete, Macros, Options): Document the new style
899 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
900 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
901 AC_INIT if they are available there. Support a new call form
902 where the only argument is an optional space-separated list of
904 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
905 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
906 _AM_IF_OPTION): New functions.
907 * automake.in (AC_INIT_PATTERN): New variable.
908 (global_options_line): Remove, use $seen_init_automake instead.
909 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
910 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
911 Remove the AM_AUTOMAKE_OPTIONS handling.
912 * configure.in: Modernize.
913 * tests/defs (configure.in): Modernize. One third of the tests
914 still overwrite the default configure.in and use an old
915 AM_INIT_AUTOMAKE call, so that makes testing for both.
916 * tests/nodefine.test, tests/nodefine2.test: New files.
917 * tests/Makefile.am (TESTS): Add them.
919 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
921 * automake.in (define_configure_variable): Propagate line numbers.
923 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
925 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
927 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
929 * configure.in: Run the Autoconf test in a subdirectory, then
930 erase this directory.
932 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
934 * configure.in (AUTOMAKE): Create m4/amversion.m4.
935 * m4/amversion.in: New file.
936 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
937 (dist_m4data_DATA): ... this.
938 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
939 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
940 AM_SET_CURRENT_AUTOMAKE_VERSION.
941 * automake.in (seen_automake_version): New variable.
942 (scan_autoconf_traces, scan_one_autoconf_file,
943 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
944 when the version used in aclocal.m4 differs from Automake's.
945 * tests/defs (ACLOCAL): Look in ../m4 too.
946 * tests/installsh.test (ACLOCAL): Likewise.
947 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
949 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
951 * automake.in (handle_languages): Emit an automake
952 internal variable 'am__depfiles_maybe'.
953 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
955 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
958 2002-01-06 Tom Tromey <tromey@redhat.com>
960 * automake.texi (Tags): Document new variables.
961 * lib/am/tags.am (ETAGS): New macro.
962 (ETAGSFLAGS): Likewise.
965 2002-01-04 Tom Tromey <tromey@redhat.com>
967 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
969 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
971 * automake.in (read_am_file): Thinko in "comment following
972 trailing backslash" detection.
973 * tests/comment5.test: Test for this too.
975 2002-01-02 Tom Tromey <tromey@redhat.com>
977 * automake.texi (Extending): Added index for uninstall-hook.
979 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
981 Fix for PR automake/278:
982 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
983 with versions such as '2.2c1'. Also, use `int' instead of the
984 obsoleted `string.atoi'.
985 Reported by Enrico Scholz.
987 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
989 Fix for PR automake/280:
990 * automake.in (read_am_file): Warn about trailing backslashes
992 * tests/comment5.test: New file.
993 * tests/Makefile.am (TESTS): Add comment5.test.
994 Reported by Enrico Scholz.
996 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
998 * tests/comment4.test: New file.
999 * tests/Makefile.am (TESTS): Add comment4.test.
1001 Fix for comment4.test:
1002 * automake.in (read_am_file): Output leading comments only when
1003 encountering white lines.
1005 2002-01-01 Tom Tromey <tromey@redhat.com>
1007 For PR automake/234:
1008 * tests/Makefile.am (TESTS): Added strip.test.
1009 * tests/strip.test: New file.
1011 * automake.texi (Extending): Mention uninstall-hook.
1012 (Install): Likewise.
1013 * automake.in (handle_factored_dependencies): Allow
1016 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1018 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1019 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1020 This fixes a bug introduced on 2001-01-28.
1021 Reported by Jared Davis.
1025 Copyright (C) 2002 Free Software Foundation, Inc.
1027 This file is part of GNU Automake.
1029 GNU Automake is free software; you can redistribute it and/or modify
1030 it under the terms of the GNU General Public License as published by
1031 the Free Software Foundation; either version 2, or (at your option)
1034 GNU Automake is distributed in the hope that it will be useful,
1035 but WITHOUT ANY WARRANTY; without even the implied warranty of
1036 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1037 GNU General Public License for more details.
1039 You should have received a copy of the GNU General Public License
1040 along with autoconf; see the file COPYING. If not, write to
1041 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1042 Boston, MA 02111-1307, USA.