1 2002-05-30 Paul Eggert <eggert@twinsun.com>
3 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
4 instead, use shell pattern matching.
6 2002-05-29 Paul Eggert <eggert@twinsun.com>
8 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
11 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
12 of egrep and fgrep. Omit unnecessary -E and -F.
13 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
14 * lib/am/distdir.am (distdir): fgrep -> grep -F.
15 Use $(), not ${}, for Make variables.
16 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
18 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
19 * tests/defs: Set FGREP and EGREP.
21 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
22 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
23 tests/cond21.test, tests/condlib.test, tests/confh4.test,
24 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
25 tests/depend4.test, tests/discover.test, tests/distname.test,
26 tests/dup3.test, tests/empty4.test, tests/fo.test,
27 tests/implicit.test, tests/insh2.test, tests/interp.test,
28 tests/lex.test, tests/lex3.test, tests/lex4.test,
29 tests/libobj5.test, tests/libobj7.test, tests/make.test,
30 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
31 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
32 tests/pr2.test, tests/pr9.test, tests/seenc.test,
33 tests/specflags.test, tests/specflags3.test,
34 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
35 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
36 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
37 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
39 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
42 * m4/depend.m4: Missing comma.
43 * tests/gcj4.test: New file.
44 * tests/Makefile.am (TESTS): Add gcj4.test.
45 Reported by David Pashley.
47 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
49 * tests/defs (configure.in): Don't double-quote $me.
50 * tests/sinclude.test: Overwrite configure.in and use
51 `am__sinclude' instead of `sinclude' as package name.
52 Excercise `m4_sinclude' instead of `sinclude'.
54 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
56 * automake.in (conditional_implies_one_of): Rename as ...
57 (conditional_implies_any): ... this.
58 * tests/pluseq9.test: Exercise another case with the new
60 Suggested by Raja R Harinath.
62 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
64 * tests/defs (configure.in): Quote macro arguments.
65 Reported by Nicolas Joly.
67 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
69 * lib/am/header-vars.am (build_triplet, host_triplet,
70 target_triplet): Define. Were removed by mistake on 2002-04-13.
72 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
75 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
76 * tests/destdir.test: New file.
77 * tests/Makefile.am (TESTS): Add destdir.test.
79 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
81 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
82 (conditional_is_redundant): Simplify.
83 (conditional_implies_one_of,
84 variable_not_always_defined_in_cond): New functions
85 (macro_define): Reject appends if the variable is not defined in
86 all conditions where `+=' applies.
87 (invert_conditions): Rewrite. Before this patch,
88 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
89 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
90 wrong (these conditions implies "A_FALSE"). Now it outputs (),
91 which just means the input conditions cover all cases.
92 (variable_conditions_permutations): Never output FALSE conditions.
93 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
94 in the CHECK_FALSE condition to fix the test.
95 * tests/pluseq5.test: Actually check the diagnostic.
96 * tests/pluseq9.test: New file.
97 * tests/Makefile.am (TESTS): Add pluseq9.test.
99 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
101 Fix for PR automake/322:
102 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
103 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
104 Handle comments continued by backslashes.
105 * tests/comment6.test: New file.
106 * tests/Makefile.am (TESTS): Add comment6.test.
107 Reported by Braden N. McDaniel.
109 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
110 Alexandre Duret-Lutz <duret_g@epita.fr>
112 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
113 both `program$(EXEEXT)' and `program'; needed under Cygwin.
114 * tests/libtool3.test: New file.
115 * tests/Makefile.am (TESTS): Add libtool3.test.
117 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
121 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
123 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
125 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
127 Erase stamps from the Makefile that generates them.
129 * automake.in (handle_configure): Append each used stamp to
130 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
131 file is not used anymore.
132 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
134 * tests/subdir6.test: New file.
135 * tests/Makefile.am (TESTS): Add it.
137 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
139 Fix for condd.test (conditional `+='):
140 * automake.in (%appendvar): New.
141 (initialize_per_input): Clear it.
142 (macro_define): Handle += for variable defined in another condition.
143 * automake.texi (Conditional Sources): Use conditional += in
145 (General Operation, Conditionals): Remove note about broken +=.
146 * tests/cond21.test: New file.
147 * tests/condd.test: Also test conditional append to a _SOURCE
148 variable. Create missing directories.
149 * tests/Makefile.am (TESTS): Add cond21.test.
150 (XFAILS): Remove condd.test.
152 2002-05-05 Tom Tromey <tromey@redhat.com>
154 * automake.texi (Program and Library Variables): Mention _LFLAGS.
156 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
158 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
159 files. Fix subobj9.test on OSF and IRIX.
160 Reported by Nelson H. F. Beebe.
162 2002-04-26 Tom Tromey <tromey@redhat.com>
164 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
165 For Debian bug 144221.
167 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
169 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
171 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
173 * automake.in (subobjname): Use the length of %subobjvar
174 instead of $subobjnamenum.
175 (subobjnamenum): Remove.
177 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
180 * lib/depcomp: Never compute dependencies in the background, this
181 can cause races with libtool. Compute the dependencies after
182 the actual compilation. Don't make libtool silent now that
183 it's run in the foreground.
184 * tests/pr307.test: New file.
185 * tests/Makefile.am (TESTS): Add pr307.test.
186 Reported by Laurent Morichetti.
188 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
190 * lib/am/check.am: Show skipped tests. Display the
191 $(PACKAGE_BUGREPORT) address on failure.
193 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
196 * automake.in (subobjname): Rewrite to generate variable name
197 unique for each content.
198 (%substnums): Remove.
199 (%subobjvar): New hash.
200 (initialize_per_input): Clear %subobjvar.
201 (define_objects_from_sources): Return the name of the variable
202 defined, in addition to the linker. Call subobjname only once
203 the content of the variable to define is known.
204 (handle_source_transform): Adjust call to define_objects_from_sources.
205 * tests/specflags8.test: Mention PR 315.
206 * tests/subobjname.test: New file.
207 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
208 (TESTS): Add subobjname.test.
210 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
212 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
213 the whole file for 'generated by automake', not only the
214 first line. This accounts for post-processed Makefile.in's.
215 * tests/postproc.test: New file.
216 * tests/Makefile.am (TESTS): Add postproc.test.
218 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
220 For PR automake/151 and PR automake/314:
221 * automake.texi (A Program): Split into
222 (Program Sources, Linking, Conditional Sources, Conditional
223 Programs): ... these subsections; moving the Linking node
224 before the Conditional discussions.
225 (Conditional Sources): More details. Notably, mention
227 (Conditionals): Adjust reference to Conditional Programs.
229 2002-04-19 Paul Eggert <eggert@twinsun.com>
231 Fix some bugs when using "$@" when there might be zero positional
232 arguments in cases where this matters. Zsh doesn't support
233 the workaround ${1+"$@"} that has been used by Automake since
234 the Mon Dec 4 11:55:36 1995 change.
236 * aclocal.in: Use 'case' statement to work around problem.
237 * automake.in: Likewise.
238 * lib/ylwrap: Likewise.
239 * lib/missing: No need for workaround, as the command is never
240 invoked with zero arguments.
241 * tests/ccnoco.test: Likewise.
242 * missing: Update from lib/missing.
244 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
246 * automake.in (initialize_per_input): Clear %require_file_found.
247 (%require_file_found): Group the declaration with the other
248 variables initialized by initialize_per_input.
249 * tests/required.test: New file.
250 * tests/Makefile.am (TESTS): Add it.
251 Reported by Marius Vollmer.
253 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
255 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
256 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
257 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
258 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
259 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
261 * tests/confh5.test: New file.
262 * tests/Makefile.am (TESTS): Add confh5.test.
263 * automake.texi (Optional, Public macros): Update descriptions
264 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
266 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
268 * tests/man2.test: New file.
269 * tests/Makefile.am (TESTS): Add man2.test.
270 * lib/am/mans.am (install-man%SECTION%): Change the extension
271 of the man pages being installed, as documented.
273 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
275 Enable traces; wipe out the old configure.in parser.
277 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
278 'autoconf'. Honnor the $filename argument.
279 (scan_autoconf_files): Don't call scan_one_autoconf_file.
280 Always call scan_autoconf_traces.
281 (scan_one_autoconf_file): Remove, with it associated regexes.
282 (obsolete, obsolete_rx): Remove.
283 (register_language, handle_languages): Remove the 'define_flag'
284 support. Remove it from the struct and language definitions too.
285 (unquote_m4_arg): Remove.
286 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
287 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
288 are now generated automatically.
289 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
291 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
293 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * tests/version6.test: New file.
296 * tests/Makefile.am (TESTS): Add tests/version6.test.
297 * automake.in (version_check): Return 0 on equality.
299 2002-04-13 Andreas Schwab <schwab@suse.de>
301 * THANKS: Update my mail address.
303 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
305 * tests/discover.test: Use a full configure.in that calls AC_INIT.
306 Use AC_LIBOBJ. Grep the error message.
307 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
308 Grep the error message. Require libtool.
309 * tests/ldflags.test: Don't use LIBOBJS.
310 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
311 error messages for CC and CXX.
313 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
315 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
317 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
318 * tests/ext.test: Enable dependencies for OBJC.
319 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
320 Delete. They tests for different flavors of $LIBOBJS assignments
321 that wont be supported anymore.
322 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
323 * tests/obsolete.test: Don't test Automake.
324 * tests/suffix5.test: Require libtool.
325 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
328 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
330 * configure.in (APIVERSION): Fix definition.
332 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
334 * NEWS: Catch up with changes since 1.6.
336 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
338 * tests/yacc8.test: Don't assume GNU make, run config.status
339 to regenerate the Makefile.
341 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
343 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
344 always followed by a SHELL setting.
345 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
346 SHELL when calling `$MAKE -e'.
348 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
350 * tests/subobj9.test: Use configure.in, not configure.ac,
351 otherwise this fails with old libtool versions.
353 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
355 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
358 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
360 * ChangeLog.2001: New file, extracted from ChangeLog.
361 * Makefile.am (EXTRA_DIST): Add it.
363 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
365 * automake.texi (Canonicalization): The sources for libmumble++.a
366 go into libmumble___a_SOURCES.
368 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
370 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
371 test suite. Suggest `sleep 2' instead.
372 * tests/confsub.test: Use `sleep 2'.
374 2002-04-04 Paul Eggert <eggert@twinsun.com>
377 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
378 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
379 MAKEFLAGS contains '$(...)'.
381 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
383 * tests/specflags8.test: Typo.
385 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
387 * tests/specflags6.test: Run aclocal.
388 * tests/Makefile.am (TESTS): Add specflags6.test.
390 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
392 * tests/specflags7.test, tests/specflags8.test: New files.
393 * tests/Makefile.am (TESTS): Add them.
394 (XFAIL_TESTS): Add specflags8.test.
396 2002-03-29 Tom Tromey <tromey@redhat.com>
398 * automake.in (check_typos): Examine AM_LDFLAGS.
399 Fixes PR automake/311.
402 * lib/am/libtool.am (clean-libtool): Use LTRMS.
403 * automake.in (handle_single_transform_list): When processing a
404 libtool object, clean the ordinary object and register the
406 (libtool_clean_directories): New global.
407 (initialize_per_input): Initialize it.
408 (generate_makefile): Call handle_libtool later.
409 (handle_libtool): Handle libtool_clean_directories.
410 * tests/subobj9.test: New file.
411 * tests/Makefile.am (TESTS): Added subobj9.test.
413 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
415 * tests/extra6.test, tests/subdir5.test: Require GNU make.
417 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
419 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
421 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
423 * tests/extra7.test: New file.
424 * tests/Makefile.am: Add it.
425 * lib/am/distdir.an (distdir): When a distribuable directory
426 exists both in `.' and $(srcdir), merge both directories. This
427 works around a failure of extra6.test on Tru64 reported by
430 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
432 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
434 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
436 * Makefile.am (maintainer-check): Catch occurrences of
437 `$MAKE foo=bar' in the testsuite. Suggest using
438 `foo=bar $MAKE -e' instead.
439 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
440 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
441 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
442 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
444 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
446 Fix for PR automake/310:
447 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
448 so it never appears as a plain word.
450 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
452 * lib/depcomp (tru64): Correctly compute `base'.
454 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
456 * tests/pr211.test: s/requires/required/, otherwise the test fails
457 if libtool is not installed.
459 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
461 * tests/dirname.test: Don't use $SHELL when calling ./configure.
463 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
465 * tests/dirname.test: Use --quiet to fix failure on installations
467 Reported by Nicolas Joly.
469 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
471 * Makefile.am (maintainer-check): Check for misuses of make,
472 autoconf, automake, aclocal, and perl in the testsuite. Suggest
473 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
474 * tests/confsub.test: Use $AUTOCONF and $MAKE.
475 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
476 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
477 tests/pr224.test, tests/pr287.test, tests/strip.test,
478 tests/yacc8.test: Use $MAKE.
480 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
482 Add support for two-dot versions.
484 * tests/version5.test: New file.
485 * tests/Makefile.am (TESTS): Add it.
486 * automake.in (version_split, version_compare): New functions.
487 (version_check): Rewrite using version_split and version_compare.
488 (process_option_list): Adjust regex.
490 2002-03-18 Richard Boulton <richard@tartarus.org>
492 Fix for PR automake/306:
493 * automake.texi (Generalities): Document +=.
494 (Conditionals): Document limitations of += with conditionals.
496 2002-03-17 Tom Tromey <tromey@redhat.com>
498 Fix for PR automake/295:
499 * automake.texi (Invoking Automake): Deprecate --output-dir.
500 * automake.in (usage): Don't document --output-dir.
501 (output_directory): Don't initialize.
502 (parse_arguments): Deprecate --output-dir.
504 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
505 Fixes PR automake/304.
507 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
509 * tests/dirforbid.test: Workaround for NetBSD sh bug.
510 Fixes PR automake/305.
512 2002-03-11 Richard Boulton <richard@tartarus.org>
514 * automake.in (check_typos): Allow variables with reserved
515 suffices (such as _LDFLAGS) and prefixes which aren't
516 recognised if the variable is defined in configure.ac.
519 2002-03-11 Richard Boulton <richard@tartarus.org>
521 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
522 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
523 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
525 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
527 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
530 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
532 Fix for PR automake/303:
533 * automake.in (version_check): Move the error message ...
534 (process_option_list): ... here, so we can distinguish between
535 global and local options.
537 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
539 * tests/pr300-lib.test, tests/pr300-ltlib.test,
540 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
541 Autoconf doesn't complain about Makefile being output twice.
543 2002-03-06 Tom Tromey <tromey@redhat.com>
545 * configure.in: Upped version to 1.6a.
547 2002-03-05 Tom Tromey <tromey@redhat.com>
549 * configure.in: Released 1.6.
551 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
553 Fix for PR automake/300:
554 * tests/pr300-lib.test, tests/pr300-ltlib.test,
555 tests/pr300-prog.test: New files.
556 * tests/Makefile.am (TESTS): Add them.
557 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
558 compute the directory.
559 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
560 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
561 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
562 (uninstall-%DIR%LIBRARIES): Honor nobase_.
563 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
564 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
565 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
566 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
567 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
568 (uninstall-%DIR%PROGRAMS): Honor nobase_.
569 See also the fix for nobase.test on 2001-11-09.
571 2002-03-05 Tom Tromey <tromey@redhat.com>
573 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
575 2002-03-05 Pavel Roskin <proski@gnu.org>
577 * tests/yacc8.test: Add a command between "test" and "cd" to
578 work around a bug in bash-2.05.
580 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
582 Fix for PR automake/294:
583 * tests/dirforbid.test: New file.
584 * tests/Makefile.am (TESTS): Add it.
585 * automake.in (standard_prefix): New hash.
586 (am_primary_prefixes): Forbid standard_prefixes which are not
588 * automake.texi (Uniform): Remove FIXME.
590 2002-03-05 Jim Meyering <meyering@lucent.com>
592 * automake.in (@common_files): Add config.rpath.
594 2002-03-05 Kevin Ryde <user42@zip.com.au>
597 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
598 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
601 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
603 * automake.in (scan_one_autoconf_file): Declare
604 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
605 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
606 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
607 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
608 of s/// in the sed invocation, to support filenames containing
610 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
611 * tests/lex5.test, tests/yacc8.test: New files.
612 * tests/Makefile.am (TESTS): Add them.
614 2002-02-23 Per Bothner <per@bothner.com>
616 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
619 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
621 * tests/make.test: Revert the grep logic to work around a bug
622 in NetBSD sh (see NetBSD Problem Report #11542).
623 Reported by Patrick Welche.
625 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
627 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
628 to try and prevent a non-lisp emacs from starting in interactive
630 * automake.texi: Document this change.
632 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
634 * automake.texi (Macros): Split into ...
635 (Public Macros, Private Macros): ... these.
637 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
639 * tests/insthook.test: Use sed instead of "tail +X".
641 2002-02-18 Paul Eggert <eggert@twinsun.com>
643 * lib/depcomp: Don't use "tail +3"; it's not portable to
644 POSIX 1003.1-2001 hosts.
646 2002-02-18 Jim Meyering <meyering@lucent.com>
648 * tests/cond12.test: Use sed 1q, not `head -n 1'.
649 The latter is not portable to some old systems.
650 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
651 Use `sed 1q' instead.
652 * tests/insthook.test: Likewise.
654 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
656 * automake.in (handle_lib_objects_cond): Tell the user to put
657 global linker flags in AM_LDFLAGS, not LDFLAGS.
659 * automake.texi (General Operation): AC_SUBST'ed variables
660 override Automake's variables.
661 (Uniform): More words and @refs.
662 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
663 (etags): More explanations about the first example.
664 (Invoking Automake): Mention autoreconf. More @refs.
665 (Requirements): Mention AC_CONFIG_FILES.
666 (Optional): AC_CHECK_TOOL will no longer install config.sub and
667 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
668 (Invoking aclocal): aclocal no longer warn about duplicates.
669 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
670 (Extending aclocal): Suggest using the output of
671 `aclocal --print-ac-dir` to install third-party macros.
672 (Alternative): Specify ordering of dist_, nodist_, and nobase_
674 (A Program): Mention scripts. The global LDADD variable is not
675 meant to hold link flags, suggest using AM_LDFLAGS instead.
676 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
677 _LIBADD and _LDADD are subject to the same restriction wrt to
679 (Program and Library Variables) <maude_DEPENDECIES>: Is also
680 derived from maude_LIBADD.
681 (Program variables): Define AM_LDFLAGS.
682 (Dependencies): Passing the no-dependencies option to
683 AM_INIT_AUTOMAKE is prefered.
684 (Scripts): Explain why automake is magically cleaned.
685 Mention noinst_SCRIPTS and check_SCRIPTS.
686 (Data): Use dist_ in Automake's example.
687 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
688 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
690 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
692 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
693 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
694 of asking the maintainer to do it manually.
695 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
696 Automake/XFile.pm: New upstream versions.
698 2002-02-02 Tom Tromey <tromey@redhat.com>
700 * automake.texi (Macros): Warn about upgrading.
702 2002-02-01 Tom Tromey <tromey@redhat.com>
704 Change per GNU coding standards:
705 * aclocal.in (parse_arguments): Only mention most recent year in
707 * automake.in (version): Only mention most recent year.
709 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
711 * automake.texi (API versioning): New Node.
712 (Extending): Use $(DESTDIR) in examples.
714 2002-01-28 Akim Demaille <akim@epita.fr>
716 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
717 Respect the --help layout.
719 2002-01-27 Tom Tromey <tromey@redhat.com>
721 * configure.in: Bumped to 1.5e.
723 * lib/am/yacc.am: Use `rm -f'.
725 * configure.in: Released 1.5d.
727 * lib/config.guess: New version from FSF.
729 * Makefile.am (uninstall-hook): New target.
731 2002-01-24 Akim Demaille <akim@epita.fr>
733 * lib/install-sh: Update, from Autoconf.
735 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
737 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
738 as AC_CANONICAL_HOST (the former does not require the latter since
740 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
741 * automake.texi (Requirements): Do not require STRIP to be
744 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
746 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
747 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
748 * tests/pr224.test: Make sure .deps subdirectories are
751 2002-01-22 Tom Tromey <tromey@redhat.com>
753 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
754 no-dependencies option is set.
755 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
756 no-dependencies option is set. Don't call AM_DEP_TRACK or
759 2002-01-22 Pavel Roskin <proski@gnu.org>
761 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
764 2002-01-22 Akim Demaille <akim@epita.fr>
766 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
769 2002-01-21 Tom Tromey <tromey@redhat.com>
771 * Makefile.am (fetch): Don't fetch ansi2knr.
773 * automake.texi (Macros): Updated for new variable names.
774 (Program and Library Variables): Likewise.
775 (Assembly Support): Likewise.
776 * m4/as.m4: Use CCAS and CCASFLAGS.
777 * automake.in (asm): Use CCAS and CCASFLAGS.
779 2002-01-21 Akim Demaille <akim@epita.fr>
781 * automake.in (&parse_arguments): Use a more GNUish error message
784 2002-01-20 Tom Tromey <tromey@redhat.com>
786 Fix for PR automake/231:
787 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
788 * m4/depend.m4: Document `GCJ'.
791 * tests/Makefile.am (TESTS): Added pr224.test.
792 * tests/pr224.test: New file.
793 * lib/depcomp: Fixed computation of depfile.
794 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
795 * automake.in (handle_single_transform_list): Only reject `..'
796 component for Java. Put dependencies in directory near object.
797 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
799 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
801 * tests/defs: Export AUTOMAKE and ACLOCAL.
803 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
805 Fix for PR automake/204:
806 * tests/pr204.test: New file.
807 * tests/Makefile.am (TESTS): Add it.
808 * automake.in (handle_single_transform_list): Don't distribute
809 sources derived from non-distributed sources.
811 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
813 Fix for PR automake/229:
814 * tests/pr229.test: New file.
815 * tests/Makefile.am (TESTS): Add it.
816 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
817 AC_EMXOS2, and AC_MINGW32.
819 2002-01-18 Tom Tromey <tromey@redhat.com>
821 * tests/cond7.test: Fix test bug exposed by copyright update.
824 * automake.in (lang_c_rewrite): Don't prepend directory to base if
825 directory is `.'. Also, properly compute de_ansi_files entry in
827 * tests/Makefile.am (TESTS): Added ansi7.test.
828 * tests/ansi7.test: New file.
830 * aclocal.in (parse_arguments): Added 2002.
831 (write_aclocal): Likewise.
832 (parse_arguments): Updated my email address.
833 * automake.in (gen_copyright): Added 2002.
834 (version): Likewise. Also, changed my email address.
836 * configure.in (APIVERSION): Refined definition.
838 2002-01-18 Tom Tromey <tromey@redhat.com>
841 * lib/missing: Accept versioned aclocal.
842 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
844 2002-01-17 Pavel Roskin <proski@gnu.org>
846 * m4/Makefile.am (m4datadir): Use APIVERSION.
848 2002-01-16 Tom Tromey <tromey@redhat.com>
850 * Makefile.am (install-exec-hook): Use APIVERSION.
851 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
852 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
854 * automake.in (perllibdir): Use APIVERSION.
856 * aclocal.in (perllibdir): Use APIVERSION.
857 (APIVERSION): New global.
858 (parse_arguments): Use APIVERSION.
859 * configure.in (APIVERSION): New subst.
860 (pkgvdatadir): Use APIVERSION.
862 2002-01-15 Tom Tromey <tromey@redhat.com>
865 * lib/missing: Match against `automake*' to pick up versioned
867 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
868 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
870 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
871 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
873 (scriptdir): Use pkgvdatadir.
874 (installcheck-local): Likewise.
875 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
876 * automake.in (perllibdir): Added VERSION.
878 * aclocal.in (parse_arguments): Search versioned directory. Don't
879 push unversioned directory unless it exists.
880 (perllibdir): Added VERSION.
881 (default_acdir): New global.
882 * m4/Makefile.am (m4datadir): Added $(VERSION).
883 * Makefile.am (install-exec-hook): New target.
884 * configure.in (ACLOCAL): Search build directory.
885 (pkgvdatadir): New subst.
887 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
889 * lib/config.sub, lib/config.guess: New versions from FSF.
891 2002-01-13 Tom Tromey <tromey@redhat.com>
894 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
896 (lang_c_finish): Likewise. Also, use directory information from
899 2002-01-13 Kevin Ryde <user42@zip.com.au>
902 * tests/Makefile.am (TESTS): Added ansi6.test.
903 * tests/ansi6.test: New file.
905 2002-01-13 Tom Tromey <tromey@redhat.com>
908 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
910 * tests/Makefile.am (TESTS): Added pr287.test.
911 * tests/pr287.test: New file.
913 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
915 * lib/am/distdir.am (distdir): Handle subdirectories.
916 * tests/extra6.test: New file.
917 * tests/Makefile.am (TESTS): Add it.
919 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
921 * tests/extra2.test: Run $ACLOCAL.
923 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
925 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
926 AM_INIT_AUTOMAKE arguments when using the old-style call.
927 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
928 Suggested by Pavel Roskin.
930 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
932 * test/nodefine.test, test/nodefine2.test: Check that no-define
933 works, not the contrary...
934 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
935 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
938 2002-01-12 Jim Meyering <meyering@lucent.com>
940 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
941 * tests/libobj11.test: New file.
942 * tests/Makefile.am (TESTS): Add libobj11.test.
944 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
946 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
948 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
950 * automake.in (file_contents_internal): Introduce two variables,
951 $is_rule and $discard_rules to track rules spanning across multiple
952 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
953 where only the first paragraph of such a multi-paragraph rule was
954 discarded; but it leaves many similar latent bugs (see the FIXMEs).
956 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
958 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
959 * tests/error.test: Use some macro names which are not defined by
962 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
964 * automake.texi (Complete, Macros, Options): Document the new style
965 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
966 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
967 AC_INIT if they are available there. Support a new call form
968 where the only argument is an optional space-separated list of
970 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
971 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
972 _AM_IF_OPTION): New functions.
973 * automake.in (AC_INIT_PATTERN): New variable.
974 (global_options_line): Remove, use $seen_init_automake instead.
975 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
976 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
977 Remove the AM_AUTOMAKE_OPTIONS handling.
978 * configure.in: Modernize.
979 * tests/defs (configure.in): Modernize. One third of the tests
980 still overwrite the default configure.in and use an old
981 AM_INIT_AUTOMAKE call, so that makes testing for both.
982 * tests/nodefine.test, tests/nodefine2.test: New files.
983 * tests/Makefile.am (TESTS): Add them.
985 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
987 * automake.in (define_configure_variable): Propagate line numbers.
989 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
991 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
993 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
995 * configure.in: Run the Autoconf test in a subdirectory, then
996 erase this directory.
998 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1000 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1001 * m4/amversion.in: New file.
1002 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1003 (dist_m4data_DATA): ... this.
1004 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1005 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1006 AM_SET_CURRENT_AUTOMAKE_VERSION.
1007 * automake.in (seen_automake_version): New variable.
1008 (scan_autoconf_traces, scan_one_autoconf_file,
1009 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1010 when the version used in aclocal.m4 differs from Automake's.
1011 * tests/defs (ACLOCAL): Look in ../m4 too.
1012 * tests/installsh.test (ACLOCAL): Likewise.
1013 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1015 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1017 * automake.in (handle_languages): Emit an automake
1018 internal variable 'am__depfiles_maybe'.
1019 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1021 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1024 2002-01-06 Tom Tromey <tromey@redhat.com>
1026 * automake.texi (Tags): Document new variables.
1027 * lib/am/tags.am (ETAGS): New macro.
1028 (ETAGSFLAGS): Likewise.
1031 2002-01-04 Tom Tromey <tromey@redhat.com>
1033 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1035 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1037 * automake.in (read_am_file): Thinko in "comment following
1038 trailing backslash" detection.
1039 * tests/comment5.test: Test for this too.
1041 2002-01-02 Tom Tromey <tromey@redhat.com>
1043 * automake.texi (Extending): Added index for uninstall-hook.
1045 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1047 Fix for PR automake/278:
1048 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1049 with versions such as '2.2c1'. Also, use `int' instead of the
1050 obsoleted `string.atoi'.
1051 Reported by Enrico Scholz.
1053 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1055 Fix for PR automake/280:
1056 * automake.in (read_am_file): Warn about trailing backslashes
1058 * tests/comment5.test: New file.
1059 * tests/Makefile.am (TESTS): Add comment5.test.
1060 Reported by Enrico Scholz.
1062 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1064 * tests/comment4.test: New file.
1065 * tests/Makefile.am (TESTS): Add comment4.test.
1067 Fix for comment4.test:
1068 * automake.in (read_am_file): Output leading comments only when
1069 encountering white lines.
1071 2002-01-01 Tom Tromey <tromey@redhat.com>
1073 For PR automake/234:
1074 * tests/Makefile.am (TESTS): Added strip.test.
1075 * tests/strip.test: New file.
1077 * automake.texi (Extending): Mention uninstall-hook.
1078 (Install): Likewise.
1079 * automake.in (handle_factored_dependencies): Allow
1082 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1084 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1085 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1086 This fixes a bug introduced on 2001-01-28.
1087 Reported by Jared Davis.
1091 Copyright (C) 2002 Free Software Foundation, Inc.
1093 This file is part of GNU Automake.
1095 GNU Automake is free software; you can redistribute it and/or modify
1096 it under the terms of the GNU General Public License as published by
1097 the Free Software Foundation; either version 2, or (at your option)
1100 GNU Automake is distributed in the hope that it will be useful,
1101 but WITHOUT ANY WARRANTY; without even the implied warranty of
1102 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1103 GNU General Public License for more details.
1105 You should have received a copy of the GNU General Public License
1106 along with autoconf; see the file COPYING. If not, write to
1107 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1108 Boston, MA 02111-1307, USA.