1 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3 For PR automake/151 and PR automake/314:
4 * automake.texi (A Program): Split into
5 (Program Sources, Linking, Conditional Sources, Conditional
6 Programs): ... these subsections; moving the Linking node
7 before the Conditional discussions.
8 (Conditional Sources): More details. Notably, mention
10 (Conditionals): Adjust reference to Conditional Programs.
12 2002-04-19 Paul Eggert <eggert@twinsun.com>
14 Fix some bugs when using "$@" when there might be zero positional
15 arguments in cases where this matters. Zsh doesn't support
16 the workaround ${1+"$@"} that has been used by Automake since
17 the Mon Dec 4 11:55:36 1995 change.
19 * aclocal.in: Use 'case' statement to work around problem.
20 * automake.in: Likewise.
21 * lib/ylwrap: Likewise.
22 * lib/missing: No need for workaround, as the command is never
23 invoked with zero arguments.
24 * tests/ccnoco.test: Likewise.
25 * missing: Update from lib/missing.
27 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
29 * automake.in (initialize_per_input): Clear %require_file_found.
30 (%require_file_found): Group the declaration with the other
31 variables initialized by initialize_per_input.
32 * tests/required.test: New file.
33 * tests/Makefile.am (TESTS): Add it.
34 Reported by Marius Vollmer.
36 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
38 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
39 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
40 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
41 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
42 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
44 * tests/confh5.test: New file.
45 * tests/Makefile.am (TESTS): Add confh5.test.
46 * automake.texi (Optional, Public macros): Update descriptions
47 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
49 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
51 * tests/man2.test: New file.
52 * tests/Makefile.am (TESTS): Add man2.test.
53 * lib/am/mans.am (install-man%SECTION%): Change the extension
54 of the man pages being installed, as documented.
56 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
58 Enable traces; wipe out the old configure.in parser.
60 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
61 'autoconf'. Honnor the $filename argument.
62 (scan_autoconf_files): Don't call scan_one_autoconf_file.
63 Always call scan_autoconf_traces.
64 (scan_one_autoconf_file): Remove, with it associated regexes.
65 (obsolete, obsolete_rx): Remove.
66 (register_language, handle_languages): Remove the 'define_flag'
67 support. Remove it from the struct and language definitions too.
68 (unquote_m4_arg): Remove.
69 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
70 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
71 are now generated automatically.
72 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
74 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
76 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
78 * tests/version6.test: New file.
79 * tests/Makefile.am (TESTS): Add tests/version6.test.
80 * automake.in (version_check): Return 0 on equality.
82 2002-04-13 Andreas Schwab <schwab@suse.de>
84 * THANKS: Update my mail address.
86 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
88 * tests/discover.test: Use a full configure.in that calls AC_INIT.
89 Use AC_LIBOBJ. Grep the error message.
90 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
91 Grep the error message. Require libtool.
92 * tests/ldflags.test: Don't use LIBOBJS.
93 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
94 error messages for CC and CXX.
96 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
98 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
100 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
101 * tests/ext.test: Enable dependencies for OBJC.
102 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
103 Delete. They tests for different flavors of $LIBOBJS assignments
104 that wont be supported anymore.
105 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
106 * tests/obsolete.test: Don't test Automake.
107 * tests/suffix5.test: Require libtool.
108 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
111 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
113 * configure.in (APIVERSION): Fix definition.
115 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
117 * NEWS: Catch up with changes since 1.6.
119 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
121 * tests/yacc8.test: Don't assume GNU make, run config.status
122 to regenerate the Makefile.
124 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
126 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
127 always followed by a SHELL setting.
128 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
129 SHELL when calling `$MAKE -e'.
131 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
133 * tests/subobj9.test: Use configure.in, not configure.ac,
134 otherwise this fails with old libtool versions.
136 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
138 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
141 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
143 * ChangeLog.2001: New file, extracted from ChangeLog.
144 * Makefile.am (EXTRA_DIST): Add it.
146 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
148 * automake.texi (Canonicalization): The sources for libmumble++.a
149 go into libmumble___a_SOURCES.
151 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
153 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
154 test suite. Suggest `sleep 2' instead.
155 * tests/confsub.test: Use `sleep 2'.
157 2002-04-04 Paul Eggert <eggert@twinsun.com>
160 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
161 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
162 MAKEFLAGS contains '$(...)'.
164 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
166 * tests/specflags8.test: Typo.
168 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
170 * tests/specflags6.test: Run aclocal.
171 * tests/Makefile.am (TESTS): Add specflags6.test.
173 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
175 * tests/specflags7.test, tests/specflags8.test: New files.
176 * tests/Makefile.am (TESTS): Add them.
177 (XFAIL_TESTS): Add specflags8.test.
179 2002-03-29 Tom Tromey <tromey@redhat.com>
181 * automake.in (check_typos): Examine AM_LDFLAGS.
182 Fixes PR automake/311.
185 * lib/am/libtool.am (clean-libtool): Use LTRMS.
186 * automake.in (handle_single_transform_list): When processing a
187 libtool object, clean the ordinary object and register the
189 (libtool_clean_directories): New global.
190 (initialize_per_input): Initialize it.
191 (generate_makefile): Call handle_libtool later.
192 (handle_libtool): Handle libtool_clean_directories.
193 * tests/subobj9.test: New file.
194 * tests/Makefile.am (TESTS): Added subobj9.test.
196 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
198 * tests/extra6.test, tests/subdir5.test: Require GNU make.
200 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
202 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
204 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
206 * tests/extra7.test: New file.
207 * tests/Makefile.am: Add it.
208 * lib/am/distdir.an (distdir): When a distribuable directory
209 exists both in `.' and $(srcdir), merge both directories. This
210 works around a failure of extra6.test on Tru64 reported by
213 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
215 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
217 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
219 * Makefile.am (maintainer-check): Catch occurrences of
220 `$MAKE foo=bar' in the testsuite. Suggest using
221 `foo=bar $MAKE -e' instead.
222 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
223 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
224 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
225 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
227 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
229 Fix for PR automake/310:
230 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
231 so it never appears as a plain word.
233 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
235 * lib/depcomp (tru64): Correctly compute `base'.
237 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
239 * tests/pr211.test: s/requires/required/, otherwise the test fails
240 if libtool is not installed.
242 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
244 * tests/dirname.test: Don't use $SHELL when calling ./configure.
246 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * tests/dirname.test: Use --quiet to fix failure on installations
250 Reported by Nicolas Joly.
252 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
254 * Makefile.am (maintainer-check): Check for misuses of make,
255 autoconf, automake, aclocal, and perl in the testsuite. Suggest
256 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
257 * tests/confsub.test: Use $AUTOCONF and $MAKE.
258 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
259 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
260 tests/pr224.test, tests/pr287.test, tests/strip.test,
261 tests/yacc8.test: Use $MAKE.
263 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
265 Add support for two-dot versions.
267 * tests/version5.test: New file.
268 * tests/Makefile.am (TESTS): Add it.
269 * automake.in (version_split, version_compare): New functions.
270 (version_check): Rewrite using version_split and version_compare.
271 (process_option_list): Adjust regex.
273 2002-03-18 Richard Boulton <richard@tartarus.org>
275 Fix for PR automake/306:
276 * automake.texi (Generalities): Document +=.
277 (Conditionals): Document limitations of += with conditionals.
279 2002-03-17 Tom Tromey <tromey@redhat.com>
281 Fix for PR automake/295:
282 * automake.texi (Invoking Automake): Deprecate --output-dir.
283 * automake.in (usage): Don't document --output-dir.
284 (output_directory): Don't initialize.
285 (parse_arguments): Deprecate --output-dir.
287 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
288 Fixes PR automake/304.
290 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
292 * tests/dirforbid.test: Workaround for NetBSD sh bug.
293 Fixes PR automake/305.
295 2002-03-11 Richard Boulton <richard@tartarus.org>
297 * automake.in (check_typos): Allow variables with reserved
298 suffices (such as _LDFLAGS) and prefixes which aren't
299 recognised if the variable is defined in configure.ac.
302 2002-03-11 Richard Boulton <richard@tartarus.org>
304 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
305 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
306 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
308 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
310 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
313 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
315 Fix for PR automake/303:
316 * automake.in (version_check): Move the error message ...
317 (process_option_list): ... here, so we can distinguish between
318 global and local options.
320 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
322 * tests/pr300-lib.test, tests/pr300-ltlib.test,
323 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
324 Autoconf doesn't complain about Makefile being output twice.
326 2002-03-06 Tom Tromey <tromey@redhat.com>
328 * configure.in: Upped version to 1.6a.
330 2002-03-05 Tom Tromey <tromey@redhat.com>
332 * configure.in: Released 1.6.
334 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
336 Fix for PR automake/300:
337 * tests/pr300-lib.test, tests/pr300-ltlib.test,
338 tests/pr300-prog.test: New files.
339 * tests/Makefile.am (TESTS): Add them.
340 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
341 compute the directory.
342 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
343 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
344 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
345 (uninstall-%DIR%LIBRARIES): Honor nobase_.
346 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
347 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
348 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
349 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
350 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
351 (uninstall-%DIR%PROGRAMS): Honor nobase_.
352 See also the fix for nobase.test on 2001-11-09.
354 2002-03-05 Tom Tromey <tromey@redhat.com>
356 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
358 2002-03-05 Pavel Roskin <proski@gnu.org>
360 * tests/yacc8.test: Add a command between "test" and "cd" to
361 work around a bug in bash-2.05.
363 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
365 Fix for PR automake/294:
366 * tests/dirforbid.test: New file.
367 * tests/Makefile.am (TESTS): Add it.
368 * automake.in (standard_prefix): New hash.
369 (am_primary_prefixes): Forbid standard_prefixes which are not
371 * automake.texi (Uniform): Remove FIXME.
373 2002-03-05 Jim Meyering <meyering@lucent.com>
375 * automake.in (@common_files): Add config.rpath.
377 2002-03-05 Kevin Ryde <user42@zip.com.au>
380 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
381 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
384 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
386 * automake.in (scan_one_autoconf_file): Declare
387 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
388 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
389 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
390 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
391 of s/// in the sed invocation, to support filenames containing
393 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
394 * tests/lex5.test, tests/yacc8.test: New files.
395 * tests/Makefile.am (TESTS): Add them.
397 2002-02-23 Per Bothner <per@bothner.com>
399 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
402 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
404 * tests/make.test: Revert the grep logic to work around a bug
405 in NetBSD sh (see NetBSD Problem Report #11542).
406 Reported by Patrick Welche.
408 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
410 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
411 to try and prevent a non-lisp emacs from starting in interactive
413 * automake.texi: Document this change.
415 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
417 * automake.texi (Macros): Split into ...
418 (Public Macros, Private Macros): ... these.
420 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
422 * tests/insthook.test: Use sed instead of "tail +X".
424 2002-02-18 Paul Eggert <eggert@twinsun.com>
426 * lib/depcomp: Don't use "tail +3"; it's not portable to
427 POSIX 1003.1-2001 hosts.
429 2002-02-18 Jim Meyering <meyering@lucent.com>
431 * tests/cond12.test: Use sed 1q, not `head -n 1'.
432 The latter is not portable to some old systems.
433 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
434 Use `sed 1q' instead.
435 * tests/insthook.test: Likewise.
437 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
439 * automake.in (handle_lib_objects_cond): Tell the user to put
440 global linker flags in AM_LDFLAGS, not LDFLAGS.
442 * automake.texi (General Operation): AC_SUBST'ed variables
443 override Automake's variables.
444 (Uniform): More words and @refs.
445 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
446 (etags): More explanations about the first example.
447 (Invoking Automake): Mention autoreconf. More @refs.
448 (Requirements): Mention AC_CONFIG_FILES.
449 (Optional): AC_CHECK_TOOL will no longer install config.sub and
450 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
451 (Invoking aclocal): aclocal no longer warn about duplicates.
452 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
453 (Extending aclocal): Suggest using the output of
454 `aclocal --print-ac-dir` to install third-party macros.
455 (Alternative): Specify ordering of dist_, nodist_, and nobase_
457 (A Program): Mention scripts. The global LDADD variable is not
458 meant to hold link flags, suggest using AM_LDFLAGS instead.
459 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
460 _LIBADD and _LDADD are subject to the same restriction wrt to
462 (Program and Library Variables) <maude_DEPENDECIES>: Is also
463 derived from maude_LIBADD.
464 (Program variables): Define AM_LDFLAGS.
465 (Dependencies): Passing the no-dependencies option to
466 AM_INIT_AUTOMAKE is prefered.
467 (Scripts): Explain why automake is magically cleaned.
468 Mention noinst_SCRIPTS and check_SCRIPTS.
469 (Data): Use dist_ in Automake's example.
470 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
471 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
473 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
475 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
476 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
477 of asking the maintainer to do it manually.
478 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
479 Automake/XFile.pm: New upstream versions.
481 2002-02-02 Tom Tromey <tromey@redhat.com>
483 * automake.texi (Macros): Warn about upgrading.
485 2002-02-01 Tom Tromey <tromey@redhat.com>
487 Change per GNU coding standards:
488 * aclocal.in (parse_arguments): Only mention most recent year in
490 * automake.in (version): Only mention most recent year.
492 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
494 * automake.texi (API versioning): New Node.
495 (Extending): Use $(DESTDIR) in examples.
497 2002-01-28 Akim Demaille <akim@epita.fr>
499 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
500 Respect the --help layout.
502 2002-01-27 Tom Tromey <tromey@redhat.com>
504 * configure.in: Bumped to 1.5e.
506 * lib/am/yacc.am: Use `rm -f'.
508 * configure.in: Released 1.5d.
510 * lib/config.guess: New version from FSF.
512 * Makefile.am (uninstall-hook): New target.
514 2002-01-24 Akim Demaille <akim@epita.fr>
516 * lib/install-sh: Update, from Autoconf.
518 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
520 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
521 as AC_CANONICAL_HOST (the former does not require the latter since
523 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
524 * automake.texi (Requirements): Do not require STRIP to be
527 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
529 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
530 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
531 * tests/pr224.test: Make sure .deps subdirectories are
534 2002-01-22 Tom Tromey <tromey@redhat.com>
536 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
537 no-dependencies option is set.
538 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
539 no-dependencies option is set. Don't call AM_DEP_TRACK or
542 2002-01-22 Pavel Roskin <proski@gnu.org>
544 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
547 2002-01-22 Akim Demaille <akim@epita.fr>
549 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
552 2002-01-21 Tom Tromey <tromey@redhat.com>
554 * Makefile.am (fetch): Don't fetch ansi2knr.
556 * automake.texi (Macros): Updated for new variable names.
557 (Program and Library Variables): Likewise.
558 (Assembly Support): Likewise.
559 * m4/as.m4: Use CCAS and CCASFLAGS.
560 * automake.in (asm): Use CCAS and CCASFLAGS.
562 2002-01-21 Akim Demaille <akim@epita.fr>
564 * automake.in (&parse_arguments): Use a more GNUish error message
567 2002-01-20 Tom Tromey <tromey@redhat.com>
569 Fix for PR automake/231:
570 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
571 * m4/depend.m4: Document `GCJ'.
574 * tests/Makefile.am (TESTS): Added pr224.test.
575 * tests/pr224.test: New file.
576 * lib/depcomp: Fixed computation of depfile.
577 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
578 * automake.in (handle_single_transform_list): Only reject `..'
579 component for Java. Put dependencies in directory near object.
580 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
582 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
584 * tests/defs: Export AUTOMAKE and ACLOCAL.
586 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
588 Fix for PR automake/204:
589 * tests/pr204.test: New file.
590 * tests/Makefile.am (TESTS): Add it.
591 * automake.in (handle_single_transform_list): Don't distribute
592 sources derived from non-distributed sources.
594 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
596 Fix for PR automake/229:
597 * tests/pr229.test: New file.
598 * tests/Makefile.am (TESTS): Add it.
599 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
600 AC_EMXOS2, and AC_MINGW32.
602 2002-01-18 Tom Tromey <tromey@redhat.com>
604 * tests/cond7.test: Fix test bug exposed by copyright update.
607 * automake.in (lang_c_rewrite): Don't prepend directory to base if
608 directory is `.'. Also, properly compute de_ansi_files entry in
610 * tests/Makefile.am (TESTS): Added ansi7.test.
611 * tests/ansi7.test: New file.
613 * aclocal.in (parse_arguments): Added 2002.
614 (write_aclocal): Likewise.
615 (parse_arguments): Updated my email address.
616 * automake.in (gen_copyright): Added 2002.
617 (version): Likewise. Also, changed my email address.
619 * configure.in (APIVERSION): Refined definition.
621 2002-01-18 Tom Tromey <tromey@redhat.com>
624 * lib/missing: Accept versioned aclocal.
625 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
627 2002-01-17 Pavel Roskin <proski@gnu.org>
629 * m4/Makefile.am (m4datadir): Use APIVERSION.
631 2002-01-16 Tom Tromey <tromey@redhat.com>
633 * Makefile.am (install-exec-hook): Use APIVERSION.
634 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
635 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
637 * automake.in (perllibdir): Use APIVERSION.
639 * aclocal.in (perllibdir): Use APIVERSION.
640 (APIVERSION): New global.
641 (parse_arguments): Use APIVERSION.
642 * configure.in (APIVERSION): New subst.
643 (pkgvdatadir): Use APIVERSION.
645 2002-01-15 Tom Tromey <tromey@redhat.com>
648 * lib/missing: Match against `automake*' to pick up versioned
650 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
651 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
653 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
654 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
656 (scriptdir): Use pkgvdatadir.
657 (installcheck-local): Likewise.
658 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
659 * automake.in (perllibdir): Added VERSION.
661 * aclocal.in (parse_arguments): Search versioned directory. Don't
662 push unversioned directory unless it exists.
663 (perllibdir): Added VERSION.
664 (default_acdir): New global.
665 * m4/Makefile.am (m4datadir): Added $(VERSION).
666 * Makefile.am (install-exec-hook): New target.
667 * configure.in (ACLOCAL): Search build directory.
668 (pkgvdatadir): New subst.
670 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
672 * lib/config.sub, lib/config.guess: New versions from FSF.
674 2002-01-13 Tom Tromey <tromey@redhat.com>
677 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
679 (lang_c_finish): Likewise. Also, use directory information from
682 2002-01-13 Kevin Ryde <user42@zip.com.au>
685 * tests/Makefile.am (TESTS): Added ansi6.test.
686 * tests/ansi6.test: New file.
688 2002-01-13 Tom Tromey <tromey@redhat.com>
691 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
693 * tests/Makefile.am (TESTS): Added pr287.test.
694 * tests/pr287.test: New file.
696 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
698 * lib/am/distdir.am (distdir): Handle subdirectories.
699 * tests/extra6.test: New file.
700 * tests/Makefile.am (TESTS): Add it.
702 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
704 * tests/extra2.test: Run $ACLOCAL.
706 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
708 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
709 AM_INIT_AUTOMAKE arguments when using the old-style call.
710 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
711 Suggested by Pavel Roskin.
713 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
715 * test/nodefine.test, test/nodefine2.test: Check that no-define
716 works, not the contrary...
717 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
718 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
721 2002-01-12 Jim Meyering <meyering@lucent.com>
723 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
724 * tests/libobj11.test: New file.
725 * tests/Makefile.am (TESTS): Add libobj11.test.
727 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
729 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
731 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
733 * automake.in (file_contents_internal): Introduce two variables,
734 $is_rule and $discard_rules to track rules spanning across multiple
735 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
736 where only the first paragraph of such a multi-paragraph rule was
737 discarded; but it leaves many similar latent bugs (see the FIXMEs).
739 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
741 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
742 * tests/error.test: Use some macro names which are not defined by
745 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
747 * automake.texi (Complete, Macros, Options): Document the new style
748 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
749 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
750 AC_INIT if they are available there. Support a new call form
751 where the only argument is an optional space-separated list of
753 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
754 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
755 _AM_IF_OPTION): New functions.
756 * automake.in (AC_INIT_PATTERN): New variable.
757 (global_options_line): Remove, use $seen_init_automake instead.
758 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
759 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
760 Remove the AM_AUTOMAKE_OPTIONS handling.
761 * configure.in: Modernize.
762 * tests/defs (configure.in): Modernize. One third of the tests
763 still overwrite the default configure.in and use an old
764 AM_INIT_AUTOMAKE call, so that makes testing for both.
765 * tests/nodefine.test, tests/nodefine2.test: New files.
766 * tests/Makefile.am (TESTS): Add them.
768 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
770 * automake.in (define_configure_variable): Propagate line numbers.
772 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
774 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
776 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
778 * configure.in: Run the Autoconf test in a subdirectory, then
779 erase this directory.
781 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
783 * configure.in (AUTOMAKE): Create m4/amversion.m4.
784 * m4/amversion.in: New file.
785 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
786 (dist_m4data_DATA): ... this.
787 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
788 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
789 AM_SET_CURRENT_AUTOMAKE_VERSION.
790 * automake.in (seen_automake_version): New variable.
791 (scan_autoconf_traces, scan_one_autoconf_file,
792 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
793 when the version used in aclocal.m4 differs from Automake's.
794 * tests/defs (ACLOCAL): Look in ../m4 too.
795 * tests/installsh.test (ACLOCAL): Likewise.
796 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
798 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
800 * automake.in (handle_languages): Emit an automake
801 internal variable 'am__depfiles_maybe'.
802 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
804 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
807 2002-01-06 Tom Tromey <tromey@redhat.com>
809 * automake.texi (Tags): Document new variables.
810 * lib/am/tags.am (ETAGS): New macro.
811 (ETAGSFLAGS): Likewise.
814 2002-01-04 Tom Tromey <tromey@redhat.com>
816 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
818 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
820 * automake.in (read_am_file): Thinko in "comment following
821 trailing backslash" detection.
822 * tests/comment5.test: Test for this too.
824 2002-01-02 Tom Tromey <tromey@redhat.com>
826 * automake.texi (Extending): Added index for uninstall-hook.
828 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
830 Fix for PR automake/278:
831 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
832 with versions such as '2.2c1'. Also, use `int' instead of the
833 obsoleted `string.atoi'.
834 Reported by Enrico Scholz.
836 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
838 Fix for PR automake/280:
839 * automake.in (read_am_file): Warn about trailing backslashes
841 * tests/comment5.test: New file.
842 * tests/Makefile.am (TESTS): Add comment5.test.
843 Reported by Enrico Scholz.
845 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
847 * tests/comment4.test: New file.
848 * tests/Makefile.am (TESTS): Add comment4.test.
850 Fix for comment4.test:
851 * automake.in (read_am_file): Output leading comments only when
852 encountering white lines.
854 2002-01-01 Tom Tromey <tromey@redhat.com>
857 * tests/Makefile.am (TESTS): Added strip.test.
858 * tests/strip.test: New file.
860 * automake.texi (Extending): Mention uninstall-hook.
862 * automake.in (handle_factored_dependencies): Allow
865 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
867 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
868 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
869 This fixes a bug introduced on 2001-01-28.
870 Reported by Jared Davis.
874 Copyright (C) 2002 Free Software Foundation, Inc.
876 This file is part of GNU Automake.
878 GNU Automake is free software; you can redistribute it and/or modify
879 it under the terms of the GNU General Public License as published by
880 the Free Software Foundation; either version 2, or (at your option)
883 GNU Automake is distributed in the hope that it will be useful,
884 but WITHOUT ANY WARRANTY; without even the implied warranty of
885 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
886 GNU General Public License for more details.
888 You should have received a copy of the GNU General Public License
889 along with autoconf; see the file COPYING. If not, write to
890 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
891 Boston, MA 02111-1307, USA.