1 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * automake.in (subobjname): Use the length of %subobjvar
4 instead of $subobjnamenum.
5 (subobjnamenum): Remove.
7 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
10 * lib/depcomp: Never compute dependencies in the background, this
11 can cause races with libtool. Compute the dependencies after
12 the actual compilation. Don't make libtool silent now that
13 it's run in the foreground.
14 * tests/pr307.test: New file.
15 * tests/Makefile.am (TESTS): Add pr307.test.
16 Reported by Laurent Morichetti.
18 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
20 * lib/am/check.am: Show skipped tests. Display the
21 $(PACKAGE_BUGREPORT) address on failure.
23 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
26 * automake.in (subobjname): Rewrite to generate variable name
27 unique for each content.
29 (%subobjvar): New hash.
30 (initialize_per_input): Clear %subobjvar.
31 (define_objects_from_sources): Return the name of the variable
32 defined, in addition to the linker. Call subobjname only once
33 the content of the variable to define is known.
34 (handle_source_transform): Adjust call to define_objects_from_sources.
35 * tests/specflags8.test: Mention PR 315.
36 * tests/subobjname.test: New file.
37 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
38 (TESTS): Add subobjname.test.
40 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
42 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
43 the whole file for 'generated by automake', not only the
44 first line. This accounts for post-processed Makefile.in's.
45 * tests/postproc.test: New file.
46 * tests/Makefile.am (TESTS): Add postproc.test.
48 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
50 For PR automake/151 and PR automake/314:
51 * automake.texi (A Program): Split into
52 (Program Sources, Linking, Conditional Sources, Conditional
53 Programs): ... these subsections; moving the Linking node
54 before the Conditional discussions.
55 (Conditional Sources): More details. Notably, mention
57 (Conditionals): Adjust reference to Conditional Programs.
59 2002-04-19 Paul Eggert <eggert@twinsun.com>
61 Fix some bugs when using "$@" when there might be zero positional
62 arguments in cases where this matters. Zsh doesn't support
63 the workaround ${1+"$@"} that has been used by Automake since
64 the Mon Dec 4 11:55:36 1995 change.
66 * aclocal.in: Use 'case' statement to work around problem.
67 * automake.in: Likewise.
68 * lib/ylwrap: Likewise.
69 * lib/missing: No need for workaround, as the command is never
70 invoked with zero arguments.
71 * tests/ccnoco.test: Likewise.
72 * missing: Update from lib/missing.
74 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
76 * automake.in (initialize_per_input): Clear %require_file_found.
77 (%require_file_found): Group the declaration with the other
78 variables initialized by initialize_per_input.
79 * tests/required.test: New file.
80 * tests/Makefile.am (TESTS): Add it.
81 Reported by Marius Vollmer.
83 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
85 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
86 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
87 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
88 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
89 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
91 * tests/confh5.test: New file.
92 * tests/Makefile.am (TESTS): Add confh5.test.
93 * automake.texi (Optional, Public macros): Update descriptions
94 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
96 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
98 * tests/man2.test: New file.
99 * tests/Makefile.am (TESTS): Add man2.test.
100 * lib/am/mans.am (install-man%SECTION%): Change the extension
101 of the man pages being installed, as documented.
103 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
105 Enable traces; wipe out the old configure.in parser.
107 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
108 'autoconf'. Honnor the $filename argument.
109 (scan_autoconf_files): Don't call scan_one_autoconf_file.
110 Always call scan_autoconf_traces.
111 (scan_one_autoconf_file): Remove, with it associated regexes.
112 (obsolete, obsolete_rx): Remove.
113 (register_language, handle_languages): Remove the 'define_flag'
114 support. Remove it from the struct and language definitions too.
115 (unquote_m4_arg): Remove.
116 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
117 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
118 are now generated automatically.
119 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
121 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
123 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
125 * tests/version6.test: New file.
126 * tests/Makefile.am (TESTS): Add tests/version6.test.
127 * automake.in (version_check): Return 0 on equality.
129 2002-04-13 Andreas Schwab <schwab@suse.de>
131 * THANKS: Update my mail address.
133 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
135 * tests/discover.test: Use a full configure.in that calls AC_INIT.
136 Use AC_LIBOBJ. Grep the error message.
137 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
138 Grep the error message. Require libtool.
139 * tests/ldflags.test: Don't use LIBOBJS.
140 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
141 error messages for CC and CXX.
143 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
145 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
147 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
148 * tests/ext.test: Enable dependencies for OBJC.
149 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
150 Delete. They tests for different flavors of $LIBOBJS assignments
151 that wont be supported anymore.
152 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
153 * tests/obsolete.test: Don't test Automake.
154 * tests/suffix5.test: Require libtool.
155 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
158 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
160 * configure.in (APIVERSION): Fix definition.
162 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
164 * NEWS: Catch up with changes since 1.6.
166 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
168 * tests/yacc8.test: Don't assume GNU make, run config.status
169 to regenerate the Makefile.
171 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
173 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
174 always followed by a SHELL setting.
175 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
176 SHELL when calling `$MAKE -e'.
178 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
180 * tests/subobj9.test: Use configure.in, not configure.ac,
181 otherwise this fails with old libtool versions.
183 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
185 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
188 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
190 * ChangeLog.2001: New file, extracted from ChangeLog.
191 * Makefile.am (EXTRA_DIST): Add it.
193 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
195 * automake.texi (Canonicalization): The sources for libmumble++.a
196 go into libmumble___a_SOURCES.
198 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
200 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
201 test suite. Suggest `sleep 2' instead.
202 * tests/confsub.test: Use `sleep 2'.
204 2002-04-04 Paul Eggert <eggert@twinsun.com>
207 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
208 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
209 MAKEFLAGS contains '$(...)'.
211 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
213 * tests/specflags8.test: Typo.
215 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
217 * tests/specflags6.test: Run aclocal.
218 * tests/Makefile.am (TESTS): Add specflags6.test.
220 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
222 * tests/specflags7.test, tests/specflags8.test: New files.
223 * tests/Makefile.am (TESTS): Add them.
224 (XFAIL_TESTS): Add specflags8.test.
226 2002-03-29 Tom Tromey <tromey@redhat.com>
228 * automake.in (check_typos): Examine AM_LDFLAGS.
229 Fixes PR automake/311.
232 * lib/am/libtool.am (clean-libtool): Use LTRMS.
233 * automake.in (handle_single_transform_list): When processing a
234 libtool object, clean the ordinary object and register the
236 (libtool_clean_directories): New global.
237 (initialize_per_input): Initialize it.
238 (generate_makefile): Call handle_libtool later.
239 (handle_libtool): Handle libtool_clean_directories.
240 * tests/subobj9.test: New file.
241 * tests/Makefile.am (TESTS): Added subobj9.test.
243 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
245 * tests/extra6.test, tests/subdir5.test: Require GNU make.
247 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
249 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
251 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
253 * tests/extra7.test: New file.
254 * tests/Makefile.am: Add it.
255 * lib/am/distdir.an (distdir): When a distribuable directory
256 exists both in `.' and $(srcdir), merge both directories. This
257 works around a failure of extra6.test on Tru64 reported by
260 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
262 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
264 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
266 * Makefile.am (maintainer-check): Catch occurrences of
267 `$MAKE foo=bar' in the testsuite. Suggest using
268 `foo=bar $MAKE -e' instead.
269 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
270 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
271 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
272 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
274 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
276 Fix for PR automake/310:
277 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
278 so it never appears as a plain word.
280 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
282 * lib/depcomp (tru64): Correctly compute `base'.
284 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
286 * tests/pr211.test: s/requires/required/, otherwise the test fails
287 if libtool is not installed.
289 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
291 * tests/dirname.test: Don't use $SHELL when calling ./configure.
293 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * tests/dirname.test: Use --quiet to fix failure on installations
297 Reported by Nicolas Joly.
299 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
301 * Makefile.am (maintainer-check): Check for misuses of make,
302 autoconf, automake, aclocal, and perl in the testsuite. Suggest
303 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
304 * tests/confsub.test: Use $AUTOCONF and $MAKE.
305 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
306 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
307 tests/pr224.test, tests/pr287.test, tests/strip.test,
308 tests/yacc8.test: Use $MAKE.
310 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
312 Add support for two-dot versions.
314 * tests/version5.test: New file.
315 * tests/Makefile.am (TESTS): Add it.
316 * automake.in (version_split, version_compare): New functions.
317 (version_check): Rewrite using version_split and version_compare.
318 (process_option_list): Adjust regex.
320 2002-03-18 Richard Boulton <richard@tartarus.org>
322 Fix for PR automake/306:
323 * automake.texi (Generalities): Document +=.
324 (Conditionals): Document limitations of += with conditionals.
326 2002-03-17 Tom Tromey <tromey@redhat.com>
328 Fix for PR automake/295:
329 * automake.texi (Invoking Automake): Deprecate --output-dir.
330 * automake.in (usage): Don't document --output-dir.
331 (output_directory): Don't initialize.
332 (parse_arguments): Deprecate --output-dir.
334 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
335 Fixes PR automake/304.
337 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
339 * tests/dirforbid.test: Workaround for NetBSD sh bug.
340 Fixes PR automake/305.
342 2002-03-11 Richard Boulton <richard@tartarus.org>
344 * automake.in (check_typos): Allow variables with reserved
345 suffices (such as _LDFLAGS) and prefixes which aren't
346 recognised if the variable is defined in configure.ac.
349 2002-03-11 Richard Boulton <richard@tartarus.org>
351 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
352 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
353 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
355 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
357 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
360 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
362 Fix for PR automake/303:
363 * automake.in (version_check): Move the error message ...
364 (process_option_list): ... here, so we can distinguish between
365 global and local options.
367 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
369 * tests/pr300-lib.test, tests/pr300-ltlib.test,
370 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
371 Autoconf doesn't complain about Makefile being output twice.
373 2002-03-06 Tom Tromey <tromey@redhat.com>
375 * configure.in: Upped version to 1.6a.
377 2002-03-05 Tom Tromey <tromey@redhat.com>
379 * configure.in: Released 1.6.
381 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
383 Fix for PR automake/300:
384 * tests/pr300-lib.test, tests/pr300-ltlib.test,
385 tests/pr300-prog.test: New files.
386 * tests/Makefile.am (TESTS): Add them.
387 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
388 compute the directory.
389 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
390 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
391 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
392 (uninstall-%DIR%LIBRARIES): Honor nobase_.
393 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
394 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
395 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
396 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
397 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
398 (uninstall-%DIR%PROGRAMS): Honor nobase_.
399 See also the fix for nobase.test on 2001-11-09.
401 2002-03-05 Tom Tromey <tromey@redhat.com>
403 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
405 2002-03-05 Pavel Roskin <proski@gnu.org>
407 * tests/yacc8.test: Add a command between "test" and "cd" to
408 work around a bug in bash-2.05.
410 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
412 Fix for PR automake/294:
413 * tests/dirforbid.test: New file.
414 * tests/Makefile.am (TESTS): Add it.
415 * automake.in (standard_prefix): New hash.
416 (am_primary_prefixes): Forbid standard_prefixes which are not
418 * automake.texi (Uniform): Remove FIXME.
420 2002-03-05 Jim Meyering <meyering@lucent.com>
422 * automake.in (@common_files): Add config.rpath.
424 2002-03-05 Kevin Ryde <user42@zip.com.au>
427 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
428 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
431 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
433 * automake.in (scan_one_autoconf_file): Declare
434 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
435 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
436 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
437 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
438 of s/// in the sed invocation, to support filenames containing
440 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
441 * tests/lex5.test, tests/yacc8.test: New files.
442 * tests/Makefile.am (TESTS): Add them.
444 2002-02-23 Per Bothner <per@bothner.com>
446 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
449 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
451 * tests/make.test: Revert the grep logic to work around a bug
452 in NetBSD sh (see NetBSD Problem Report #11542).
453 Reported by Patrick Welche.
455 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
457 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
458 to try and prevent a non-lisp emacs from starting in interactive
460 * automake.texi: Document this change.
462 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
464 * automake.texi (Macros): Split into ...
465 (Public Macros, Private Macros): ... these.
467 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
469 * tests/insthook.test: Use sed instead of "tail +X".
471 2002-02-18 Paul Eggert <eggert@twinsun.com>
473 * lib/depcomp: Don't use "tail +3"; it's not portable to
474 POSIX 1003.1-2001 hosts.
476 2002-02-18 Jim Meyering <meyering@lucent.com>
478 * tests/cond12.test: Use sed 1q, not `head -n 1'.
479 The latter is not portable to some old systems.
480 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
481 Use `sed 1q' instead.
482 * tests/insthook.test: Likewise.
484 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
486 * automake.in (handle_lib_objects_cond): Tell the user to put
487 global linker flags in AM_LDFLAGS, not LDFLAGS.
489 * automake.texi (General Operation): AC_SUBST'ed variables
490 override Automake's variables.
491 (Uniform): More words and @refs.
492 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
493 (etags): More explanations about the first example.
494 (Invoking Automake): Mention autoreconf. More @refs.
495 (Requirements): Mention AC_CONFIG_FILES.
496 (Optional): AC_CHECK_TOOL will no longer install config.sub and
497 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
498 (Invoking aclocal): aclocal no longer warn about duplicates.
499 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
500 (Extending aclocal): Suggest using the output of
501 `aclocal --print-ac-dir` to install third-party macros.
502 (Alternative): Specify ordering of dist_, nodist_, and nobase_
504 (A Program): Mention scripts. The global LDADD variable is not
505 meant to hold link flags, suggest using AM_LDFLAGS instead.
506 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
507 _LIBADD and _LDADD are subject to the same restriction wrt to
509 (Program and Library Variables) <maude_DEPENDECIES>: Is also
510 derived from maude_LIBADD.
511 (Program variables): Define AM_LDFLAGS.
512 (Dependencies): Passing the no-dependencies option to
513 AM_INIT_AUTOMAKE is prefered.
514 (Scripts): Explain why automake is magically cleaned.
515 Mention noinst_SCRIPTS and check_SCRIPTS.
516 (Data): Use dist_ in Automake's example.
517 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
518 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
520 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
522 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
523 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
524 of asking the maintainer to do it manually.
525 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
526 Automake/XFile.pm: New upstream versions.
528 2002-02-02 Tom Tromey <tromey@redhat.com>
530 * automake.texi (Macros): Warn about upgrading.
532 2002-02-01 Tom Tromey <tromey@redhat.com>
534 Change per GNU coding standards:
535 * aclocal.in (parse_arguments): Only mention most recent year in
537 * automake.in (version): Only mention most recent year.
539 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
541 * automake.texi (API versioning): New Node.
542 (Extending): Use $(DESTDIR) in examples.
544 2002-01-28 Akim Demaille <akim@epita.fr>
546 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
547 Respect the --help layout.
549 2002-01-27 Tom Tromey <tromey@redhat.com>
551 * configure.in: Bumped to 1.5e.
553 * lib/am/yacc.am: Use `rm -f'.
555 * configure.in: Released 1.5d.
557 * lib/config.guess: New version from FSF.
559 * Makefile.am (uninstall-hook): New target.
561 2002-01-24 Akim Demaille <akim@epita.fr>
563 * lib/install-sh: Update, from Autoconf.
565 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
567 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
568 as AC_CANONICAL_HOST (the former does not require the latter since
570 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
571 * automake.texi (Requirements): Do not require STRIP to be
574 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
576 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
577 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
578 * tests/pr224.test: Make sure .deps subdirectories are
581 2002-01-22 Tom Tromey <tromey@redhat.com>
583 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
584 no-dependencies option is set.
585 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
586 no-dependencies option is set. Don't call AM_DEP_TRACK or
589 2002-01-22 Pavel Roskin <proski@gnu.org>
591 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
594 2002-01-22 Akim Demaille <akim@epita.fr>
596 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
599 2002-01-21 Tom Tromey <tromey@redhat.com>
601 * Makefile.am (fetch): Don't fetch ansi2knr.
603 * automake.texi (Macros): Updated for new variable names.
604 (Program and Library Variables): Likewise.
605 (Assembly Support): Likewise.
606 * m4/as.m4: Use CCAS and CCASFLAGS.
607 * automake.in (asm): Use CCAS and CCASFLAGS.
609 2002-01-21 Akim Demaille <akim@epita.fr>
611 * automake.in (&parse_arguments): Use a more GNUish error message
614 2002-01-20 Tom Tromey <tromey@redhat.com>
616 Fix for PR automake/231:
617 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
618 * m4/depend.m4: Document `GCJ'.
621 * tests/Makefile.am (TESTS): Added pr224.test.
622 * tests/pr224.test: New file.
623 * lib/depcomp: Fixed computation of depfile.
624 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
625 * automake.in (handle_single_transform_list): Only reject `..'
626 component for Java. Put dependencies in directory near object.
627 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
629 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
631 * tests/defs: Export AUTOMAKE and ACLOCAL.
633 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
635 Fix for PR automake/204:
636 * tests/pr204.test: New file.
637 * tests/Makefile.am (TESTS): Add it.
638 * automake.in (handle_single_transform_list): Don't distribute
639 sources derived from non-distributed sources.
641 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
643 Fix for PR automake/229:
644 * tests/pr229.test: New file.
645 * tests/Makefile.am (TESTS): Add it.
646 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
647 AC_EMXOS2, and AC_MINGW32.
649 2002-01-18 Tom Tromey <tromey@redhat.com>
651 * tests/cond7.test: Fix test bug exposed by copyright update.
654 * automake.in (lang_c_rewrite): Don't prepend directory to base if
655 directory is `.'. Also, properly compute de_ansi_files entry in
657 * tests/Makefile.am (TESTS): Added ansi7.test.
658 * tests/ansi7.test: New file.
660 * aclocal.in (parse_arguments): Added 2002.
661 (write_aclocal): Likewise.
662 (parse_arguments): Updated my email address.
663 * automake.in (gen_copyright): Added 2002.
664 (version): Likewise. Also, changed my email address.
666 * configure.in (APIVERSION): Refined definition.
668 2002-01-18 Tom Tromey <tromey@redhat.com>
671 * lib/missing: Accept versioned aclocal.
672 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
674 2002-01-17 Pavel Roskin <proski@gnu.org>
676 * m4/Makefile.am (m4datadir): Use APIVERSION.
678 2002-01-16 Tom Tromey <tromey@redhat.com>
680 * Makefile.am (install-exec-hook): Use APIVERSION.
681 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
682 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
684 * automake.in (perllibdir): Use APIVERSION.
686 * aclocal.in (perllibdir): Use APIVERSION.
687 (APIVERSION): New global.
688 (parse_arguments): Use APIVERSION.
689 * configure.in (APIVERSION): New subst.
690 (pkgvdatadir): Use APIVERSION.
692 2002-01-15 Tom Tromey <tromey@redhat.com>
695 * lib/missing: Match against `automake*' to pick up versioned
697 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
698 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
700 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
701 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
703 (scriptdir): Use pkgvdatadir.
704 (installcheck-local): Likewise.
705 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
706 * automake.in (perllibdir): Added VERSION.
708 * aclocal.in (parse_arguments): Search versioned directory. Don't
709 push unversioned directory unless it exists.
710 (perllibdir): Added VERSION.
711 (default_acdir): New global.
712 * m4/Makefile.am (m4datadir): Added $(VERSION).
713 * Makefile.am (install-exec-hook): New target.
714 * configure.in (ACLOCAL): Search build directory.
715 (pkgvdatadir): New subst.
717 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
719 * lib/config.sub, lib/config.guess: New versions from FSF.
721 2002-01-13 Tom Tromey <tromey@redhat.com>
724 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
726 (lang_c_finish): Likewise. Also, use directory information from
729 2002-01-13 Kevin Ryde <user42@zip.com.au>
732 * tests/Makefile.am (TESTS): Added ansi6.test.
733 * tests/ansi6.test: New file.
735 2002-01-13 Tom Tromey <tromey@redhat.com>
738 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
740 * tests/Makefile.am (TESTS): Added pr287.test.
741 * tests/pr287.test: New file.
743 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
745 * lib/am/distdir.am (distdir): Handle subdirectories.
746 * tests/extra6.test: New file.
747 * tests/Makefile.am (TESTS): Add it.
749 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
751 * tests/extra2.test: Run $ACLOCAL.
753 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
755 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
756 AM_INIT_AUTOMAKE arguments when using the old-style call.
757 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
758 Suggested by Pavel Roskin.
760 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
762 * test/nodefine.test, test/nodefine2.test: Check that no-define
763 works, not the contrary...
764 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
765 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
768 2002-01-12 Jim Meyering <meyering@lucent.com>
770 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
771 * tests/libobj11.test: New file.
772 * tests/Makefile.am (TESTS): Add libobj11.test.
774 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
776 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
778 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
780 * automake.in (file_contents_internal): Introduce two variables,
781 $is_rule and $discard_rules to track rules spanning across multiple
782 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
783 where only the first paragraph of such a multi-paragraph rule was
784 discarded; but it leaves many similar latent bugs (see the FIXMEs).
786 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
788 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
789 * tests/error.test: Use some macro names which are not defined by
792 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
794 * automake.texi (Complete, Macros, Options): Document the new style
795 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
796 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
797 AC_INIT if they are available there. Support a new call form
798 where the only argument is an optional space-separated list of
800 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
801 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
802 _AM_IF_OPTION): New functions.
803 * automake.in (AC_INIT_PATTERN): New variable.
804 (global_options_line): Remove, use $seen_init_automake instead.
805 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
806 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
807 Remove the AM_AUTOMAKE_OPTIONS handling.
808 * configure.in: Modernize.
809 * tests/defs (configure.in): Modernize. One third of the tests
810 still overwrite the default configure.in and use an old
811 AM_INIT_AUTOMAKE call, so that makes testing for both.
812 * tests/nodefine.test, tests/nodefine2.test: New files.
813 * tests/Makefile.am (TESTS): Add them.
815 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
817 * automake.in (define_configure_variable): Propagate line numbers.
819 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
821 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
823 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
825 * configure.in: Run the Autoconf test in a subdirectory, then
826 erase this directory.
828 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
830 * configure.in (AUTOMAKE): Create m4/amversion.m4.
831 * m4/amversion.in: New file.
832 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
833 (dist_m4data_DATA): ... this.
834 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
835 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
836 AM_SET_CURRENT_AUTOMAKE_VERSION.
837 * automake.in (seen_automake_version): New variable.
838 (scan_autoconf_traces, scan_one_autoconf_file,
839 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
840 when the version used in aclocal.m4 differs from Automake's.
841 * tests/defs (ACLOCAL): Look in ../m4 too.
842 * tests/installsh.test (ACLOCAL): Likewise.
843 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
845 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
847 * automake.in (handle_languages): Emit an automake
848 internal variable 'am__depfiles_maybe'.
849 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
851 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
854 2002-01-06 Tom Tromey <tromey@redhat.com>
856 * automake.texi (Tags): Document new variables.
857 * lib/am/tags.am (ETAGS): New macro.
858 (ETAGSFLAGS): Likewise.
861 2002-01-04 Tom Tromey <tromey@redhat.com>
863 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
865 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
867 * automake.in (read_am_file): Thinko in "comment following
868 trailing backslash" detection.
869 * tests/comment5.test: Test for this too.
871 2002-01-02 Tom Tromey <tromey@redhat.com>
873 * automake.texi (Extending): Added index for uninstall-hook.
875 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
877 Fix for PR automake/278:
878 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
879 with versions such as '2.2c1'. Also, use `int' instead of the
880 obsoleted `string.atoi'.
881 Reported by Enrico Scholz.
883 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
885 Fix for PR automake/280:
886 * automake.in (read_am_file): Warn about trailing backslashes
888 * tests/comment5.test: New file.
889 * tests/Makefile.am (TESTS): Add comment5.test.
890 Reported by Enrico Scholz.
892 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
894 * tests/comment4.test: New file.
895 * tests/Makefile.am (TESTS): Add comment4.test.
897 Fix for comment4.test:
898 * automake.in (read_am_file): Output leading comments only when
899 encountering white lines.
901 2002-01-01 Tom Tromey <tromey@redhat.com>
904 * tests/Makefile.am (TESTS): Added strip.test.
905 * tests/strip.test: New file.
907 * automake.texi (Extending): Mention uninstall-hook.
909 * automake.in (handle_factored_dependencies): Allow
912 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
914 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
915 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
916 This fixes a bug introduced on 2001-01-28.
917 Reported by Jared Davis.
921 Copyright (C) 2002 Free Software Foundation, Inc.
923 This file is part of GNU Automake.
925 GNU Automake is free software; you can redistribute it and/or modify
926 it under the terms of the GNU General Public License as published by
927 the Free Software Foundation; either version 2, or (at your option)
930 GNU Automake is distributed in the hope that it will be useful,
931 but WITHOUT ANY WARRANTY; without even the implied warranty of
932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
933 GNU General Public License for more details.
935 You should have received a copy of the GNU General Public License
936 along with autoconf; see the file COPYING. If not, write to
937 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
938 Boston, MA 02111-1307, USA.