1 2002-04-04 Paul Eggert <eggert@twinsun.com>
4 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
5 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
6 MAKEFLAGS contains '$(...)'.
8 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
10 * tests/specflags8.test: Typo.
12 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
14 * tests/specflags6.test: Run aclocal.
15 * tests/Makefile.am (TESTS): Add specflags6.test.
17 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
19 * tests/specflags7.test, tests/specflags8.test: New files.
20 * tests/Makefile.am (TESTS): Add them.
21 (XFAIL_TESTS): Add specflags8.test.
23 2002-03-29 Tom Tromey <tromey@redhat.com>
25 * automake.in (check_typos): Examine AM_LDFLAGS.
26 Fixes PR automake/311.
29 * lib/am/libtool.am (clean-libtool): Use LTRMS.
30 * automake.in (handle_single_transform_list): When processing a
31 libtool object, clean the ordinary object and register the
33 (libtool_clean_directories): New global.
34 (initialize_per_input): Initialize it.
35 (generate_makefile): Call handle_libtool later.
36 (handle_libtool): Handle libtool_clean_directories.
37 * tests/subobj9.test: New file.
38 * tests/Makefile.am (TESTS): Added subobj9.test.
40 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
42 * tests/extra6.test, tests/subdir5.test: Require GNU make.
44 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
46 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
48 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
50 * tests/extra7.test: New file.
51 * tests/Makefile.am: Add it.
52 * lib/am/distdir.an (distdir): When a distribuable directory
53 exists both in `.' and $(srcdir), merge both directories. This
54 works around a failure of extra6.test on Tru64 reported by
57 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
59 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
61 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
63 * Makefile.am (maintainer-check): Catch occurrences of
64 `$MAKE foo=bar' in the testsuite. Suggest using
65 `foo=bar $MAKE -e' instead.
66 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
67 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
68 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
69 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
71 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
73 Fix for PR automake/310:
74 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
75 so it never appears as a plain word.
77 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
79 * lib/depcomp (tru64): Correctly compute `base'.
81 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
83 * tests/pr211.test: s/requires/required/, otherwise the test fails
84 if libtool is not installed.
86 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
88 * tests/dirname.test: Don't use $SHELL when calling ./configure.
90 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
92 * tests/dirname.test: Use --quiet to fix failure on installations
94 Reported by Nicolas Joly.
96 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
98 * Makefile.am (maintainer-check): Check for misuses of make,
99 autoconf, automake, aclocal, and perl in the testsuite. Suggest
100 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
101 * tests/confsub.test: Use $AUTOCONF and $MAKE.
102 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
103 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
104 tests/pr224.test, tests/pr287.test, tests/strip.test,
105 tests/yacc8.test: Use $MAKE.
107 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
109 Add support for two-dot versions.
111 * tests/version5.test: New file.
112 * tests/Makefile.am (TESTS): Add it.
113 * automake.in (version_split, version_compare): New functions.
114 (version_check): Rewrite using version_split and version_compare.
115 (process_option_list): Adjust regex.
117 2002-03-18 Richard Boulton <richard@tartarus.org>
119 Fix for PR automake/306:
120 * automake.texi (Generalities): Document +=.
121 (Conditionals): Document limitations of += with conditionals.
123 2002-03-17 Tom Tromey <tromey@redhat.com>
125 Fix for PR automake/295:
126 * automake.texi (Invoking Automake): Deprecate --output-dir.
127 * automake.in (usage): Don't document --output-dir.
128 (output_directory): Don't initialize.
129 (parse_arguments): Deprecate --output-dir.
131 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
132 Fixes PR automake/304.
134 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
136 * tests/dirforbid.test: Workaround for NetBSD sh bug.
137 Fixes PR automake/305.
139 2002-03-11 Richard Boulton <richard@tartarus.org>
141 * automake.in (check_typos): Allow variables with reserved
142 suffices (such as _LDFLAGS) and prefixes which aren't
143 recognised if the variable is defined in configure.ac.
146 2002-03-11 Richard Boulton <richard@tartarus.org>
148 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
149 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
150 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
152 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
154 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
157 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
159 Fix for PR automake/303:
160 * automake.in (version_check): Move the error message ...
161 (process_option_list): ... here, so we can distinguish between
162 global and local options.
164 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
166 * tests/pr300-lib.test, tests/pr300-ltlib.test,
167 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
168 Autoconf doesn't complain about Makefile being output twice.
170 2002-03-06 Tom Tromey <tromey@redhat.com>
172 * configure.in: Upped version to 1.6a.
174 2002-03-05 Tom Tromey <tromey@redhat.com>
176 * configure.in: Released 1.6.
178 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
180 Fix for PR automake/300:
181 * tests/pr300-lib.test, tests/pr300-ltlib.test,
182 tests/pr300-prog.test: New files.
183 * tests/Makefile.am (TESTS): Add them.
184 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
185 compute the directory.
186 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
187 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
188 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
189 (uninstall-%DIR%LIBRARIES): Honor nobase_.
190 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
191 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
192 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
193 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
194 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
195 (uninstall-%DIR%PROGRAMS): Honor nobase_.
196 See also the fix for nobase.test on 2001-11-09.
198 2002-03-05 Tom Tromey <tromey@redhat.com>
200 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
202 2002-03-05 Pavel Roskin <proski@gnu.org>
204 * tests/yacc8.test: Add a command between "test" and "cd" to
205 work around a bug in bash-2.05.
207 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
209 Fix for PR automake/294:
210 * tests/dirforbid.test: New file.
211 * tests/Makefile.am (TESTS): Add it.
212 * automake.in (standard_prefix): New hash.
213 (am_primary_prefixes): Forbid standard_prefixes which are not
215 * automake.texi (Uniform): Remove FIXME.
217 2002-03-05 Jim Meyering <meyering@lucent.com>
219 * automake.in (@common_files): Add config.rpath.
221 2002-03-05 Kevin Ryde <user42@zip.com.au>
224 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
225 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
228 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
230 * automake.in (scan_one_autoconf_file): Declare
231 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
232 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
233 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
234 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
235 of s/// in the sed invocation, to support filenames containing
237 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
238 * tests/lex5.test, tests/yacc8.test: New files.
239 * tests/Makefile.am (TESTS): Add them.
241 2002-02-23 Per Bothner <per@bothner.com>
243 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
246 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * tests/make.test: Revert the grep logic to work around a bug
249 in NetBSD sh (see NetBSD Problem Report #11542).
250 Reported by Patrick Welche.
252 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
254 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
255 to try and prevent a non-lisp emacs from starting in interactive
257 * automake.texi: Document this change.
259 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
261 * automake.texi (Macros): Split into ...
262 (Public Macros, Private Macros): ... these.
264 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
266 * tests/insthook.test: Use sed instead of "tail +X".
268 2002-02-18 Paul Eggert <eggert@twinsun.com>
270 * lib/depcomp: Don't use "tail +3"; it's not portable to
271 POSIX 1003.1-2001 hosts.
273 2002-02-18 Jim Meyering <meyering@lucent.com>
275 * tests/cond12.test: Use sed 1q, not `head -n 1'.
276 The latter is not portable to some old systems.
277 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
278 Use `sed 1q' instead.
279 * tests/insthook.test: Likewise.
281 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
283 * automake.in (handle_lib_objects_cond): Tell the user to put
284 global linker flags in AM_LDFLAGS, not LDFLAGS.
286 * automake.texi (General Operation): AC_SUBST'ed variables
287 override Automake's variables.
288 (Uniform): More words and @refs.
289 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
290 (etags): More explanations about the first example.
291 (Invoking Automake): Mention autoreconf. More @refs.
292 (Requirements): Mention AC_CONFIG_FILES.
293 (Optional): AC_CHECK_TOOL will no longer install config.sub and
294 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
295 (Invoking aclocal): aclocal no longer warn about duplicates.
296 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
297 (Extending aclocal): Suggest using the output of
298 `aclocal --print-ac-dir` to install third-party macros.
299 (Alternative): Specify ordering of dist_, nodist_, and nobase_
301 (A Program): Mention scripts. The global LDADD variable is not
302 meant to hold link flags, suggest using AM_LDFLAGS instead.
303 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
304 _LIBADD and _LDADD are subject to the same restriction wrt to
306 (Program and Library Variables) <maude_DEPENDECIES>: Is also
307 derived from maude_LIBADD.
308 (Program variables): Define AM_LDFLAGS.
309 (Dependencies): Passing the no-dependencies option to
310 AM_INIT_AUTOMAKE is prefered.
311 (Scripts): Explain why automake is magically cleaned.
312 Mention noinst_SCRIPTS and check_SCRIPTS.
313 (Data): Use dist_ in Automake's example.
314 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
315 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
317 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
319 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
320 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
321 of asking the maintainer to do it manually.
322 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
323 Automake/XFile.pm: New upstream versions.
325 2002-02-02 Tom Tromey <tromey@redhat.com>
327 * automake.texi (Macros): Warn about upgrading.
329 2002-02-01 Tom Tromey <tromey@redhat.com>
331 Change per GNU coding standards:
332 * aclocal.in (parse_arguments): Only mention most recent year in
334 * automake.in (version): Only mention most recent year.
336 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
338 * automake.texi (API versioning): New Node.
339 (Extending): Use $(DESTDIR) in examples.
341 2002-01-28 Akim Demaille <akim@epita.fr>
343 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
344 Respect the --help layout.
346 2002-01-27 Tom Tromey <tromey@redhat.com>
348 * configure.in: Bumped to 1.5e.
350 * lib/am/yacc.am: Use `rm -f'.
352 * configure.in: Released 1.5d.
354 * lib/config.guess: New version from FSF.
356 * Makefile.am (uninstall-hook): New target.
358 2002-01-24 Akim Demaille <akim@epita.fr>
360 * lib/install-sh: Update, from Autoconf.
362 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
364 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
365 as AC_CANONICAL_HOST (the former does not require the latter since
367 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
368 * automake.texi (Requirements): Do not require STRIP to be
371 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
373 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
374 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
375 * tests/pr224.test: Make sure .deps subdirectories are
378 2002-01-22 Tom Tromey <tromey@redhat.com>
380 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
381 no-dependencies option is set.
382 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
383 no-dependencies option is set. Don't call AM_DEP_TRACK or
386 2002-01-22 Pavel Roskin <proski@gnu.org>
388 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
391 2002-01-22 Akim Demaille <akim@epita.fr>
393 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
396 2002-01-21 Tom Tromey <tromey@redhat.com>
398 * Makefile.am (fetch): Don't fetch ansi2knr.
400 * automake.texi (Macros): Updated for new variable names.
401 (Program and Library Variables): Likewise.
402 (Assembly Support): Likewise.
403 * m4/as.m4: Use CCAS and CCASFLAGS.
404 * automake.in (asm): Use CCAS and CCASFLAGS.
406 2002-01-21 Akim Demaille <akim@epita.fr>
408 * automake.in (&parse_arguments): Use a more GNUish error message
411 2002-01-20 Tom Tromey <tromey@redhat.com>
413 Fix for PR automake/231:
414 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
415 * m4/depend.m4: Document `GCJ'.
418 * tests/Makefile.am (TESTS): Added pr224.test.
419 * tests/pr224.test: New file.
420 * lib/depcomp: Fixed computation of depfile.
421 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
422 * automake.in (handle_single_transform_list): Only reject `..'
423 component for Java. Put dependencies in directory near object.
424 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
426 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
428 * tests/defs: Export AUTOMAKE and ACLOCAL.
430 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
432 Fix for PR automake/204:
433 * tests/pr204.test: New file.
434 * tests/Makefile.am (TESTS): Add it.
435 * automake.in (handle_single_transform_list): Don't distribute
436 sources derived from non-distributed sources.
438 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
440 Fix for PR automake/229:
441 * tests/pr229.test: New file.
442 * tests/Makefile.am (TESTS): Add it.
443 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
444 AC_EMXOS2, and AC_MINGW32.
446 2002-01-18 Tom Tromey <tromey@redhat.com>
448 * tests/cond7.test: Fix test bug exposed by copyright update.
451 * automake.in (lang_c_rewrite): Don't prepend directory to base if
452 directory is `.'. Also, properly compute de_ansi_files entry in
454 * tests/Makefile.am (TESTS): Added ansi7.test.
455 * tests/ansi7.test: New file.
457 * aclocal.in (parse_arguments): Added 2002.
458 (write_aclocal): Likewise.
459 (parse_arguments): Updated my email address.
460 * automake.in (gen_copyright): Added 2002.
461 (version): Likewise. Also, changed my email address.
463 * configure.in (APIVERSION): Refined definition.
465 2002-01-18 Tom Tromey <tromey@redhat.com>
468 * lib/missing: Accept versioned aclocal.
469 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
471 2002-01-17 Pavel Roskin <proski@gnu.org>
473 * m4/Makefile.am (m4datadir): Use APIVERSION.
475 2002-01-16 Tom Tromey <tromey@redhat.com>
477 * Makefile.am (install-exec-hook): Use APIVERSION.
478 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
479 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
481 * automake.in (perllibdir): Use APIVERSION.
483 * aclocal.in (perllibdir): Use APIVERSION.
484 (APIVERSION): New global.
485 (parse_arguments): Use APIVERSION.
486 * configure.in (APIVERSION): New subst.
487 (pkgvdatadir): Use APIVERSION.
489 2002-01-15 Tom Tromey <tromey@redhat.com>
492 * lib/missing: Match against `automake*' to pick up versioned
494 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
495 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
497 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
498 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
500 (scriptdir): Use pkgvdatadir.
501 (installcheck-local): Likewise.
502 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
503 * automake.in (perllibdir): Added VERSION.
505 * aclocal.in (parse_arguments): Search versioned directory. Don't
506 push unversioned directory unless it exists.
507 (perllibdir): Added VERSION.
508 (default_acdir): New global.
509 * m4/Makefile.am (m4datadir): Added $(VERSION).
510 * Makefile.am (install-exec-hook): New target.
511 * configure.in (ACLOCAL): Search build directory.
512 (pkgvdatadir): New subst.
514 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
516 * lib/config.sub, lib/config.guess: New versions from FSF.
518 2002-01-13 Tom Tromey <tromey@redhat.com>
521 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
523 (lang_c_finish): Likewise. Also, use directory information from
526 2002-01-13 Kevin Ryde <user42@zip.com.au>
529 * tests/Makefile.am (TESTS): Added ansi6.test.
530 * tests/ansi6.test: New file.
532 2002-01-13 Tom Tromey <tromey@redhat.com>
535 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
537 * tests/Makefile.am (TESTS): Added pr287.test.
538 * tests/pr287.test: New file.
540 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
542 * lib/am/distdir.am (distdir): Handle subdirectories.
543 * tests/extra6.test: New file.
544 * tests/Makefile.am (TESTS): Add it.
546 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
548 * tests/extra2.test: Run $ACLOCAL.
550 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
552 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
553 AM_INIT_AUTOMAKE arguments when using the old-style call.
554 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
555 Suggested by Pavel Roskin.
557 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
559 * test/nodefine.test, test/nodefine2.test: Check that no-define
560 works, not the contrary...
561 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
562 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
565 2002-01-12 Jim Meyering <meyering@lucent.com>
567 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
568 * tests/libobj11.test: New file.
569 * tests/Makefile.am (TESTS): Add libobj11.test.
571 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
573 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
575 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
577 * automake.in (file_contents_internal): Introduce two variables,
578 $is_rule and $discard_rules to track rules spanning across multiple
579 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
580 where only the first paragraph of such a multi-paragraph rule was
581 discarded; but it leaves many similar latent bugs (see the FIXMEs).
583 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
585 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
586 * tests/error.test: Use some macro names which are not defined by
589 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * automake.texi (Complete, Macros, Options): Document the new style
592 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
593 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
594 AC_INIT if they are available there. Support a new call form
595 where the only argument is an optional space-separated list of
597 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
598 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
599 _AM_IF_OPTION): New functions.
600 * automake.in (AC_INIT_PATTERN): New variable.
601 (global_options_line): Remove, use $seen_init_automake instead.
602 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
603 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
604 Remove the AM_AUTOMAKE_OPTIONS handling.
605 * configure.in: Modernize.
606 * tests/defs (configure.in): Modernize. One third of the tests
607 still overwrite the default configure.in and use an old
608 AM_INIT_AUTOMAKE call, so that makes testing for both.
609 * tests/nodefine.test, tests/nodefine2.test: New files.
610 * tests/Makefile.am (TESTS): Add them.
612 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
614 * automake.in (define_configure_variable): Propagate line numbers.
616 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
618 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
620 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
622 * configure.in: Run the Autoconf test in a subdirectory, then
623 erase this directory.
625 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
627 * configure.in (AUTOMAKE): Create m4/amversion.m4.
628 * m4/amversion.in: New file.
629 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
630 (dist_m4data_DATA): ... this.
631 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
632 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
633 AM_SET_CURRENT_AUTOMAKE_VERSION.
634 * automake.in (seen_automake_version): New variable.
635 (scan_autoconf_traces, scan_one_autoconf_file,
636 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
637 when the version used in aclocal.m4 differs from Automake's.
638 * tests/defs (ACLOCAL): Look in ../m4 too.
639 * tests/installsh.test (ACLOCAL): Likewise.
640 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
642 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
644 * automake.in (handle_languages): Emit an automake
645 internal variable 'am__depfiles_maybe'.
646 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
648 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
651 2002-01-06 Tom Tromey <tromey@redhat.com>
653 * automake.texi (Tags): Document new variables.
654 * lib/am/tags.am (ETAGS): New macro.
655 (ETAGSFLAGS): Likewise.
658 2002-01-04 Tom Tromey <tromey@redhat.com>
660 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
662 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
664 * automake.in (read_am_file): Thinko in "comment following
665 trailing backslash" detection.
666 * tests/comment5.test: Test for this too.
668 2002-01-02 Tom Tromey <tromey@redhat.com>
670 * automake.texi (Extending): Added index for uninstall-hook.
672 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
674 Fix for PR automake/278:
675 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
676 with versions such as '2.2c1'. Also, use `int' instead of the
677 obsoleted `string.atoi'.
678 Reported by Enrico Scholz.
680 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
682 Fix for PR automake/280:
683 * automake.in (read_am_file): Warn about trailing backslashes
685 * tests/comment5.test: New file.
686 * tests/Makefile.am (TESTS): Add comment5.test.
687 Reported by Enrico Scholz.
689 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
691 * tests/comment4.test: New file.
692 * tests/Makefile.am (TESTS): Add comment4.test.
694 Fix for comment4.test:
695 * automake.in (read_am_file): Output leading comments only when
696 encountering white lines.
698 2002-01-01 Tom Tromey <tromey@redhat.com>
701 * tests/Makefile.am (TESTS): Added strip.test.
702 * tests/strip.test: New file.
704 * automake.texi (Extending): Mention uninstall-hook.
706 * automake.in (handle_factored_dependencies): Allow
709 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
711 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
712 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
713 This fixes a bug introduced on 2001-01-28.
714 Reported by Jared Davis.
716 2001-12-31 Tom Tromey <tromey@redhat.com>
718 * automake.texi (Extending): Document installcheck-local. Added
719 installdirs-local index entry.
720 (Tests): Document installcheck-local.
722 * automake.in (handle_single_transform_list): Indentation fix.
724 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
726 * automake.in (common_files): Add COPYING.DOC.
727 Suggested by Karl Berry.
729 2001-12-30 Tom Tromey <tromey@redhat.com>
731 * automake.in (define_configure_variable): Define a user macro,
732 not an automake macro.
733 * tests/Makefile.am (TESTS): Added ar.test.
734 * tests/ar.test: New file.
737 * automake.in (object_compilation_map): New global.
738 (initialize_per_input): Initialize it.
739 (COMPILE_LIBTOOL): New constant.
740 (COMPILE_ORDINARY): Likewise.
741 * tests/Makefile.am (TESTS): Added pr211.test.
742 * tests/pr211.test: New file.
745 * configure.in: Use AM_AUTOMAKE_OPTIONS.
746 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
747 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
748 (Options): Mention AM_AUTOMAKE_OPTIONS.
749 * automake.in (global_options): New global.
750 (global_options_line): Likewise.
751 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
752 (scan_one_autoconf_file): Likewise.
753 (process_option_list): New function.
754 (handle_options): Use it. Also, handle global options.
755 * m4/Makefile.am (m4data_DATA): Added options.m4.
756 * m4/options.m4: New file.
758 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
760 (?!SUBDIRS?installdirs): Likewise.
761 * automake.in (handle_installdirs): Handle installdirs-local.
762 * automake.texi (Extending): Mention installdirs.
763 * tests/Makefile.am (TESTS): Added installdir.test.
764 * tests/installdir.test: New file.
766 2001-12-30 Akim Demaille <akim@epita.fr>
768 * lib/am/yacc.am: Also rename the possible y.output file.
769 Remove the trailing y.tab.h.
771 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
773 * automake.texi (Install): Remove mention of nonexistent
776 2001-12-30 Alan Modra <amodra@bigpond.net.au>
778 * automake.in (generate_makefile): Unlink output file before
779 opening so that any hard links are not changed.
781 2001-12-30 Tom Tromey <tromey@redhat.com>
783 * tests/pr220.test: Use `required' to pick up gcc.
786 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
788 * tests/Makefile.am (TESTS): Added pr243.test.
789 * tests/pr243.test: New file.
792 * tests/Makefile.am (TESTS): Added pr220.test.
793 * tests/pr220.test: New file.
794 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
795 fail if conditional was never run.
798 * lib/depcomp (tru64): Correctly handle libtool case.
799 From doreille@smr.ch.
801 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
803 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
804 Reported by Yann Droneaud.
806 2001-12-29 Tom Tromey <tromey@redhat.com>
809 * tests/Makefile.am (TESTS): Added pr266.test.
810 * tests/pr266.test: New file.
811 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
812 non-standard name for makefile.
815 * automake.in (conditional_ambiguous_p): New sub.
816 (handle_lib_objects_cond): Use it.
817 (check_ambiguous_conditional): Use it.
818 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
819 * tests/pr279.test: New file.
820 * tests/pr279-2.test: New file.
822 2001-12-26 Tom Tromey <tromey@redhat.com>
825 * tests/Makefile.am (TESTS): Added nodist2.test.
826 * tests/nodist2.test: New file
828 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
830 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
832 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
834 * configure.in: Test for Autoconf >= 2.52.
835 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
836 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
837 tests/cond4.test, tests/cond9.test, tests/cond16.test,
838 tests/cond18.test, tests/cond19.test, tests/cond20.test,
839 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
840 tests/depend2.test, tests/dirname.test, tests/distname.test,
841 tests/extra5.test, tests/install2.test, tests/lex3.test,
842 tests/make.test, tests/nobase.test, tests/pr9.test,
843 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
844 tests/subdirbuiltsources.test, tests/subobj3.test,
845 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
846 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
847 tests/yaccvpath.test: Do not use $needs_autoconf.
849 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
851 * configure.in: Bump version to 1.5c.
853 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
855 * configure.in: Bump version to 1.5b.
857 * lib/config.sub, lib/config.guess: New versions from FSF.
859 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
861 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
863 * automake.in (check_gnu_standards, check_gnits_standards): Pass
864 "$am_file.am" as WHERE argument to require_file.
866 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
868 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
869 in loop until we find one the satisfies the user supplied version.
870 Add python2 to the list of known interpreters. Don't use
871 changequote. Cache the calculation of PYTHON_VERSION and
873 (AM_PYTHON_CHECK_VERSION): New function, extracted from
874 AM_PATH_PYTHON and modernized.
875 * m4/runlog.m4: New file.
876 * m4/Makefile.am (m4data_DATA): Add it.
878 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
881 tests/nobase.test, tests/stamph2.test,
882 tests/subdirbuiltsources.test: Require Autoconf.
884 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
886 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
887 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
888 Suggested by Merijn de Jonge.
890 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
892 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
893 like other ID dependencies.
894 Suggested by Christian Cornelssen.
896 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
898 * automake.in (handle_dist): Distribute common files which
899 do not exist but are target of a Makefile rule.
900 * automake.texi (Dist): Update.
901 * test/builtcommon3.test: New file.
902 * test/Makefile.am (TESTS): Add distcommon3.test.
904 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
906 * automake.in (macro_define): Fix misuse of chomp introduced on
909 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
911 * automake.in (append_comments): New. Extracted from
912 read_am_file. Match '\n' with a regexp, don't use substr (the
913 perlport man page says '\n' is not always one byte wide).
914 (read_am_file): Use it. Always chomp $_.
915 (file_contents_internal): Use append_comments.
916 (macro_define): Don't treat the trailing '\n' with substr, use
919 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
921 * tests/defs: Turn on shell traces when VERBOSE=x.
923 2001-11-26 Tom Tromey <tromey@redhat.com>
925 * automake.texi (Assembly Support): Mention .s and .S as only
928 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
930 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
933 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
935 * tests/lex3.test: Require GNU Make.
937 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
939 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
942 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
944 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
945 in $(srcdir), like other TAGS dependencies.
946 Suggested by Christian Cornelssen.
948 2001-11-26 Akim Demaille <akim@epita.fr>
950 * automake.in (¯o_define): Use $where when reporting an error,
951 not the place where the macro was first defined since (i) if this
952 is the first definition, then obviously it was not defined before,
953 and (ii) anyway, the error is with the new definition, not the
956 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
958 * lib/am/distdir.am (distcheck): Call distcleancheck.
959 (distcleancheck_listfiles, distcleancheck): New, extracted from
961 * automake.texi (Checking the distribution): Document
962 distcleancheck_listfiles and distcleancheck.
964 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
966 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
967 foreach invocation, otherwise Perl5.005_03 complains about a
968 syntax error. Reported by Yann Droneaud.
970 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
972 * automake.in (scan_texinfo_file): Suppress FIXME about strange
975 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
977 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
978 gettext.m4 if required.
980 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
982 * automake.in (define_objects_from_sources,
983 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
984 the equivalant substitution.
986 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
988 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
989 set of accepted characters in extensions.
990 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
992 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
994 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
996 * automake.texi (Suffixes): Don't require SUFFIXES, but document
997 its use for the "extreme" cases.
999 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1001 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
1002 to match suffix rules for known extensions, or call
1003 accept_extensions on suffixe rules for unknown extensions.
1004 (var_SUFFIXES_trigger): New function.
1005 (macro_define): Call var_VAR_trigger when $VAR is updated.
1006 * tests/suffix6.test, tests/suffix7.test: New files.
1007 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
1009 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1011 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
1013 (handle_single_transform_list, lang_yacc_target_hook): Use
1014 KNOWN_EXTENSIONS_PATTERN.
1015 (accept_extension): New function.
1016 (register_language): Call it.
1018 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1020 At every place where an "$extension" is used, include the leading
1021 dot in the extension, don't hardcode it when building the filename.
1022 That will make any support for a dot-less extension easier to add.
1024 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
1026 ("main"): Prepend a '.' to the supported extensions of all
1027 languages (e.g. 'c' becomes '.c').
1028 (handle_languages, handle_single_transform_list,
1029 handle_lib_objects_cond, handle_headers, derive_suffix,
1030 rule_define): Do not add a dot
1031 before extensions, and include dots in matching groups.
1032 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
1033 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
1034 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
1035 (%EXT%%DERIVED-EXT%): ... this.
1036 * lib/am/yacc.am: Likewise.
1038 2001-11-12 Akim Demaille <akim@epita.fr>
1040 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
1041 Use `"#"' and `"\""', which
1042 Autoconf mode prefers over `'#'' and `'"''.
1043 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
1044 Rely on AC_MSG 2.50's quotation.
1046 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1048 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
1050 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1052 * lib/am/distdir.am (distdir): Also look for directory in build
1053 directory first. (See 2001-05-14.)
1054 * tests/Makefile.am (TESTS): Add extra5.test.
1055 * tests/extra5.test: New file.
1058 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1060 Fix for distcommon2.test:
1061 * automake.in (automake_needs_to_reprocess_all_files): New
1063 ("main"): Process all Makefiles a second time if
1064 $automake_needs_to_reprocess_all_files is set.
1065 (maybe_push_required_file): Return 1 or 0 whether the file is
1067 (require_file_internal): Set $automake_needs_to_reprocess_all_files
1068 if an added file can't be pushed.
1070 * test/distcommon2.test: New file.
1071 * test/Makefile.am (TESTS): Add distcommon2.test.
1074 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1076 * automake.in (exec_dir_p): Remove. Replace by...
1077 (EXEC_DIR_PATTERN):... this.
1078 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
1080 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1082 Fix for nobase.test:
1083 * lib/am/header-vars.am (install_sh_DATA): New.
1084 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
1085 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
1086 of $(INSTALL_DATA) for nobase_ targets.
1087 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
1088 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
1089 * tests/nobase.test (configure.in): Append AC_OUTPUT.
1090 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
1092 2001-11-08 Akim Demaille <akim@epita.fr>
1094 * automake.texi: Remove references to stamp-h.in, which no longer
1096 * tests/stamph2.test: Formatting change.
1098 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1100 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
1101 Don't use -Wno-error.
1103 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1105 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
1106 * tests/suffix5.test ($AUTOMAKE): Likewise.
1108 2001-11-07 Akim Demaille <akim@epita.fr>
1110 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
1112 Reported by Jim Meyering.
1114 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1116 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
1118 2001-11-05 Paul Eggert <eggert@twinsun.com>
1120 * lib/am/distdir.am (am__remove_distdir):
1121 New macro. Do not change permission of non-directories.
1122 Change only user permission, as there's no point to changing group
1123 or other permission.
1124 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
1127 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1129 * lib/am/python.am: Cleanup the cleaning section.
1130 * automake.texi (Python): Remove documentation for PYCFILES
1131 and PYOFILES. Update the first paragraphes.
1133 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1135 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1136 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1137 Adjust usage everywhere.
1139 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1141 * automake.in (libtool_files, libtool_sometimes, common_files,
1142 common_sometimes, config_aux_path): Use qw to simplify definition.
1143 (scan_texinfo_file) <clean_suffixes, predefined_index,
1144 hidden_index>: Likewise.
1145 (scan_autoconf_traces) <traced>: Likewise.
1146 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1149 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1151 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1152 derive_suffix. Don't use an hardcoded 'o' for object extensions.
1153 (derive_suffix): Accept $OBJ as a second argument, don't
1155 * tests/suffix5.test: New test.
1156 * tests/Makefile.am (TESTS): Add suffix5.test.
1157 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1159 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1161 * automake.in (handle_single_transform_list): Don't call
1162 $lang->target_hook for undefinied langages.
1163 * tests/suffix4.test: New test.
1164 * tests/Makefile.am (TESTS): Add suffix4.test.
1165 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1167 2001-11-05 Akim Demaille <akim@epita.fr>
1169 * automake.in (@common_sometimes, &handle_configure): No longer
1171 * lib/am/remake-hdr.am: Adjust.
1172 * tests/confh.test: There is no stamp.hin.
1174 2001-11-01 Akim Demaille <akim@epita.fr>
1176 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1177 `#line' and multiple inclusion guards.
1178 * lib/ylwrap: Remove debugging code.
1179 (input_dir, input_rx): Move where used.
1180 Use the output file name in `#line'.
1182 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1184 * automake.in (transform): Update documentation.
1186 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1188 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1189 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1191 2001-10-30 Akim Demaille <akim@epita.fr>
1193 * automake.in (&create): Reinstall.
1195 2001-10-30 Akim Demaille <akim@epita.fr>
1197 * automake.in (&append_exeext): Use macro_delete.
1199 2001-10-30 Akim Demaille <akim@epita.fr>
1201 * automake.in ($verbose): Remove, inherited from
1203 (&variable_delete): Rename as...
1204 (¯o_delete): this, for consistency.
1205 (&variable_assert): New.
1206 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1209 2001-10-29 Akim Demaille <akim@epita.fr>
1211 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1212 cluttering configure's stdout.
1214 2001-10-28 Akim Demaille <akim@epita.fr>
1216 * automake.in: Various formatting changes.
1217 (create): Remove, unused.
1219 2001-10-28 Akim Demaille <akim@epita.fr>
1221 * automake.in (&append_exeext): New.
1222 (&am_primary_prefixes): Use it.
1224 2001-10-28 Akim Demaille <akim@epita.fr>
1226 * automake.in (am_primary_prefixes): Now, in accordance with its
1227 comment, return the list of prefixes actually used, not all the
1228 possible prefixes for a primary.
1229 (&handle_libraries, &handle_ltlibraries, &handle_java)
1230 (&am_install_var): Adjust.
1231 * Makefile.am (maintainer-check): Allow `local $_;'.
1233 2001-10-28 Akim Demaille <akim@epita.fr>
1235 * automake.in: Various formatting changes.
1236 (&variable_defined): Second argument is optional.
1238 2001-10-28 Akim Demaille <akim@epita.fr>
1240 * automake.in (&am_primary_prefixes): Now returns a list, not a
1242 (&handle_libraries, &handle_ltlibraries, &handle_java)
1243 (&am_install_var): Adjust.
1245 2001-10-28 Akim Demaille <akim@epita.fr>
1247 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1249 (@libtool_files, @libtool_sometimes): these.
1250 ($libtool_location): Remove, completely replaced by $seen_libtool.
1251 (&require_file_internal): Do not run libtoolize, that's
1254 2001-10-28 Akim Demaille <akim@epita.fr>
1256 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1257 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1258 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1259 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1260 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1261 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1262 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1263 * tests/libobj8.test, tests/output.test, tests/output2.test,
1264 * tests/output3.test, tests/output4.test, tests/output5.test,
1265 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1266 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1267 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1268 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1271 2001-10-28 Akim Demaille <akim@epita.fr>
1273 * automake.in (&scan_autoconf_traces): Use eq for equality.
1275 Remove dead comment.
1276 (&initialize_per_input): Don't initialize several times the same
1279 2001-10-28 Akim Demaille <akim@epita.fr>
1281 * automake.in (scan_one_autoconf_file): When using %generalize, be
1282 sure to replace only words. AC_FUNC_OBSTACK was matching
1285 2001-10-26 Akim Demaille <akim@epita.fr>
1287 * tests/stamph2.test: Strengthen.
1288 * tests/confh2.test, tests/confh3.test: Remove.
1289 These are bad tests: they don't check the effects, but some
1290 internal details in Makefile.
1291 And they are covered by stamph2.test.
1293 2001-10-26 Akim Demaille <akim@epita.fr>
1295 Now that stamp-h's are created by config.status, we don't need to
1296 handle them in Makefile's.
1298 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1299 * m4/header.m4 (_AM_STAMP): New.
1300 (_AM_CONFIG_HEADER): Use it.
1302 2001-10-26 Akim Demaille <akim@epita.fr>
1304 * automake.in (&generate_makefile, &handle_texinfo_helper)
1305 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1306 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1307 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1308 `join (' ', @list)' into `"@list"'.
1310 2001-10-26 Akim Demaille <akim@epita.fr>
1312 * automake.in (@config_fullnames, @config_names): Remove.
1313 (@config_headers): Now contains the actual spec used in
1315 (&split_config_file_spec): New.
1316 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1317 (&scan_one_autoconf_file): Adjust.
1318 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1321 2001-10-26 Akim Demaille <akim@epita.fr>
1323 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1324 (AM_CONFIG_HEADER): Use it.
1326 2001-10-26 Akim Demaille <akim@epita.fr>
1328 * automake.in (&handle_configure): Use the config.status 2.50
1329 invocation syntax for config files and headers.
1330 autoheader needs the name of the file to create, not from what it
1331 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1333 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1334 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1336 Strengthen: Use the non-default config.hin source.
1337 Strengthen: Make sure config.h is properly updated when config.hin
1340 2001-10-26 Akim Demaille <akim@epita.fr>
1342 * automake.in (&handle_configure): Seeing Automake files in
1343 @other_input_files is a programming error, not merely something to
1345 Factor slightly the code.
1347 2001-10-26 Akim Demaille <akim@epita.fr>
1349 * automake.in ($canonical_location): New.
1351 (&require_config_file, $line_error): Remove.
1353 2001-10-24 Akim Demaille <akim@epita.fr>
1355 * automake.in: Use &verbose.
1356 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1359 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1361 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1362 Have the basename step optional and use %NDIR% instead of %DIR% in
1363 filenames in order to support 'nobase_'.
1365 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1367 * automake.in (handle_languages, handle_single_transform_list,
1368 lang_c_rewrite): Use require_conf_file instead of
1369 require_config_file to require depcomp or compile from
1370 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1371 mistakenly reverted.)
1373 2001-10-24 Akim Demaille <akim@epita.fr>
1375 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1378 2001-10-24 Akim Demaille <akim@epita.fr>
1380 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1381 appear in Makefile.in in the clean rule.
1383 * tests/cxxansi.test: Adjust.
1385 2001-10-24 Akim Demaille <akim@epita.fr>
1387 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1388 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1390 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1391 (&conf_error, &file_warning): these.
1392 (&file_warning): Fix the prototype and argument handling.
1393 (&am_line_warning): Remove, unused.
1395 Also, repair the misapplication of previous patches.
1397 2001-10-21 Akim Demaille <akim@epita.fr>
1399 * automake.in ($ac_output_location): Replace with...
1400 ($ac_config_files_location): this.
1401 (&scan_autoconf_traces): We don't need $file and $line, $here is
1403 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1404 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1406 2001-10-21 Akim Demaille <akim@epita.fr>
1408 * automake.in (&require_file_with_macro): Use &require_file.
1409 (&read_am_file): Move the definition of $here at its proper place.
1411 2001-10-21 Akim Demaille <akim@epita.fr>
1413 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1414 ($libtool_location, $pythondir_location): these.
1415 (&require_conf_file_with_line, &require_conf_file_with_line):
1417 (&require_file): Don't forget $where.
1418 (&require_conf_file): Ahem... Fix the name.
1419 (&require_config_file): Invoke &require_conf_file, not yourself.
1420 (&am_line_error): Fix the default am_file_error invocation.
1422 2001-10-21 Akim Demaille <akim@epita.fr>
1424 * automake.in ($seen_lispdir): Replace with...
1425 ($am_lispdir_location): this.
1426 (&require_conf_file): New.
1427 (&require_config_file, &require_conf_file_with_line,
1428 (&require_conf_file_with_conf_line): Use it.
1429 (&require_conf_file_with_macro): New.
1431 2001-10-21 Akim Demaille <akim@epita.fr>
1433 * automake.in ($config_header_line, $ac_output_line)
1434 ($ac_gettext_line, $package_version_line): Replace with...
1435 ($config_header_location, $ac_output_location)
1436 ($ac_gettext_location, $package_version_location): these.
1437 (&require_file_with_conf_line, &require_file_with_line): Remove,
1440 2001-10-21 Akim Demaille <akim@epita.fr>
1442 * automake.in (&require_file_internal): Instead of $file and $line,
1443 take $where as first argument.
1445 (&require_file_with_macro): New.
1446 Use it where internal black magic was used to recover the location
1447 of a macro definition.
1449 2001-10-21 Akim Demaille <akim@epita.fr>
1451 * automake.in (&read_am_file): Define and use `$here'.
1452 Avoid using am_line_error.
1454 2001-10-21 Akim Demaille <akim@epita.fr>
1456 * automake.in (&am_target_error): New.
1457 Use it where appropriate instead of...
1458 (&am_line_error): this.
1459 Using it for a target is a croak error.
1461 2001-10-21 Akim Demaille <akim@epita.fr>
1463 * automake.in (&am_macro_error): New.
1464 Use it where appropriate instead of...
1465 (&am_line_error): this.
1466 Using it for a macro is a croak error.
1468 2001-10-21 Akim Demaille <akim@epita.fr>
1470 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1471 AC_OUTPUT a Makefile.
1473 2001-10-21 Akim Demaille <akim@epita.fr>
1475 * automake.in (%var_line): Rename as...
1476 (%var_location): this.
1477 Use it consistently as the location where the macro is defined,
1478 file and line when possible, otherwise just file.
1479 (&read_am_file): Rules have their own location tracking, don't
1480 pollute %var_location.
1482 2001-10-21 Akim Demaille <akim@epita.fr>
1484 * automake.in (am_line_error): Clarify.
1486 2001-10-21 Akim Demaille <akim@epita.fr>
1488 * automake.in (&am_print_error): Set $exit_status since all your
1490 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1492 (&am_conf_line_error, &am_conf_line_warning): Remove.
1493 Adjust callers to use &am_file_error and...
1494 (&am_file_warning): new.
1496 2001-10-21 Akim Demaille <akim@epita.fr>
1498 * m4/regex.m4: Use AC_LIBOBJ.
1499 Require 2.50, and use AC_LIBSOURCES freely.
1500 * tests/asm.tests: Formatting changes.
1501 Exercise AM_PROG_AS.
1503 2001-10-21 Akim Demaille <akim@epita.fr>
1505 * tests/install.test: This test is an empty shell, do not run
1507 * tests/Makefile.am (TESTS): Don't run it.
1508 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1510 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1512 * tests/obsolete2.test: Remove, merged into...
1513 * tests/obsolete.test: here.
1514 Both aclocal and automake should complain.
1516 2001-10-21 Akim Demaille <akim@epita.fr>
1518 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1519 for symbols which cannot be Make macro names.
1520 (scan_one_autoconf_file): `$here' is new.
1521 Use it consistently instead of `1' to remember a token was seen.
1523 2001-10-21 Akim Demaille <akim@epita.fr>
1525 * tests/subdircond.test: Requires gettext.
1526 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1527 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1528 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1529 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1530 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1531 Produce valid configure.in, use aclocal appropriately, declare
1532 when libtool is required.
1534 2001-10-21 Akim Demaille <akim@epita.fr>
1536 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1537 * automake.texi (Macros, Yacc and Lex): Adjust.
1538 * automake.in ($seen_decl_yytext): Rename as...
1539 ($seen_prog_lex): this.
1540 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1541 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1543 2001-10-21 Akim Demaille <akim@epita.fr>
1545 * automake.in (&scan_autoconf_traces): Add support for
1546 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1548 2001-10-21 Akim Demaille <akim@epita.fr>
1550 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1551 libtool is required.
1552 * tests/lex.test: Run AC_INIT once.
1553 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1554 Libtool is required.
1555 * tests/header.test: Built a correct configure.in.
1556 * tests/defun2.test (configure.in): Be a bit respectful with
1557 Autoconf, close the macro invocations.
1558 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1561 * automake.in (scan_autoconf_traces): Add support for
1562 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1563 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1564 * tests/condincl.test (target): Better pattern, to avoid matching
1565 the definition of `target_alias' which is now properly discovered
1566 as an AC_SUBST by traces.
1567 * cond4.test: Better grep pattern: After all, why shouldn't
1568 TWO_FALSE be AC_SUBST properly.
1569 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1571 2001-10-20 Kevin Ryde <user42@zip.com.au>
1573 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1574 actually using ansi2knr.
1576 * automake.in (handle_configure): Always put a number on $stamp_name,
1577 to match AM_CONFIG_HEADER.
1579 2001-10-20 Tom Tromey <tromey@redhat.com>
1581 * tests/Makefile.am (TESTS): Added condd.test.
1582 (XFAIL_TESTS): Added condd.test.
1583 * tests/condd.test: New file.
1585 2001-10-20 Akim Demaille <akim@epita.fr>
1587 * automake.in (&scan_autoconf_traces): Add support for
1588 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1590 * tests/alpha.test (configure.in): Automake wants a Makefile.
1592 2001-10-20 Akim Demaille <akim@epita.fr>
1594 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1595 separator between trace arguments, in particular not `:' as it is
1596 within AC_CONFIG_FILES's $1.
1598 2001-10-20 Akim Demaille <akim@epita.fr>
1600 * tests/alpha.test (configure.in): Create, don't append. A single
1603 2001-10-20 Akim Demaille <akim@epita.fr>
1605 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1606 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1607 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1608 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1609 * tests/badline.test, tests/block.test, tests/canon2.test,
1610 * tests/check.test, tests/checkall.test, tests/clean.test,
1611 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1612 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1613 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1614 * tests/comment.test, tests/comment3.test, tests/cond.test,
1615 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1616 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1617 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1618 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1619 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1620 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1621 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1622 * tests/else.test, tests/empty.test, tests/exdir.test,
1623 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1624 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1625 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1626 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1627 * tests/include.test, tests/info.test, tests/insh.test,
1628 * tests/insh2.test, tests/install.test, tests/installsh.test,
1629 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1630 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1631 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1632 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1633 * tests/man.test, tests/mclean.test, tests/mdate.test,
1634 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1635 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1636 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1637 * tests/outdir.test, tests/output.test, tests/output2.test,
1638 * tests/output3.test, tests/output4.test, tests/output5.test,
1639 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1640 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1641 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1642 * tests/primary.test, tests/proginst.test, tests/python.test,
1643 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1644 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1645 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1646 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1647 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1648 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1649 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1650 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1651 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1652 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1653 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1654 * tests/version.test, tests/version2.test, tests/version3.test,
1655 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1656 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1658 2001-10-20 Akim Demaille <akim@epita.fr>
1660 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1661 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1662 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1663 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1664 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1665 * tests/confh3.test, tests/confh4.test, tests/config.test,
1666 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1667 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1668 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1669 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1670 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1671 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1672 * tests/output.test, tests/output2.test, tests/output3.test,
1673 * tests/output4.test, tests/output5.test, tests/package.test,
1674 * tests/parse.test, tests/pr2.test, tests/remake.test,
1675 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1676 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1677 * tests/subdir4.test, tests/subdirbuiltsources.test,
1678 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1679 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1680 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1681 since AM_INIT_AUTOMAKE requires them.
1683 2001-10-20 Akim Demaille <akim@epita.fr>
1685 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1687 Don't run AC_ARG_PROGRAM another time, it is required by
1689 * tests/aclocal.test: Work on the default configure.in
1690 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1691 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1693 Be realistic in testing: AC_INIT is required for Autoconf.
1694 Broken so called optimized tests break trace handling.
1696 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1697 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1698 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1699 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1700 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1701 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1702 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1703 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1704 * tests/confh4.test, tests/config.test, tests/confsub.test,
1705 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1706 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1707 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1708 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1709 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1710 * tests/libobj9.test, tests/output.test, tests/output2.test,
1711 * tests/output3.test, tests/output4.test, tests/parse.test,
1712 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1713 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1714 * tests/req.test, tests/scripts.test, tests/subdir.test,
1715 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1716 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1717 * tests/version2.test: Add AC_INIT in `configure.in'.
1719 2001-10-20 Akim Demaille <akim@epita.fr>
1721 * automake.in (&scan_autoconf_traces): Add support for
1722 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1723 Let @args have a more natural M4 correspondence: $1 is args[1], no
1725 (&scan_autoconf_files): Using autoconf traces is no longer a
1726 complement of the previous ad hoc scheme: use either.
1728 2001-10-20 Akim Demaille <akim@epita.fr>
1730 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1731 factors dedicated $libsources assignments.
1733 2001-10-20 Akim Demaille <akim@epita.fr>
1735 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1736 Remove, since Autoconf 2.52 has them.
1737 * automake.in, aclocal.in, automake.texi: Adjust.
1739 2001-10-19 Akim Demaille <akim@epita.fr>
1741 * automake.in (&read_main_am_file): s/generated automatically/
1743 Insert @configure_input@, since 2.50 no longer output this
1744 automatically for Makefiles.
1746 2001-10-19 Kevin Ryde <user42@zip.com.au>
1748 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1749 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1751 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1753 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1754 * tests/nobase.test: New file. Based on a bug report
1755 from Martin Frydl <martin@idoox.com>.
1757 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1759 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1760 this with $nodir_name only. Use $nodir_name where appropriate.
1762 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1764 * automake.in (handle_languages, handle_single_transform_list,
1765 lang_c_rewrite): Use require_conf_file instead of
1766 require_config_file to require depcomp or compile from Makefile.am.
1767 (require_aux_file_with_line): New function, adapted from
1768 require_conf_gile_with_line.
1769 (require_conf_file_with_line, require_conf_file_with_conf_line):
1770 Simplify using require_aux_file_with_line.
1771 (require_config_file): Simplify using require_conf_file_with_conf_line.
1772 (require_conf_file): New function.
1774 2001-10-15 Akim Demaille <akim@epita.fr>
1776 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1777 normally, what is wrong is that automake outputs a variable
1778 definition for it, hence...
1779 * automake.in (scan_one_autoconf_file): don't.
1781 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1783 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1784 Use AC_CONFIG_COMMANDS.
1785 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1787 2001-10-15 Akim Demaille <akim@epita.fr>
1789 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1791 2001-10-15 Akim Demaille <akim@epita.fr>
1793 * automake.in (&variable_conditions): Be deterministic and Perl
1794 version independent: sort the result.
1795 (&variable_output, &variable_pretty_output): Sort all the @conds,
1796 not only when defaulted.
1797 * tests/cond3.test: Adjust.
1799 2001-10-15 Akim Demaille <akim@epita.fr>
1801 * automake.in: Formatting changes.
1803 2001-10-15 Akim Demaille <akim@epita.fr>
1805 * aclocal.in: Use Automake::General and Automake::XFile.
1806 Use find_configure_ac.
1807 Output the Emacs tags for Autoconf mode selection.
1809 2001-10-10 Akim Demaille <akim@epita.fr>
1811 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1814 2001-10-09 Akim Demaille <akim@epita.fr>
1816 Do not use Autoconf internals.
1818 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1819 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1820 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1821 macro in GNU M4 1.5.
1823 2001-10-08 Akim Demaille <akim@epita.fr>
1825 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1828 2001-10-05 Akim Demaille <akim@epita.fr>
1830 * automake.in (scan_autoconf_files): Use find_configure_ac from
1833 2001-10-02 Akim Demaille <akim@epita.fr>
1835 * lib/Automake/Struct.pm: Update from Autoconf.
1836 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1838 * automake.in: Use them.
1839 (&uniq, $me): Remove, as they are provided by Automake::General.
1841 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1843 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1844 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1845 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1846 * lib/am/distdir.am (distcheck): Likewise.
1847 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1848 using cd so we don't have to fiddle with CDPATH.
1849 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1850 DOSish path separator.
1852 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1854 * lib/am/python.am (install-%DIR%PYTHON,
1855 uninstall-%DIR%PYTHON): Strip path of source file.
1856 (clean-python): Comment out.
1858 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1860 * automake.in (handle_python): Use require_conf_file_with_conf_line
1861 instead of require_file_with_conf_line, so that elisp-comp and
1862 py-compile are installed in the aux-directory.
1863 (handle_emacs_lisp): Likewise. Define elisp_comp.
1864 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1866 2001-10-01 Akim Demaille <akim@epita.fr>
1868 * lib/am/distdir.am (distcheck): Report the trailing files.
1869 Run `dist-gzip', not `dist', as it may leave other distribution
1872 2001-09-29 Paul Eggert <eggert@twinsun.com>
1874 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1875 bugs when making file names with unusual characters. Quote chmod
1876 arg "$dirmode", in case it contains white space.
1878 Incorporate the following change from autoconf mkinstalldirs:
1880 1999-04-10 Ben Elliston <bje@cygnus.com>
1882 Add `-m' flag to specify the mode of a newly created
1883 directory. Add command line usage and `-h', `--help' options.
1884 Contributed by Jeff Garzik.
1886 2001-09-27 Akim Demaille <akim@epita.fr>
1888 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1890 2001-09-27 Akim Demaille <akim@epita.fr>
1892 * lib/am/distdir.am (dist): Rename as...
1894 (dist): Additional name for dist-all.
1895 * automake.texi (Options, Dist): Adjust.
1897 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1899 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1900 * automake.in (obsolete_macros): Likewise.
1901 (seen_objext): Remove (unused).
1902 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1903 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1904 PATH_SEPARATOR): New variables.
1905 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1907 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1909 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1910 neutralize CDPATH for us.
1911 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1912 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1915 2001-09-22 Akim Demaille <akim@epita.fr>
1917 * configure.in, NEWS: Bump to 1.5a.
1920 2001-09-22 Paul Eggert <eggert@twinsun.com>
1922 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1923 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1924 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1925 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1926 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1927 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1928 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1929 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1930 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1931 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1933 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1934 which has a copyright notice.
1936 * m4/strtod.m4: Correct the dates on the copyright notice.
1938 2001-09-17 Akim Demaille <akim@epita.fr>
1940 * lib/missing (autom4te): New.
1941 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1944 2001-08-27 Tom Tromey <tromey@redhat.com>
1946 * automake.texi (A Shared Library): Clarify installation
1948 (Install): Typo. From Adrian Bunk.
1950 2001-08-27 Tom Tromey <tromey@redhat.com>
1952 * automake.texi (Macros): Typo fix.
1953 From Christian Cornelssen
1955 2001-08-27 Tom Tromey <tromey@redhat.com>
1957 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1958 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1959 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1960 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1961 tests/substref.test: Clear CFLAGS.
1963 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1964 From Alexey Mahotkin.
1966 2001-08-27 Tom Tromey <tromey@redhat.com>
1968 * tests/yacc7.test: Use test -f, not test -e.
1970 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1972 * automake.texi (etags): Typo fix.
1974 2001-08-27 Guido Draheim <guidod@gmx.de>
1976 * automake.in : restrict ansi2knr option to be a filepath
1978 2001-08-23 Richard Boulton <richard@tartarus.org>
1980 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1982 2001-08-22 Tom Tromey <tromey@redhat.com>
1984 * automake.texi (Conditionals): Mention that conditionals must
1985 always be invoked. For PR automake/220.
1987 2001-08-22 Richard Boulton <richard@tartarus.org>
1988 Tom Tromey <tromey@redhat.com>
1990 * automake.in (lang_yacc_target_hook): Make header file depend on
1991 .c file, not .y file.
1992 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1993 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1994 * tests/yacc7.test: New file.
1995 * tests/Makefile.am (TESTS): Added yacc7.test.
1997 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1999 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
2001 2001-08-18 Tom Tromey <tromey@redhat.com>
2003 * automake.texi (Dist): Mention dist-all.
2005 2001-08-18 Tom Tromey <tromey@redhat.com>
2007 * tests/cond3.test: Use portable sed expression.
2008 From Richard Boulton.
2010 2001-08-13 Richard Boulton <richard@tartarus.org>
2012 * automake.in (handle_source_transform): Call
2013 define_objects_from_sources() instead of calling
2014 variable_value_as_list(), handle_single_transform_list() and
2015 define_pretty_variable() directly.
2016 (handle_single_transform_list): Add $topparent parameter, used for
2017 error messages. Improved error message.
2018 (define_objects_from_sources): New function.
2019 (subobjname): New function.
2020 (variable_conditions_recursive): New name for variable conditions.
2021 (variable_value_as_list_recursive): New name for variable_value_as_list.
2022 (variable_value_as_list_worker): Renamed to ...
2023 (variable_value_as_list_recursive_worker): ... this.
2024 (variable_conditions_sub): Renamed to ...
2025 (variable_conditions_recursive_sub): ... this.
2026 (variable_conditions): Rewritten: now doesn't recurse subvariables.
2027 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
2028 (substfroms): New global.
2029 (substtos): New global.
2030 (substnums): New global.
2031 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
2032 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
2033 * tests/sourcesub2.test: New test.
2034 * tests/Makefile.am (TEST): Added sourcesub2.test.
2036 2001-08-11 Tom Tromey <tromey@redhat.com>
2038 * configure.in: Upped to 1.4s.
2040 2001-08-09 Richard Boulton <richard@tartarus.org>
2042 * automake.in (handle_single_transform_list): Use new global,
2043 `%linkers_used', to store the linkers used, rather than an internal
2044 variable. Enables correct linker to be calculated across a group
2045 of calls to &handle_single_transform_list. Return only list of
2046 objects, since linker to be used is now externally determined.
2047 (handle_source_transform): adapted for new calling conventions of
2048 handle_single_transform_list. Calls resolve_linker() on a set of
2049 all the linkers used for any prefix, rather than for each prefix in
2051 (linkers_used): New global.
2052 * tests/link_dist.test: New test.
2053 * tests/Makefile.am (TESTS): Added link_dist.test.
2055 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
2057 Dissociate testsuite 'make' invocations from outer 'make'.
2058 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
2059 environment variables.
2060 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
2062 * tests/substref.test: Likewise.
2064 2001-08-08 Richard Boulton <richard@tartarus.org>
2066 * tests/cond18.test: New file.
2067 * tests/cond19.test: New file.
2068 * tests/cond20.test: New file.
2069 * tests/cond4.test: Updated to check the generated _OBJECTS more
2071 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
2074 2001-08-08 Richard Boulton <richard@tartarus.org>
2076 * automake.in (file_contents_internal): if a rule is conditionally
2077 defined, define the standard automake definition for it for those
2078 conditions which are not conditionally defined.
2079 (invert_conditions): New function: invert a list of conditionals.
2081 * tests/cond14.test: New file.
2082 * tests/cond15.test: New file.
2083 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
2085 2001-08-05 Tom Tromey <tromey@redhat.com>
2087 * tests/Makefile.am (TESTS): Added dejagnu2.test.
2088 * tests/dejagnu2.test: New file.
2089 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
2090 * automake.in (handle_scripts): Removed dead code.
2091 (handle_tests_dejagnu): Don't handle site.exp generation
2094 2001-08-04 Richard Boulton <richard@tartarus.org>
2096 * tests/cond17.test: New file: test for being able to define an
2097 object to be generated in different ways according to a
2099 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
2100 (TESTS): Added cond17.test.
2102 2001-08-02 Richard Boulton <richard@tartarus.org>
2104 * automake.in (variable_conditions_sub): Handle variable
2105 substitution refs when computing conditions based on subvariable
2106 conditions. Fixes substitution refs of system variables when sub
2107 variable is conditional.
2108 (SUBST_REF_PATTERN): New global.
2109 * tests/cond16.test: New file: regression test for variable
2111 * test/Makefile.am (TESTS): Added cond16.test.
2113 2001-08-03 Tom Tromey <tromey@redhat.com>
2115 * tests/substref.test: Require GNU make; backed out previous
2118 * tests/substref.test: Handle entering/leaving directory
2121 2001-08-03 Richard Boulton <richard@tartarus.org>
2123 * automake.in (value_to_list): Check for whether $from is defined,
2124 rather than whether it is true, so that empty $froms are allowed in
2125 substitution reference patterns.
2127 * tests/substref.test: New file: test behavior of substitution
2128 references when the $from side of the substitution is empty.
2129 * tests/Makefile.am (TESTS): Added substref.test.
2131 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2133 * m4/install-sh.m4: New file.
2134 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2135 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2136 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
2137 for install.sh any longer, always use install-sh, don't even
2138 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
2139 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2141 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2143 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
2145 * automake.texi (EXEEXT): Clarify.
2147 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2149 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2151 * m4/auxdir.m4: More comments.
2153 2001-07-31 Richard Boulton <richard@tartarus.org>
2154 Raja R Harinath <harinath@cs.umn.edu>
2156 * automake.in (variable_conditions_sub): Remove @parent_conds
2157 argument. This was old logic - duplicate or impossible
2158 conditionals are removed later by &variable_conditions_reduce().
2159 Fixes tests/cond13.test.
2160 (conditionals_true_when): Removed.
2161 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2163 2001-07-31 Tom Tromey <tromey@redhat.com>
2165 * tests/Makefile.am (TESTS): Added cond13.test.
2166 (XFAIL_TESTS): Likewise.
2167 * tests/cond13.test: New file.
2169 * configure.in: Upped to version 1.4k.
2171 * configure.in: Released 1.4j.
2173 * lib/config.guess: Updated from master sources.
2174 * lib/config.sub: Likewise.
2176 2001-07-30 Tom Tromey <tromey@redhat.com>
2178 * automake.texi (A Program): Typo. Added subsections and more
2179 text about conditional compilation.
2180 (A Shared Library): Moved earlier.
2181 (Program variables): Updated LINK text. Added AM_CFLAGS.
2182 (C++ Support): Added AM_CXXFLAGS.
2183 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2186 * tests/Makefile.am (TESTS): Added aclibobj.test.
2187 * tests/aclibobj.test: New file.
2188 * automake.in (handle_lib_objects_cond): Avoid undefined variable
2190 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2192 * automake.texi (Dist): Mention other distribution types.
2195 2001-07-29 Tom Tromey <tromey@redhat.com>
2197 * automake.texi (Program and Library Variables): Texinfo fix.
2198 From Alexey Mahotkin.
2200 2001-07-28 Tom Tromey <tromey@redhat.com>
2202 * automake.texi (Strictness): Mention Cygnus mode.
2204 (Uniform): Likewise.
2205 (Canonicalization): Likewise.
2206 (Install): Add `nobase_' to example; typo fix.
2208 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
2210 (Options): Texinfo fixes; some text updates.
2213 2001-07-27 Tom Tromey <tromey@redhat.com>
2215 * automake.texi (Invoking Automake): Document --Werror and
2218 2001-07-26 Tom Tromey <tromey@redhat.com>
2220 * tests/nolink.test: Added no-exeext.
2222 * automake.in (check_variable_defined_unconditionally): Don't call
2225 * automake.texi (Optional): Don't mention ALL_LINGUAS.
2226 (gettext): Likewise.
2227 * automake.in (seen_linguas, all_linguas, all_linguas_line):
2229 (handle_gettext): Don't do any checking of the languages.
2230 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2232 * automake.in (am_print_error): New function.
2234 (am_file_error): Likewise.
2235 (am_line_error): Likewise.
2236 (am_conf_error): Likewise.
2237 (am_conf_line_error): Likewise.
2239 * automake.texi (Options): Document no-exeext.
2240 * automake.in (handle_options): Recognize no-exeext.
2241 (rule_define): Handle no-exeext.
2242 * tests/Makefile.am (TESTS): Added new file.
2243 * tests/exeext2.test: New file.
2245 * automake.in (make_input_list): Removed.
2246 (scan_autoconf_config_files): Don't add to make_input_list.
2247 (scan_one_autoconf_file): Don't use make_input_list.
2248 (scan_autoconf_files): Use make_list, not make_input_list.
2249 (scan_autoconf_files): Likewise.
2251 * automake.in (seen_exeext): Removed.
2252 (generate_makefile): Don't define EXEEXT or OBJEXT.
2253 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2254 (am_install_var): Don't check $seen_exeext.
2255 (handle_programs): Likewise.
2256 (rule_define): Allow x to override x$(EXEEXT), for now.
2257 (file_contents_internal): Only define rule if rule_define allows
2259 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2261 2001-07-25 Tom Tromey <tromey@redhat.com>
2264 * tests/pr9.test: Require GNU make.
2265 * tests/dirname.test: Don't use `-u'.
2267 2001-07-22 Tom Tromey <tromey@redhat.com>
2269 * tests/Makefile.am (TESTS): Added auxdir2.test.
2270 (XFAIL_TESTS): Likewise.
2271 * tests/auxdir2.test: New file.
2273 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2274 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2276 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2277 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2278 holds `.'. Don't add $(EXEEXT) if program name already has it.
2279 (handle_programs): Don't add $(EXEEXT) if user already did.
2280 (make_paragraphs): Don't compute EXEEXT.
2282 * tests/Makefile.am (TESTS): Added exeext.test.
2283 (XFAIL_TESTS): Likewise.
2284 * tests/exeext.test: New file.
2286 2001-07-22 Tom Tromey <tromey@redhat.com>
2288 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2289 `prog.exe' on Cygwin with libtool. From Robert Collins.
2291 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2293 * tests/dirname.test: Explicitly use $SHELL to run the
2294 script; this avoids failures on DJGPP.
2295 * tests/install2.test: Skip if 'chmod 000' doesn't make
2298 2001-07-21 Tom Tromey <tromey@redhat.com>
2300 * tests/libtool2.test: Check for libtoolize.
2302 * tests/Makefile.am (TESTS): Added substtarg.test.
2303 (XFAIL_TESTS): Likewise.
2304 * tests/substtarg.test: New file.
2306 * automake.in (handle_dist): Handle case where aux dir doesn't
2307 have a Makefile. Fixes depdist.test.
2308 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2309 * tests/depdist.test: Look for config/depcomp.
2311 * tests/Makefile.am (TESTS): Added depdist.test.
2312 (XFAIL_TESTS): Likewise.
2313 * tests/depdist.test: New file. From Eric Magnien.
2315 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2316 AC_PROG_CC_C_O does require AC_PROG_CC.
2319 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2321 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2322 output is suitable for make.
2324 * automake.texi (Macros): Document AM_PROG_AS.
2325 (Assembly Support): New node.
2326 * m4/Makefile.am (m4data_DATA): Added as.m4.
2327 * m4/as.m4: New file.
2329 * automake.texi (Tags): Added uref to global tags.
2331 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2333 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2334 instead of hardcoding '.deps'.
2335 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2337 2001-07-20 Derek Price <dprice@collab.net>
2339 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2341 * tests/dirname.test: New test.
2342 * tests/stamph2.test: New test.
2343 * tests/Makefile.am: Add new tests.
2344 * tests/Makefile.in: Regenerated.
2346 2001-07-19 Tom Tromey <tromey@redhat.com>
2348 * automake.texi (Tags): Document GTAGS_ARGS.
2349 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2351 2001-07-19 Tom Tromey <tromey@redhat.com>
2352 Alexandre Duret-Lutz <duret_g@epita.fr>
2354 Fix for ccnoco.test, subobj8.test:
2355 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2356 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2358 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2359 Use AM_AUX_DIR_EXPAND.
2360 * lib/compile: Handle case where `-o' argument is the name of an
2361 executable, not an object file.
2362 * m4/auxdir.m4: New file, from...
2363 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2364 * automake.in (handle_single_transform_list, lang_c_rewrite):
2365 Require compile using `require_config_file'.
2367 2001-07-19 Tom Tromey <tromey@redhat.com>
2369 * automake.texi (Program and Library Variables): Added X example
2372 2001-07-19 Tom Tromey <tromey@redhat.com>
2374 * automake.texi (Distributing): Updated to reflect new license.
2376 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2378 * automake.in (require_build_directory): New function, extracted
2380 (handle_single_transform_list): ... here.
2381 (require_build_directory_maybe): New function.
2382 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2383 require_build_directory_maybe() to ensure the subdirectory
2384 in which a target may lie will exist when the target is created.
2385 (handle_libraries, handle_ltlibraries): Use basename before
2386 checking library name.
2387 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2388 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2389 * lib/am/program.am (%PROGRAM%): Likewise.
2391 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2393 * m4/missing.m4: Reword comment.
2395 2001-07-18 Pavel Roskin <proski@gnu.org>
2397 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2398 * tests/gcj.test: Likewise.
2399 * tests/gcj2.test: Likewise.
2400 * tests/gcj3.test: Likewise.
2402 2001-07-18 Tom Tromey <tromey@redhat.com>
2404 * lib/compile: Change how lockdir is computed. If linking or
2405 compiling without `-o', just run the compiler.
2407 * tests/Makefile.am (TESTS): Added ccnoco.test.
2408 (XFAIL_TESTS): Likewise.
2409 * tests/ccnoco.test: New file.
2411 2001-07-17 Tom Tromey <tromey@redhat.com>
2413 * lib/ylwrap: Added special exception.
2414 * lib/py-compile: Added license.
2415 * lib/mdate-sh: Added special exception.
2416 * lib/elisp-comp: Added special exception.
2417 * lib/compile: Added special exception.
2418 * lib/depcomp: Added special exception.
2420 Report from Motoyuki Kasahara:
2421 * tests/make.test: Use am__include.
2422 * tests/exsource.test: Use am__include.
2423 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2424 * automake.in (handle_languages): Use am__include and am__quote.
2426 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2427 * m4/init.m4: Updated callers.
2429 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2431 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2432 * aclocal.in (scan_configure, add_file): Handle the full macro
2433 name even if it contains numbers, such as I18N.
2435 2001-07-16 Tom Tromey <tromey@redhat.com>
2437 * automake.texi (Dependencies): Link to dependency tracking page.
2438 (Data): Mention dist_.
2439 (Clean): Mention clean heuristics.
2440 (Install): Mention nobase_.
2442 * automake.texi (Program and Library Variables): Document _LINK.
2444 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2446 * automake.in (handle_libraries): Allow libraries to lie in
2447 a subdirectory by constraining only the basename to start
2448 with 'lib', not the whole path.
2450 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2452 * tests/subobj8.test: New file.
2453 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2455 2001-07-16 Tom Tromey <tromey@redhat.com>
2457 Fix for PR automake/212:
2458 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2459 (uninstall-%DIR%LISP): Likewise.
2461 2001-07-15 Tom Tromey <tromey@redhat.com>
2463 * automake.in (usage): Rewrote code to handle columnization.
2464 From Alexey Mahotkin and Maxim Sinev.
2466 Report from Ralf Corsepius:
2467 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2468 (SUFFIX_RULE_PATTERN): Likewise.
2469 * tests/Makefile.am (TESTS): Added cxx.test.
2470 * tests/cxx.test: New file.
2472 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2473 From Shigio Yamaguchi.
2475 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2477 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2478 remain after "make uninstall".
2480 2001-07-14 Tom Tromey <tromey@redhat.com>
2482 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2484 * lib/missing (makeinfo): Redirect stdout and stderr outside
2485 subshell. From Alexandre Oliva.
2487 2001-07-14 Akim Demaille <akim@epita.fr>
2489 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2490 `\b(foo|bar)\b' is what we want.
2491 * aclocal.in: Likewise.
2493 2001-07-14 Akim Demaille <akim@epita.fr>
2495 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2497 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2498 actually modified to require AM_DEPENDENCIES.
2499 Rename `confdir' as `conftest.dir' so that the configure trap
2502 2001-07-04 Tom Tromey <tromey@redhat.com>
2504 Fix for nolink.test:
2505 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2506 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2507 * automake.in (am_install_var): Only rewrite PROGRAMS if
2509 (make_paragraphs): Always define %EXEEXT%.
2511 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2513 * tests/nolink.test: New file.
2514 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2516 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2518 * automake.in (scan_texinfo_file): Add the second argument to
2519 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2520 itself may not be used directly.
2522 2001-07-04 Tom Tromey <tromey@redhat.com>
2525 * lib/missing (makeinfo): Use subshell, not explicit sh
2528 * automake.texi (Headers): Mention that we prefer uninstalled
2529 headers in _SOURCES.
2530 (ANSI): Mention cross-compilation limitation.
2532 2001-07-03 Tom Tromey <tromey@redhat.com>
2534 * configure.in: Upped to 1.4i.
2536 * configure.in: Released 1.4h.
2538 * lib/config.guess, lib/config.sub: Updated.
2540 2001-07-02 Tom Tromey <tromey@redhat.com>
2542 Fix for libtool2.test:
2543 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2544 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2545 * automake.in (generate_makefile): Call handle_libtool
2547 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2549 * tests/libtool2.test: Look for `.lo' files to be removed.
2551 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2553 * tests/Makefile.am (TESTS): Removed dup.test.
2554 * tests/dup.test: Removed.
2555 * aclocal.in (scan_file): Don't give error for duplicate macro.
2557 2001-07-01 Tom Tromey <tromey@redhat.com>
2559 * automake.texi (Program and Library Variables): Document
2560 subdir-objects. Document fact that per-object flags override AM_
2562 (Options): Likewise.
2563 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2564 (Multilibs): New node.
2565 (Macros): Documented missing macros.
2566 (Auxiliary Programs): New node.
2568 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2569 mode, then simply fail.
2571 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2573 * lib/ylwrap: Improve support for DOS paths (and paths
2574 containing backslashes in general).
2576 2001-07-01 Tom Tromey <tromey@redhat.com>
2578 * lib/missing: Added special exception to license.
2581 * lib/missing: Updated. Added comment explaining configure.ac
2584 * lib/depcomp: Reorder arguments to gcc3.
2585 From Per Oyvind Hvidsten.
2587 * tests/Makefile.am (TESTS): Added libtool2.test.
2588 * tests/libtool2.test: New file.
2590 * automake.texi (Program and Library Variables): Added example for
2593 2001-06-29 Tom Tromey <tromey@redhat.com>
2595 * tests/cond11.test: Use `=', not `=='.
2596 * tests/cond12.test: Look for automake in build directory, not
2599 2001-06-29 Richard Boulton <richard@tartarus.org>
2601 * automake.in (conditionals_true_when): Pass first parameters by
2602 reference, avoiding bug which put all parameters in @CONDS instead
2603 of @WHENS. Report by Kalle Olavi Niemitalo.
2604 Take a single WHEN instead of an array of WHENS.
2605 Remove FIXME; can't now have an empty @WHENS.
2606 (conditional_is_redundant): New sub.
2607 (variable_conditions_reduce): Check whether each condition is
2608 implied by any of the other conditions (other those already
2609 discarded), rather than checking only against those already
2610 considered (and kept). Also, fix sense of check: was keeping
2611 tautologous terms instead of discarding them. Use
2612 conditional_is_redundant instead of conditionals_true_when.
2613 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2614 * tests/cond11.test: New file.
2615 * tests/cond12.test: New file.
2617 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2619 * automake.in (saw_sources_p): Work even if there are more
2620 than one header files, and more than of one type of header.
2621 * tests/Makefile.am (TESTS): Added new file.
2622 * tests/depend4.test: New file.
2624 2001-06-28 Tom Tromey <tromey@redhat.com>
2626 * lib/am/libs.am (RANLIB): Don't define.
2628 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2630 * automake.in (am_install_var): Assign 1 to $first on
2633 2001-06-23 Tom Tromey <tromey@redhat.com>
2636 * lib/ylwrap: Changed usage.
2637 * lib/am/yacc.am: Rewrote to use new substitutions.
2638 * lib/am/lex.am: Likewise.
2639 * automake.in (handle_languages): Skip files whose language
2640 doesn't have a compiler. Handle `define_flag' attribute.
2641 Changed '$' to "\$" to aid Emacs fontification.
2642 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2643 `_target_hook' and `define_flag'.
2644 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2645 and `compiler' attributes. Removed `linker', `derived_autodep',
2646 and `ansi' attributes. Added `define_flag'.
2647 (yacc, yaccxx): Added `_target_hook'.
2648 (saw_extension): Count number of times extension seen.
2649 (count_files_for_language): New sub.
2650 (saw_sources_p): Use it.
2651 (handle_single_transform_list): Allow language rewrite function
2652 to return a new source extension. Call target_hook.
2653 (yacc_sources, lex_sources): Removed.
2654 (initialize_per_input): Don't initialize yacc_sources or
2656 (lang_yacc_rewrite): Rewrote.
2657 (lang_yaccxx_rewrite): Likewise.
2658 (lang_lex_rewrite): Likewise.
2659 (lang_lexxx_rewrite): Likewise.
2660 (output_yacc_build_rule): Removed.
2661 (output_lex_build_rule): Removed.
2662 (lang_yacc_finish): Removed build rule generation.
2663 (lang_lex_finish): Likewise.
2664 (DASH_D_PATTERN): New global.
2665 (lang_yacc_target_hook): New function.
2666 (_target_hook): New function.
2667 (register_language): Default `define_flag'.
2668 * tests/yacc5.test: Updated test.
2669 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2670 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2671 for all YFLAGS variables.
2673 2001-06-20 Tom Tromey <tromey@redhat.com>
2675 * tests/yacc5.test: Check for per-executable YFLAGS.
2677 2001-06-19 Tom Tromey <tromey@redhat.com>
2679 * tests/Makefile.am (TESTS): Added yacc5.test.
2680 * tests/yacc5.test: New file.
2682 2001-06-17 Tom Tromey <tromey@redhat.com>
2684 * automake.in (require_file_internal): Check for already-required
2685 file after searching for it, and only if it is not found. Don't
2686 use `readlink' when checking for dangling symlink. Work if
2687 --force-missing specified.
2688 * tests/acoutput2.test: Also test --force-missing.
2690 Fix for libtool.test:
2691 * automake.in (generate_makefile): Call handle_libtool.
2692 (handle_libtool): New sub.
2693 (handle_compile): Don't read `libtool' file.
2695 * tests/acoutput2.test: New file.
2696 * tests/Makefile.am (TESTS): Added acoutput2.test.
2698 2001-06-15 Tom Tromey <tromey@redhat.com>
2700 * tests/Makefile.am (TESTS): Added libtool.test.
2701 * tests/libtool.test: New file.
2703 2001-06-14 Tom Tromey <tromey@redhat.com>
2705 Fix some lisp bugs reported by Bruno Haible:
2706 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2708 (install-%DIR%LISP): Handle case where lispdir is not defined.
2709 (uninstall-%DIR%LISP): Likewise.
2710 (.el.elc): Added `else' clause.
2712 Fix for bug reported by Steve M. Robbins:
2713 * automake.in (handle_single_transform_list): When building a file
2714 from a subdirectory, continue to use `AM_' prefix.
2715 * tests/Makefile.am (TESTS): Added subobj7.test.
2716 * tests/subobj7.test: New file.
2718 * lib/am/configure.am ($(top_builddir)/config.status): Added
2719 $(top_builddir) prefix to work around problems with some vendor
2720 makes. From Nicolas Joly.
2722 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2723 top_srcdir. From Tim Van Holder.
2724 * tests/Makefile.am (TESTS): Added yacc6.test.
2725 * tests/yacc6.test: New file.
2727 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2729 * tests/defs, tests/installsh.test: Properly support
2732 2001-06-14 Tom Tromey <tromey@redhat.com>
2734 * tests/Makefile.am (TESTS): Added mdate4.test.
2735 * tests/mdate4.test: New file.
2737 * aclocal.in (scan_m4_files): Removed unused variable.
2739 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2741 * aclocal.in (scan_m4_files): Tweak the building of &search so
2742 that multiple macro names can be found on the same line. Ensure
2743 we match whole macro name, not only substrings.
2745 2001-06-12 Tom Tromey <tromey@redhat.com>
2747 * automake.texi (ANSI): Minor clarification.
2748 (Other GNU Tools): Don't mention Guile.
2750 (Java Support): Mention file extensions.
2751 (Man pages): Mention dist_. Don't mention info pages.
2753 2001-06-11 Tom Tromey <tromey@redhat.com>
2755 * automake.texi (Program variables): Document AM_CPPFLAGS.
2757 (Java Support): Document AM_GCJFLAGS.
2758 (Support for Other Languages): Removed `fixme'; added link to
2759 suffix rule handling.
2761 * automake.texi (Program and Library Variables): Document _LIBADD,
2762 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2764 2001-06-11 Kevin Dalley <kevind@rahul.net>
2766 * missing: Support configure.ac.
2768 2001-06-08 Tom Tromey <tromey@redhat.com>
2770 * tests/version4.test: New file.
2771 * automake.in (version_check): New sub.
2772 (handle_options): Use it.
2773 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2774 (TESTS): Added version4.test.
2775 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2776 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2778 2001-06-04 Kevin Dalley <kevind@rahul.net>
2780 * lib/am/dejagnu.am (site.exp): Fix typo.
2782 2001-06-02 Tom Tromey <tromey@redhat.com>
2784 * automake.in (variable_conditions_sub): Move parent-only code
2786 (variable_conditions): ... to here.
2787 (variable_conditions_sub): Include this variable's conditions in
2788 the resulting condition list.
2789 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2791 2001-06-01 Tom Tromey <tromey@redhat.com>
2793 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2795 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2797 2001-05-31 Tom Tromey <tromey@redhat.com>
2799 * automake.texi (Alternative): New node.
2800 (Macros): Use new name for gcc.
2801 (Java Support): Likewise.
2802 (Dependencies): Rewrote.
2803 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2806 * automake.texi (Top level): Removed erroneous spaces. Documented
2809 2001-05-29 Tom Tromey <tromey@redhat.com>
2811 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2813 * automake.texi (Include): Rewrote.
2814 (Suffixes): Remove Java example.
2815 (Java): Added more explanation. Document variables.
2816 (Uniform): Mention JAVA as a primary.
2817 (Python): Updated for new Python support.
2818 (Sources): Added a weak example.
2820 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2822 * automake.texi (A Program): Mention `check' prefix.
2823 (Program and Library Variables): New node.
2824 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2826 (etags): Mention per-program flags.
2827 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2830 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2833 2001-05-28 Tom Tromey <tromey@redhat.com>
2835 * m4/Makefile.am (MAINT_CHARSET): Removed.
2836 * Makefile.am (MAINT_CHARSET): Removed.
2837 * automake.in (maint_charset, dist_charset): Removed.
2838 (local_maint_charset): Removed.
2839 (initialize_per_input): Don't use maint_charset.
2840 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2842 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2844 (.%SUFFIX%.dvi): Likewise.
2845 (.%SUFFIX%): Likewise.
2847 2001-05-27 Tom Tromey <tromey@redhat.com>
2849 * automake.in (handle_multilib): Only add multilib support code at
2851 * lib/am/multilib.am: Handle invocation of *-multi targets
2852 differently for SUBDIRS and non-SUBDIRS Makefiles.
2853 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2854 Only add multilib code when the Makefile in question is actually
2857 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2859 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2861 * automake.in (handle_single_transform_list): Skip unknown
2864 2001-05-25 Tom Tromey <tromey@redhat.com>
2866 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2868 2001-05-24 Tom Tromey <tromey@redhat.com>
2870 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2871 directory in some situations.
2873 * automake.in (generate_makefile): Better explanation for ansi2knr
2876 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2878 * automake.in (handle_languages): Skip unknown extensions.
2879 (derive_suffix): Check whether $extension_map{$source_ext}
2880 is undefined, not empty.
2882 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2884 * automake.in (read_am_file): Ignore trailing backslash on
2887 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2889 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2891 2001-05-21 Akim Demaille <akim@epita.fr>
2893 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2894 multiple times'' warning.
2896 2001-05-20 Tom Tromey <tromey@redhat.com>
2898 * configure.in: Updated to 1.4g.
2900 * configure.in: Updated to 1.4f.
2902 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2904 * lib/ansi2knr.c: New version.
2906 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2909 2001-05-19 Tom Tromey <tromey@redhat.com>
2911 * config.guess, config.sub: New versions from FSF.
2913 * Makefile.am (fetch): Compare against files in srcdir.
2915 For for ansi2knr report from Harlan Stenn:
2916 * automake.in (generate_makefile): Run handle_compile before
2919 2001-05-18 Tom Tromey <tromey@redhat.com>
2921 * automake.in: Reverted erroneous checkin.
2923 2001-05-18 Akim Demaille <akim@epita.fr>
2925 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2926 to missing `install-info'.
2928 2001-05-17 Tom Tromey <tromey@redhat.com>
2930 * automake.in (lang_c_finish): Use `rm -f'.
2932 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2933 * tests/Makefile.am (TESTS): Added new file.
2934 * tests/ansi5.test: New file.
2936 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2938 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2940 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2941 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2942 * automake.texi (Requirements): Document the use of the STRIP
2943 variable in cross-compilation environments.
2945 2001-05-17 Tom Tromey <tromey@redhat.com>
2947 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2948 to no dependency tracking.
2949 * tests/Makefile.am (TESTS): Added depcomp2.test.
2950 * tests/depcomp2.test: New file. From Pavel Roskin.
2952 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2954 * lib/depcomp (tru64): New dependency tracking mode.
2956 Fix for PR automake/159:
2957 * lib/depcomp (aix): Rewrote.
2960 Fix for PR automake/174:
2961 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2962 * automake.in (read_am_file): Warn if `#' is at start of rule.
2964 2001-05-16 Tom Tromey <tromey@redhat.com>
2966 For PR automake/174:
2967 * tests/Makefile.am (TESTS): Added comment3.test.
2968 (XFAIL_TESTS): Likewise.
2969 * tests/comment3.test: New file.
2971 Fix for PR automake/175:
2972 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2973 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2974 `Leaving directory' messages.
2976 For PR automake/175:
2977 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2978 * tests/make.test: Run test with `make -w'.
2980 * tests/Makefile.am (TESTS): Removed maintclean.test.
2981 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2983 * lib/am/configure.am (maintainer-clean-am): Removed.
2984 (maintainer-clean-conf): Removed.
2985 * tests/maintclean.test: Removed.
2987 2001-05-15 Tom Tromey <tromey@redhat.com>
2989 Fix for PR automake/177:
2990 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2991 automake or aclocal.
2993 Fix for maintclean.test:
2994 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2995 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2997 (distclean, maintainer-clean): Moved to...
2998 * lib/am/configure.am: ... here.
2999 (distclean): Remove config.cache and config.log.
3000 (maintainer-clean): Removed.
3001 (maintainer-clean-conf): New target.
3002 (maintainer-clean-am): New target.
3004 * tests/Makefile.am (TESTS): Added maintclean.test.
3005 (XFAIL_TESTS): Likewise.
3006 * tests/maintclean.test: New file.
3008 Fixes PR automake/175:
3009 * tests/target-cflags.test: Use $needs_gnu_make.
3010 * tests/exsource.test: Use $needs_gnu_make.
3011 * tests/make.test: Require GNU make.
3012 * tests/defs (needs_gnu_make): Compute.
3014 2001-05-14 Tom Tromey <tromey@redhat.com>
3016 * lib/ylwrap: Fixed quoting on regular expression. Fixes
3019 Fix for texinfo10.test.
3020 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
3021 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
3022 * automake.in (handle_texinfo_helper): New sub.
3023 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
3024 * tests/texinfo10.test: Added more cases.
3026 Fix for yaccvpath.test:
3027 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
3028 * lib/am/distdir.am (distdir): Always look for file in build
3030 * lib/ylwrap: Quote the `#line' regular expression.
3031 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
3032 change; don't run sed on the generated file.
3033 * tests/yaccvpath.test: Create new parser in srcdir. Added test
3034 to make sure parser will be rebuilt at dist time.
3036 2001-05-13 Pavel Roskin <proski@gnu.org>
3038 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
3039 beginning with `##'.
3040 * automake.texi (General Operation): Document it.
3042 2001-05-13 Tom Tromey <tromey@redhat.com>
3044 Reported by Rainer Orth:
3045 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
3047 * tests/Makefile.am (TESTS): Added distname.test.
3048 * tests/distname.test: New file.
3050 * Makefile.am (dist_pkgdata_DATA): Removed.
3052 * tests/defs: Find files to copy in lib/.
3053 * automake.in (perllibdir): Set to Automake directory.
3054 * ansi2knr.c, ansi2knr.1: Removed.
3055 * Makefile.am (dist_am_DATA): Removed.
3057 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
3059 (scriptdir): Removed.
3060 (dist_script_DATA): Likewise.
3061 (install-data-hook): Likewise.
3062 (installcheck-local): Likewise.
3063 (TAGS_FILES): Removed amfiles.
3064 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
3065 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
3066 point it to the right directory.
3067 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
3068 compile.am, configure.am, data.am, dejagnu.am, depend.am,
3069 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
3070 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
3071 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
3072 mans.am, multilib.am, program.am, progs.am, python.am,
3073 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
3074 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
3075 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
3076 (AUTOMAKE): Use --libdir, not --amdir.
3077 Ues AC_CONFIG_AUX_DIR.
3078 * lib/Makefile.am (SUBDIRS): Added `am'.
3079 (scriptdir): New macro.
3080 (dist_script_DATA): Likewise.
3081 (dist_pkgdata_DATA): Likewise.
3082 (install-data-hook): New target.
3083 (installcheck-local): Likewise.
3084 * lib/am/Makefile.in: New file.
3085 * lib/am/Makefile.am: Removed everything except amdir and
3088 2001-05-13 Akim Demaille <akim@epita.fr>
3090 * automake.in ($pkgdata_dir): Rename as...
3092 ($am_dir): Remove, replace its uses with $libdir.
3093 (&parse_arguments): Replace --amdir with --libdir.
3094 * automake.texi (Invoking Automake): Document --libdir, not
3096 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
3098 2001-05-13 Tom Tromey <tromey@redhat.com>
3100 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
3102 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
3103 Correctly look at AMDEP_TRUE, not AMDEP.
3105 Report from Robert Boehne:
3106 * tests/Makefile.am (TESTS): Added depend2.test.
3107 * tests/depend2.test: New file.
3109 2001-05-13 James Henstridge <james@daa.com.au>
3111 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
3112 Point pythondir at site-packages directory. Rename
3113 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
3114 pyexecdir. Removed package/module argument. Removed
3115 PYTHON_SITE_INSTALL. Added version checking.
3117 2001-05-14 Jim Meyering <meyering@lucent.com>
3119 * automake.in (macro_define): Change one remaining use of
3120 `variable_dump' to `macro_dump'.
3122 2001-05-13 Tom Tromey <tromey@redhat.com>
3124 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
3127 2001-05-13 Akim Demaille <akim@epita.fr>
3129 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
3130 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
3131 (&am_primary_prefixes): Use `map' rather than `grep'.
3133 2001-05-13 Akim Demaille <akim@epita.fr>
3135 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3137 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3138 (&lang_asm_finish): Remove, set asm's finisher to C's one.
3140 2001-05-13 Akim Demaille <akim@epita.fr>
3142 * lang-compile.am: New file, loaded once per language.
3143 * depend2.am: Move definitions loaded once per language in the
3144 aforementioned file.
3145 * automake.in (&handle_languages): Load it.
3146 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3147 handled by lang-compile.am.
3149 2001-05-13 Tom Tromey <tromey@redhat.com>
3151 * tests/Makefile.am (TESTS): Added python.test.
3152 * tests/python.test: New file.
3153 * automake.in (handle_languages): Use
3154 config_aux_dir_set_in_configure_in.
3155 (handle_python): Correctly mention AM_PATH_PYTHON. Use
3156 py-compile, not py_comp. Define py_compile macro.
3158 2001-05-13 Derek Price <dprice@openavenue.com>
3160 * automake.in (require_file_with_conf_line,
3161 require_file_with_line, require_file): Pass a @require_file_path
3162 of $relative_dir instead of '.' to require_file_internal so that
3163 all the special casing of '.' can be removed elsewhere.
3164 (require_config_file, require_conf_file_with_line,
3165 require_conf_file_with_conf_line): Remove special casing for '.'
3166 and make sure $config_aux_dir is maintained properly.
3167 (require_file_internal): Remove special casing of '.' and set
3168 @require_file_path when missing files are added.
3169 (maybe_push_required_file): Remove special casing of '.'
3170 (handle_dependencies): Remove a workaround for a bug now fixed
3171 and remove $config_aux_dir special casing.
3172 (handle_configure): Remove special casing for $config_aux_dir
3173 (handle_python): Ditto.
3174 (yacc_lex_finish_helper): Change $config_aux_dir switch to
3175 switch on the value of $config_aux_dir_set_in_configure_in.
3176 (handle_texinfo): Ditto.
3177 (scan_one_configure_file): Set $config_aux_dir and
3178 $config_aux_dir_set_in_configure_in properly so special casing
3179 on the value of $config_aux_dir can be removed elsewhere.
3180 * tests/depcomp.test: New file.
3181 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3182 first subdir containing a C file.
3183 * tests/libobj2.test: Ditto.
3184 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3186 2001-05-12 Tom Tromey <tromey@redhat.com>
3188 * tests/gcj.test: Updated for gcj dependency tracking.
3189 * tests/gcj2.test: Likewise.
3191 Fixes PR automake/169.
3192 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
3194 * automake.in (java): Added autodep entry.
3195 * tests/Makefile.am (TESTS): Added gcj3.test.
3196 * tests/gcj3.test: New file.
3198 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
3200 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3201 stop at the first '='.
3202 * tests/Makefile.am (TESTS): Added vars.test.
3203 * tests/vars.test: New file.
3205 2001-05-12 Akim Demaille <akim@epita.fr>
3207 * automake.in (&handle_single_transform_list): Simplify
3208 computation of $object and $this_obj_ext.
3209 * tests/lex3.test: Merge into...
3210 * tests/lex.test: here.
3211 * tests/pr19.test: Improve and rename as...
3212 * tests/lex3.test: this.
3214 2001-05-09 Tom Tromey <tromey@redhat.com>
3216 * automake.in (read_am_file): Correctly compute $saw_bk.
3217 (scan_autoconf_files): Ensure configure_dist_common is always
3219 * tests/defs (AUTOMAKE): Added --Werror.
3221 2001-05-09 Pavel Roskin <proski@gnu.org>
3223 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3226 2001-05-09 Tom Tromey <tromey@redhat.com>
3228 * tests/werror.test: Use `rm -f'.
3230 2001-05-09 Akim Demaille <akim@epita.fr>
3232 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3234 2001-05-09 Akim Demaille <akim@epita.fr>
3236 * automake.in: Remove some code left from bad patches.
3237 (&handle_dependency): Remove, for the same reason.
3239 2001-05-09 Akim Demaille <akim@epita.fr>
3241 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3242 (&handle_tests_dejagnu, &define_standard_variables): Don't.
3243 (&define_standard_variables): Don't transform %top_builddir% since...
3244 * header-vars.am: Use %TOPDIR% instead.
3246 2001-05-09 Akim Demaille <akim@epita.fr>
3248 * automake.in (@objects): Remove, unused.
3249 Remove all the code related to it, and to former `$(OBJECTS)'.
3251 2001-05-08 Tom Tromey <tromey@redhat.com>
3254 * ylwrap: Handle arguments to program. Remove old code that tried
3255 to avoid absolute paths and add new code to do it in all cases.
3256 Removed ancient logic that tried to deal with relative path.
3257 * tests/Makefile.am (TESTS): Added yacc4.test.
3258 * tests/yacc4.test: New file.
3260 Fix for PR automake/149 and werror.test:
3261 * automake.in (require_file_internal): Use am_line_warning or
3262 am_conf_line_warning when suppressing error.
3263 (am_line_warning): New sub.
3264 (am_conf_line_warning): Save and restore warning signal.
3265 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3267 Fix for PR automake/36:
3268 * tests/Makefile.am (TESTS): Added asm.test.
3269 * tests/asm.test: New file.
3270 * automake.in (asm): Use ASFLAGS and AS.
3271 (lang_asm_finish): New sub.
3273 * automake.in (read_am_file): Removed debugging code.
3275 For PR automake/149:
3276 * tests/Makefile.am (TESTS): Added werror.test.
3277 (XFAIL_TESTS): Likewise.
3278 * tests/werror.test: New file.
3280 * automake.in (conditional_true_when): Don't return if we see
3283 * tests/objc.test: Removed.
3284 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3287 * automake.in (subst): New sub.
3288 (handle_languages): Use it.
3289 (output_lex_build_rule): Likewise; also use _am_quote.
3290 (check_libobjs_sources): Likewise.
3291 (make_paragraphs): Use subst.
3293 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3296 * automake.in (file_contents_internal): Prototype now `$$%'.
3297 (register_language): Prototype now `%'.
3299 Fixes test subobj6.test and PR automake/160:
3300 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3301 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3302 (distclean-compile): Added DISTRMS.
3303 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3304 `mostlyclean' use; added test for non-subdir case.
3305 * automake.in (compile_clean_files): New global.
3306 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3307 (initialize_per_input): Initialize compile_clean_files.
3308 (handle_single_transform_list): Set compile_clean_files entries.
3309 (handle_compile): Handle compilation cleanups.
3311 2001-05-08 Lars J. Aas <larsa@sim.no>
3313 * automake.texi (Canonicalizing Automake macros): Document not
3314 canonicalizing strudels (@) anymore.
3316 2001-05-08 Akim Demaille <akim@epita.fr>
3318 * distdir.am (dist-all): Build all the flavors using a single
3321 2001-05-08 Akim Demaille <akim@epita.fr>
3323 * automake.in (&file_contents_internal): Apply the @cond_stack to
3324 the rules and assignments.
3325 Don't rely on `$.' as it's biased by &make_paragraphs.
3326 Don't remove backslashes in variable values.
3328 2001-05-08 Akim Demaille <akim@epita.fr>
3330 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3331 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3332 ($MACRO_PATTERN): Just catch the name of a macro.
3333 ($BOGUS_MACRO_PATTERN): Remove.
3334 ($ASSIGNMENT_PATTERN): New.
3335 (&file_contents_internal, &make_paragraphs): Adjust.
3336 (¯o_define): Catch bad macro names.
3337 (&cond_stack_endif): Better error message.
3338 (&file_contents_internal): Don't remove backslashes in variable
3340 (¯o_define): Do it for `+=' user variables.
3341 (&define_standard_variables): Use `undef' instead of a dummy
3343 (&make_paragraph): Be sure not to chop the trail of hash only
3344 lines: adjust the `##' regexp.
3345 (&rule_define): Fix a bug: don't read $1 but $target.
3346 * tests/condincl.test: Strengthen.
3348 2001-05-08 Akim Demaille <akim@epita.fr>
3350 * automake.in (Language): Add attributes `Name' and `config_vars'.
3351 (&finish): Work properly if there is no _finish.
3352 (Automake): Register language Names and AC_SUBST dependencies.
3353 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3354 (&handle_languages): Once per language, invoke
3355 `define_linker_variables', and check its config_vars.
3356 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3357 (&lang_java_finish): Remove.
3358 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3360 2001-05-08 Akim Demaille <akim@epita.fr>
3362 * automake.in (&file_contents_internal): Accept $IS_AM.
3363 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3365 2001-05-08 Akim Demaille <akim@epita.fr>
3367 * automake.in (am_install_var): Use `next' instead of `if' on the
3370 2001-05-08 Akim Demaille <akim@epita.fr>
3372 * automake.in (Language): Add attributes `lder' and `ld'.
3373 (®ister_language): Specify for cxx, objc, f77, gcj.
3374 (&define_linker_variable): New.
3375 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3376 (&lang_java_finish): Adjust.
3377 (&libtool_compiler): Remove.
3379 2001-05-08 Akim Demaille <akim@epita.fr>
3381 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3382 argument, as you don't use it.
3384 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3387 (&handle_programs): Don't mess with %lex_sources, as you don't use
3390 2001-05-08 Akim Demaille <akim@epita.fr>
3392 * automake.in (Language): Add attribute `link'.
3393 (®ister_language): Specify for cxx, objc, f77, gcj.
3394 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3395 (&lang_java_finish): Adjust.
3397 2001-05-08 Akim Demaille <akim@epita.fr>
3399 * automake.in (&define_compiler_variables): Use only $LANG as
3401 (&handle_languages): Adjust.
3403 2001-05-08 Akim Demaille <akim@epita.fr>
3405 * automake.in (&define_program_variable): Remove.
3406 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3408 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3409 * texinfos.am: Do it.
3411 2001-05-08 Akim Demaille <akim@epita.fr>
3413 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3415 * dejagnu.am: Do it.
3416 (site.exp): Use `if'.
3418 2001-05-08 Akim Demaille <akim@epita.fr>
3420 * automake.in: Formatting changes.
3421 (variable_dump, variables_dump): Rename as...
3422 (macro_dump, macros_dump): these.
3424 2001-05-08 Akim Demaille <akim@epita.fr>
3426 Support `if !COND', `else COND', `end COND'.
3428 * automake.texi (Conditionals): Document it.
3429 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3430 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3431 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3432 a leading `!' before the condition.
3433 (&handle_options): Use `\d'.
3434 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3435 (&read_am_file, &file_contents_internal): Use them.
3436 (&transform): No longer substitute `%!COND%', forcing the use of
3438 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3440 2001-05-08 Akim Demaille <akim@epita.fr>
3442 Uniform handling of per-object compilation rules.
3443 Note: Automake is repaired.
3445 * automake.in (&handle_languages): Output per object rules for all
3446 the objects, not only for those which language supports dependency
3448 Fix Automake: when outputting per-object rules, use `-o' if the
3449 language has no `output_flag', as it's really needed.
3450 (&handle_single_transform_list): Instead of special casing files
3451 which need per object rules but which language don't support
3452 dependency tracking, keep them in the queue for processing by
3453 `&handle_languages'.
3455 2001-05-08 Akim Demaille <akim@epita.fr>
3457 * automake.in (&handle_languages): `ext-compile.am' and
3458 `depend2.am' are now equivalent for generic rules: output only the
3460 * ext-compile.am: Remove.
3462 2001-05-08 Akim Demaille <akim@epita.fr>
3464 Note: This patch breaks Automake. Repaired within two patches.
3466 * automake.in (Language): Replace the attribute `output_arg' with
3467 `compile_flag' and `output_flag'.
3468 (Automake): Adjust language registrations.
3469 (&handle_languages): Transform `-c' and `-o' for both suffix and
3470 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3472 (&handle_single_transform_list): Adjust to `compile_flag' and
3474 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3476 2001-05-08 Akim Demaille <akim@epita.fr>
3478 * automake.in (&handle_languages): Don't transform %COMPILER%.
3479 Use `$lang->compiler' instead of `$pfx' to transform generic
3480 %COMPILE% and %LTCOMPILE%.
3481 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3482 of %COMPILER% and $<.
3484 2001-05-07 Akim Demaille <akim@epita.fr>
3486 * automake.in (&handle_languages): Use the same `%transform' for
3487 both `depend2.am' and `ext-compile.am'.
3488 Delay the definition of `$flag' so it is right before the first use,
3489 and rename as `$flags'.
3491 2001-05-07 Akim Demaille <akim@epita.fr>
3493 * automake.in (&handle_languages): Compute `$ltoutarg' and
3494 `$outarg' independently of dependency code.
3495 There is no use looping on a language's possible extensions since
3496 we loop over used extensions.
3497 Therefore, there is no use for a local `%transform'.
3499 2001-05-07 Akim Demaille <akim@epita.fr>
3501 * automake.in (&handle_languages): Don't use $comp.
3503 2001-05-07 Akim Demaille <akim@epita.fr>
3505 * automake.in (&handle_languages): Merge the two loops over
3506 %extension_seen/%languages into one and group code to be run once
3507 per language together.
3509 2001-05-07 Akim Demaille <akim@epita.fr>
3511 * automake.in (&handle_languages): Move the `if
3512 ($use_dependencies)' block so that loops over extensions and
3513 languages are next to each other.
3515 2001-05-07 Akim Demaille <akim@epita.fr>
3517 * automake.in (&depend2): Remove, merged into...
3518 (&handle_languages): here.
3520 2001-05-07 Akim Demaille <akim@epita.fr>
3522 * automake.in (&finish_languages): Rename as...
3523 (&handle_languages): this.
3524 Include the body of...
3525 (&handle_dependency): this.
3528 2001-05-06 Tom Tromey <tromey@redhat.com>
3531 * tests/Makefile.am (TESTS): Add subdir5.test.
3532 (XFAIL_TESTS): Likewise.
3533 * tests/subdir5.test: New file.
3535 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3536 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3538 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3540 (handle_options): Handle fork identifier in version number.
3542 * automake.texi (Dist): Document distcheck-hook.
3544 * tests/confh4.test: Update to reflect DEFS change.
3545 For PR automake/132.
3547 Fix for PR automake/132:
3548 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3550 (java): Remove INCLUDES and DEFS from compilation.
3551 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3552 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3553 (DEFAULT_INCLUDES): New macro.
3555 * automake.in (usage): Re-align explanatory text.
3556 Fixes PR automake/148.
3558 * automake.texi (Uniform): Don't use @PROGRAMS@.
3559 Fixes PR automake/154.
3561 For PR automake/160:
3562 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3563 (XFAIL_TESTS): Add subobj6.test.
3564 * tests/subobj6.test: New file.
3566 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3567 (Top level): Don't mention `flat'.
3568 (Extending): Likewise.
3569 (User Variables): New node.
3571 * distdir.am (distdir): Make subdirectory for each file.
3572 Fixes test subobj5.test.
3574 * tests/Makefile.am (TESTS): Add new file.
3575 (XFAIL_TESTS): Likewise.
3576 * tests/texinfo10.test: New file.
3578 2001-05-05 Pavel Roskin <proski@gnu.org>
3580 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3581 in the same way as @defcodeindex and @syncodeindex respectively.
3583 2001-05-05 Tom Tromey <tromey@redhat.com>
3585 * mans.am (install-man%SECTION%): Minor cleanup.
3586 (uninstall-man%SECTION%): Likewise.
3588 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3589 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3591 (uninstall-man%SECTION%): Likewise.
3592 * automake.in (handle_man_pages): Handle dist_ and nodist_
3595 * automake.texi (Future): Removed.
3597 (Hello): Don't mention `deep'.
3598 (Top level): Likewise.
3600 * automake.in (conditional_true_when): Use a hash, not index().
3601 Also, a TRUE component always results in a true return.
3602 Fixes test cond10.test. For PR automake/164.
3603 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3605 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3607 For PR automake/164:
3608 * tests/Makefile.am (TESTS): Added new file.
3609 (XFAIL_TESTS): Likewise.
3610 * tests/cond10.test: New file.
3612 2001-05-05 Tom Tromey <tromey@redhat.com>
3614 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3616 (install-info-am): Likewise.
3618 2001-05-05 Pavel Roskin <proski@gnu.org>
3620 * automake.in (scan_texinfo_file): Don't push undefined values
3623 2001-05-05 Richard Boulton <richard@tartarus.org>
3625 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3628 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3630 * automake.in (required_targets): Added uninstall-am.
3632 2001-05-05 Tom Tromey <tromey@redhat.com>
3634 Fix bug reported by Robert Boehne:
3635 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3637 (handle_dependencies): Likewise.
3638 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3639 substitution. Correct diff now has 30 lines. Look for space
3640 after losing `undef'.
3642 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3644 * m4/sanity.m4: Remove the temp file before possible error exits.
3646 2001-05-04 Akim Demaille <akim@epita.fr>
3648 * configure.in: Set perllibdir.
3651 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3653 * automake.in ($pkgdata_dir): New.
3654 (&require_file_internal): Use it.
3656 2001-05-03 Akim Demaille <akim@epita.fr>
3658 Case insensitive FS choke on Automake/ vs automake.
3659 Reported by Tim Van Holder.
3661 * Automake/: Move into...
3662 * lib/: this new directory.
3664 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3666 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3669 2001-04-30 Jim Meyering <meyering@lucent.com>
3671 * automake.in: Remove `/lib' from include directory.
3673 2001-04-27 Akim Demaille <akim@epita.fr>
3675 AM_INIT_AUTOMAKE is no longer optional.
3677 * automake.in ($seen_make_set, $seen_prog_install)
3678 ($seen_arg_prog): Remove.
3679 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3680 Remove related code.
3682 2001-04-27 Akim Demaille <akim@epita.fr>
3684 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3686 * tests/specflags3.test: here.
3688 2001-04-27 Akim Demaille <akim@epita.fr>
3690 * automake.in ($seen_path_xtra): Remove.
3691 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3692 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3694 2001-04-27 Akim Demaille <akim@epita.fr>
3696 * automake.in (&file_contents_internal): Declare it.
3698 2001-04-27 Akim Demaille <akim@epita.fr>
3700 * automake.in (&read_am_file, &file_contents_internal): Don't
3701 define macros when `FALSE', to avoid errors on doubly defined
3702 variables but under condition `FALSE'. In order to allow...
3703 (&am_install_var): When reading the associated file for the first
3704 time, enable `%?FIRST%'.
3705 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3706 * libs.am: Do it when `%?FIRST%'.
3708 2001-04-27 Akim Demaille <akim@epita.fr>
3710 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3711 * ansi2knr.am: Do it.
3712 Prefer `if %?FOO%' to `if %!FOO%'.
3714 2001-04-27 Akim Demaille <akim@epita.fr>
3716 * automake.in (®ister_language, &finish_languages): Use `pure'
3718 (®ister_language): Use %done properly with objects, not names.
3719 (&finish_languages): Replace `$non_c' with `$needs_c'.
3721 2001-04-27 Akim Demaille <akim@epita.fr>
3723 Unify LISP, PYTHON and JAVA primaries.
3725 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3726 return if there are no files, hook elisp-comp on the Autoconf
3727 macro, rely on lisp.am to define variables.
3728 (&handle_python, &handle_java): Likewise.
3729 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3730 `PYTHON' must be handled here, not in `&handle_python'.
3731 * java.am: Define needed variables and rules.
3733 2001-04-27 Akim Demaille <akim@epita.fr>
3735 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3737 * header.am: Include data.am.
3739 2001-04-27 Akim Demaille <akim@epita.fr>
3741 * automake.in (&am_install_var): Transform `PRIMARY'.
3742 * data.am: Equip with %PRIMARY%.
3744 2001-04-27 Akim Demaille <akim@epita.fr>
3746 * automake.in (@conditional_stack): Rename as...
3747 (@cond_stack): this.
3748 (&file_contents_internal): Support inclusion of files.
3750 2001-04-27 Akim Demaille <akim@epita.fr>
3752 * automake.in (&lang_extensions): Remove.
3753 (&add_depend2, &saw_sources_p): Adjust.
3754 * depend2.am: `%EXT%' no longer includes the dot.
3756 2001-04-27 Akim Demaille <akim@epita.fr>
3758 * automake.in (&finish_languages, &handle_single_transform_list)
3759 (&add_depend2, &handle_dependencies): No longer use the language
3760 name in `$lang'. Rename `$lang_obj' as `$lang'.
3762 2001-04-27 Akim Demaille <akim@epita.fr>
3764 * automake.in (®ister_language): Use `new Language' with a hash.
3766 2001-04-27 Akim Demaille <akim@epita.fr>
3768 * automake.in (®ister_language): Rename `output-arg' and
3769 `derived-autodep' as `output_arg' and `derived_autodep' to match
3770 the Language attribute.
3771 Set the defaults in %option instead of $lang.
3773 2001-04-27 Akim Demaille <akim@epita.fr>
3775 * Automake/: New directory.
3776 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3777 * automake.in (Language): Use Automake::Struct.
3778 * tests/defs: Adjust to find Struct.
3780 2001-04-23 Pavel Roskin <proski@gnu.org>
3782 * automake.in: Add forward declaration for register_language().
3783 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3786 2001-04-20 Akim Demaille <akim@epita.fr>
3788 * automake.in (%required_targets): Add `uninstall'.
3789 From Robert Collins.
3791 2001-04-12 Akim Demaille <akim@epita.fr>
3793 * automake.in (Language): Add attribute `name'.
3794 (®ister_language): The name of the language is now given in the
3796 No longer use `$lang' as the name of the language.
3797 Rename `$lang_obj' as `$lang'.
3799 2001-04-12 Akim Demaille <akim@epita.fr>
3801 * automake.in (Language): Add attribute `_finish'.
3804 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3805 (&lang_asm_finish): Remove.
3807 2001-04-12 Akim Demaille <akim@epita.fr>
3809 * automake.in (Language): Add attribute `extensions'.
3810 (Automake): Pass a hash to `®ister_language' instead of a
3811 list of pseudo assignments.
3812 (®ister_language): Adjust.
3813 (&finish_languages): Initialize `$ltoutarg'.
3815 2001-04-12 Akim Demaille <akim@epita.fr>
3817 * automake.in (Language): Add attribute `output_arg'.
3818 (%language_map): Remove.
3819 (®ister_language): Build only the object, and store in
3821 (&finish_languages, &handle_single_transform_list): Adjust.
3823 2001-04-12 Akim Demaille <akim@epita.fr>
3825 * automake.in (Language): Add attributes `flags', `compile' and
3827 (&finish_languages, &handle_single_transform_list, &handle_dist)
3828 (&add_depend2, ®ister_language): Use them and the `linker' and
3831 2001-04-12 Akim Demaille <akim@epita.fr>
3833 * automake.in (&handle_single_transform_list, &finish_languages)
3834 (&handle_dist, &handle_dependencies): Use the language object for
3835 autodep and derived-autodep too.
3837 2001-04-12 Akim Demaille <akim@epita.fr>
3839 * automake.in (¯o_define): Ignore Automake definition for
3840 ($var, $cond) if there is already a user definition for ($var, $cond).
3842 2001-04-12 Akim Demaille <akim@epita.fr>
3844 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3845 but also @deffn and so on which push data in indexes.
3846 Reported by Derek R. Price.
3848 2001-04-12 Akim Demaille <akim@epita.fr>
3850 * automake.in (Language): New package, temporarily in this file.
3852 (Automake): New package.
3854 (&handle_single_transform_list): Use the language object's `ansi'
3855 attribute instead of `$language_map{"$lang-ansi-p"}'.
3856 (®ister_language): Build and register the language too.
3858 2001-04-11 Tom Tromey <tromey@redhat.com>
3860 Fixes report from Larry Jones:
3861 * automake.in (handle_dependencies): Add `@_am_quote@' where
3863 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3865 2001-04-11 Akim Demaille <akim@epita.fr>
3867 * depend2.am: Fix the `if' condition for Libtool.
3868 Reported by Robert Boehne.
3870 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3872 * tests/subobj5.test: New file.
3874 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3876 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3877 * tests/Makefile.am (TESTS): Added make.test.
3878 * tests/make.test: New file.
3880 2001-04-10 Tom Tromey <tromey@redhat.com>
3882 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3884 2001-04-10 Derek R. Price <dprice@collab.net>
3886 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3888 2001-04-10 Akim Demaille <akim@epita.fr>
3890 * distdir.am: Add a missing backslash.
3892 2001-04-10 Akim Demaille <akim@epita.fr>
3894 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3896 Specify to the caller whether $regen_aclocal_m4.
3897 (&handle_configure): Adjust.
3898 Transform `REGEN-ACLOCAL-M4'.
3900 * configure.am: Use it.
3901 * tests/defs (me): New.
3902 * tests/confdeps.test: New.
3904 2001-04-09 Tom Tromey <tromey@redhat.com>
3906 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3907 Fixes report from Jim Meyering.
3909 2001-04-09 Akim Demaille <akim@epita.fr>
3911 * automake.in (&handle_configure): Don't bother with optimizing
3914 2001-04-09 Akim Demaille <akim@epita.fr>
3916 * tests/cond3.test (expected): Adjust.
3918 2001-04-09 Akim Demaille <akim@epita.fr>
3920 * automake.in (&handle_single_transform_list): Remove $xbase,
3922 (&handle_source_transform): All the variables have conditions now,
3924 (&variable_delete): Admit an argument @conds.
3926 2001-04-09 Akim Demaille <akim@epita.fr>
3928 * automake.in ($source_suffix_pattern): Remove, unused.
3929 %extension_map seems to have replaced it.
3931 2001-04-09 Akim Demaille <akim@epita.fr>
3933 * ext-compile.am: New file.
3934 * automake.in (&finish_languages): Output it.
3935 Require a C linker if there are several registered source suffixes.
3936 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3937 extensions, which are discovered in ext-compile.am.
3938 With the help from Robert Boehne.
3940 2001-04-09 Akim Demaille <akim@epita.fr>
3942 * automake.in (&handle_compile): Extract from...
3943 (&get_object_extension): here.
3944 (&read_am_file): Call it.
3945 ($included_generic_compile, $included_knr_compile)
3946 ($included_libtool_compile): Remove.
3947 ($get_object_extension_was_run): New.
3949 2001-04-09 Akim Demaille <akim@epita.fr>
3951 Use AM_CONDITIONAL and if/endif for AMDEP.
3953 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3954 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3955 to a configure time if/endif), or to `FALSE' (static removal of
3957 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3958 * depend2.am: Use if/endif.
3960 Adjust the 101 tests that use dependencies so that they
3961 properly invoke aclocal before automake. They need to `see'
3962 `AM_CONDITIONAL([AMDEP], ...)'.
3964 2001-04-09 Akim Demaille <akim@epita.fr>
3966 * tags.am: Fix missing leading tabs.
3968 2001-04-09 Akim Demaille <akim@epita.fr>
3970 * automake.in: Use simple quotes to define the _PATTERN variables
3971 to unobfuscate the regexps.
3972 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3974 2001-04-09 Akim Demaille <akim@epita.fr>
3976 * automake.in (&rule_define): When you discover a suffix rules,
3977 register the extensions for .SUFFIXES.
3978 (&handle_texinfo): Don't register the suffixes.
3979 (&get_object_extension): Don't register suffixes, let them be
3980 discovered in depend2.am.
3981 (&handle_emacs_lisp): Depend on your lisp.am.
3982 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3984 2001-04-09 Akim Demaille <akim@epita.fr>
3986 * subdirs.am: Don't define info related recursive targets.
3989 2001-04-09 Akim Demaille <akim@epita.fr>
3991 * subdirs.am (RECURSIVE_TARGETS): New variable.
3993 * automake.in (&handle_subdirs): Output it.
3994 (&file_contents_internal): Support value spread on several lines.
3996 2001-04-09 Akim Demaille <akim@epita.fr>
3998 * automake.in (&handle_man_pages): Rely on mans.am to define
3999 man%SECTION%dir and MANS.
4002 2001-04-09 Akim Demaille <akim@epita.fr>
4004 * automake.in (&variable_dump): Use %var_type properly.
4005 (¯o_define): Enforce better overriding rules.
4006 Handle the special case that used to handle...
4007 (&define_pretty_variable): this.
4009 The variables you define are owned by Automake.
4010 (&generate_makefile): PRE_INSTALL and co must not be defined *by
4012 (&variable_defined): Now independent of the owner.
4013 (&variable_output, &variable_pretty_output): Adjust to %var_type.
4015 2001-04-09 Akim Demaille <akim@epita.fr>
4017 * automake.in (%var_was_plus_eq): Rename as...
4019 (%def_type): Remove.
4020 (¯o_define): %var_type may now hold `', `+', or `:'.
4021 (%conditional, %am_vars, %content_lines): Rename as...
4022 (%var_value, %var_comment, %var_line): these.
4024 2001-04-09 Akim Demaille <akim@epita.fr>
4026 * automake.in (&variable_output): Admit a list of @CONDS.
4027 (&variable_pretty_output): New.
4028 (&define_pretty_variable): Use it.
4029 (&read_am_file, &file_contents_internal): Prepend a separator to
4030 $am_vars only if there is none yet.
4031 (&file_contents_internal): Rename $separator as $spacing to
4032 harmonize with &read_am_file.
4034 2001-04-09 Akim Demaille <akim@epita.fr>
4036 * automake.in (&am_install_var): Transform DIST, and let the *.am
4037 files handle DIST_COMMON.
4038 * data.am, header.am, java.am, list.am, python.am, script.am: Set
4041 2001-04-09 Akim Demaille <akim@epita.fr>
4043 * automake.in (%dist_common): Remove.
4044 (%configure_dist_common): Replace with...
4045 ($configure_dist_common): this.
4046 (&generate_makefile): Read the user file before using
4047 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
4048 that no variable is defined before it is run.
4049 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
4050 (&dist_cmp): Rename as...
4051 (&for_dist_common): this.
4052 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
4054 Adjust to $configure_dist_common.
4055 * configure.am, texi-vers.am: Set DIST_COMMON.
4057 2001-04-09 Akim Demaille <akim@epita.fr>
4059 * automake.in (&handle_aclocal_m4): Rename as...
4060 (&scan_aclocal_m4): this.
4061 Return the list of aclocal.m4 dependencies.
4062 (&handle_configure): Invoke it, and use it when loading...
4063 * configure.am: Template the rules to recreate aclocal.m4.
4065 2001-04-09 Akim Demaille <akim@epita.fr>
4067 * automake.in (&get_object_extension): Use ansi2knr.am.
4068 * clean-kr.am, kr-extra.am: Remove, merged into...
4069 * ansi2knr.am: this new file.
4071 2001-04-09 Akim Demaille <akim@epita.fr>
4073 * automake.in (&transform): Fix an incredible bug which was
4074 breaking the if/endif system.
4075 ($ELSE_PATTERN): Admit an optional argument.
4077 2001-04-09 Akim Demaille <akim@epita.fr>
4079 * comp-vars.am: Remove, merged into...
4081 * automake.in (&get_object_extension): Adjust.
4083 2001-04-09 Akim Demaille <akim@epita.fr>
4085 * remake.am: Merge into...
4086 * configure.am: ... here.
4087 * automake.in (&handle_configure): Adjust.
4089 2001-04-09 Akim Demaille <akim@epita.fr>
4091 * automake.in (&output_lex_build_rule): Output this...
4094 2001-04-09 Akim Demaille <akim@epita.fr>
4096 * automake.in (&condition_negate): New.
4097 (&variable_conditions_permutations): Use it.
4098 (&read_am_file, &file_contents): Use it on `else' clauses to
4100 (&output_yacc_build_rule): Output this...
4101 * yacc.am: New file.
4103 2001-04-09 Akim Demaille <akim@epita.fr>
4105 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
4106 (&handle_dist): Don't.
4107 (&handle_clean): Don't handle config.status here, let...
4108 * clean.am: ... do it.
4109 * distdir.am: Adjust.
4111 2001-04-09 Akim Demaille <akim@epita.fr>
4113 * automake.in: Use strict vars and subs.
4114 Declare `%require_file_found'.
4115 (&handle_source_transform, &make_paragraphs): Declare my variables.
4117 2001-04-09 Akim Demaille <akim@epita.fr>
4119 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4120 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
4121 * java.am (_am_installdirs): Be sure to set it.
4123 2001-04-09 Akim Demaille <akim@epita.fr>
4125 * automake.in (&make_condition): Return '#' when FALSE.
4126 (&conditional_string): Return FALSE, not '#' in the corresponding
4128 (&file_contents_internal): Adjust.
4129 (&check_variable_defined_unconditional): Dump the guilty variable.
4131 2001-04-09 Akim Demaille <akim@epita.fr>
4133 * distdir.am: Use and abuse of if/endif.
4134 * scripts.am: Using if/endif with variables is fine.
4136 2001-04-09 Akim Demaille <akim@epita.fr>
4138 * automake.in (&make_paragraphs): Extract from &file_contents.
4139 Make it more robust than the previous RE based scheme.
4140 (&file_contents): Use it.
4142 2001-04-09 Akim Demaille <akim@epita.fr>
4144 * automake.in (&make_paragraphs): Extract from &file_contents.
4145 Make it more robust than the previous RE based scheme.
4146 (&file_contents): Use it.
4148 2001-04-09 Akim Demaille <akim@epita.fr>
4150 * tests/yacc2.test: Don't define several times a variable, as
4153 2001-04-09 Akim Demaille <akim@epita.fr>
4155 * automake.in (&handle_source_transform): Fix pr72: don't define
4156 $linker if there are no @files.
4158 2001-04-09 Akim Demaille <akim@epita.fr>
4160 Avoid reading twice header-vars.am as now macro_define
4163 * automake.in (&define_standard_variables): Don't output the
4165 (&read_main_am_file): Output first user variables, then Automake
4167 Don't call twice &define_standard_variables.
4168 Save variable comments in $am_vars.
4169 (&variable_output): New.
4170 (&file_contents_internal): New.
4171 Save variable comments in $am_vars.
4172 (&file_contents): Use it.
4174 2001-04-09 Akim Demaille <akim@epita.fr>
4176 * automake.in (¯o_define): The user is allowed to override
4177 a value if it was set by Automake, or if it was found in AC_SUBST.
4179 2001-04-09 Akim Demaille <akim@epita.fr>
4181 * automake.in (&handle_source_transform): Better locality of the
4183 Use `next' to skip nonexistent variables.
4185 2001-04-09 Akim Demaille <akim@epita.fr>
4187 * automake.in (&variable_dump): If a variable is undefined, say
4189 (&check_ambiguous_conditional): Give finer error messages.
4190 (¯o_define): Check that a `+=' variable is not set with `='.
4191 Check for ambiguous definitions each time you _set_ (even with `+=')
4193 (&read_main_am_file): Perform a deep copy of %conditional.
4195 2001-04-09 Akim Demaille <akim@epita.fr>
4197 * automake.in (&variable_defined): Some callers, e.g.,
4198 &am_primary_prefixes, really want to know if the variable is
4199 defined for any condition, not `TRUE' by default.
4200 (&am_primary_prefixes): Give a more precise error message.
4202 2001-04-09 Akim Demaille <akim@epita.fr>
4204 (&variable_conditions): Don't include `FALSE' in the result.
4206 2001-04-09 Akim Demaille <akim@epita.fr>
4208 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4209 (&variable_conditions): Don't include `FALSE' in the result.
4211 2001-04-09 Akim Demaille <akim@epita.fr>
4213 * tests/defs, tests/depend3.test: Remove useless code.
4215 2001-04-09 Akim Demaille <akim@epita.fr>
4217 * automake.in (&handle_source_transform): Use
4218 &variable_conditions, don't read $conditional{$var}.
4219 (&variable_conditions_sub): When the call is the top level call,
4220 generate all the permutations of the conditions.
4222 2001-04-09 Akim Demaille <akim@epita.fr>
4224 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4225 that it does not get noticed twice by automake, which now
4226 complains for multiple definitions.
4227 * tests/vartar.test: s/INSTALL/install/g, automake now complains
4228 because we defined INSTALL.
4230 2001-04-09 Akim Demaille <akim@epita.fr>
4232 * automake.in (&generate_makefile) Use macro_define to define
4233 SOURCES and OBJECTS.
4234 (&variable_defined): Don't check for $conditional{VAR}{COND} as
4235 this would make perl create $condition{VAR}, which we don't want.
4237 2001-04-09 Akim Demaille <akim@epita.fr>
4239 * automake.in (&variable_defined, &define_pretty_variable):
4240 Simplify code which used to handle the cases where not all
4241 variables were in %conditional.
4242 (&define_variable): Use &define_pretty_variable.
4243 (&variable_conditions_sub, &variable_value_as_list_worker)
4244 (&variable_value_as_list, &rule_define): Simplify syntax.
4245 (&read_main_am_file): Dump the guilty predefined variables.
4247 2001-04-09 Akim Demaille <akim@epita.fr>
4249 * automake.in (&variable_conditions_sub)
4250 (&variable_value_as_list_worker): Remove dead code which used to
4251 handle the cases where not all variables were in %conditional.
4253 2001-04-09 Akim Demaille <akim@epita.fr>
4255 * automake.in (&handle_source_transform, &read_main_am_file):
4256 Simplify loops which were split in two parts, conditional vs
4257 unconditional variables.
4259 2001-04-09 Akim Demaille <akim@epita.fr>
4261 Handle unconditional values of variables as conditioned by
4264 * automake.in (%contents): Remove.
4265 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4266 (&read_am_file, &variable_defined, &variable_conditions_sub)
4267 (&variable_value, &variable_value_as_list_worker)
4268 (&variable_value_as_list, &define_pretty_variable)
4269 (&read_main_am_file): Use
4270 $conditional, not %contents.
4271 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4272 (&variable_conditionally_defined): New.
4273 (&handle_dist): Use it.
4274 (&check_ambiguous_conditional): When multiply defined, specify
4275 under which condition.
4276 (¯o_define): Use it.
4277 (&variable_delete): New.
4278 (&read_am_file): Use it.
4279 (&am_install_var): Simplify, as all the variables are in
4282 2001-04-07 Tom Tromey <tromey@redhat.com>
4284 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4286 * tests/man.test: New file.
4288 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4290 * depcomp (gcc3): Invert test condition.
4292 2001-04-07 Tom Tromey <tromey@redhat.com>
4294 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4295 statement. Report from Larry Jones.
4297 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4299 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4301 2001-04-01 Tom Tromey <tromey@redhat.com>
4303 * java.am (.PHONY clean-am): Removed trailing ":".
4304 From Per Bothner. Fixes PR automake/139.
4306 2001-03-28 Akim Demaille <akim@epita.fr>
4308 * program.am: Fix a stupid typo: now *all* (not none) the programs
4310 Reported by Robert Boehne.
4312 2001-03-23 Akim Demaille <akim@epita.fr>
4314 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4317 2001-03-23 Akim Demaille <akim@epita.fr>
4319 * automake.in (&variable_conditionally_defined): Rename as...
4320 (&check_variable_unconditionally_defined): this.
4321 (&variable_dump): Fix the output.
4322 (&variable_defined, ¯o_define): Since conditions are
4323 canonicalized, don't use a loop to look for a condition: read the
4325 (¯o_define, &rule_define, &read_am_file, &file_contents):
4326 Rename $cond_string as $cond.
4327 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4328 discovered via AC_SUBST, they now trigger a `defined twice' error.
4330 2001-03-23 Akim Demaille <akim@epita.fr>
4332 * automake.in (&handle_footer, &handle_installdirs)
4333 (&read_main_am_file): Don't read %contents directly, use
4336 2001-03-23 Akim Demaille <akim@epita.fr>
4338 * automake.in (&read_am_file): Define the variables in a single
4340 Factor the $saw_bk code.
4342 2001-03-23 Akim Demaille <akim@epita.fr>
4344 * automake.in (&read_am_file): Keep $cond_string up to date.
4346 2001-03-23 Akim Demaille <akim@epita.fr>
4348 * automake.in (&define_variable): Use ¯o_define.
4350 2001-03-23 Akim Demaille <akim@epita.fr>
4352 * automake.in (¯o_define): Don't lose the location if we
4353 redefine a variable.
4354 Don't push all the variables in @var_list, let...
4355 (&read_am_file, &file_contents): ... do it.
4356 (&define_pretty_variable): Use macro_define.
4357 (&am_install_var): Delete the value of variables being redefined
4358 to pacify ¯o_define which checks that variables are not
4361 2001-03-23 Akim Demaille <akim@epita.fr>
4363 * automake.in (&conditional_dump): Rename as...
4364 (&variables_dump): this. Use...
4365 (&variable_dump): this new sub.
4367 2001-03-23 Akim Demaille <akim@epita.fr>
4369 * automake.in (&file_contents): Maintain $cond_string sync with
4371 Output rules only if not under `FALSE'.
4372 Define variables under $cond_string.
4373 * scripts.am: For the time being if/endif does not work properly
4376 2001-03-23 Akim Demaille <akim@epita.fr>
4378 * automake.in (IF_PATTERN): Unobfuscate the parens.
4379 (ENDIF_PATTERN): Allow a condition to be specified.
4380 (&file_contents): Use a @cond_stack.
4381 (&transform): At least for an easy transition, also transform
4382 %?FOO% and %!FOO%, as suggested by Lars.
4383 * scripts.am: First test bed for static if/endif use.
4385 2001-03-23 Akim Demaille <akim@epita.fr>
4387 * automake.in (&file_contents): Use rule_define.
4389 2001-03-23 Akim Demaille <akim@epita.fr>
4391 * automake.in (¯o_define): Don't rely on $1.
4392 Initialize the variable.
4393 Set its Automakism only if not defined or if given to the user.
4394 When concatenating values, insert a separator only if the value
4396 (&read_am_file): When dumping the @var_list, skip Automake
4398 (&file_contents): Use macro_define.
4400 2001-03-23 Akim Demaille <akim@epita.fr>
4402 * automake.in (&rule_define): Extract from...
4403 (&read_am_file): here.
4405 2001-03-23 Akim Demaille <akim@epita.fr>
4407 * automake.in (¯o_define, &read_am_file): More work for the
4408 former from the latter. Reorganize the latter.
4410 2001-03-23 Akim Demaille <akim@epita.fr>
4412 * automake.in (¯o_define): Extract from...
4413 (&read_am_file): here.
4415 2001-03-23 Akim Demaille <akim@epita.fr>
4417 * automake.in (%am_var_defs): Replace with...
4419 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4420 (&file_contents, am_primary_&prefixes): Adjust.
4421 (&variable_defined, &define_variable): The actual semantics is
4423 (&read_main_am_file): Assert the var is user defined when
4424 outputting @var_list.
4426 2001-03-23 Akim Demaille <akim@epita.fr>
4428 * automake.in (read_am_file): TRUE and FALSE are predefined
4430 (&by_condition): Adjust.
4431 (&conditional_string): Recognize `TRUE' and `FALSE'.
4432 (&make_condition): Use it.
4433 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4434 * automake.texi (Conditionals): Adjust.
4435 * tests/cond9.test: s/FALSE/WRONG/.
4437 2001-03-12 Pavel Roskin <proski@gnu.org>
4439 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4442 2001-03-12 Akim Demaille <akim@epita.fr>
4444 * automake.in (&variable_conditions_permutations): Separate the
4446 * tests/cond3.test: Improve the sed expression.
4448 2001-03-09 Pavel Roskin <proski@gnu.org>
4450 * Makefile.am (maintainer-check): Scan all *.am files and tests
4451 for invocations of `rm' without `-f'.
4452 * tests/mclean.test: Adjusted to prevent triggering the above
4455 2001-03-09 Tom Tromey <tromey@redhat.com>
4457 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4458 maintainer-check failure.
4460 2001-03-09 Akim Demaille <akim@epita.fr>
4462 * tests/cond3.test: Strengthen.
4464 2001-03-09 Akim Demaille <akim@epita.fr>
4466 * automake.in (&conditional_string): Produce a unique string
4467 characterizing a condition stack.
4468 (&conditional_same): Remove, comparing two strings is now enough.
4469 (&variable_defined): Adjust.
4470 (&read_am_file): Use conditional_string.
4472 2001-03-08 Akim Demaille <akim@epita.fr>
4474 * automake.in: Use -w.
4475 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4476 (&parse_arguments): Support --Werror and --Wno-error as a
4477 temporary hack until --warning/-W is properly implemented.
4478 (&handle_single_transform_list): Prototype.
4479 Be sure to define $directory.
4480 Use `exists' instead of testing the value of a maybe undefined
4482 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4483 (&handle_factored_dependencies): Use defined values.
4484 (&scan_one_autoconf_file): Save $_.
4485 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4486 Run automake with --Wno-error.
4488 2001-03-07 Akim Demaille <akim@epita.fr>
4490 * automake.in (&handle_all): Use an array instead of a scalar for
4492 Get rid of all-redirect: let `all' be that target.
4494 2001-03-07 Akim Demaille <akim@epita.fr>
4496 * automake.in (&handle_merge_targets): Ventilate its non `all'
4497 related content into...
4498 (&generate_makefile): here.
4499 (&handle_merge_targets): Rename as...
4500 (&handle_all): this.
4501 Remove a useless `if': `@all' is obviously not empty, since it
4502 contains at least the `basename ($makefile)' which has just been
4505 2001-03-07 Akim Demaille <akim@epita.fr>
4507 * automake.in, aclocal.in: Backquote is inert in double quotes.
4509 2001-03-06 Akim Demaille <akim@epita.fr>
4511 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4514 2001-03-06 Pavel Roskin <proski@gnu.org>
4516 * java.am: Use `rm -f' instead of `rm'.
4518 2001-03-06 Akim Demaille <akim@epita.fr>
4520 * automake.in (&push_dist_common): Simplify.
4522 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4524 * ltlib.am: Replaced spaces with tab.
4526 2001-03-06 Pavel Roskin <proski@gnu.org>
4528 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4531 2001-03-05 Pavel Roskin <proski@gnu.org>
4533 * header.am, scripts.am: Use ?INSTALL? in the install and
4536 2001-03-05 Pavel Roskin <proski@gnu.org>
4538 * tests/copy.test: Never use `rm' without `-f' - it may ask
4539 questions, notably for read-only files during `make distcheck'.
4540 * tests/insh.test: Likewise.
4541 * tests/installsh.test: Likewise.
4542 * tests/symlink.test: Likewise.
4543 * tests/symlink2.test: Likewise.
4544 * tests/symlink3.test: Likewise.
4546 2001-03-05 Pavel Roskin <proski@gnu.org>
4548 * noinstdir.test: New test.
4549 * tests/Makefile.am (TESTS): Add noinstdir.test.
4550 (XFAIL_TESTS): Likewise.
4552 2001-03-05 Akim Demaille <akim@epita.fr>
4554 * automake.in (&handle_options): Change the RE so that the third
4555 part of the versions always exist.
4556 (&file_contents): Don't pass uninitialized values to &transform.
4558 2001-03-05 Akim Demaille <akim@epita.fr>
4560 * automake.in (&file_contents): Require a hash as second argument.
4563 2001-03-05 Akim Demaille <akim@epita.fr>
4565 Always use hashes with &file_contents.
4567 * automake.in (&handle_texinfo): texibuild.am does not need
4569 texinfos.am wants only TEXICLEANS.
4570 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4572 * texinfos.am: Adjust.
4574 2001-03-05 Akim Demaille <akim@epita.fr>
4576 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4577 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4578 (&am_install_var): Forget about `-clean'.
4579 Transform ?INSTALL?.
4580 Always output the *.am file.
4581 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4582 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4583 Remove, merged into the corresponding *.am file.
4584 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4587 2001-03-05 Pavel Roskin <proski@gnu.org>
4589 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4591 2001-03-05 Akim Demaille <akim@epita.fr>
4593 If OBJEXT and EXEEXT are not set, provide a default value, and use
4594 them unconditionally.
4596 * automake.in (&generate_makefile): Provide default values for
4598 (&get_object_extension, &finish_languages)
4599 (&handle_single_transform_list, &handle_programs, &add_depend2)
4600 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4601 them, they are defined.
4602 * compile.am, depend2.am, program.am, progs.am: Likewise.
4603 * remake-hdr.am: Fix a typo.
4604 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4605 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4606 * tests/suffix2.test: Adjust.
4608 2001-03-05 Akim Demaille <akim@epita.fr>
4610 * automake.in (&file_contents): Map MAINTAINER-MODE to
4611 @MAINTAINER_MODE_TRUE@ or nothing.
4612 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4615 2001-03-05 Akim Demaille <akim@epita.fr>
4617 * automake.in (&do_one_merge_target): Remove, was only called from...
4618 (&handle_merge_targets): here for `all'.
4621 2001-03-05 Akim Demaille <akim@epita.fr>
4623 Make the installation/uninstallation of Info pages follow the
4624 regular am/recursive scheme.
4626 * automake.in (%required_targets, %dependencies): Add
4628 (%dependencies): Add install-info, install-info-am, and
4630 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4631 reversed BTW. Does anybody use the option `no-installinfo'?
4632 (&handle_merge_targets): Let the handling of info related targets
4634 (&handle_factored_dependencies): this.
4635 * subdirs.am: Use ?INSTALL-INFO?.
4636 * texinfos.am: Define the install-info, uninstall-info and
4637 uninstall-info-am targets.
4639 2001-03-05 Akim Demaille <akim@epita.fr>
4641 * automake.in (%required_targets, %dependencies): Add dvi, info,
4643 (@info, @dvi): Remove.
4644 (&handle_texinfo, &handle_merge_targets): Adjust.
4645 (&handle_factored_dependencies): Required targets are phony.
4646 * texinfos.am: Build info, dvi, and the corresponding -am or
4649 2001-03-05 Akim Demaille <akim@epita.fr>
4651 * automake.in (&am_install_var): Remove $cygxform, unused.
4653 2001-03-05 Akim Demaille <akim@epita.fr>
4655 * automake.in (&file_contents): Transform LIBTOOL.
4656 (&am_install_var): Remove $ltxform.
4657 * ltlib.am, progs.am: Adjust.
4659 2001-03-05 Akim Demaille <akim@epita.fr>
4661 * automake.in: Require AC_PROG_INSTALL in...
4662 (&scan_autoconf_files): here.
4664 2001-03-05 Akim Demaille <akim@epita.fr>
4666 * configure.am: New file.
4667 * automake.in (&file_contents): Transform CONFIGURE-AC.
4668 (&handle_texinfo, &handle_configure): Don't transform
4670 (&handle_configure): Use `configure.am'.
4671 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4672 MAINTAINER-MODE and CONFIGURE-AC.
4674 2001-03-05 Akim Demaille <akim@epita.fr>
4676 * automake.in (&pretty_print_internal): Don't output useless
4678 (define_pretty_variable): Don't issue the space after the `=' sign
4679 to avoid trailing spaces in Makefile.ins.
4681 2001-03-05 Akim Demaille <akim@epita.fr>
4683 * automake.in (&generate_makefile): Invoke &initialize_per_input
4684 *before* setting $am_file_name and $in_file_name.
4686 2001-03-05 Akim Demaille <akim@epita.fr>
4688 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4689 Globals, initialized...
4690 (&initialize_per_input): here.
4692 2001-03-05 Akim Demaille <akim@epita.fr>
4694 * automake.in ($am_relative_dir): Global.
4695 (&initialize_per_input): Init it.
4696 (%make_list, @make_input_list): My them from
4697 (&scan_autoconf_files): here.
4698 (&require_file_internal): Mying changes.
4700 2001-03-05 Akim Demaille <akim@epita.fr>
4702 * automake.in (%am_vars, @var_list, %def_type): Globals.
4703 (&initialize_per_input): Initialize them.
4704 (&read_main_am_file): Don't local them.
4705 (&get_object_extension): $objext is private.
4706 (&handle_single_transform_list): $lang is.
4707 (&handle_ltlibraries): $libname_rx is.
4708 (&scan_autoconf_config_files): How about actually paying attention
4709 to your arguments, instead of working on $_? (this is no Perl
4710 variable, it's a Perl variable followed by a question mark).
4711 (&file_contents): $contents and $separator are private.
4712 (&am_install_var): Declare @condvals, not $condvals.
4715 2001-03-05 Akim Demaille <akim@epita.fr>
4717 * automake.in (&initialize_per_input): Move to the top.
4718 Precede with the `my' list of its variables.
4720 2001-03-05 Akim Demaille <akim@epita.fr>
4722 * automake.in ($am_file): Use vars.
4723 ($am_file_name, $in_file_name): Private to &generate_makefile.
4725 2001-03-05 Akim Demaille <akim@epita.fr>
4727 * automake.in: Preparation for `use strict': Move the
4728 initialization of the constants to the top, from...
4729 (&initialize_global_constants): here.
4731 2001-03-05 Akim Demaille <akim@epita.fr>
4733 * automake.in (&handle_single_transform_list, &add_depend2): Let
4734 $lang_specific_files{$lang} be a list instead of a string.
4736 2001-03-05 Akim Demaille <akim@epita.fr>
4738 Let's make it run ten times faster...
4740 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4742 (&file_contents): Let `$command' remove the Automake commands, and
4743 normalize the series of `\n'.
4744 Slurp the file and apply $command in a single step.
4745 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4746 is already normalized to be handled by &transform.
4748 2001-03-05 Tom Tromey <tromey@redhat.com>
4750 * automake.in (register_language): Add entry for `-pure'.
4751 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4752 (finish_languages): Use `-pure' field of language map.
4754 2001-03-03 Tom Tromey <tromey@redhat.com>
4756 * tests/yaccvpath.test: No need to remove dummy files.
4757 * tests/subobj3.test: No need to remove dummy files.
4758 * tests/pr9.test: No need to remove dummy files.
4759 * tests/pr87.test: No need to remove dummy files.
4760 * tests/pr19.test: No need to remove dummy files.
4761 * tests/install2.test: No need to remove dummy files.
4762 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4765 2001-02-27 Pavel Roskin <proski@gnu.org>
4767 * tests/yaccvpath.test: Add a delay to make parse.c really out
4768 of date. Detect the problem earlier, after `make distdir'. Drop
4769 dependency on flex. Always use the `-y' flag for bison. Comment
4771 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4773 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4775 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4777 2001-02-28 Akim Demaille <akim@epita.fr>
4779 * automake.in (&add_depend2): Transform `GENERIC'.
4780 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4781 addition was broken by the `@ -> %' patch.
4782 * depend2.am: Adjust to use ?GENERIC?.
4784 2001-02-28 Akim Demaille <akim@epita.fr>
4786 * Makefile.am (maintainer-check): `undef $/' is OK.
4788 2001-02-28 Akim Demaille <akim@epita.fr>
4790 * automake.in (&handle_configure): Fortunately, $top_reldir,
4791 the definition of which was highly suspicious, was unused.
4793 2001-02-27 Akim Demaille <akim@epita.fr>
4795 * automake.in (%exec_dir_p): Move to the top so that it is visible
4798 2001-02-27 Pavel Roskin <proski@gnu.org>
4800 * tests/yaccvpath.test: Prevent automake from looking into ..
4801 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4803 2001-02-27 Akim Demaille <akim@epita.fr>
4805 * automake.in (%exec_dir_p): Pulled out from...
4806 (&am_primary_prefixes): here.
4808 2001-02-27 Akim Demaille <akim@epita.fr>
4810 * automake.in (&usage): Display $0, not $me.
4812 2001-02-27 Akim Demaille <akim@epita.fr>
4814 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4815 * automake.in (&handle_clean): Don't escape what's given to
4818 2001-02-27 Akim Demaille <akim@epita.fr>
4820 Distinguish automake substitutions from config.status
4823 * automake.in (&add_depend2): Transform AMDEP.
4824 (&handle_clean): Transform MCFILES and MFILES.
4825 (&file_contents): Transform MAINTAINER_MODE.
4826 (&transform, &am_install_var): Use `%', not `@'.
4827 Adjust all the *.am files.
4828 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4829 * depend2.am: Display the double dependency on both ?AMDEP? and
4832 2001-02-27 Tom Tromey <tromey@redhat.com>
4834 * distdir.am (distcheck): Fixed new code.
4836 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4837 Only configure once.
4839 * distdir.am (distcheck): Print error message if distclean failed
4842 2001-02-27 Pavel Roskin <proski@gnu.org>
4844 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4846 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4848 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4849 * tests/yaccvpath.test: New file.
4851 2001-02-26 Akim Demaille <akim@epita.fr>
4853 * automake.in (&am_install_var): Recognize whether predefined
4854 directories are `data' or `exec'.
4855 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4857 * tests/instdata2.test: Update.
4859 2001-02-26 Akim Demaille <akim@epita.fr>
4861 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4862 necessarily in infodir.
4864 2001-02-26 Akim Demaille <akim@epita.fr>
4866 * automake.in ($am_file): Be `local', as my'd variables used in
4867 `foreach' loops are always private to the loop.
4869 2001-02-26 Pavel Roskin <proski@gnu.org>
4871 * Makefile.am: Add install.am.
4873 2001-02-26 Akim Demaille <akim@epita.fr>
4875 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4876 routines, otherwise the elements to compare are passed in @_
4877 instead of $a and $b.
4879 2001-02-26 Akim Demaille <akim@epita.fr>
4881 * automake.in (%required_targets): `installcheck-am' is needed.
4883 2001-02-26 Akim Demaille <akim@epita.fr>
4885 * automake.in (&transform_cond): Merge into...
4889 2001-02-26 Akim Demaille <akim@epita.fr>
4891 * automake.in (&handle_dist): Use &transform instead of dedicated
4893 But be sure to always do it.
4894 * distdir.am: Adjust.
4896 2001-02-26 Akim Demaille <akim@epita.fr>
4898 * automake.in: Use File::Basename.
4899 (&dirname, &basename): Remove.
4901 2001-02-26 Akim Demaille <akim@epita.fr>
4903 * automake.in ($me): New.
4905 (&usage): Display your full name.
4907 2001-02-26 Akim Demaille <akim@epita.fr>
4909 * automake.texi (Invoking Automake): Remove dead options.
4911 2001-02-26 Akim Demaille <akim@epita.fr>
4913 * automake.in (&scan_texinfo_file): Also compute the list of files
4915 Handle local errors.
4916 (&handle_texinfo): Use it.
4918 2001-02-26 Akim Demaille <akim@epita.fr>
4920 * automake.in: Don't pass arguments to...
4921 (&parse_arguments): Work on @ARGV.
4923 Add support for `-f'.
4927 2001-02-26 Akim Demaille <akim@epita.fr>
4929 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4930 handle installcheck and installcheck-am.
4931 * install.am: Do it.
4933 2001-02-26 Akim Demaille <akim@epita.fr>
4935 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4936 handle install and install-am.
4937 * install.am: Do it.
4939 2001-02-26 Akim Demaille <akim@epita.fr>
4941 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4942 work on targets handled by %dependencies.
4943 (&handle_factored_dependencies): Do it.
4944 * install.am: Install install-exec, install-data and uninstall's
4947 2001-02-26 Akim Demaille <akim@epita.fr>
4949 * automake.in (&handle_merge_targets): Move `install-strip' from
4951 * install.am: to here.
4953 2001-02-26 Akim Demaille <akim@epita.fr>
4955 * automake.in (@installdirs): Remove.
4956 (&file_contents): Be able to grow Automake macros with `+='.
4957 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4958 files define _am_installdirs.
4959 (&handle_installdirs): Remove the code, just output `install.am'.
4961 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4962 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4964 2001-02-26 Akim Demaille <akim@epita.fr>
4966 * tests/instdata2.test (libexec_DATA): Exercise more
4969 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4971 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4973 2001-02-25 Tom Tromey <tromey@redhat.com>
4975 * tests/instdata2.test: Added `sbin_DATA' check.
4977 * tests/Makefile.am (TESTS): Added subdircond.test.
4978 * tests/subdircond.test: New file.
4979 * automake.in (handle_gettext): Don't fail if SUBDIRS
4980 conditionally defined.
4982 * automake.in: Use IO::File.
4983 (generate_makefile): Use IO::File.
4984 (scan_texinfo_file): Likewise.
4985 (handle_aclocal_m4): Likewise.
4986 (scan_autoconf_traces): Likewise.
4987 (scan_one_autoconf_file): Likewise.
4988 (read_am_file): Likewise.
4989 (file_contents): Likewise.
4992 2001-02-25 Akim Demaille <akim@epita.fr>
4994 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4996 2001-02-25 Akim Demaille <akim@epita.fr>
4998 * automake.in (&transform): Also call &transform_cond on your
5000 (&handle_dist): Adjust.
5001 (&handle_factored_dependencies): Uniq dependencies.
5003 2001-02-25 Akim Demaille <akim@epita.fr>
5005 * automake.in (&handle_gettext): Simplify redundant `if'.
5006 Used &variable_value, don't read %contents directly.
5008 2001-02-25 Akim Demaille <akim@epita.fr>
5010 * automake.in ($install_recursive): Remove, replaced with calls to
5011 `&variable_defined ('SUBDIRS')'.
5012 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
5013 (&file_contents): now does.
5015 2001-02-25 Akim Demaille <akim@epita.fr>
5017 * automake.in (&handle_man_pages): $found is dead.
5019 2001-02-25 Akim Demaille <akim@epita.fr>
5021 Internally just store the conditionals as space separated lists of
5022 CONDITIONS (instead of @CONDITIONS@).
5024 * automake.in (&conditional_true_when, &variable_conditions_sub):
5025 Split conditions at spaces.
5026 (&handle_dependencies, &variable_conditions_permutations): Don't
5027 put @ around conditions.
5028 (&variable_conditions_cmp): There are no @ to strip.
5029 (&make_condition): New.
5030 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
5032 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
5033 Join @conditional_stack with spaces.
5034 (&read_main_am_file): Adjust the output of variables.
5035 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
5036 true' and no longer `@TEST@TRUE = @TEST@true'.
5037 (&variable_conditions_cmp): Rename as...
5038 (&by_condition): this.
5039 Sort in a human pleasant order.
5040 Use it everywhere a human can see conditions.
5041 (&variable_conditions_reduce): Don't sort conditions, that's
5043 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
5045 2001-02-25 Akim Demaille <akim@epita.fr>
5047 * automake.in: `my' the globals.
5049 2001-02-25 Akim Demaille <akim@epita.fr>
5051 * automake.in (&initialize_per_input): %targets_conditionals is
5053 (&read_am_file): When slurping a rule, set the target related
5054 variable, and no variable related variable.
5055 (&file_contents): Likewise.
5056 * tests/vartar.test, tests/ctarget1.test: New.
5058 2001-02-25 Akim Demaille <akim@epita.fr>
5060 * automake.in (&variable_defined, &variable_value_as_list_worker):
5061 If $VAR is effectively a variable, don't die if it's also a
5063 Plus some formatting changes.
5065 2001-02-25 Akim Demaille <akim@epita.fr>
5067 * automake.in: Mying changes.
5068 * Makefile.am (maintainer-check): Check the stability of the
5069 number of uses of `local'.
5071 2001-02-25 Akim Demaille <akim@epita.fr>
5073 * automake.in: Mying changes.
5075 2001-02-25 Akim Demaille <akim@epita.fr>
5077 * automake.in: Mying changes.
5079 2001-02-25 Akim Demaille <akim@epita.fr>
5081 * automake.in: Mying changes.
5082 (&handle_tags): Fix a bug uncovered by the previous mying changes:
5083 transform CONFIG into $config, not $xform.
5085 2001-02-25 Akim Demaille <akim@epita.fr>
5087 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
5088 Don't deal with install-data-am, install-exec-am and unstall-am.
5089 (&initialize_per_input): Add them to %dependencies.
5090 Remove %exec_dir_p since the *.am files are now in charge of it.
5091 Remove @uninstall, @install_data, @install_exec.
5092 (&handle_merge_targets): Adjust to these removals.
5093 (&file_contents): Also &transform_cond for --no-installman and
5095 (&do_one_merge_target): Add some magic to install hooks on
5096 %dependencies' targets.
5097 (%required_targets): New.
5098 (&handle_factored_dependencies): Output required targets.
5099 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
5100 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
5101 * texinfos.am: Declare your dependencies on install-data-am,
5102 install-exec-am and uninstall-am.
5103 * tests/instdata2.test (incldata_HEADERS): New test.
5105 2001-02-24 Tom Tromey <tromey@redhat.com>
5107 * Makefile.am (amfiles): Added texibuild.am.
5108 * texibuild.am: New file.
5109 * tests/Makefile.am (TESTS): Added texinfo9.test.
5110 * tests/texinfo9.test: New file.
5111 * automake.in (handle_texinfo): Keep track of suffixes used. Give
5112 error if suffix unrecognized. Removed extraneous newline.
5114 2001-02-23 Akim Demaille <akim@epita.fr>
5116 * automake.in (&am_install_var): Don't hook on the clean targets
5118 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
5119 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
5122 2001-02-23 Akim Demaille <akim@epita.fr>
5124 * automake.in: Promote local `my' over `local'.
5126 2001-02-23 Akim Demaille <akim@epita.fr>
5128 * automake.in: Formatting and mying changes.
5130 2001-02-23 Akim Demaille <akim@epita.fr>
5132 * automake.in: Formatting and mying changes.
5134 2001-02-23 Akim Demaille <akim@epita.fr>
5136 * automake.in (&handle_man_pages): Let install-man and
5137 uninstall-man be handled by the dependency tracker.
5138 (&initialize_per_input): Let %dependencies track them.
5139 * mans.am: Add the needed hooks with the proper dependencies.
5141 2001-02-22 Pavel Roskin <proski@gnu.org>
5143 * tests/target-cflags.test: Don't use subshell to configure in
5144 subdirectory. Typo fix - run `./foo', not `/foo'.
5146 2001-02-22 Akim Demaille <akim@epita.fr>
5148 * automake.in: Formatting and mying changes.
5150 2001-02-21 Tom Tromey <tromey@redhat.com>
5152 * automake.in (handle_dist): Introduce new variable to avoid extra
5153 keys in %dist_dirs. Fixes distdir.test.
5155 * automake.in (handle_texinfo): Only remove suffixes we can
5158 * tests/distdir.test: Check to make sure directory isn't made in
5161 * automake.in (handle_dist): Do nothing in Cygnus mode.
5163 2001-02-21 Pavel Roskin <proski@gnu.org>
5165 * header-vars.am: Remove tabs before variable definitions.
5167 2001-02-21 Akim Demaille <akim@epita.fr>
5169 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5172 2001-02-21 Akim Demaille <akim@epita.fr>
5174 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5175 numeric value as required by Perl 5.6.
5177 2001-02-21 Akim Demaille <akim@epita.fr>
5179 * dist-vars.am: Remove, merge into...
5181 * automake.in (dirname, basename, backname): Move to the top of
5182 the file so that prototypes are checked,
5183 Use them without `&'.
5184 (&handle_dist): Adjust.
5186 2001-02-21 Akim Demaille <akim@epita.fr>
5188 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5189 Use a uniform naming scheme.
5190 ("e_cond_val, &unquote_cond_val): Delete, dead code.
5191 (&read_am_file): Fix conditional definition of backslash continued
5194 2001-02-21 Akim Demaille <akim@epita.fr>
5196 Change the handling of conditionals: instead of using an ad-hoc
5197 encoding to store a hash in a string, use hashes.
5199 * automake.in (&conditional_dump): New.
5200 (&check_ambiguous_conditional, &variable_defined)
5201 (&variable_conditions_sub, &variable_value_as_list_worker)
5202 (&define_variable, read_am_file, &read_main_am_file): Be sure to
5203 handle `$conditional{$vars}' as a hash instead of a plain string.
5205 2001-02-21 Akim Demaille <akim@epita.fr>
5207 * automake.in (&conditional_true_when): Modernize, simplify.
5208 Warning: `$comp' is now private (my), while it used to be
5209 `inherited' from a `local' elsewhere in the code. AFAICT it was
5210 wrong, but some dirty side effect might show up.
5211 (&conditionals_true_when): New.
5212 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5214 2001-02-21 Akim Demaille <akim@epita.fr>
5216 * automake.in ($top_builddir): Remove, used in one place.
5217 (&define_standard_variables): Adjust.
5218 Move the definition of triplet variables into...
5219 * header-vars.am: here.
5221 2001-02-21 Akim Demaille <akim@epita.fr>
5223 * automake.in (&initialize_global_constants): Don't define $USAGE.
5224 (&usage): Handle the former content of $USAGE.
5225 Don't pretend autoconf cares about Makefile.in.
5226 Classify the options.
5227 (&handle_tests): Formatting and mying changes.
5229 2001-02-21 Akim Demaille <akim@epita.fr>
5231 * automake.in (&handle_tests_dejagnu): Move the definition of a
5232 default `site.exp' into...
5233 * dejagnu.am (site.exp): here.
5234 Use DOS compliant file names.
5236 2001-02-21 Akim Demaille <akim@epita.fr>
5238 * automake.in (&dist_cmp): New.
5239 (&handle_dist): Use it.
5240 Promote `my' over `local'.
5242 2001-02-21 Akim Demaille <akim@epita.fr>
5244 * dist.am: Remove, merge into...
5245 * distdir.am: here. Use the neat sed snippet for banners.
5246 BTW, distcheck is phony.
5247 * automake.in (&handle_dist_worker): Remove, merge into...
5248 (&handle_dist): this.
5249 (&file_contents): Strip leading new lines.
5250 Be sure to end comments with new lines.
5252 2001-02-21 Akim Demaille <akim@epita.fr>
5254 * distdir.am (GZIP_ENV): Define.
5255 * automake.in (&handle_dist): Don't.
5257 (&handle_dist_worker, &am_install_var): Use it.
5259 2001-02-21 Akim Demaille <akim@epita.fr>
5261 * distdir.am (distdir): Handle the DIST-TARGETS.
5262 * automake.in (&handle_dist_worker): Don't.
5264 2001-02-21 Akim Demaille <akim@epita.fr>
5266 * automake.in (&file_contents): Transform the global options (such
5268 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5270 2001-02-21 Akim Demaille <akim@epita.fr>
5272 * distdir.am (distdir): Be sure to have permissive rights on its
5274 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5276 And BTW, all these guys are phony.
5277 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5278 output distributions.
5279 (&handle_dist): As its name doesn't indicate, don't.
5280 (&initialize_global_constants): Don't define variables which
5281 content is now handled by distdir.am.
5282 But register `dist-all' as a factored target.
5283 (&handle_factored_dependencies): Don't output empty targets.
5285 2001-02-20 Tom Tromey <tromey@redhat.com>
5287 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5290 2001-02-18 Tom Tromey <tromey@redhat.com>
5292 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5293 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5294 (AM_PROG_STRIP): Commented out.
5296 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5298 * depcomp (gcc3): Protect against the compiler deleting
5299 the dependency output file.
5301 2001-02-17 Tom Tromey <tromey@redhat.com>
5303 * automake.in (handle_merge_targets): Use double quotes around
5304 setting of INSTALL_STRIP_PROGRAM.
5305 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5306 to absolute path at runtime.
5307 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5309 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5311 * m4/strip.m4: New file.
5312 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5313 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5314 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5315 * automake.in (handle_merge_targets): In the install-strip rule,
5316 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5317 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5318 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5319 don't use INSTALL_STRIP_FLAG any longer.
5321 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5323 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5326 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5328 * automake.in (unquote_m4_arg): New function.
5329 (scan_one_configure_file): Call unquote_m4_arg on
5330 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5333 2001-02-15 Tom Tromey <tromey@redhat.com>
5335 * config.guess, config.sub: New versions from FSF.
5337 * Makefile.am (WGET): New macro.
5338 (FETCHFILES): New macro.
5339 (fetch): New target.
5341 * tests/subobj3.test: Exit with status 77 if gcc not found.
5342 * tests/pr9.test: Exit with status 77 if gzip not found.
5343 * tests/pr87.test: Exit with status 77 if gcc not found.
5344 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5345 * tests/install2.test: Exit with status 77 if gzip not found.
5346 * tests/exsource.test: Exit with status 77 if GNU make not found.
5347 * tests/ansi3.test: Exit with status 77 if gcc not found.
5349 * tests/target-cflags.test: Require GNU make. Exit with status 77
5350 if gcc or make not found. Fixes PR automake/121.
5352 * configure.in: Require Perl 5.005.
5353 * automake.in: Require 5.005.
5355 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5356 Fixes PR automake/122.
5358 2001-02-14 Tom Tromey <tromey@redhat.com>
5360 * automake.in (add_depend2): Only emit a given object rule once.
5361 Fixes specflags6.test.
5363 2001-02-14 Richard Boulton <richard@tartarus.org>
5365 * tests/specflags6.test: New file.
5367 2001-02-14 Tom Tromey <tromey@redhat.com>
5369 * automake.texi (A Shared Library): Mention -module.
5371 2001-02-13 Tom Tromey <tromey@redhat.com>
5373 * automake.in (do_one_merge_target): Always register $name and
5376 * automake.in (do_one_merge_target): Register `all' as phony
5379 * configure.in: Updated to 1.4e for cvs.
5381 2001-02-12 Tom Tromey <tromey@redhat.com>
5383 * configure.in: Updated to 1.4d and released.
5385 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5386 names through autoconf.
5388 Fix for subdirbuiltsources.test:
5389 * automake.in (initialize_per_input): [all_target] Initialize to
5391 (handle_merge_targets): Use all-redirect target to handle built
5393 (do_one_merge_target): Don't generate all-redirect rule.
5395 2001-02-11 Peter Muir <iyhi@yahoo.com>
5397 * tests/subdirbuiltsources.test: New file.
5398 * tests/Makefile.am (TESTS): Added new file.
5400 2001-02-10 Tom Tromey <tromey@redhat.com>
5402 * tests/condlib.test: New file.
5403 * tests/Makefile.am (TESTS): Added new file.
5405 2001-02-10 Lars J. Aas <larsa@sim.no>
5407 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5408 (&canonicalize): New. Includes '@' in canonical range.
5409 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5410 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5412 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5414 * automake.in (handle_configure): Revert part of
5415 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5416 set CONFIG_COMMANDS explicitly.
5418 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5420 * depcomp (gcc3): Propagate exit code.
5422 2001-02-09 Lars J. Aas <larsa@sim.no>
5424 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5426 2001-02-09 Tom Tromey <tromey@redhat.com>
5428 Clean up maintainer-check warnings:
5429 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5431 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5433 2001-02-09 Akim Demaille <akim@epita.fr>
5435 * automake.in (&file_contents): Remove a dead branch.
5437 2001-02-09 Akim Demaille <akim@epita.fr>
5439 * automake.in (&transform): Use `my', not `local'.
5440 (&transform_cond): New.
5441 (&get_object_extension, &handle_texinfo, &handle_tags)
5442 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5443 (&handle_tests_dejagnu): Use it.
5444 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5445 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5447 2001-02-09 Akim Demaille <akim@epita.fr>
5449 * automake.in: Various formatting changes, and modernization of
5452 (&handle_configure, define_standard_variables): Use it.
5454 2001-02-08 Tom Tromey <tromey@redhat.com>
5456 * automake.in (file_contents): Only add $actions if any are
5457 found. Fixes new failure in pr87.test.
5459 2001-02-08 Pavel Roskin <proski@gnu.org>
5461 * tests/pr87.test: Check foo/Makfile.in after it is created.
5463 2001-02-08 Tom Tromey <tromey@redhat.com>
5465 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5466 Report from Lars J. Aas.
5468 2001-02-07 Lars J. Aas <larsa@sim.no>
5470 * lisp.am (install-@DIR@LISP): Removed extra space.
5471 * header.am (install-@DIR@HEADERS): Removed extra space.
5472 * data.am (install-@DIR@DATA): Removed extra space.
5474 2001-02-07 Tom Tromey <tromey@redhat.com>
5476 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5478 * automake.in (handle_dependencies): Use _am_include, not
5480 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5481 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5483 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5485 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5487 * automake.in (handle_configure): Handle case where output file is
5488 in subdir with no Makefile of its own. Fixes remake3.test,
5491 2001-02-06 Pavel Roskin <proski@gnu.org>
5493 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5495 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5496 * tests/exsource.test: Likewise.
5498 2001-02-06 Derek Price <derek.price@openavenue.com>
5500 * automake.in (handle_configure): Fix syntax error.
5502 2001-02-06 Akim Demaille <akim@epita.fr>
5504 * subdirs.am: This file is the exception: clean recursive targets
5505 are called by the clean targets, not the clean-am targets.
5506 Otherwise we have a circular dependency: clean -> clean-am ->
5507 clean-recursive -> clean.
5508 * automake.in (handle_clean): Bind `-local' targets to `-am'
5509 targets, not top targets.
5510 Don't declare -recursive dependencies of the clean targets:
5511 `subdirs.am' did it. Less hard coded knowledge, transfered
5515 2001-02-06 Akim Demaille <akim@epita.fr>
5517 Monstro unsplitable patch.
5519 The aim is to remove hard coded knowledge about clean targets from
5520 automake.in, leaving them in the *.am files.
5521 In addition to the mechanic needed to factor some dependencies, it
5522 appears some rules (most notably distclean and maintainer-clean)
5523 need factored actions. So first, be ready to catch factored
5526 * automake.in (&file_contents): For the time being, use an extended
5527 $RULE_PATTERN which is able to match any kind of rules, with or
5528 without dependency, with or without actions.
5529 Handle all the rules uniformly, storing in %actions the factored
5531 (&flatten, &target_cmp): New.
5532 (&handle_factored_dependencies): Output the %actions.
5533 No longer special case `clean'.
5534 Output the rules in alphabetical order, but keeping `.PHONY' last.
5536 Now we must not use &push_phony_cleaners, which is doing all sort
5537 of magic to push a bit of everything in all the clean targets.
5538 The biggest problem being that, making a Cartesian product, it
5539 requires many useless targets. The `*.am' file know better.
5540 But first, register the new factored rules.
5542 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5543 maintainer-clean, distclean and their `*-am' counterpart in
5545 Initialize %actions.
5546 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5547 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5548 (handle_emacs_lisp, handle_python): Don't play with
5549 &push_phony_cleaners nor &depend and `clean'.
5550 * texinfos.am, texi-vers.am, tags-clean.am:
5551 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5552 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5553 * clean-kr.am, clean-hdr.am: Do it.
5554 Whenever a target is empty, just remove it, it will no longer be
5557 There is still some magic about clean to hard code. But really,
5558 that's the end of &do_one_clean_target.
5560 * automake.in (&do_one_clean_target): Kaboom out.
5561 (&handle_clean): Rewrite the magic code.
5562 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5564 (&push_phony_cleaners): Kaboom too.
5566 2001-02-06 Akim Demaille <akim@epita.fr>
5568 * automake.in (do_one_clean_target): Don't hard code knowledge
5569 about libtool, and maintainer-clean.
5570 * clean.am, libtool.am: Handle these.
5572 2001-02-05 Akim Demaille <akim@epita.fr>
5574 * automake.in (handle_texinfo): No longer hard code the clean
5576 (texinfos.am): Include them.
5578 2001-02-05 Akim Demaille <akim@epita.fr>
5580 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5581 (maintainer-check): Don't be silent when you find a problem, and
5582 actually, even specify the locations.
5583 Also check that @_ is assigned to arrays.
5585 2001-02-05 Akim Demaille <akim@epita.fr>
5587 * m4/regex.m4: Use AC_LIBSOURCES.
5588 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5591 2001-02-04 Tom Tromey <tromey@redhat.com>
5593 * m4/Makefile.am (m4data_DATA): Added make.m4.
5594 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5596 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5597 Copy depcomp to subdir.
5598 * m4/make.m4: New file.
5600 2001-02-04 Pavel Roskin <proski@gnu.org>
5602 * automake.in (handle_dist_worker): Remove a line that is now
5605 2001-02-04 Kevin Ryde <user42@zip.com.au>
5607 * automake.in (handle_configure): Call config.status with empty
5608 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5610 2001-02-04 Tom Tromey <tromey@redhat.com>
5612 * depcomp (ddashmd): Removed case.
5613 (sgi): Handle failure exit correctly
5614 (aix): Likewise. Also, add dummy `.h' targets.
5616 2001-02-04 Akim Demaille <akim@epita.fr>
5618 * distdir.am (distdir): New file, extracted from...
5619 * automake.in (handle_dist_worker): here.
5622 2001-02-04 Akim Demaille <akim@epita.fr>
5624 * automake.in (@clean): Remove, replaced by...
5625 ($dependencies{'clean'}): this.
5626 Use `&depend' instead of push'ing into @clean.
5627 (handle_factored_dependencies): For the time being, skip 'clean'.
5628 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5629 always `clean', and `@clean'.
5631 2001-02-04 Akim Demaille <akim@epita.fr>
5633 * automake.in (%dependencies): Don't be initialize globally for
5634 all the files, but in...
5635 (&initialize_per_input): here.
5637 (@phony): Replace all occurrences with the corresponding &depend
5640 2001-02-03 Tom Tromey <tromey@redhat.com>
5642 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5643 * header-vars.am (INSTALL_HEADER): New macro.
5645 * automake.texi (Rebuilding): New node.
5649 Copyright 2001 Free Software Foundation, Inc.
5651 This file is part of GNU Automake.
5653 GNU Automake is free software; you can redistribute it and/or modify
5654 it under the terms of the GNU General Public License as published by
5655 the Free Software Foundation; either version 2, or (at your option)
5658 GNU Automake is distributed in the hope that it will be useful,
5659 but WITHOUT ANY WARRANTY; without even the implied warranty of
5660 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5661 GNU General Public License for more details.
5663 You should have received a copy of the GNU General Public License
5664 along with autoconf; see the file COPYING. If not, write to
5665 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5666 Boston, MA 02111-1307, USA.