1 2002-05-29 Paul Eggert <eggert@twinsun.com>
3 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
6 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
7 of egrep and fgrep. Omit unnecessary -E and -F.
8 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
9 * lib/am/distdir.am (distdir): fgrep -> grep -F.
10 Use $(), not ${}, for Make variables.
11 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
13 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
14 * tests/defs: Set FGREP and EGREP.
16 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
17 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
18 tests/cond21.test, tests/condlib.test, tests/confh4.test,
19 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
20 tests/depend4.test, tests/discover.test, tests/distname.test,
21 tests/dup3.test, tests/empty4.test, tests/fo.test,
22 tests/implicit.test, tests/insh2.test, tests/interp.test,
23 tests/lex.test, tests/lex3.test, tests/lex4.test,
24 tests/libobj5.test, tests/libobj7.test, tests/make.test,
25 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
26 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
27 tests/pr2.test, tests/pr9.test, tests/seenc.test,
28 tests/specflags.test, tests/specflags3.test,
29 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
30 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
31 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
32 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
34 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
37 * m4/depend.m4: Missing comma.
38 * tests/gcj4.test: New file.
39 * tests/Makefile.am (TESTS): Add gcj4.test.
40 Reported by David Pashley.
42 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
44 * tests/defs (configure.in): Don't double-quote $me.
45 * tests/sinclude.test: Overwrite configure.in and use
46 `am__sinclude' instead of `sinclude' as package name.
47 Excercise `m4_sinclude' instead of `sinclude'.
49 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
51 * automake.in (conditional_implies_one_of): Rename as ...
52 (conditional_implies_any): ... this.
53 * tests/pluseq9.test: Exercise another case with the new
55 Suggested by Raja R Harinath.
57 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
59 * tests/defs (configure.in): Quote macro arguments.
60 Reported by Nicolas Joly.
62 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
64 * lib/am/header-vars.am (build_triplet, host_triplet,
65 target_triplet): Define. Were removed by mistake on 2002-04-13.
67 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
70 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
71 * tests/destdir.test: New file.
72 * tests/Makefile.am (TESTS): Add destdir.test.
74 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
76 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
77 (conditional_is_redundant): Simplify.
78 (conditional_implies_one_of,
79 variable_not_always_defined_in_cond): New functions
80 (macro_define): Reject appends if the variable is not defined in
81 all conditions where `+=' applies.
82 (invert_conditions): Rewrite. Before this patch,
83 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
84 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
85 wrong (these conditions implies "A_FALSE"). Now it outputs (),
86 which just means the input conditions cover all cases.
87 (variable_conditions_permutations): Never output FALSE conditions.
88 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
89 in the CHECK_FALSE condition to fix the test.
90 * tests/pluseq5.test: Actually check the diagnostic.
91 * tests/pluseq9.test: New file.
92 * tests/Makefile.am (TESTS): Add pluseq9.test.
94 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
96 Fix for PR automake/322:
97 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
98 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
99 Handle comments continued by backslashes.
100 * tests/comment6.test: New file.
101 * tests/Makefile.am (TESTS): Add comment6.test.
102 Reported by Braden N. McDaniel.
104 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
105 Alexandre Duret-Lutz <duret_g@epita.fr>
107 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
108 both `program$(EXEEXT)' and `program'; needed under Cygwin.
109 * tests/libtool3.test: New file.
110 * tests/Makefile.am (TESTS): Add libtool3.test.
112 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
116 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
118 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
120 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
122 Erase stamps from the Makefile that generates them.
124 * automake.in (handle_configure): Append each used stamp to
125 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
126 file is not used anymore.
127 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
129 * tests/subdir6.test: New file.
130 * tests/Makefile.am (TESTS): Add it.
132 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
134 Fix for condd.test (conditional `+='):
135 * automake.in (%appendvar): New.
136 (initialize_per_input): Clear it.
137 (macro_define): Handle += for variable defined in another condition.
138 * automake.texi (Conditional Sources): Use conditional += in
140 (General Operation, Conditionals): Remove note about broken +=.
141 * tests/cond21.test: New file.
142 * tests/condd.test: Also test conditional append to a _SOURCE
143 variable. Create missing directories.
144 * tests/Makefile.am (TESTS): Add cond21.test.
145 (XFAILS): Remove condd.test.
147 2002-05-05 Tom Tromey <tromey@redhat.com>
149 * automake.texi (Program and Library Variables): Mention _LFLAGS.
151 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
153 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
154 files. Fix subobj9.test on OSF and IRIX.
155 Reported by Nelson H. F. Beebe.
157 2002-04-26 Tom Tromey <tromey@redhat.com>
159 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
160 For Debian bug 144221.
162 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
164 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
166 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
168 * automake.in (subobjname): Use the length of %subobjvar
169 instead of $subobjnamenum.
170 (subobjnamenum): Remove.
172 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
175 * lib/depcomp: Never compute dependencies in the background, this
176 can cause races with libtool. Compute the dependencies after
177 the actual compilation. Don't make libtool silent now that
178 it's run in the foreground.
179 * tests/pr307.test: New file.
180 * tests/Makefile.am (TESTS): Add pr307.test.
181 Reported by Laurent Morichetti.
183 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
185 * lib/am/check.am: Show skipped tests. Display the
186 $(PACKAGE_BUGREPORT) address on failure.
188 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
191 * automake.in (subobjname): Rewrite to generate variable name
192 unique for each content.
193 (%substnums): Remove.
194 (%subobjvar): New hash.
195 (initialize_per_input): Clear %subobjvar.
196 (define_objects_from_sources): Return the name of the variable
197 defined, in addition to the linker. Call subobjname only once
198 the content of the variable to define is known.
199 (handle_source_transform): Adjust call to define_objects_from_sources.
200 * tests/specflags8.test: Mention PR 315.
201 * tests/subobjname.test: New file.
202 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
203 (TESTS): Add subobjname.test.
205 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
207 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
208 the whole file for 'generated by automake', not only the
209 first line. This accounts for post-processed Makefile.in's.
210 * tests/postproc.test: New file.
211 * tests/Makefile.am (TESTS): Add postproc.test.
213 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
215 For PR automake/151 and PR automake/314:
216 * automake.texi (A Program): Split into
217 (Program Sources, Linking, Conditional Sources, Conditional
218 Programs): ... these subsections; moving the Linking node
219 before the Conditional discussions.
220 (Conditional Sources): More details. Notably, mention
222 (Conditionals): Adjust reference to Conditional Programs.
224 2002-04-19 Paul Eggert <eggert@twinsun.com>
226 Fix some bugs when using "$@" when there might be zero positional
227 arguments in cases where this matters. Zsh doesn't support
228 the workaround ${1+"$@"} that has been used by Automake since
229 the Mon Dec 4 11:55:36 1995 change.
231 * aclocal.in: Use 'case' statement to work around problem.
232 * automake.in: Likewise.
233 * lib/ylwrap: Likewise.
234 * lib/missing: No need for workaround, as the command is never
235 invoked with zero arguments.
236 * tests/ccnoco.test: Likewise.
237 * missing: Update from lib/missing.
239 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
241 * automake.in (initialize_per_input): Clear %require_file_found.
242 (%require_file_found): Group the declaration with the other
243 variables initialized by initialize_per_input.
244 * tests/required.test: New file.
245 * tests/Makefile.am (TESTS): Add it.
246 Reported by Marius Vollmer.
248 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
250 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
251 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
252 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
253 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
254 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
256 * tests/confh5.test: New file.
257 * tests/Makefile.am (TESTS): Add confh5.test.
258 * automake.texi (Optional, Public macros): Update descriptions
259 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
261 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
263 * tests/man2.test: New file.
264 * tests/Makefile.am (TESTS): Add man2.test.
265 * lib/am/mans.am (install-man%SECTION%): Change the extension
266 of the man pages being installed, as documented.
268 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
270 Enable traces; wipe out the old configure.in parser.
272 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
273 'autoconf'. Honnor the $filename argument.
274 (scan_autoconf_files): Don't call scan_one_autoconf_file.
275 Always call scan_autoconf_traces.
276 (scan_one_autoconf_file): Remove, with it associated regexes.
277 (obsolete, obsolete_rx): Remove.
278 (register_language, handle_languages): Remove the 'define_flag'
279 support. Remove it from the struct and language definitions too.
280 (unquote_m4_arg): Remove.
281 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
282 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
283 are now generated automatically.
284 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
286 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
288 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
290 * tests/version6.test: New file.
291 * tests/Makefile.am (TESTS): Add tests/version6.test.
292 * automake.in (version_check): Return 0 on equality.
294 2002-04-13 Andreas Schwab <schwab@suse.de>
296 * THANKS: Update my mail address.
298 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
300 * tests/discover.test: Use a full configure.in that calls AC_INIT.
301 Use AC_LIBOBJ. Grep the error message.
302 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
303 Grep the error message. Require libtool.
304 * tests/ldflags.test: Don't use LIBOBJS.
305 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
306 error messages for CC and CXX.
308 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
310 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
312 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
313 * tests/ext.test: Enable dependencies for OBJC.
314 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
315 Delete. They tests for different flavors of $LIBOBJS assignments
316 that wont be supported anymore.
317 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
318 * tests/obsolete.test: Don't test Automake.
319 * tests/suffix5.test: Require libtool.
320 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
323 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
325 * configure.in (APIVERSION): Fix definition.
327 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
329 * NEWS: Catch up with changes since 1.6.
331 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
333 * tests/yacc8.test: Don't assume GNU make, run config.status
334 to regenerate the Makefile.
336 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
338 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
339 always followed by a SHELL setting.
340 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
341 SHELL when calling `$MAKE -e'.
343 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
345 * tests/subobj9.test: Use configure.in, not configure.ac,
346 otherwise this fails with old libtool versions.
348 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
350 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
353 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
355 * ChangeLog.2001: New file, extracted from ChangeLog.
356 * Makefile.am (EXTRA_DIST): Add it.
358 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
360 * automake.texi (Canonicalization): The sources for libmumble++.a
361 go into libmumble___a_SOURCES.
363 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
365 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
366 test suite. Suggest `sleep 2' instead.
367 * tests/confsub.test: Use `sleep 2'.
369 2002-04-04 Paul Eggert <eggert@twinsun.com>
372 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
373 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
374 MAKEFLAGS contains '$(...)'.
376 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
378 * tests/specflags8.test: Typo.
380 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
382 * tests/specflags6.test: Run aclocal.
383 * tests/Makefile.am (TESTS): Add specflags6.test.
385 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
387 * tests/specflags7.test, tests/specflags8.test: New files.
388 * tests/Makefile.am (TESTS): Add them.
389 (XFAIL_TESTS): Add specflags8.test.
391 2002-03-29 Tom Tromey <tromey@redhat.com>
393 * automake.in (check_typos): Examine AM_LDFLAGS.
394 Fixes PR automake/311.
397 * lib/am/libtool.am (clean-libtool): Use LTRMS.
398 * automake.in (handle_single_transform_list): When processing a
399 libtool object, clean the ordinary object and register the
401 (libtool_clean_directories): New global.
402 (initialize_per_input): Initialize it.
403 (generate_makefile): Call handle_libtool later.
404 (handle_libtool): Handle libtool_clean_directories.
405 * tests/subobj9.test: New file.
406 * tests/Makefile.am (TESTS): Added subobj9.test.
408 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
410 * tests/extra6.test, tests/subdir5.test: Require GNU make.
412 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
414 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
416 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
418 * tests/extra7.test: New file.
419 * tests/Makefile.am: Add it.
420 * lib/am/distdir.an (distdir): When a distribuable directory
421 exists both in `.' and $(srcdir), merge both directories. This
422 works around a failure of extra6.test on Tru64 reported by
425 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
427 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
429 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
431 * Makefile.am (maintainer-check): Catch occurrences of
432 `$MAKE foo=bar' in the testsuite. Suggest using
433 `foo=bar $MAKE -e' instead.
434 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
435 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
436 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
437 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
439 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
441 Fix for PR automake/310:
442 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
443 so it never appears as a plain word.
445 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
447 * lib/depcomp (tru64): Correctly compute `base'.
449 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
451 * tests/pr211.test: s/requires/required/, otherwise the test fails
452 if libtool is not installed.
454 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
456 * tests/dirname.test: Don't use $SHELL when calling ./configure.
458 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
460 * tests/dirname.test: Use --quiet to fix failure on installations
462 Reported by Nicolas Joly.
464 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
466 * Makefile.am (maintainer-check): Check for misuses of make,
467 autoconf, automake, aclocal, and perl in the testsuite. Suggest
468 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
469 * tests/confsub.test: Use $AUTOCONF and $MAKE.
470 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
471 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
472 tests/pr224.test, tests/pr287.test, tests/strip.test,
473 tests/yacc8.test: Use $MAKE.
475 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
477 Add support for two-dot versions.
479 * tests/version5.test: New file.
480 * tests/Makefile.am (TESTS): Add it.
481 * automake.in (version_split, version_compare): New functions.
482 (version_check): Rewrite using version_split and version_compare.
483 (process_option_list): Adjust regex.
485 2002-03-18 Richard Boulton <richard@tartarus.org>
487 Fix for PR automake/306:
488 * automake.texi (Generalities): Document +=.
489 (Conditionals): Document limitations of += with conditionals.
491 2002-03-17 Tom Tromey <tromey@redhat.com>
493 Fix for PR automake/295:
494 * automake.texi (Invoking Automake): Deprecate --output-dir.
495 * automake.in (usage): Don't document --output-dir.
496 (output_directory): Don't initialize.
497 (parse_arguments): Deprecate --output-dir.
499 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
500 Fixes PR automake/304.
502 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
504 * tests/dirforbid.test: Workaround for NetBSD sh bug.
505 Fixes PR automake/305.
507 2002-03-11 Richard Boulton <richard@tartarus.org>
509 * automake.in (check_typos): Allow variables with reserved
510 suffices (such as _LDFLAGS) and prefixes which aren't
511 recognised if the variable is defined in configure.ac.
514 2002-03-11 Richard Boulton <richard@tartarus.org>
516 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
517 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
518 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
520 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
522 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
525 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
527 Fix for PR automake/303:
528 * automake.in (version_check): Move the error message ...
529 (process_option_list): ... here, so we can distinguish between
530 global and local options.
532 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
534 * tests/pr300-lib.test, tests/pr300-ltlib.test,
535 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
536 Autoconf doesn't complain about Makefile being output twice.
538 2002-03-06 Tom Tromey <tromey@redhat.com>
540 * configure.in: Upped version to 1.6a.
542 2002-03-05 Tom Tromey <tromey@redhat.com>
544 * configure.in: Released 1.6.
546 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
548 Fix for PR automake/300:
549 * tests/pr300-lib.test, tests/pr300-ltlib.test,
550 tests/pr300-prog.test: New files.
551 * tests/Makefile.am (TESTS): Add them.
552 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
553 compute the directory.
554 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
555 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
556 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
557 (uninstall-%DIR%LIBRARIES): Honor nobase_.
558 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
559 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
560 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
561 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
562 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
563 (uninstall-%DIR%PROGRAMS): Honor nobase_.
564 See also the fix for nobase.test on 2001-11-09.
566 2002-03-05 Tom Tromey <tromey@redhat.com>
568 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
570 2002-03-05 Pavel Roskin <proski@gnu.org>
572 * tests/yacc8.test: Add a command between "test" and "cd" to
573 work around a bug in bash-2.05.
575 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
577 Fix for PR automake/294:
578 * tests/dirforbid.test: New file.
579 * tests/Makefile.am (TESTS): Add it.
580 * automake.in (standard_prefix): New hash.
581 (am_primary_prefixes): Forbid standard_prefixes which are not
583 * automake.texi (Uniform): Remove FIXME.
585 2002-03-05 Jim Meyering <meyering@lucent.com>
587 * automake.in (@common_files): Add config.rpath.
589 2002-03-05 Kevin Ryde <user42@zip.com.au>
592 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
593 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
596 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
598 * automake.in (scan_one_autoconf_file): Declare
599 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
600 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
601 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
602 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
603 of s/// in the sed invocation, to support filenames containing
605 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
606 * tests/lex5.test, tests/yacc8.test: New files.
607 * tests/Makefile.am (TESTS): Add them.
609 2002-02-23 Per Bothner <per@bothner.com>
611 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
614 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
616 * tests/make.test: Revert the grep logic to work around a bug
617 in NetBSD sh (see NetBSD Problem Report #11542).
618 Reported by Patrick Welche.
620 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
622 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
623 to try and prevent a non-lisp emacs from starting in interactive
625 * automake.texi: Document this change.
627 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
629 * automake.texi (Macros): Split into ...
630 (Public Macros, Private Macros): ... these.
632 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
634 * tests/insthook.test: Use sed instead of "tail +X".
636 2002-02-18 Paul Eggert <eggert@twinsun.com>
638 * lib/depcomp: Don't use "tail +3"; it's not portable to
639 POSIX 1003.1-2001 hosts.
641 2002-02-18 Jim Meyering <meyering@lucent.com>
643 * tests/cond12.test: Use sed 1q, not `head -n 1'.
644 The latter is not portable to some old systems.
645 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
646 Use `sed 1q' instead.
647 * tests/insthook.test: Likewise.
649 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
651 * automake.in (handle_lib_objects_cond): Tell the user to put
652 global linker flags in AM_LDFLAGS, not LDFLAGS.
654 * automake.texi (General Operation): AC_SUBST'ed variables
655 override Automake's variables.
656 (Uniform): More words and @refs.
657 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
658 (etags): More explanations about the first example.
659 (Invoking Automake): Mention autoreconf. More @refs.
660 (Requirements): Mention AC_CONFIG_FILES.
661 (Optional): AC_CHECK_TOOL will no longer install config.sub and
662 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
663 (Invoking aclocal): aclocal no longer warn about duplicates.
664 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
665 (Extending aclocal): Suggest using the output of
666 `aclocal --print-ac-dir` to install third-party macros.
667 (Alternative): Specify ordering of dist_, nodist_, and nobase_
669 (A Program): Mention scripts. The global LDADD variable is not
670 meant to hold link flags, suggest using AM_LDFLAGS instead.
671 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
672 _LIBADD and _LDADD are subject to the same restriction wrt to
674 (Program and Library Variables) <maude_DEPENDECIES>: Is also
675 derived from maude_LIBADD.
676 (Program variables): Define AM_LDFLAGS.
677 (Dependencies): Passing the no-dependencies option to
678 AM_INIT_AUTOMAKE is prefered.
679 (Scripts): Explain why automake is magically cleaned.
680 Mention noinst_SCRIPTS and check_SCRIPTS.
681 (Data): Use dist_ in Automake's example.
682 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
683 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
685 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
687 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
688 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
689 of asking the maintainer to do it manually.
690 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
691 Automake/XFile.pm: New upstream versions.
693 2002-02-02 Tom Tromey <tromey@redhat.com>
695 * automake.texi (Macros): Warn about upgrading.
697 2002-02-01 Tom Tromey <tromey@redhat.com>
699 Change per GNU coding standards:
700 * aclocal.in (parse_arguments): Only mention most recent year in
702 * automake.in (version): Only mention most recent year.
704 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
706 * automake.texi (API versioning): New Node.
707 (Extending): Use $(DESTDIR) in examples.
709 2002-01-28 Akim Demaille <akim@epita.fr>
711 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
712 Respect the --help layout.
714 2002-01-27 Tom Tromey <tromey@redhat.com>
716 * configure.in: Bumped to 1.5e.
718 * lib/am/yacc.am: Use `rm -f'.
720 * configure.in: Released 1.5d.
722 * lib/config.guess: New version from FSF.
724 * Makefile.am (uninstall-hook): New target.
726 2002-01-24 Akim Demaille <akim@epita.fr>
728 * lib/install-sh: Update, from Autoconf.
730 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
732 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
733 as AC_CANONICAL_HOST (the former does not require the latter since
735 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
736 * automake.texi (Requirements): Do not require STRIP to be
739 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
741 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
742 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
743 * tests/pr224.test: Make sure .deps subdirectories are
746 2002-01-22 Tom Tromey <tromey@redhat.com>
748 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
749 no-dependencies option is set.
750 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
751 no-dependencies option is set. Don't call AM_DEP_TRACK or
754 2002-01-22 Pavel Roskin <proski@gnu.org>
756 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
759 2002-01-22 Akim Demaille <akim@epita.fr>
761 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
764 2002-01-21 Tom Tromey <tromey@redhat.com>
766 * Makefile.am (fetch): Don't fetch ansi2knr.
768 * automake.texi (Macros): Updated for new variable names.
769 (Program and Library Variables): Likewise.
770 (Assembly Support): Likewise.
771 * m4/as.m4: Use CCAS and CCASFLAGS.
772 * automake.in (asm): Use CCAS and CCASFLAGS.
774 2002-01-21 Akim Demaille <akim@epita.fr>
776 * automake.in (&parse_arguments): Use a more GNUish error message
779 2002-01-20 Tom Tromey <tromey@redhat.com>
781 Fix for PR automake/231:
782 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
783 * m4/depend.m4: Document `GCJ'.
786 * tests/Makefile.am (TESTS): Added pr224.test.
787 * tests/pr224.test: New file.
788 * lib/depcomp: Fixed computation of depfile.
789 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
790 * automake.in (handle_single_transform_list): Only reject `..'
791 component for Java. Put dependencies in directory near object.
792 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
794 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
796 * tests/defs: Export AUTOMAKE and ACLOCAL.
798 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
800 Fix for PR automake/204:
801 * tests/pr204.test: New file.
802 * tests/Makefile.am (TESTS): Add it.
803 * automake.in (handle_single_transform_list): Don't distribute
804 sources derived from non-distributed sources.
806 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
808 Fix for PR automake/229:
809 * tests/pr229.test: New file.
810 * tests/Makefile.am (TESTS): Add it.
811 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
812 AC_EMXOS2, and AC_MINGW32.
814 2002-01-18 Tom Tromey <tromey@redhat.com>
816 * tests/cond7.test: Fix test bug exposed by copyright update.
819 * automake.in (lang_c_rewrite): Don't prepend directory to base if
820 directory is `.'. Also, properly compute de_ansi_files entry in
822 * tests/Makefile.am (TESTS): Added ansi7.test.
823 * tests/ansi7.test: New file.
825 * aclocal.in (parse_arguments): Added 2002.
826 (write_aclocal): Likewise.
827 (parse_arguments): Updated my email address.
828 * automake.in (gen_copyright): Added 2002.
829 (version): Likewise. Also, changed my email address.
831 * configure.in (APIVERSION): Refined definition.
833 2002-01-18 Tom Tromey <tromey@redhat.com>
836 * lib/missing: Accept versioned aclocal.
837 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
839 2002-01-17 Pavel Roskin <proski@gnu.org>
841 * m4/Makefile.am (m4datadir): Use APIVERSION.
843 2002-01-16 Tom Tromey <tromey@redhat.com>
845 * Makefile.am (install-exec-hook): Use APIVERSION.
846 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
847 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
849 * automake.in (perllibdir): Use APIVERSION.
851 * aclocal.in (perllibdir): Use APIVERSION.
852 (APIVERSION): New global.
853 (parse_arguments): Use APIVERSION.
854 * configure.in (APIVERSION): New subst.
855 (pkgvdatadir): Use APIVERSION.
857 2002-01-15 Tom Tromey <tromey@redhat.com>
860 * lib/missing: Match against `automake*' to pick up versioned
862 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
863 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
865 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
866 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
868 (scriptdir): Use pkgvdatadir.
869 (installcheck-local): Likewise.
870 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
871 * automake.in (perllibdir): Added VERSION.
873 * aclocal.in (parse_arguments): Search versioned directory. Don't
874 push unversioned directory unless it exists.
875 (perllibdir): Added VERSION.
876 (default_acdir): New global.
877 * m4/Makefile.am (m4datadir): Added $(VERSION).
878 * Makefile.am (install-exec-hook): New target.
879 * configure.in (ACLOCAL): Search build directory.
880 (pkgvdatadir): New subst.
882 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
884 * lib/config.sub, lib/config.guess: New versions from FSF.
886 2002-01-13 Tom Tromey <tromey@redhat.com>
889 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
891 (lang_c_finish): Likewise. Also, use directory information from
894 2002-01-13 Kevin Ryde <user42@zip.com.au>
897 * tests/Makefile.am (TESTS): Added ansi6.test.
898 * tests/ansi6.test: New file.
900 2002-01-13 Tom Tromey <tromey@redhat.com>
903 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
905 * tests/Makefile.am (TESTS): Added pr287.test.
906 * tests/pr287.test: New file.
908 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
910 * lib/am/distdir.am (distdir): Handle subdirectories.
911 * tests/extra6.test: New file.
912 * tests/Makefile.am (TESTS): Add it.
914 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
916 * tests/extra2.test: Run $ACLOCAL.
918 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
920 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
921 AM_INIT_AUTOMAKE arguments when using the old-style call.
922 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
923 Suggested by Pavel Roskin.
925 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
927 * test/nodefine.test, test/nodefine2.test: Check that no-define
928 works, not the contrary...
929 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
930 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
933 2002-01-12 Jim Meyering <meyering@lucent.com>
935 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
936 * tests/libobj11.test: New file.
937 * tests/Makefile.am (TESTS): Add libobj11.test.
939 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
941 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
943 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
945 * automake.in (file_contents_internal): Introduce two variables,
946 $is_rule and $discard_rules to track rules spanning across multiple
947 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
948 where only the first paragraph of such a multi-paragraph rule was
949 discarded; but it leaves many similar latent bugs (see the FIXMEs).
951 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
953 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
954 * tests/error.test: Use some macro names which are not defined by
957 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
959 * automake.texi (Complete, Macros, Options): Document the new style
960 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
961 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
962 AC_INIT if they are available there. Support a new call form
963 where the only argument is an optional space-separated list of
965 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
966 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
967 _AM_IF_OPTION): New functions.
968 * automake.in (AC_INIT_PATTERN): New variable.
969 (global_options_line): Remove, use $seen_init_automake instead.
970 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
971 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
972 Remove the AM_AUTOMAKE_OPTIONS handling.
973 * configure.in: Modernize.
974 * tests/defs (configure.in): Modernize. One third of the tests
975 still overwrite the default configure.in and use an old
976 AM_INIT_AUTOMAKE call, so that makes testing for both.
977 * tests/nodefine.test, tests/nodefine2.test: New files.
978 * tests/Makefile.am (TESTS): Add them.
980 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
982 * automake.in (define_configure_variable): Propagate line numbers.
984 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
986 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
988 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
990 * configure.in: Run the Autoconf test in a subdirectory, then
991 erase this directory.
993 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
995 * configure.in (AUTOMAKE): Create m4/amversion.m4.
996 * m4/amversion.in: New file.
997 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
998 (dist_m4data_DATA): ... this.
999 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1000 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1001 AM_SET_CURRENT_AUTOMAKE_VERSION.
1002 * automake.in (seen_automake_version): New variable.
1003 (scan_autoconf_traces, scan_one_autoconf_file,
1004 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1005 when the version used in aclocal.m4 differs from Automake's.
1006 * tests/defs (ACLOCAL): Look in ../m4 too.
1007 * tests/installsh.test (ACLOCAL): Likewise.
1008 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1010 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1012 * automake.in (handle_languages): Emit an automake
1013 internal variable 'am__depfiles_maybe'.
1014 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1016 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1019 2002-01-06 Tom Tromey <tromey@redhat.com>
1021 * automake.texi (Tags): Document new variables.
1022 * lib/am/tags.am (ETAGS): New macro.
1023 (ETAGSFLAGS): Likewise.
1026 2002-01-04 Tom Tromey <tromey@redhat.com>
1028 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1030 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1032 * automake.in (read_am_file): Thinko in "comment following
1033 trailing backslash" detection.
1034 * tests/comment5.test: Test for this too.
1036 2002-01-02 Tom Tromey <tromey@redhat.com>
1038 * automake.texi (Extending): Added index for uninstall-hook.
1040 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1042 Fix for PR automake/278:
1043 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1044 with versions such as '2.2c1'. Also, use `int' instead of the
1045 obsoleted `string.atoi'.
1046 Reported by Enrico Scholz.
1048 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1050 Fix for PR automake/280:
1051 * automake.in (read_am_file): Warn about trailing backslashes
1053 * tests/comment5.test: New file.
1054 * tests/Makefile.am (TESTS): Add comment5.test.
1055 Reported by Enrico Scholz.
1057 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1059 * tests/comment4.test: New file.
1060 * tests/Makefile.am (TESTS): Add comment4.test.
1062 Fix for comment4.test:
1063 * automake.in (read_am_file): Output leading comments only when
1064 encountering white lines.
1066 2002-01-01 Tom Tromey <tromey@redhat.com>
1068 For PR automake/234:
1069 * tests/Makefile.am (TESTS): Added strip.test.
1070 * tests/strip.test: New file.
1072 * automake.texi (Extending): Mention uninstall-hook.
1073 (Install): Likewise.
1074 * automake.in (handle_factored_dependencies): Allow
1077 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1079 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1080 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1081 This fixes a bug introduced on 2001-01-28.
1082 Reported by Jared Davis.
1086 Copyright (C) 2002 Free Software Foundation, Inc.
1088 This file is part of GNU Automake.
1090 GNU Automake is free software; you can redistribute it and/or modify
1091 it under the terms of the GNU General Public License as published by
1092 the Free Software Foundation; either version 2, or (at your option)
1095 GNU Automake is distributed in the hope that it will be useful,
1096 but WITHOUT ANY WARRANTY; without even the implied warranty of
1097 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1098 GNU General Public License for more details.
1100 You should have received a copy of the GNU General Public License
1101 along with autoconf; see the file COPYING. If not, write to
1102 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1103 Boston, MA 02111-1307, USA.