1 2002-05-31 Richard Boulton <richard@tartarus.org>
4 * automake.in (define_objects_from_sources): Calculate the result in
5 all conditions before passing this to subobjname to pick a name to
7 (subobjname): Expect a list of condition/value pairs as input.
8 Combine this list and use it as the key to determine the variable name.
9 * test/cond22.test: New file.
10 * tests/Makefile.am (TESTS): Add cond21.test
12 2002-05-30 Paul Eggert <eggert@twinsun.com>
14 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
15 instead, use shell pattern matching.
17 2002-05-29 Paul Eggert <eggert@twinsun.com>
19 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
22 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
23 of egrep and fgrep. Omit unnecessary -E and -F.
24 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
25 * lib/am/distdir.am (distdir): fgrep -> grep -F.
26 Use $(), not ${}, for Make variables.
27 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
29 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
30 * tests/defs: Set FGREP and EGREP.
32 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
33 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
34 tests/cond21.test, tests/condlib.test, tests/confh4.test,
35 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
36 tests/depend4.test, tests/discover.test, tests/distname.test,
37 tests/dup3.test, tests/empty4.test, tests/fo.test,
38 tests/implicit.test, tests/insh2.test, tests/interp.test,
39 tests/lex.test, tests/lex3.test, tests/lex4.test,
40 tests/libobj5.test, tests/libobj7.test, tests/make.test,
41 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
42 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
43 tests/pr2.test, tests/pr9.test, tests/seenc.test,
44 tests/specflags.test, tests/specflags3.test,
45 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
46 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
47 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
48 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
50 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
53 * m4/depend.m4: Missing comma.
54 * tests/gcj4.test: New file.
55 * tests/Makefile.am (TESTS): Add gcj4.test.
56 Reported by David Pashley.
58 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
60 * tests/defs (configure.in): Don't double-quote $me.
61 * tests/sinclude.test: Overwrite configure.in and use
62 `am__sinclude' instead of `sinclude' as package name.
63 Excercise `m4_sinclude' instead of `sinclude'.
65 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
67 * automake.in (conditional_implies_one_of): Rename as ...
68 (conditional_implies_any): ... this.
69 * tests/pluseq9.test: Exercise another case with the new
71 Suggested by Raja R Harinath.
73 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
75 * tests/defs (configure.in): Quote macro arguments.
76 Reported by Nicolas Joly.
78 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
80 * lib/am/header-vars.am (build_triplet, host_triplet,
81 target_triplet): Define. Were removed by mistake on 2002-04-13.
83 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
86 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
87 * tests/destdir.test: New file.
88 * tests/Makefile.am (TESTS): Add destdir.test.
90 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
92 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
93 (conditional_is_redundant): Simplify.
94 (conditional_implies_one_of,
95 variable_not_always_defined_in_cond): New functions
96 (macro_define): Reject appends if the variable is not defined in
97 all conditions where `+=' applies.
98 (invert_conditions): Rewrite. Before this patch,
99 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
100 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
101 wrong (these conditions implies "A_FALSE"). Now it outputs (),
102 which just means the input conditions cover all cases.
103 (variable_conditions_permutations): Never output FALSE conditions.
104 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
105 in the CHECK_FALSE condition to fix the test.
106 * tests/pluseq5.test: Actually check the diagnostic.
107 * tests/pluseq9.test: New file.
108 * tests/Makefile.am (TESTS): Add pluseq9.test.
110 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
112 Fix for PR automake/322:
113 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
114 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
115 Handle comments continued by backslashes.
116 * tests/comment6.test: New file.
117 * tests/Makefile.am (TESTS): Add comment6.test.
118 Reported by Braden N. McDaniel.
120 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
121 Alexandre Duret-Lutz <duret_g@epita.fr>
123 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
124 both `program$(EXEEXT)' and `program'; needed under Cygwin.
125 * tests/libtool3.test: New file.
126 * tests/Makefile.am (TESTS): Add libtool3.test.
128 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
132 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
134 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
136 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
138 Erase stamps from the Makefile that generates them.
140 * automake.in (handle_configure): Append each used stamp to
141 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
142 file is not used anymore.
143 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
145 * tests/subdir6.test: New file.
146 * tests/Makefile.am (TESTS): Add it.
148 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
150 Fix for condd.test (conditional `+='):
151 * automake.in (%appendvar): New.
152 (initialize_per_input): Clear it.
153 (macro_define): Handle += for variable defined in another condition.
154 * automake.texi (Conditional Sources): Use conditional += in
156 (General Operation, Conditionals): Remove note about broken +=.
157 * tests/cond21.test: New file.
158 * tests/condd.test: Also test conditional append to a _SOURCE
159 variable. Create missing directories.
160 * tests/Makefile.am (TESTS): Add cond21.test.
161 (XFAILS): Remove condd.test.
163 2002-05-05 Tom Tromey <tromey@redhat.com>
165 * automake.texi (Program and Library Variables): Mention _LFLAGS.
167 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
169 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
170 files. Fix subobj9.test on OSF and IRIX.
171 Reported by Nelson H. F. Beebe.
173 2002-04-26 Tom Tromey <tromey@redhat.com>
175 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
176 For Debian bug 144221.
178 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
180 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
182 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
184 * automake.in (subobjname): Use the length of %subobjvar
185 instead of $subobjnamenum.
186 (subobjnamenum): Remove.
188 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
191 * lib/depcomp: Never compute dependencies in the background, this
192 can cause races with libtool. Compute the dependencies after
193 the actual compilation. Don't make libtool silent now that
194 it's run in the foreground.
195 * tests/pr307.test: New file.
196 * tests/Makefile.am (TESTS): Add pr307.test.
197 Reported by Laurent Morichetti.
199 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
201 * lib/am/check.am: Show skipped tests. Display the
202 $(PACKAGE_BUGREPORT) address on failure.
204 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
207 * automake.in (subobjname): Rewrite to generate variable name
208 unique for each content.
209 (%substnums): Remove.
210 (%subobjvar): New hash.
211 (initialize_per_input): Clear %subobjvar.
212 (define_objects_from_sources): Return the name of the variable
213 defined, in addition to the linker. Call subobjname only once
214 the content of the variable to define is known.
215 (handle_source_transform): Adjust call to define_objects_from_sources.
216 * tests/specflags8.test: Mention PR 315.
217 * tests/subobjname.test: New file.
218 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
219 (TESTS): Add subobjname.test.
221 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
223 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
224 the whole file for 'generated by automake', not only the
225 first line. This accounts for post-processed Makefile.in's.
226 * tests/postproc.test: New file.
227 * tests/Makefile.am (TESTS): Add postproc.test.
229 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
231 For PR automake/151 and PR automake/314:
232 * automake.texi (A Program): Split into
233 (Program Sources, Linking, Conditional Sources, Conditional
234 Programs): ... these subsections; moving the Linking node
235 before the Conditional discussions.
236 (Conditional Sources): More details. Notably, mention
238 (Conditionals): Adjust reference to Conditional Programs.
240 2002-04-19 Paul Eggert <eggert@twinsun.com>
242 Fix some bugs when using "$@" when there might be zero positional
243 arguments in cases where this matters. Zsh doesn't support
244 the workaround ${1+"$@"} that has been used by Automake since
245 the Mon Dec 4 11:55:36 1995 change.
247 * aclocal.in: Use 'case' statement to work around problem.
248 * automake.in: Likewise.
249 * lib/ylwrap: Likewise.
250 * lib/missing: No need for workaround, as the command is never
251 invoked with zero arguments.
252 * tests/ccnoco.test: Likewise.
253 * missing: Update from lib/missing.
255 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
257 * automake.in (initialize_per_input): Clear %require_file_found.
258 (%require_file_found): Group the declaration with the other
259 variables initialized by initialize_per_input.
260 * tests/required.test: New file.
261 * tests/Makefile.am (TESTS): Add it.
262 Reported by Marius Vollmer.
264 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
266 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
267 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
268 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
269 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
270 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
272 * tests/confh5.test: New file.
273 * tests/Makefile.am (TESTS): Add confh5.test.
274 * automake.texi (Optional, Public macros): Update descriptions
275 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
277 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
279 * tests/man2.test: New file.
280 * tests/Makefile.am (TESTS): Add man2.test.
281 * lib/am/mans.am (install-man%SECTION%): Change the extension
282 of the man pages being installed, as documented.
284 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
286 Enable traces; wipe out the old configure.in parser.
288 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
289 'autoconf'. Honnor the $filename argument.
290 (scan_autoconf_files): Don't call scan_one_autoconf_file.
291 Always call scan_autoconf_traces.
292 (scan_one_autoconf_file): Remove, with it associated regexes.
293 (obsolete, obsolete_rx): Remove.
294 (register_language, handle_languages): Remove the 'define_flag'
295 support. Remove it from the struct and language definitions too.
296 (unquote_m4_arg): Remove.
297 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
298 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
299 are now generated automatically.
300 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
302 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
304 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
306 * tests/version6.test: New file.
307 * tests/Makefile.am (TESTS): Add tests/version6.test.
308 * automake.in (version_check): Return 0 on equality.
310 2002-04-13 Andreas Schwab <schwab@suse.de>
312 * THANKS: Update my mail address.
314 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
316 * tests/discover.test: Use a full configure.in that calls AC_INIT.
317 Use AC_LIBOBJ. Grep the error message.
318 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
319 Grep the error message. Require libtool.
320 * tests/ldflags.test: Don't use LIBOBJS.
321 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
322 error messages for CC and CXX.
324 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
326 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
328 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
329 * tests/ext.test: Enable dependencies for OBJC.
330 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
331 Delete. They tests for different flavors of $LIBOBJS assignments
332 that wont be supported anymore.
333 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
334 * tests/obsolete.test: Don't test Automake.
335 * tests/suffix5.test: Require libtool.
336 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
339 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
341 * configure.in (APIVERSION): Fix definition.
343 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
345 * NEWS: Catch up with changes since 1.6.
347 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
349 * tests/yacc8.test: Don't assume GNU make, run config.status
350 to regenerate the Makefile.
352 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
354 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
355 always followed by a SHELL setting.
356 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
357 SHELL when calling `$MAKE -e'.
359 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
361 * tests/subobj9.test: Use configure.in, not configure.ac,
362 otherwise this fails with old libtool versions.
364 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
366 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
369 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
371 * ChangeLog.2001: New file, extracted from ChangeLog.
372 * Makefile.am (EXTRA_DIST): Add it.
374 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
376 * automake.texi (Canonicalization): The sources for libmumble++.a
377 go into libmumble___a_SOURCES.
379 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
381 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
382 test suite. Suggest `sleep 2' instead.
383 * tests/confsub.test: Use `sleep 2'.
385 2002-04-04 Paul Eggert <eggert@twinsun.com>
388 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
389 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
390 MAKEFLAGS contains '$(...)'.
392 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
394 * tests/specflags8.test: Typo.
396 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
398 * tests/specflags6.test: Run aclocal.
399 * tests/Makefile.am (TESTS): Add specflags6.test.
401 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
403 * tests/specflags7.test, tests/specflags8.test: New files.
404 * tests/Makefile.am (TESTS): Add them.
405 (XFAIL_TESTS): Add specflags8.test.
407 2002-03-29 Tom Tromey <tromey@redhat.com>
409 * automake.in (check_typos): Examine AM_LDFLAGS.
410 Fixes PR automake/311.
413 * lib/am/libtool.am (clean-libtool): Use LTRMS.
414 * automake.in (handle_single_transform_list): When processing a
415 libtool object, clean the ordinary object and register the
417 (libtool_clean_directories): New global.
418 (initialize_per_input): Initialize it.
419 (generate_makefile): Call handle_libtool later.
420 (handle_libtool): Handle libtool_clean_directories.
421 * tests/subobj9.test: New file.
422 * tests/Makefile.am (TESTS): Added subobj9.test.
424 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
426 * tests/extra6.test, tests/subdir5.test: Require GNU make.
428 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
430 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
432 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
434 * tests/extra7.test: New file.
435 * tests/Makefile.am: Add it.
436 * lib/am/distdir.an (distdir): When a distribuable directory
437 exists both in `.' and $(srcdir), merge both directories. This
438 works around a failure of extra6.test on Tru64 reported by
441 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
443 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
445 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
447 * Makefile.am (maintainer-check): Catch occurrences of
448 `$MAKE foo=bar' in the testsuite. Suggest using
449 `foo=bar $MAKE -e' instead.
450 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
451 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
452 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
453 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
455 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
457 Fix for PR automake/310:
458 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
459 so it never appears as a plain word.
461 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
463 * lib/depcomp (tru64): Correctly compute `base'.
465 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
467 * tests/pr211.test: s/requires/required/, otherwise the test fails
468 if libtool is not installed.
470 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
472 * tests/dirname.test: Don't use $SHELL when calling ./configure.
474 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
476 * tests/dirname.test: Use --quiet to fix failure on installations
478 Reported by Nicolas Joly.
480 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
482 * Makefile.am (maintainer-check): Check for misuses of make,
483 autoconf, automake, aclocal, and perl in the testsuite. Suggest
484 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
485 * tests/confsub.test: Use $AUTOCONF and $MAKE.
486 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
487 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
488 tests/pr224.test, tests/pr287.test, tests/strip.test,
489 tests/yacc8.test: Use $MAKE.
491 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
493 Add support for two-dot versions.
495 * tests/version5.test: New file.
496 * tests/Makefile.am (TESTS): Add it.
497 * automake.in (version_split, version_compare): New functions.
498 (version_check): Rewrite using version_split and version_compare.
499 (process_option_list): Adjust regex.
501 2002-03-18 Richard Boulton <richard@tartarus.org>
503 Fix for PR automake/306:
504 * automake.texi (Generalities): Document +=.
505 (Conditionals): Document limitations of += with conditionals.
507 2002-03-17 Tom Tromey <tromey@redhat.com>
509 Fix for PR automake/295:
510 * automake.texi (Invoking Automake): Deprecate --output-dir.
511 * automake.in (usage): Don't document --output-dir.
512 (output_directory): Don't initialize.
513 (parse_arguments): Deprecate --output-dir.
515 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
516 Fixes PR automake/304.
518 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
520 * tests/dirforbid.test: Workaround for NetBSD sh bug.
521 Fixes PR automake/305.
523 2002-03-11 Richard Boulton <richard@tartarus.org>
525 * automake.in (check_typos): Allow variables with reserved
526 suffices (such as _LDFLAGS) and prefixes which aren't
527 recognised if the variable is defined in configure.ac.
530 2002-03-11 Richard Boulton <richard@tartarus.org>
532 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
533 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
534 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
536 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
538 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
541 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
543 Fix for PR automake/303:
544 * automake.in (version_check): Move the error message ...
545 (process_option_list): ... here, so we can distinguish between
546 global and local options.
548 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
550 * tests/pr300-lib.test, tests/pr300-ltlib.test,
551 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
552 Autoconf doesn't complain about Makefile being output twice.
554 2002-03-06 Tom Tromey <tromey@redhat.com>
556 * configure.in: Upped version to 1.6a.
558 2002-03-05 Tom Tromey <tromey@redhat.com>
560 * configure.in: Released 1.6.
562 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
564 Fix for PR automake/300:
565 * tests/pr300-lib.test, tests/pr300-ltlib.test,
566 tests/pr300-prog.test: New files.
567 * tests/Makefile.am (TESTS): Add them.
568 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
569 compute the directory.
570 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
571 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
572 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
573 (uninstall-%DIR%LIBRARIES): Honor nobase_.
574 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
575 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
576 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
577 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
578 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
579 (uninstall-%DIR%PROGRAMS): Honor nobase_.
580 See also the fix for nobase.test on 2001-11-09.
582 2002-03-05 Tom Tromey <tromey@redhat.com>
584 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
586 2002-03-05 Pavel Roskin <proski@gnu.org>
588 * tests/yacc8.test: Add a command between "test" and "cd" to
589 work around a bug in bash-2.05.
591 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
593 Fix for PR automake/294:
594 * tests/dirforbid.test: New file.
595 * tests/Makefile.am (TESTS): Add it.
596 * automake.in (standard_prefix): New hash.
597 (am_primary_prefixes): Forbid standard_prefixes which are not
599 * automake.texi (Uniform): Remove FIXME.
601 2002-03-05 Jim Meyering <meyering@lucent.com>
603 * automake.in (@common_files): Add config.rpath.
605 2002-03-05 Kevin Ryde <user42@zip.com.au>
608 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
609 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
612 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
614 * automake.in (scan_one_autoconf_file): Declare
615 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
616 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
617 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
618 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
619 of s/// in the sed invocation, to support filenames containing
621 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
622 * tests/lex5.test, tests/yacc8.test: New files.
623 * tests/Makefile.am (TESTS): Add them.
625 2002-02-23 Per Bothner <per@bothner.com>
627 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
630 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
632 * tests/make.test: Revert the grep logic to work around a bug
633 in NetBSD sh (see NetBSD Problem Report #11542).
634 Reported by Patrick Welche.
636 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
638 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
639 to try and prevent a non-lisp emacs from starting in interactive
641 * automake.texi: Document this change.
643 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
645 * automake.texi (Macros): Split into ...
646 (Public Macros, Private Macros): ... these.
648 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
650 * tests/insthook.test: Use sed instead of "tail +X".
652 2002-02-18 Paul Eggert <eggert@twinsun.com>
654 * lib/depcomp: Don't use "tail +3"; it's not portable to
655 POSIX 1003.1-2001 hosts.
657 2002-02-18 Jim Meyering <meyering@lucent.com>
659 * tests/cond12.test: Use sed 1q, not `head -n 1'.
660 The latter is not portable to some old systems.
661 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
662 Use `sed 1q' instead.
663 * tests/insthook.test: Likewise.
665 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
667 * automake.in (handle_lib_objects_cond): Tell the user to put
668 global linker flags in AM_LDFLAGS, not LDFLAGS.
670 * automake.texi (General Operation): AC_SUBST'ed variables
671 override Automake's variables.
672 (Uniform): More words and @refs.
673 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
674 (etags): More explanations about the first example.
675 (Invoking Automake): Mention autoreconf. More @refs.
676 (Requirements): Mention AC_CONFIG_FILES.
677 (Optional): AC_CHECK_TOOL will no longer install config.sub and
678 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
679 (Invoking aclocal): aclocal no longer warn about duplicates.
680 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
681 (Extending aclocal): Suggest using the output of
682 `aclocal --print-ac-dir` to install third-party macros.
683 (Alternative): Specify ordering of dist_, nodist_, and nobase_
685 (A Program): Mention scripts. The global LDADD variable is not
686 meant to hold link flags, suggest using AM_LDFLAGS instead.
687 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
688 _LIBADD and _LDADD are subject to the same restriction wrt to
690 (Program and Library Variables) <maude_DEPENDECIES>: Is also
691 derived from maude_LIBADD.
692 (Program variables): Define AM_LDFLAGS.
693 (Dependencies): Passing the no-dependencies option to
694 AM_INIT_AUTOMAKE is prefered.
695 (Scripts): Explain why automake is magically cleaned.
696 Mention noinst_SCRIPTS and check_SCRIPTS.
697 (Data): Use dist_ in Automake's example.
698 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
699 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
701 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
703 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
704 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
705 of asking the maintainer to do it manually.
706 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
707 Automake/XFile.pm: New upstream versions.
709 2002-02-02 Tom Tromey <tromey@redhat.com>
711 * automake.texi (Macros): Warn about upgrading.
713 2002-02-01 Tom Tromey <tromey@redhat.com>
715 Change per GNU coding standards:
716 * aclocal.in (parse_arguments): Only mention most recent year in
718 * automake.in (version): Only mention most recent year.
720 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
722 * automake.texi (API versioning): New Node.
723 (Extending): Use $(DESTDIR) in examples.
725 2002-01-28 Akim Demaille <akim@epita.fr>
727 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
728 Respect the --help layout.
730 2002-01-27 Tom Tromey <tromey@redhat.com>
732 * configure.in: Bumped to 1.5e.
734 * lib/am/yacc.am: Use `rm -f'.
736 * configure.in: Released 1.5d.
738 * lib/config.guess: New version from FSF.
740 * Makefile.am (uninstall-hook): New target.
742 2002-01-24 Akim Demaille <akim@epita.fr>
744 * lib/install-sh: Update, from Autoconf.
746 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
748 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
749 as AC_CANONICAL_HOST (the former does not require the latter since
751 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
752 * automake.texi (Requirements): Do not require STRIP to be
755 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
757 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
758 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
759 * tests/pr224.test: Make sure .deps subdirectories are
762 2002-01-22 Tom Tromey <tromey@redhat.com>
764 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
765 no-dependencies option is set.
766 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
767 no-dependencies option is set. Don't call AM_DEP_TRACK or
770 2002-01-22 Pavel Roskin <proski@gnu.org>
772 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
775 2002-01-22 Akim Demaille <akim@epita.fr>
777 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
780 2002-01-21 Tom Tromey <tromey@redhat.com>
782 * Makefile.am (fetch): Don't fetch ansi2knr.
784 * automake.texi (Macros): Updated for new variable names.
785 (Program and Library Variables): Likewise.
786 (Assembly Support): Likewise.
787 * m4/as.m4: Use CCAS and CCASFLAGS.
788 * automake.in (asm): Use CCAS and CCASFLAGS.
790 2002-01-21 Akim Demaille <akim@epita.fr>
792 * automake.in (&parse_arguments): Use a more GNUish error message
795 2002-01-20 Tom Tromey <tromey@redhat.com>
797 Fix for PR automake/231:
798 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
799 * m4/depend.m4: Document `GCJ'.
802 * tests/Makefile.am (TESTS): Added pr224.test.
803 * tests/pr224.test: New file.
804 * lib/depcomp: Fixed computation of depfile.
805 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
806 * automake.in (handle_single_transform_list): Only reject `..'
807 component for Java. Put dependencies in directory near object.
808 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
810 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
812 * tests/defs: Export AUTOMAKE and ACLOCAL.
814 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
816 Fix for PR automake/204:
817 * tests/pr204.test: New file.
818 * tests/Makefile.am (TESTS): Add it.
819 * automake.in (handle_single_transform_list): Don't distribute
820 sources derived from non-distributed sources.
822 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
824 Fix for PR automake/229:
825 * tests/pr229.test: New file.
826 * tests/Makefile.am (TESTS): Add it.
827 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
828 AC_EMXOS2, and AC_MINGW32.
830 2002-01-18 Tom Tromey <tromey@redhat.com>
832 * tests/cond7.test: Fix test bug exposed by copyright update.
835 * automake.in (lang_c_rewrite): Don't prepend directory to base if
836 directory is `.'. Also, properly compute de_ansi_files entry in
838 * tests/Makefile.am (TESTS): Added ansi7.test.
839 * tests/ansi7.test: New file.
841 * aclocal.in (parse_arguments): Added 2002.
842 (write_aclocal): Likewise.
843 (parse_arguments): Updated my email address.
844 * automake.in (gen_copyright): Added 2002.
845 (version): Likewise. Also, changed my email address.
847 * configure.in (APIVERSION): Refined definition.
849 2002-01-18 Tom Tromey <tromey@redhat.com>
852 * lib/missing: Accept versioned aclocal.
853 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
855 2002-01-17 Pavel Roskin <proski@gnu.org>
857 * m4/Makefile.am (m4datadir): Use APIVERSION.
859 2002-01-16 Tom Tromey <tromey@redhat.com>
861 * Makefile.am (install-exec-hook): Use APIVERSION.
862 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
863 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
865 * automake.in (perllibdir): Use APIVERSION.
867 * aclocal.in (perllibdir): Use APIVERSION.
868 (APIVERSION): New global.
869 (parse_arguments): Use APIVERSION.
870 * configure.in (APIVERSION): New subst.
871 (pkgvdatadir): Use APIVERSION.
873 2002-01-15 Tom Tromey <tromey@redhat.com>
876 * lib/missing: Match against `automake*' to pick up versioned
878 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
879 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
881 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
882 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
884 (scriptdir): Use pkgvdatadir.
885 (installcheck-local): Likewise.
886 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
887 * automake.in (perllibdir): Added VERSION.
889 * aclocal.in (parse_arguments): Search versioned directory. Don't
890 push unversioned directory unless it exists.
891 (perllibdir): Added VERSION.
892 (default_acdir): New global.
893 * m4/Makefile.am (m4datadir): Added $(VERSION).
894 * Makefile.am (install-exec-hook): New target.
895 * configure.in (ACLOCAL): Search build directory.
896 (pkgvdatadir): New subst.
898 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
900 * lib/config.sub, lib/config.guess: New versions from FSF.
902 2002-01-13 Tom Tromey <tromey@redhat.com>
905 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
907 (lang_c_finish): Likewise. Also, use directory information from
910 2002-01-13 Kevin Ryde <user42@zip.com.au>
913 * tests/Makefile.am (TESTS): Added ansi6.test.
914 * tests/ansi6.test: New file.
916 2002-01-13 Tom Tromey <tromey@redhat.com>
919 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
921 * tests/Makefile.am (TESTS): Added pr287.test.
922 * tests/pr287.test: New file.
924 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
926 * lib/am/distdir.am (distdir): Handle subdirectories.
927 * tests/extra6.test: New file.
928 * tests/Makefile.am (TESTS): Add it.
930 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
932 * tests/extra2.test: Run $ACLOCAL.
934 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
936 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
937 AM_INIT_AUTOMAKE arguments when using the old-style call.
938 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
939 Suggested by Pavel Roskin.
941 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
943 * test/nodefine.test, test/nodefine2.test: Check that no-define
944 works, not the contrary...
945 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
946 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
949 2002-01-12 Jim Meyering <meyering@lucent.com>
951 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
952 * tests/libobj11.test: New file.
953 * tests/Makefile.am (TESTS): Add libobj11.test.
955 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
957 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
959 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
961 * automake.in (file_contents_internal): Introduce two variables,
962 $is_rule and $discard_rules to track rules spanning across multiple
963 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
964 where only the first paragraph of such a multi-paragraph rule was
965 discarded; but it leaves many similar latent bugs (see the FIXMEs).
967 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
969 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
970 * tests/error.test: Use some macro names which are not defined by
973 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
975 * automake.texi (Complete, Macros, Options): Document the new style
976 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
977 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
978 AC_INIT if they are available there. Support a new call form
979 where the only argument is an optional space-separated list of
981 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
982 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
983 _AM_IF_OPTION): New functions.
984 * automake.in (AC_INIT_PATTERN): New variable.
985 (global_options_line): Remove, use $seen_init_automake instead.
986 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
987 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
988 Remove the AM_AUTOMAKE_OPTIONS handling.
989 * configure.in: Modernize.
990 * tests/defs (configure.in): Modernize. One third of the tests
991 still overwrite the default configure.in and use an old
992 AM_INIT_AUTOMAKE call, so that makes testing for both.
993 * tests/nodefine.test, tests/nodefine2.test: New files.
994 * tests/Makefile.am (TESTS): Add them.
996 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
998 * automake.in (define_configure_variable): Propagate line numbers.
1000 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1002 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1004 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1006 * configure.in: Run the Autoconf test in a subdirectory, then
1007 erase this directory.
1009 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1011 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1012 * m4/amversion.in: New file.
1013 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1014 (dist_m4data_DATA): ... this.
1015 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1016 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1017 AM_SET_CURRENT_AUTOMAKE_VERSION.
1018 * automake.in (seen_automake_version): New variable.
1019 (scan_autoconf_traces, scan_one_autoconf_file,
1020 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1021 when the version used in aclocal.m4 differs from Automake's.
1022 * tests/defs (ACLOCAL): Look in ../m4 too.
1023 * tests/installsh.test (ACLOCAL): Likewise.
1024 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1026 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1028 * automake.in (handle_languages): Emit an automake
1029 internal variable 'am__depfiles_maybe'.
1030 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1032 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1035 2002-01-06 Tom Tromey <tromey@redhat.com>
1037 * automake.texi (Tags): Document new variables.
1038 * lib/am/tags.am (ETAGS): New macro.
1039 (ETAGSFLAGS): Likewise.
1042 2002-01-04 Tom Tromey <tromey@redhat.com>
1044 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1046 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1048 * automake.in (read_am_file): Thinko in "comment following
1049 trailing backslash" detection.
1050 * tests/comment5.test: Test for this too.
1052 2002-01-02 Tom Tromey <tromey@redhat.com>
1054 * automake.texi (Extending): Added index for uninstall-hook.
1056 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1058 Fix for PR automake/278:
1059 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1060 with versions such as '2.2c1'. Also, use `int' instead of the
1061 obsoleted `string.atoi'.
1062 Reported by Enrico Scholz.
1064 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1066 Fix for PR automake/280:
1067 * automake.in (read_am_file): Warn about trailing backslashes
1069 * tests/comment5.test: New file.
1070 * tests/Makefile.am (TESTS): Add comment5.test.
1071 Reported by Enrico Scholz.
1073 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1075 * tests/comment4.test: New file.
1076 * tests/Makefile.am (TESTS): Add comment4.test.
1078 Fix for comment4.test:
1079 * automake.in (read_am_file): Output leading comments only when
1080 encountering white lines.
1082 2002-01-01 Tom Tromey <tromey@redhat.com>
1084 For PR automake/234:
1085 * tests/Makefile.am (TESTS): Added strip.test.
1086 * tests/strip.test: New file.
1088 * automake.texi (Extending): Mention uninstall-hook.
1089 (Install): Likewise.
1090 * automake.in (handle_factored_dependencies): Allow
1093 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1095 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1096 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1097 This fixes a bug introduced on 2001-01-28.
1098 Reported by Jared Davis.
1102 Copyright (C) 2002 Free Software Foundation, Inc.
1104 This file is part of GNU Automake.
1106 GNU Automake is free software; you can redistribute it and/or modify
1107 it under the terms of the GNU General Public License as published by
1108 the Free Software Foundation; either version 2, or (at your option)
1111 GNU Automake is distributed in the hope that it will be useful,
1112 but WITHOUT ANY WARRANTY; without even the implied warranty of
1113 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1114 GNU General Public License for more details.
1116 You should have received a copy of the GNU General Public License
1117 along with autoconf; see the file COPYING. If not, write to
1118 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1119 Boston, MA 02111-1307, USA.