1 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * tests/defs (configure.in): Quote macro arguments.
4 Reported by Nicolas Joly.
6 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
8 * lib/am/header-vars.am (build_triplet, host_triplet,
9 target_triplet): Define. Were removed by mistake on 2002-04-13.
11 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
14 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
15 * tests/destdir.test: New file.
16 * tests/Makefile.am (TESTS): Add destdir.test.
18 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
20 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
21 (conditional_is_redundant): Simplify.
22 (conditional_implies_one_of,
23 variable_not_always_defined_in_cond): New functions
24 (macro_define): Reject appends if the variable is not defined in
25 all conditions where `+=' applies.
26 (invert_conditions): Rewrite. Before this patch,
27 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
28 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
29 wrong (these conditions implies "A_FALSE"). Now it outputs (),
30 which just means the input conditions cover all cases.
31 (variable_conditions_permutations): Never output FALSE conditions.
32 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
33 in the CHECK_FALSE condition to fix the test.
34 * tests/pluseq5.test: Actually check the diagnostic.
35 * tests/pluseq9.test: New file.
36 * tests/Makefile.am (TESTS): Add pluseq9.test.
38 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
40 Fix for PR automake/322:
41 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
42 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
43 Handle comments continued by backslashes.
44 * tests/comment6.test: New file.
45 * tests/Makefile.am (TESTS): Add comment6.test.
46 Reported by Braden N. McDaniel.
48 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
49 Alexandre Duret-Lutz <duret_g@epita.fr>
51 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
52 both `program$(EXEEXT)' and `program'; needed under Cygwin.
53 * tests/libtool3.test: New file.
54 * tests/Makefile.am (TESTS): Add libtool3.test.
56 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
60 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
62 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
64 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
66 Erase stamps from the Makefile that generates them.
68 * automake.in (handle_configure): Append each used stamp to
69 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
70 file is not used anymore.
71 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
73 * tests/subdir6.test: New file.
74 * tests/Makefile.am (TESTS): Add it.
76 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
78 Fix for condd.test (conditional `+='):
79 * automake.in (%appendvar): New.
80 (initialize_per_input): Clear it.
81 (macro_define): Handle += for variable defined in another condition.
82 * automake.texi (Conditional Sources): Use conditional += in
84 (General Operation, Conditionals): Remove note about broken +=.
85 * tests/cond21.test: New file.
86 * tests/condd.test: Also test conditional append to a _SOURCE
87 variable. Create missing directories.
88 * tests/Makefile.am (TESTS): Add cond21.test.
89 (XFAILS): Remove condd.test.
91 2002-05-05 Tom Tromey <tromey@redhat.com>
93 * automake.texi (Program and Library Variables): Mention _LFLAGS.
95 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
97 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
98 files. Fix subobj9.test on OSF and IRIX.
99 Reported by Nelson H. F. Beebe.
101 2002-04-26 Tom Tromey <tromey@redhat.com>
103 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
104 For Debian bug 144221.
106 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
108 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
110 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
112 * automake.in (subobjname): Use the length of %subobjvar
113 instead of $subobjnamenum.
114 (subobjnamenum): Remove.
116 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
119 * lib/depcomp: Never compute dependencies in the background, this
120 can cause races with libtool. Compute the dependencies after
121 the actual compilation. Don't make libtool silent now that
122 it's run in the foreground.
123 * tests/pr307.test: New file.
124 * tests/Makefile.am (TESTS): Add pr307.test.
125 Reported by Laurent Morichetti.
127 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
129 * lib/am/check.am: Show skipped tests. Display the
130 $(PACKAGE_BUGREPORT) address on failure.
132 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
135 * automake.in (subobjname): Rewrite to generate variable name
136 unique for each content.
137 (%substnums): Remove.
138 (%subobjvar): New hash.
139 (initialize_per_input): Clear %subobjvar.
140 (define_objects_from_sources): Return the name of the variable
141 defined, in addition to the linker. Call subobjname only once
142 the content of the variable to define is known.
143 (handle_source_transform): Adjust call to define_objects_from_sources.
144 * tests/specflags8.test: Mention PR 315.
145 * tests/subobjname.test: New file.
146 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
147 (TESTS): Add subobjname.test.
149 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
151 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
152 the whole file for 'generated by automake', not only the
153 first line. This accounts for post-processed Makefile.in's.
154 * tests/postproc.test: New file.
155 * tests/Makefile.am (TESTS): Add postproc.test.
157 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
159 For PR automake/151 and PR automake/314:
160 * automake.texi (A Program): Split into
161 (Program Sources, Linking, Conditional Sources, Conditional
162 Programs): ... these subsections; moving the Linking node
163 before the Conditional discussions.
164 (Conditional Sources): More details. Notably, mention
166 (Conditionals): Adjust reference to Conditional Programs.
168 2002-04-19 Paul Eggert <eggert@twinsun.com>
170 Fix some bugs when using "$@" when there might be zero positional
171 arguments in cases where this matters. Zsh doesn't support
172 the workaround ${1+"$@"} that has been used by Automake since
173 the Mon Dec 4 11:55:36 1995 change.
175 * aclocal.in: Use 'case' statement to work around problem.
176 * automake.in: Likewise.
177 * lib/ylwrap: Likewise.
178 * lib/missing: No need for workaround, as the command is never
179 invoked with zero arguments.
180 * tests/ccnoco.test: Likewise.
181 * missing: Update from lib/missing.
183 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
185 * automake.in (initialize_per_input): Clear %require_file_found.
186 (%require_file_found): Group the declaration with the other
187 variables initialized by initialize_per_input.
188 * tests/required.test: New file.
189 * tests/Makefile.am (TESTS): Add it.
190 Reported by Marius Vollmer.
192 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
194 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
195 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
196 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
197 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
198 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
200 * tests/confh5.test: New file.
201 * tests/Makefile.am (TESTS): Add confh5.test.
202 * automake.texi (Optional, Public macros): Update descriptions
203 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
205 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
207 * tests/man2.test: New file.
208 * tests/Makefile.am (TESTS): Add man2.test.
209 * lib/am/mans.am (install-man%SECTION%): Change the extension
210 of the man pages being installed, as documented.
212 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
214 Enable traces; wipe out the old configure.in parser.
216 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
217 'autoconf'. Honnor the $filename argument.
218 (scan_autoconf_files): Don't call scan_one_autoconf_file.
219 Always call scan_autoconf_traces.
220 (scan_one_autoconf_file): Remove, with it associated regexes.
221 (obsolete, obsolete_rx): Remove.
222 (register_language, handle_languages): Remove the 'define_flag'
223 support. Remove it from the struct and language definitions too.
224 (unquote_m4_arg): Remove.
225 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
226 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
227 are now generated automatically.
228 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
230 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
232 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
234 * tests/version6.test: New file.
235 * tests/Makefile.am (TESTS): Add tests/version6.test.
236 * automake.in (version_check): Return 0 on equality.
238 2002-04-13 Andreas Schwab <schwab@suse.de>
240 * THANKS: Update my mail address.
242 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
244 * tests/discover.test: Use a full configure.in that calls AC_INIT.
245 Use AC_LIBOBJ. Grep the error message.
246 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
247 Grep the error message. Require libtool.
248 * tests/ldflags.test: Don't use LIBOBJS.
249 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
250 error messages for CC and CXX.
252 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
254 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
256 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
257 * tests/ext.test: Enable dependencies for OBJC.
258 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
259 Delete. They tests for different flavors of $LIBOBJS assignments
260 that wont be supported anymore.
261 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
262 * tests/obsolete.test: Don't test Automake.
263 * tests/suffix5.test: Require libtool.
264 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
267 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
269 * configure.in (APIVERSION): Fix definition.
271 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
273 * NEWS: Catch up with changes since 1.6.
275 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
277 * tests/yacc8.test: Don't assume GNU make, run config.status
278 to regenerate the Makefile.
280 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
282 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
283 always followed by a SHELL setting.
284 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
285 SHELL when calling `$MAKE -e'.
287 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
289 * tests/subobj9.test: Use configure.in, not configure.ac,
290 otherwise this fails with old libtool versions.
292 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
294 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
297 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
299 * ChangeLog.2001: New file, extracted from ChangeLog.
300 * Makefile.am (EXTRA_DIST): Add it.
302 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
304 * automake.texi (Canonicalization): The sources for libmumble++.a
305 go into libmumble___a_SOURCES.
307 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
309 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
310 test suite. Suggest `sleep 2' instead.
311 * tests/confsub.test: Use `sleep 2'.
313 2002-04-04 Paul Eggert <eggert@twinsun.com>
316 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
317 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
318 MAKEFLAGS contains '$(...)'.
320 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
322 * tests/specflags8.test: Typo.
324 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
326 * tests/specflags6.test: Run aclocal.
327 * tests/Makefile.am (TESTS): Add specflags6.test.
329 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
331 * tests/specflags7.test, tests/specflags8.test: New files.
332 * tests/Makefile.am (TESTS): Add them.
333 (XFAIL_TESTS): Add specflags8.test.
335 2002-03-29 Tom Tromey <tromey@redhat.com>
337 * automake.in (check_typos): Examine AM_LDFLAGS.
338 Fixes PR automake/311.
341 * lib/am/libtool.am (clean-libtool): Use LTRMS.
342 * automake.in (handle_single_transform_list): When processing a
343 libtool object, clean the ordinary object and register the
345 (libtool_clean_directories): New global.
346 (initialize_per_input): Initialize it.
347 (generate_makefile): Call handle_libtool later.
348 (handle_libtool): Handle libtool_clean_directories.
349 * tests/subobj9.test: New file.
350 * tests/Makefile.am (TESTS): Added subobj9.test.
352 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
354 * tests/extra6.test, tests/subdir5.test: Require GNU make.
356 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
358 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
360 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
362 * tests/extra7.test: New file.
363 * tests/Makefile.am: Add it.
364 * lib/am/distdir.an (distdir): When a distribuable directory
365 exists both in `.' and $(srcdir), merge both directories. This
366 works around a failure of extra6.test on Tru64 reported by
369 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
371 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
373 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
375 * Makefile.am (maintainer-check): Catch occurrences of
376 `$MAKE foo=bar' in the testsuite. Suggest using
377 `foo=bar $MAKE -e' instead.
378 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
379 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
380 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
381 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
383 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
385 Fix for PR automake/310:
386 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
387 so it never appears as a plain word.
389 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
391 * lib/depcomp (tru64): Correctly compute `base'.
393 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
395 * tests/pr211.test: s/requires/required/, otherwise the test fails
396 if libtool is not installed.
398 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
400 * tests/dirname.test: Don't use $SHELL when calling ./configure.
402 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
404 * tests/dirname.test: Use --quiet to fix failure on installations
406 Reported by Nicolas Joly.
408 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
410 * Makefile.am (maintainer-check): Check for misuses of make,
411 autoconf, automake, aclocal, and perl in the testsuite. Suggest
412 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
413 * tests/confsub.test: Use $AUTOCONF and $MAKE.
414 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
415 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
416 tests/pr224.test, tests/pr287.test, tests/strip.test,
417 tests/yacc8.test: Use $MAKE.
419 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
421 Add support for two-dot versions.
423 * tests/version5.test: New file.
424 * tests/Makefile.am (TESTS): Add it.
425 * automake.in (version_split, version_compare): New functions.
426 (version_check): Rewrite using version_split and version_compare.
427 (process_option_list): Adjust regex.
429 2002-03-18 Richard Boulton <richard@tartarus.org>
431 Fix for PR automake/306:
432 * automake.texi (Generalities): Document +=.
433 (Conditionals): Document limitations of += with conditionals.
435 2002-03-17 Tom Tromey <tromey@redhat.com>
437 Fix for PR automake/295:
438 * automake.texi (Invoking Automake): Deprecate --output-dir.
439 * automake.in (usage): Don't document --output-dir.
440 (output_directory): Don't initialize.
441 (parse_arguments): Deprecate --output-dir.
443 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
444 Fixes PR automake/304.
446 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
448 * tests/dirforbid.test: Workaround for NetBSD sh bug.
449 Fixes PR automake/305.
451 2002-03-11 Richard Boulton <richard@tartarus.org>
453 * automake.in (check_typos): Allow variables with reserved
454 suffices (such as _LDFLAGS) and prefixes which aren't
455 recognised if the variable is defined in configure.ac.
458 2002-03-11 Richard Boulton <richard@tartarus.org>
460 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
461 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
462 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
464 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
466 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
469 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
471 Fix for PR automake/303:
472 * automake.in (version_check): Move the error message ...
473 (process_option_list): ... here, so we can distinguish between
474 global and local options.
476 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
478 * tests/pr300-lib.test, tests/pr300-ltlib.test,
479 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
480 Autoconf doesn't complain about Makefile being output twice.
482 2002-03-06 Tom Tromey <tromey@redhat.com>
484 * configure.in: Upped version to 1.6a.
486 2002-03-05 Tom Tromey <tromey@redhat.com>
488 * configure.in: Released 1.6.
490 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
492 Fix for PR automake/300:
493 * tests/pr300-lib.test, tests/pr300-ltlib.test,
494 tests/pr300-prog.test: New files.
495 * tests/Makefile.am (TESTS): Add them.
496 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
497 compute the directory.
498 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
499 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
500 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
501 (uninstall-%DIR%LIBRARIES): Honor nobase_.
502 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
503 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
504 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
505 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
506 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
507 (uninstall-%DIR%PROGRAMS): Honor nobase_.
508 See also the fix for nobase.test on 2001-11-09.
510 2002-03-05 Tom Tromey <tromey@redhat.com>
512 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
514 2002-03-05 Pavel Roskin <proski@gnu.org>
516 * tests/yacc8.test: Add a command between "test" and "cd" to
517 work around a bug in bash-2.05.
519 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
521 Fix for PR automake/294:
522 * tests/dirforbid.test: New file.
523 * tests/Makefile.am (TESTS): Add it.
524 * automake.in (standard_prefix): New hash.
525 (am_primary_prefixes): Forbid standard_prefixes which are not
527 * automake.texi (Uniform): Remove FIXME.
529 2002-03-05 Jim Meyering <meyering@lucent.com>
531 * automake.in (@common_files): Add config.rpath.
533 2002-03-05 Kevin Ryde <user42@zip.com.au>
536 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
537 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
540 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
542 * automake.in (scan_one_autoconf_file): Declare
543 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
544 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
545 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
546 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
547 of s/// in the sed invocation, to support filenames containing
549 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
550 * tests/lex5.test, tests/yacc8.test: New files.
551 * tests/Makefile.am (TESTS): Add them.
553 2002-02-23 Per Bothner <per@bothner.com>
555 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
558 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
560 * tests/make.test: Revert the grep logic to work around a bug
561 in NetBSD sh (see NetBSD Problem Report #11542).
562 Reported by Patrick Welche.
564 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
566 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
567 to try and prevent a non-lisp emacs from starting in interactive
569 * automake.texi: Document this change.
571 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
573 * automake.texi (Macros): Split into ...
574 (Public Macros, Private Macros): ... these.
576 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
578 * tests/insthook.test: Use sed instead of "tail +X".
580 2002-02-18 Paul Eggert <eggert@twinsun.com>
582 * lib/depcomp: Don't use "tail +3"; it's not portable to
583 POSIX 1003.1-2001 hosts.
585 2002-02-18 Jim Meyering <meyering@lucent.com>
587 * tests/cond12.test: Use sed 1q, not `head -n 1'.
588 The latter is not portable to some old systems.
589 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
590 Use `sed 1q' instead.
591 * tests/insthook.test: Likewise.
593 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
595 * automake.in (handle_lib_objects_cond): Tell the user to put
596 global linker flags in AM_LDFLAGS, not LDFLAGS.
598 * automake.texi (General Operation): AC_SUBST'ed variables
599 override Automake's variables.
600 (Uniform): More words and @refs.
601 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
602 (etags): More explanations about the first example.
603 (Invoking Automake): Mention autoreconf. More @refs.
604 (Requirements): Mention AC_CONFIG_FILES.
605 (Optional): AC_CHECK_TOOL will no longer install config.sub and
606 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
607 (Invoking aclocal): aclocal no longer warn about duplicates.
608 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
609 (Extending aclocal): Suggest using the output of
610 `aclocal --print-ac-dir` to install third-party macros.
611 (Alternative): Specify ordering of dist_, nodist_, and nobase_
613 (A Program): Mention scripts. The global LDADD variable is not
614 meant to hold link flags, suggest using AM_LDFLAGS instead.
615 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
616 _LIBADD and _LDADD are subject to the same restriction wrt to
618 (Program and Library Variables) <maude_DEPENDECIES>: Is also
619 derived from maude_LIBADD.
620 (Program variables): Define AM_LDFLAGS.
621 (Dependencies): Passing the no-dependencies option to
622 AM_INIT_AUTOMAKE is prefered.
623 (Scripts): Explain why automake is magically cleaned.
624 Mention noinst_SCRIPTS and check_SCRIPTS.
625 (Data): Use dist_ in Automake's example.
626 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
627 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
629 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
631 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
632 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
633 of asking the maintainer to do it manually.
634 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
635 Automake/XFile.pm: New upstream versions.
637 2002-02-02 Tom Tromey <tromey@redhat.com>
639 * automake.texi (Macros): Warn about upgrading.
641 2002-02-01 Tom Tromey <tromey@redhat.com>
643 Change per GNU coding standards:
644 * aclocal.in (parse_arguments): Only mention most recent year in
646 * automake.in (version): Only mention most recent year.
648 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
650 * automake.texi (API versioning): New Node.
651 (Extending): Use $(DESTDIR) in examples.
653 2002-01-28 Akim Demaille <akim@epita.fr>
655 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
656 Respect the --help layout.
658 2002-01-27 Tom Tromey <tromey@redhat.com>
660 * configure.in: Bumped to 1.5e.
662 * lib/am/yacc.am: Use `rm -f'.
664 * configure.in: Released 1.5d.
666 * lib/config.guess: New version from FSF.
668 * Makefile.am (uninstall-hook): New target.
670 2002-01-24 Akim Demaille <akim@epita.fr>
672 * lib/install-sh: Update, from Autoconf.
674 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
676 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
677 as AC_CANONICAL_HOST (the former does not require the latter since
679 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
680 * automake.texi (Requirements): Do not require STRIP to be
683 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
685 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
686 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
687 * tests/pr224.test: Make sure .deps subdirectories are
690 2002-01-22 Tom Tromey <tromey@redhat.com>
692 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
693 no-dependencies option is set.
694 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
695 no-dependencies option is set. Don't call AM_DEP_TRACK or
698 2002-01-22 Pavel Roskin <proski@gnu.org>
700 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
703 2002-01-22 Akim Demaille <akim@epita.fr>
705 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
708 2002-01-21 Tom Tromey <tromey@redhat.com>
710 * Makefile.am (fetch): Don't fetch ansi2knr.
712 * automake.texi (Macros): Updated for new variable names.
713 (Program and Library Variables): Likewise.
714 (Assembly Support): Likewise.
715 * m4/as.m4: Use CCAS and CCASFLAGS.
716 * automake.in (asm): Use CCAS and CCASFLAGS.
718 2002-01-21 Akim Demaille <akim@epita.fr>
720 * automake.in (&parse_arguments): Use a more GNUish error message
723 2002-01-20 Tom Tromey <tromey@redhat.com>
725 Fix for PR automake/231:
726 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
727 * m4/depend.m4: Document `GCJ'.
730 * tests/Makefile.am (TESTS): Added pr224.test.
731 * tests/pr224.test: New file.
732 * lib/depcomp: Fixed computation of depfile.
733 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
734 * automake.in (handle_single_transform_list): Only reject `..'
735 component for Java. Put dependencies in directory near object.
736 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
738 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
740 * tests/defs: Export AUTOMAKE and ACLOCAL.
742 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
744 Fix for PR automake/204:
745 * tests/pr204.test: New file.
746 * tests/Makefile.am (TESTS): Add it.
747 * automake.in (handle_single_transform_list): Don't distribute
748 sources derived from non-distributed sources.
750 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
752 Fix for PR automake/229:
753 * tests/pr229.test: New file.
754 * tests/Makefile.am (TESTS): Add it.
755 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
756 AC_EMXOS2, and AC_MINGW32.
758 2002-01-18 Tom Tromey <tromey@redhat.com>
760 * tests/cond7.test: Fix test bug exposed by copyright update.
763 * automake.in (lang_c_rewrite): Don't prepend directory to base if
764 directory is `.'. Also, properly compute de_ansi_files entry in
766 * tests/Makefile.am (TESTS): Added ansi7.test.
767 * tests/ansi7.test: New file.
769 * aclocal.in (parse_arguments): Added 2002.
770 (write_aclocal): Likewise.
771 (parse_arguments): Updated my email address.
772 * automake.in (gen_copyright): Added 2002.
773 (version): Likewise. Also, changed my email address.
775 * configure.in (APIVERSION): Refined definition.
777 2002-01-18 Tom Tromey <tromey@redhat.com>
780 * lib/missing: Accept versioned aclocal.
781 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
783 2002-01-17 Pavel Roskin <proski@gnu.org>
785 * m4/Makefile.am (m4datadir): Use APIVERSION.
787 2002-01-16 Tom Tromey <tromey@redhat.com>
789 * Makefile.am (install-exec-hook): Use APIVERSION.
790 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
791 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
793 * automake.in (perllibdir): Use APIVERSION.
795 * aclocal.in (perllibdir): Use APIVERSION.
796 (APIVERSION): New global.
797 (parse_arguments): Use APIVERSION.
798 * configure.in (APIVERSION): New subst.
799 (pkgvdatadir): Use APIVERSION.
801 2002-01-15 Tom Tromey <tromey@redhat.com>
804 * lib/missing: Match against `automake*' to pick up versioned
806 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
807 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
809 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
810 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
812 (scriptdir): Use pkgvdatadir.
813 (installcheck-local): Likewise.
814 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
815 * automake.in (perllibdir): Added VERSION.
817 * aclocal.in (parse_arguments): Search versioned directory. Don't
818 push unversioned directory unless it exists.
819 (perllibdir): Added VERSION.
820 (default_acdir): New global.
821 * m4/Makefile.am (m4datadir): Added $(VERSION).
822 * Makefile.am (install-exec-hook): New target.
823 * configure.in (ACLOCAL): Search build directory.
824 (pkgvdatadir): New subst.
826 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
828 * lib/config.sub, lib/config.guess: New versions from FSF.
830 2002-01-13 Tom Tromey <tromey@redhat.com>
833 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
835 (lang_c_finish): Likewise. Also, use directory information from
838 2002-01-13 Kevin Ryde <user42@zip.com.au>
841 * tests/Makefile.am (TESTS): Added ansi6.test.
842 * tests/ansi6.test: New file.
844 2002-01-13 Tom Tromey <tromey@redhat.com>
847 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
849 * tests/Makefile.am (TESTS): Added pr287.test.
850 * tests/pr287.test: New file.
852 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
854 * lib/am/distdir.am (distdir): Handle subdirectories.
855 * tests/extra6.test: New file.
856 * tests/Makefile.am (TESTS): Add it.
858 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
860 * tests/extra2.test: Run $ACLOCAL.
862 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
864 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
865 AM_INIT_AUTOMAKE arguments when using the old-style call.
866 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
867 Suggested by Pavel Roskin.
869 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
871 * test/nodefine.test, test/nodefine2.test: Check that no-define
872 works, not the contrary...
873 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
874 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
877 2002-01-12 Jim Meyering <meyering@lucent.com>
879 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
880 * tests/libobj11.test: New file.
881 * tests/Makefile.am (TESTS): Add libobj11.test.
883 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
885 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
887 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
889 * automake.in (file_contents_internal): Introduce two variables,
890 $is_rule and $discard_rules to track rules spanning across multiple
891 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
892 where only the first paragraph of such a multi-paragraph rule was
893 discarded; but it leaves many similar latent bugs (see the FIXMEs).
895 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
897 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
898 * tests/error.test: Use some macro names which are not defined by
901 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
903 * automake.texi (Complete, Macros, Options): Document the new style
904 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
905 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
906 AC_INIT if they are available there. Support a new call form
907 where the only argument is an optional space-separated list of
909 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
910 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
911 _AM_IF_OPTION): New functions.
912 * automake.in (AC_INIT_PATTERN): New variable.
913 (global_options_line): Remove, use $seen_init_automake instead.
914 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
915 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
916 Remove the AM_AUTOMAKE_OPTIONS handling.
917 * configure.in: Modernize.
918 * tests/defs (configure.in): Modernize. One third of the tests
919 still overwrite the default configure.in and use an old
920 AM_INIT_AUTOMAKE call, so that makes testing for both.
921 * tests/nodefine.test, tests/nodefine2.test: New files.
922 * tests/Makefile.am (TESTS): Add them.
924 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
926 * automake.in (define_configure_variable): Propagate line numbers.
928 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
930 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
932 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
934 * configure.in: Run the Autoconf test in a subdirectory, then
935 erase this directory.
937 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
939 * configure.in (AUTOMAKE): Create m4/amversion.m4.
940 * m4/amversion.in: New file.
941 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
942 (dist_m4data_DATA): ... this.
943 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
944 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
945 AM_SET_CURRENT_AUTOMAKE_VERSION.
946 * automake.in (seen_automake_version): New variable.
947 (scan_autoconf_traces, scan_one_autoconf_file,
948 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
949 when the version used in aclocal.m4 differs from Automake's.
950 * tests/defs (ACLOCAL): Look in ../m4 too.
951 * tests/installsh.test (ACLOCAL): Likewise.
952 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
954 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
956 * automake.in (handle_languages): Emit an automake
957 internal variable 'am__depfiles_maybe'.
958 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
960 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
963 2002-01-06 Tom Tromey <tromey@redhat.com>
965 * automake.texi (Tags): Document new variables.
966 * lib/am/tags.am (ETAGS): New macro.
967 (ETAGSFLAGS): Likewise.
970 2002-01-04 Tom Tromey <tromey@redhat.com>
972 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
974 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
976 * automake.in (read_am_file): Thinko in "comment following
977 trailing backslash" detection.
978 * tests/comment5.test: Test for this too.
980 2002-01-02 Tom Tromey <tromey@redhat.com>
982 * automake.texi (Extending): Added index for uninstall-hook.
984 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
986 Fix for PR automake/278:
987 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
988 with versions such as '2.2c1'. Also, use `int' instead of the
989 obsoleted `string.atoi'.
990 Reported by Enrico Scholz.
992 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
994 Fix for PR automake/280:
995 * automake.in (read_am_file): Warn about trailing backslashes
997 * tests/comment5.test: New file.
998 * tests/Makefile.am (TESTS): Add comment5.test.
999 Reported by Enrico Scholz.
1001 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1003 * tests/comment4.test: New file.
1004 * tests/Makefile.am (TESTS): Add comment4.test.
1006 Fix for comment4.test:
1007 * automake.in (read_am_file): Output leading comments only when
1008 encountering white lines.
1010 2002-01-01 Tom Tromey <tromey@redhat.com>
1012 For PR automake/234:
1013 * tests/Makefile.am (TESTS): Added strip.test.
1014 * tests/strip.test: New file.
1016 * automake.texi (Extending): Mention uninstall-hook.
1017 (Install): Likewise.
1018 * automake.in (handle_factored_dependencies): Allow
1021 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1023 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1024 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1025 This fixes a bug introduced on 2001-01-28.
1026 Reported by Jared Davis.
1030 Copyright (C) 2002 Free Software Foundation, Inc.
1032 This file is part of GNU Automake.
1034 GNU Automake is free software; you can redistribute it and/or modify
1035 it under the terms of the GNU General Public License as published by
1036 the Free Software Foundation; either version 2, or (at your option)
1039 GNU Automake is distributed in the hope that it will be useful,
1040 but WITHOUT ANY WARRANTY; without even the implied warranty of
1041 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1042 GNU General Public License for more details.
1044 You should have received a copy of the GNU General Public License
1045 along with autoconf; see the file COPYING. If not, write to
1046 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1047 Boston, MA 02111-1307, USA.