1 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3 * lib/depcomp (tru64): Correctly compute `base'.
5 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
7 * tests/pr211.test: s/requires/required/, otherwise the test fails
8 if libtool is not installed.
10 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
12 * tests/dirname.test: Don't use $SHELL when calling ./configure.
14 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
16 * tests/dirname.test: Use --quiet to fix failure on installations
18 Reported by Nicolas Joly.
20 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
22 * Makefile.am (maintainer-check): Check for misuses of make,
23 autoconf, automake, aclocal, and perl in the testsuite. Suggest
24 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
25 * tests/confsub.test: Use $AUTOCONF and $MAKE.
26 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
27 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
28 tests/pr224.test, tests/pr287.test, tests/strip.test,
29 tests/yacc8.test: Use $MAKE.
31 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
33 Add support for two-dot versions.
35 * tests/version5.test: New file.
36 * tests/Makefile.am (TESTS): Add it.
37 * automake.in (version_split, version_compare): New functions.
38 (version_check): Rewrite using version_split and version_compare.
39 (process_option_list): Adjust regex.
41 2002-03-18 Richard Boulton <richard@tartarus.org>
43 Fix for PR automake/306:
44 * automake.texi (Generalities): Document +=.
45 (Conditionals): Document limitations of += with conditionals.
47 2002-03-17 Tom Tromey <tromey@redhat.com>
49 Fix for PR automake/295:
50 * automake.texi (Invoking Automake): Deprecate --output-dir.
51 * automake.in (usage): Don't document --output-dir.
52 (output_directory): Don't initialize.
53 (parse_arguments): Deprecate --output-dir.
55 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
56 Fixes PR automake/304.
58 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
60 * tests/dirforbid.test: Workaround for NetBSD sh bug.
61 Fixes PR automake/305.
63 2002-03-11 Richard Boulton <richard@tartarus.org>
65 * automake.in (check_typos): Allow variables with reserved
66 suffices (such as _LDFLAGS) and prefixes which aren't
67 recognised if the variable is defined in configure.ac.
70 2002-03-11 Richard Boulton <richard@tartarus.org>
72 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
73 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
74 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
76 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
78 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
81 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
83 Fix for PR automake/303:
84 * automake.in (version_check): Move the error message ...
85 (process_option_list): ... here, so we can distinguish between
86 global and local options.
88 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
90 * tests/pr300-lib.test, tests/pr300-ltlib.test,
91 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
92 Autoconf doesn't complain about Makefile being output twice.
94 2002-03-06 Tom Tromey <tromey@redhat.com>
96 * configure.in: Upped version to 1.6a.
98 2002-03-05 Tom Tromey <tromey@redhat.com>
100 * configure.in: Released 1.6.
102 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
104 Fix for PR automake/300:
105 * tests/pr300-lib.test, tests/pr300-ltlib.test,
106 tests/pr300-prog.test: New files.
107 * tests/Makefile.am (TESTS): Add them.
108 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
109 compute the directory.
110 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
111 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
112 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
113 (uninstall-%DIR%LIBRARIES): Honor nobase_.
114 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
115 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
116 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
117 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
118 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
119 (uninstall-%DIR%PROGRAMS): Honor nobase_.
120 See also the fix for nobase.test on 2001-11-09.
122 2002-03-05 Tom Tromey <tromey@redhat.com>
124 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
126 2002-03-05 Pavel Roskin <proski@gnu.org>
128 * tests/yacc8.test: Add a command between "test" and "cd" to
129 work around a bug in bash-2.05.
131 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
133 Fix for PR automake/294:
134 * tests/dirforbid.test: New file.
135 * tests/Makefile.am (TESTS): Add it.
136 * automake.in (standard_prefix): New hash.
137 (am_primary_prefixes): Forbid standard_prefixes which are not
139 * automake.texi (Uniform): Remove FIXME.
141 2002-03-05 Jim Meyering <meyering@lucent.com>
143 * automake.in (@common_files): Add config.rpath.
145 2002-03-05 Kevin Ryde <user42@zip.com.au>
148 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
149 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
152 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
154 * automake.in (scan_one_autoconf_file): Declare
155 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
156 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
157 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
158 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
159 of s/// in the sed invocation, to support filenames containing
161 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
162 * tests/lex5.test, tests/yacc8.test: New files.
163 * tests/Makefile.am (TESTS): Add them.
165 2002-02-23 Per Bothner <per@bothner.com>
167 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
170 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
172 * tests/make.test: Revert the grep logic to work around a bug
173 in NetBSD sh (see NetBSD Problem Report #11542).
174 Reported by Patrick Welche.
176 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
178 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
179 to try and prevent a non-lisp emacs from starting in interactive
181 * automake.texi: Document this change.
183 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
185 * automake.texi (Macros): Split into ...
186 (Public Macros, Private Macros): ... these.
188 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
190 * tests/insthook.test: Use sed instead of "tail +X".
192 2002-02-18 Paul Eggert <eggert@twinsun.com>
194 * lib/depcomp: Don't use "tail +3"; it's not portable to
195 POSIX 1003.1-2001 hosts.
197 2002-02-18 Jim Meyering <meyering@lucent.com>
199 * tests/cond12.test: Use sed 1q, not `head -n 1'.
200 The latter is not portable to some old systems.
201 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
202 Use `sed 1q' instead.
203 * tests/insthook.test: Likewise.
205 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
207 * automake.in (handle_lib_objects_cond): Tell the user to put
208 global linker flags in AM_LDFLAGS, not LDFLAGS.
210 * automake.texi (General Operation): AC_SUBST'ed variables
211 override Automake's variables.
212 (Uniform): More words and @refs.
213 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
214 (etags): More explanations about the first example.
215 (Invoking Automake): Mention autoreconf. More @refs.
216 (Requirements): Mention AC_CONFIG_FILES.
217 (Optional): AC_CHECK_TOOL will no longer install config.sub and
218 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
219 (Invoking aclocal): aclocal no longer warn about duplicates.
220 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
221 (Extending aclocal): Suggest using the output of
222 `aclocal --print-ac-dir` to install third-party macros.
223 (Alternative): Specify ordering of dist_, nodist_, and nobase_
225 (A Program): Mention scripts. The global LDADD variable is not
226 meant to hold link flags, suggest using AM_LDFLAGS instead.
227 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
228 _LIBADD and _LDADD are subject to the same restriction wrt to
230 (Program and Library Variables) <maude_DEPENDECIES>: Is also
231 derived from maude_LIBADD.
232 (Program variables): Define AM_LDFLAGS.
233 (Dependencies): Passing the no-dependencies option to
234 AM_INIT_AUTOMAKE is prefered.
235 (Scripts): Explain why automake is magically cleaned.
236 Mention noinst_SCRIPTS and check_SCRIPTS.
237 (Data): Use dist_ in Automake's example.
238 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
239 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
241 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
243 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
244 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
245 of asking the maintainer to do it manually.
246 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
247 Automake/XFile.pm: New upstream versions.
249 2002-02-02 Tom Tromey <tromey@redhat.com>
251 * automake.texi (Macros): Warn about upgrading.
253 2002-02-01 Tom Tromey <tromey@redhat.com>
255 Change per GNU coding standards:
256 * aclocal.in (parse_arguments): Only mention most recent year in
258 * automake.in (version): Only mention most recent year.
260 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
262 * automake.texi (API versioning): New Node.
263 (Extending): Use $(DESTDIR) in examples.
265 2002-01-28 Akim Demaille <akim@epita.fr>
267 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
268 Respect the --help layout.
270 2002-01-27 Tom Tromey <tromey@redhat.com>
272 * configure.in: Bumped to 1.5e.
274 * lib/am/yacc.am: Use `rm -f'.
276 * configure.in: Released 1.5d.
278 * lib/config.guess: New version from FSF.
280 * Makefile.am (uninstall-hook): New target.
282 2002-01-24 Akim Demaille <akim@epita.fr>
284 * lib/install-sh: Update, from Autoconf.
286 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
288 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
289 as AC_CANONICAL_HOST (the former does not require the latter since
291 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
292 * automake.texi (Requirements): Do not require STRIP to be
295 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
297 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
298 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
299 * tests/pr224.test: Make sure .deps subdirectories are
302 2002-01-22 Tom Tromey <tromey@redhat.com>
304 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
305 no-dependencies option is set.
306 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
307 no-dependencies option is set. Don't call AM_DEP_TRACK or
310 2002-01-22 Pavel Roskin <proski@gnu.org>
312 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
315 2002-01-22 Akim Demaille <akim@epita.fr>
317 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
320 2002-01-21 Tom Tromey <tromey@redhat.com>
322 * Makefile.am (fetch): Don't fetch ansi2knr.
324 * automake.texi (Macros): Updated for new variable names.
325 (Program and Library Variables): Likewise.
326 (Assembly Support): Likewise.
327 * m4/as.m4: Use CCAS and CCASFLAGS.
328 * automake.in (asm): Use CCAS and CCASFLAGS.
330 2002-01-21 Akim Demaille <akim@epita.fr>
332 * automake.in (&parse_arguments): Use a more GNUish error message
335 2002-01-20 Tom Tromey <tromey@redhat.com>
337 Fix for PR automake/231:
338 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
339 * m4/depend.m4: Document `GCJ'.
342 * tests/Makefile.am (TESTS): Added pr224.test.
343 * tests/pr224.test: New file.
344 * lib/depcomp: Fixed computation of depfile.
345 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
346 * automake.in (handle_single_transform_list): Only reject `..'
347 component for Java. Put dependencies in directory near object.
348 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
350 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
352 * tests/defs: Export AUTOMAKE and ACLOCAL.
354 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
356 Fix for PR automake/204:
357 * tests/pr204.test: New file.
358 * tests/Makefile.am (TESTS): Add it.
359 * automake.in (handle_single_transform_list): Don't distribute
360 sources derived from non-distributed sources.
362 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
364 Fix for PR automake/229:
365 * tests/pr229.test: New file.
366 * tests/Makefile.am (TESTS): Add it.
367 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
368 AC_EMXOS2, and AC_MINGW32.
370 2002-01-18 Tom Tromey <tromey@redhat.com>
372 * tests/cond7.test: Fix test bug exposed by copyright update.
375 * automake.in (lang_c_rewrite): Don't prepend directory to base if
376 directory is `.'. Also, properly compute de_ansi_files entry in
378 * tests/Makefile.am (TESTS): Added ansi7.test.
379 * tests/ansi7.test: New file.
381 * aclocal.in (parse_arguments): Added 2002.
382 (write_aclocal): Likewise.
383 (parse_arguments): Updated my email address.
384 * automake.in (gen_copyright): Added 2002.
385 (version): Likewise. Also, changed my email address.
387 * configure.in (APIVERSION): Refined definition.
389 2002-01-18 Tom Tromey <tromey@redhat.com>
392 * lib/missing: Accept versioned aclocal.
393 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
395 2002-01-17 Pavel Roskin <proski@gnu.org>
397 * m4/Makefile.am (m4datadir): Use APIVERSION.
399 2002-01-16 Tom Tromey <tromey@redhat.com>
401 * Makefile.am (install-exec-hook): Use APIVERSION.
402 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
403 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
405 * automake.in (perllibdir): Use APIVERSION.
407 * aclocal.in (perllibdir): Use APIVERSION.
408 (APIVERSION): New global.
409 (parse_arguments): Use APIVERSION.
410 * configure.in (APIVERSION): New subst.
411 (pkgvdatadir): Use APIVERSION.
413 2002-01-15 Tom Tromey <tromey@redhat.com>
416 * lib/missing: Match against `automake*' to pick up versioned
418 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
419 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
421 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
422 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
424 (scriptdir): Use pkgvdatadir.
425 (installcheck-local): Likewise.
426 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
427 * automake.in (perllibdir): Added VERSION.
429 * aclocal.in (parse_arguments): Search versioned directory. Don't
430 push unversioned directory unless it exists.
431 (perllibdir): Added VERSION.
432 (default_acdir): New global.
433 * m4/Makefile.am (m4datadir): Added $(VERSION).
434 * Makefile.am (install-exec-hook): New target.
435 * configure.in (ACLOCAL): Search build directory.
436 (pkgvdatadir): New subst.
438 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
440 * lib/config.sub, lib/config.guess: New versions from FSF.
442 2002-01-13 Tom Tromey <tromey@redhat.com>
445 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
447 (lang_c_finish): Likewise. Also, use directory information from
450 2002-01-13 Kevin Ryde <user42@zip.com.au>
453 * tests/Makefile.am (TESTS): Added ansi6.test.
454 * tests/ansi6.test: New file.
456 2002-01-13 Tom Tromey <tromey@redhat.com>
459 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
461 * tests/Makefile.am (TESTS): Added pr287.test.
462 * tests/pr287.test: New file.
464 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
466 * lib/am/distdir.am (distdir): Handle subdirectories.
467 * tests/extra6.test: New file.
468 * tests/Makefile.am (TESTS): Add it.
470 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
472 * tests/extra2.test: Run $ACLOCAL.
474 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
476 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
477 AM_INIT_AUTOMAKE arguments when using the old-style call.
478 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
479 Suggested by Pavel Roskin.
481 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
483 * test/nodefine.test, test/nodefine2.test: Check that no-define
484 works, not the contrary...
485 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
486 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
489 2002-01-12 Jim Meyering <meyering@lucent.com>
491 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
492 * tests/libobj11.test: New file.
493 * tests/Makefile.am (TESTS): Add libobj11.test.
495 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
497 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
499 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
501 * automake.in (file_contents_internal): Introduce two variables,
502 $is_rule and $discard_rules to track rules spanning across multiple
503 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
504 where only the first paragraph of such a multi-paragraph rule was
505 discarded; but it leaves many similar latent bugs (see the FIXMEs).
507 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
509 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
510 * tests/error.test: Use some macro names which are not defined by
513 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
515 * automake.texi (Complete, Macros, Options): Document the new style
516 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
517 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
518 AC_INIT if they are available there. Support a new call form
519 where the only argument is an optional space-separated list of
521 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
522 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
523 _AM_IF_OPTION): New functions.
524 * automake.in (AC_INIT_PATTERN): New variable.
525 (global_options_line): Remove, use $seen_init_automake instead.
526 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
527 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
528 Remove the AM_AUTOMAKE_OPTIONS handling.
529 * configure.in: Modernize.
530 * tests/defs (configure.in): Modernize. One third of the tests
531 still overwrite the default configure.in and use an old
532 AM_INIT_AUTOMAKE call, so that makes testing for both.
533 * tests/nodefine.test, tests/nodefine2.test: New files.
534 * tests/Makefile.am (TESTS): Add them.
536 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
538 * automake.in (define_configure_variable): Propagate line numbers.
540 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
542 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
544 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
546 * configure.in: Run the Autoconf test in a subdirectory, then
547 erase this directory.
549 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
551 * configure.in (AUTOMAKE): Create m4/amversion.m4.
552 * m4/amversion.in: New file.
553 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
554 (dist_m4data_DATA): ... this.
555 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
556 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
557 AM_SET_CURRENT_AUTOMAKE_VERSION.
558 * automake.in (seen_automake_version): New variable.
559 (scan_autoconf_traces, scan_one_autoconf_file,
560 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
561 when the version used in aclocal.m4 differs from Automake's.
562 * tests/defs (ACLOCAL): Look in ../m4 too.
563 * tests/installsh.test (ACLOCAL): Likewise.
564 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
566 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
568 * automake.in (handle_languages): Emit an automake
569 internal variable 'am__depfiles_maybe'.
570 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
572 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
575 2002-01-06 Tom Tromey <tromey@redhat.com>
577 * automake.texi (Tags): Document new variables.
578 * lib/am/tags.am (ETAGS): New macro.
579 (ETAGSFLAGS): Likewise.
582 2002-01-04 Tom Tromey <tromey@redhat.com>
584 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
586 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
588 * automake.in (read_am_file): Thinko in "comment following
589 trailing backslash" detection.
590 * tests/comment5.test: Test for this too.
592 2002-01-02 Tom Tromey <tromey@redhat.com>
594 * automake.texi (Extending): Added index for uninstall-hook.
596 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
598 Fix for PR automake/278:
599 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
600 with versions such as '2.2c1'. Also, use `int' instead of the
601 obsoleted `string.atoi'.
602 Reported by Enrico Scholz.
604 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
606 Fix for PR automake/280:
607 * automake.in (read_am_file): Warn about trailing backslashes
609 * tests/comment5.test: New file.
610 * tests/Makefile.am (TESTS): Add comment5.test.
611 Reported by Enrico Scholz.
613 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
615 * tests/comment4.test: New file.
616 * tests/Makefile.am (TESTS): Add comment4.test.
618 Fix for comment4.test:
619 * automake.in (read_am_file): Output leading comments only when
620 encountering white lines.
622 2002-01-01 Tom Tromey <tromey@redhat.com>
625 * tests/Makefile.am (TESTS): Added strip.test.
626 * tests/strip.test: New file.
628 * automake.texi (Extending): Mention uninstall-hook.
630 * automake.in (handle_factored_dependencies): Allow
633 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
635 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
636 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
637 This fixes a bug introduced on 2001-01-28.
638 Reported by Jared Davis.
640 2001-12-31 Tom Tromey <tromey@redhat.com>
642 * automake.texi (Extending): Document installcheck-local. Added
643 installdirs-local index entry.
644 (Tests): Document installcheck-local.
646 * automake.in (handle_single_transform_list): Indentation fix.
648 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
650 * automake.in (common_files): Add COPYING.DOC.
651 Suggested by Karl Berry.
653 2001-12-30 Tom Tromey <tromey@redhat.com>
655 * automake.in (define_configure_variable): Define a user macro,
656 not an automake macro.
657 * tests/Makefile.am (TESTS): Added ar.test.
658 * tests/ar.test: New file.
661 * automake.in (object_compilation_map): New global.
662 (initialize_per_input): Initialize it.
663 (COMPILE_LIBTOOL): New constant.
664 (COMPILE_ORDINARY): Likewise.
665 * tests/Makefile.am (TESTS): Added pr211.test.
666 * tests/pr211.test: New file.
669 * configure.in: Use AM_AUTOMAKE_OPTIONS.
670 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
671 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
672 (Options): Mention AM_AUTOMAKE_OPTIONS.
673 * automake.in (global_options): New global.
674 (global_options_line): Likewise.
675 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
676 (scan_one_autoconf_file): Likewise.
677 (process_option_list): New function.
678 (handle_options): Use it. Also, handle global options.
679 * m4/Makefile.am (m4data_DATA): Added options.m4.
680 * m4/options.m4: New file.
682 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
684 (?!SUBDIRS?installdirs): Likewise.
685 * automake.in (handle_installdirs): Handle installdirs-local.
686 * automake.texi (Extending): Mention installdirs.
687 * tests/Makefile.am (TESTS): Added installdir.test.
688 * tests/installdir.test: New file.
690 2001-12-30 Akim Demaille <akim@epita.fr>
692 * lib/am/yacc.am: Also rename the possible y.output file.
693 Remove the trailing y.tab.h.
695 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
697 * automake.texi (Install): Remove mention of nonexistent
700 2001-12-30 Alan Modra <amodra@bigpond.net.au>
702 * automake.in (generate_makefile): Unlink output file before
703 opening so that any hard links are not changed.
705 2001-12-30 Tom Tromey <tromey@redhat.com>
707 * tests/pr220.test: Use `required' to pick up gcc.
710 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
712 * tests/Makefile.am (TESTS): Added pr243.test.
713 * tests/pr243.test: New file.
716 * tests/Makefile.am (TESTS): Added pr220.test.
717 * tests/pr220.test: New file.
718 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
719 fail if conditional was never run.
722 * lib/depcomp (tru64): Correctly handle libtool case.
723 From doreille@smr.ch.
725 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
727 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
728 Reported by Yann Droneaud.
730 2001-12-29 Tom Tromey <tromey@redhat.com>
733 * tests/Makefile.am (TESTS): Added pr266.test.
734 * tests/pr266.test: New file.
735 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
736 non-standard name for makefile.
739 * automake.in (conditional_ambiguous_p): New sub.
740 (handle_lib_objects_cond): Use it.
741 (check_ambiguous_conditional): Use it.
742 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
743 * tests/pr279.test: New file.
744 * tests/pr279-2.test: New file.
746 2001-12-26 Tom Tromey <tromey@redhat.com>
749 * tests/Makefile.am (TESTS): Added nodist2.test.
750 * tests/nodist2.test: New file
752 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
754 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
756 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
758 * configure.in: Test for Autoconf >= 2.52.
759 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
760 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
761 tests/cond4.test, tests/cond9.test, tests/cond16.test,
762 tests/cond18.test, tests/cond19.test, tests/cond20.test,
763 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
764 tests/depend2.test, tests/dirname.test, tests/distname.test,
765 tests/extra5.test, tests/install2.test, tests/lex3.test,
766 tests/make.test, tests/nobase.test, tests/pr9.test,
767 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
768 tests/subdirbuiltsources.test, tests/subobj3.test,
769 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
770 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
771 tests/yaccvpath.test: Do not use $needs_autoconf.
773 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
775 * configure.in: Bump version to 1.5c.
777 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
779 * configure.in: Bump version to 1.5b.
781 * lib/config.sub, lib/config.guess: New versions from FSF.
783 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
785 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
787 * automake.in (check_gnu_standards, check_gnits_standards): Pass
788 "$am_file.am" as WHERE argument to require_file.
790 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
792 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
793 in loop until we find one the satisfies the user supplied version.
794 Add python2 to the list of known interpreters. Don't use
795 changequote. Cache the calculation of PYTHON_VERSION and
797 (AM_PYTHON_CHECK_VERSION): New function, extracted from
798 AM_PATH_PYTHON and modernized.
799 * m4/runlog.m4: New file.
800 * m4/Makefile.am (m4data_DATA): Add it.
802 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
804 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
805 tests/nobase.test, tests/stamph2.test,
806 tests/subdirbuiltsources.test: Require Autoconf.
808 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
810 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
811 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
812 Suggested by Merijn de Jonge.
814 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
816 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
817 like other ID dependencies.
818 Suggested by Christian Cornelssen.
820 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
822 * automake.in (handle_dist): Distribute common files which
823 do not exist but are target of a Makefile rule.
824 * automake.texi (Dist): Update.
825 * test/builtcommon3.test: New file.
826 * test/Makefile.am (TESTS): Add distcommon3.test.
828 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
830 * automake.in (macro_define): Fix misuse of chomp introduced on
833 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
835 * automake.in (append_comments): New. Extracted from
836 read_am_file. Match '\n' with a regexp, don't use substr (the
837 perlport man page says '\n' is not always one byte wide).
838 (read_am_file): Use it. Always chomp $_.
839 (file_contents_internal): Use append_comments.
840 (macro_define): Don't treat the trailing '\n' with substr, use
843 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
845 * tests/defs: Turn on shell traces when VERBOSE=x.
847 2001-11-26 Tom Tromey <tromey@redhat.com>
849 * automake.texi (Assembly Support): Mention .s and .S as only
852 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
854 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
857 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
859 * tests/lex3.test: Require GNU Make.
861 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
863 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
866 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
868 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
869 in $(srcdir), like other TAGS dependencies.
870 Suggested by Christian Cornelssen.
872 2001-11-26 Akim Demaille <akim@epita.fr>
874 * automake.in (¯o_define): Use $where when reporting an error,
875 not the place where the macro was first defined since (i) if this
876 is the first definition, then obviously it was not defined before,
877 and (ii) anyway, the error is with the new definition, not the
880 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
882 * lib/am/distdir.am (distcheck): Call distcleancheck.
883 (distcleancheck_listfiles, distcleancheck): New, extracted from
885 * automake.texi (Checking the distribution): Document
886 distcleancheck_listfiles and distcleancheck.
888 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
890 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
891 foreach invocation, otherwise Perl5.005_03 complains about a
892 syntax error. Reported by Yann Droneaud.
894 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
896 * automake.in (scan_texinfo_file): Suppress FIXME about strange
899 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
901 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
902 gettext.m4 if required.
904 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
906 * automake.in (define_objects_from_sources,
907 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
908 the equivalant substitution.
910 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
912 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
913 set of accepted characters in extensions.
914 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
916 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
918 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
920 * automake.texi (Suffixes): Don't require SUFFIXES, but document
921 its use for the "extreme" cases.
923 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
925 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
926 to match suffix rules for known extensions, or call
927 accept_extensions on suffixe rules for unknown extensions.
928 (var_SUFFIXES_trigger): New function.
929 (macro_define): Call var_VAR_trigger when $VAR is updated.
930 * tests/suffix6.test, tests/suffix7.test: New files.
931 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
933 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
935 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
937 (handle_single_transform_list, lang_yacc_target_hook): Use
938 KNOWN_EXTENSIONS_PATTERN.
939 (accept_extension): New function.
940 (register_language): Call it.
942 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
944 At every place where an "$extension" is used, include the leading
945 dot in the extension, don't hardcode it when building the filename.
946 That will make any support for a dot-less extension easier to add.
948 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
950 ("main"): Prepend a '.' to the supported extensions of all
951 languages (e.g. 'c' becomes '.c').
952 (handle_languages, handle_single_transform_list,
953 handle_lib_objects_cond, handle_headers, derive_suffix,
954 rule_define): Do not add a dot
955 before extensions, and include dots in matching groups.
956 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
957 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
958 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
959 (%EXT%%DERIVED-EXT%): ... this.
960 * lib/am/yacc.am: Likewise.
962 2001-11-12 Akim Demaille <akim@epita.fr>
964 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
965 Use `"#"' and `"\""', which
966 Autoconf mode prefers over `'#'' and `'"''.
967 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
968 Rely on AC_MSG 2.50's quotation.
970 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
972 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
974 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
976 * lib/am/distdir.am (distdir): Also look for directory in build
977 directory first. (See 2001-05-14.)
978 * tests/Makefile.am (TESTS): Add extra5.test.
979 * tests/extra5.test: New file.
982 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
984 Fix for distcommon2.test:
985 * automake.in (automake_needs_to_reprocess_all_files): New
987 ("main"): Process all Makefiles a second time if
988 $automake_needs_to_reprocess_all_files is set.
989 (maybe_push_required_file): Return 1 or 0 whether the file is
991 (require_file_internal): Set $automake_needs_to_reprocess_all_files
992 if an added file can't be pushed.
994 * test/distcommon2.test: New file.
995 * test/Makefile.am (TESTS): Add distcommon2.test.
998 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1000 * automake.in (exec_dir_p): Remove. Replace by...
1001 (EXEC_DIR_PATTERN):... this.
1002 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
1004 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1006 Fix for nobase.test:
1007 * lib/am/header-vars.am (install_sh_DATA): New.
1008 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
1009 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
1010 of $(INSTALL_DATA) for nobase_ targets.
1011 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
1012 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
1013 * tests/nobase.test (configure.in): Append AC_OUTPUT.
1014 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
1016 2001-11-08 Akim Demaille <akim@epita.fr>
1018 * automake.texi: Remove references to stamp-h.in, which no longer
1020 * tests/stamph2.test: Formatting change.
1022 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1024 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
1025 Don't use -Wno-error.
1027 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1029 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
1030 * tests/suffix5.test ($AUTOMAKE): Likewise.
1032 2001-11-07 Akim Demaille <akim@epita.fr>
1034 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
1036 Reported by Jim Meyering.
1038 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1040 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
1042 2001-11-05 Paul Eggert <eggert@twinsun.com>
1044 * lib/am/distdir.am (am__remove_distdir):
1045 New macro. Do not change permission of non-directories.
1046 Change only user permission, as there's no point to changing group
1047 or other permission.
1048 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
1051 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1053 * lib/am/python.am: Cleanup the cleaning section.
1054 * automake.texi (Python): Remove documentation for PYCFILES
1055 and PYOFILES. Update the first paragraphes.
1057 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1059 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1060 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1061 Adjust usage everywhere.
1063 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1065 * automake.in (libtool_files, libtool_sometimes, common_files,
1066 common_sometimes, config_aux_path): Use qw to simplify definition.
1067 (scan_texinfo_file) <clean_suffixes, predefined_index,
1068 hidden_index>: Likewise.
1069 (scan_autoconf_traces) <traced>: Likewise.
1070 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1073 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1075 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1076 derive_suffix. Don't use an hardcoded 'o' for object extensions.
1077 (derive_suffix): Accept $OBJ as a second argument, don't
1079 * tests/suffix5.test: New test.
1080 * tests/Makefile.am (TESTS): Add suffix5.test.
1081 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1083 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1085 * automake.in (handle_single_transform_list): Don't call
1086 $lang->target_hook for undefinied langages.
1087 * tests/suffix4.test: New test.
1088 * tests/Makefile.am (TESTS): Add suffix4.test.
1089 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1091 2001-11-05 Akim Demaille <akim@epita.fr>
1093 * automake.in (@common_sometimes, &handle_configure): No longer
1095 * lib/am/remake-hdr.am: Adjust.
1096 * tests/confh.test: There is no stamp.hin.
1098 2001-11-01 Akim Demaille <akim@epita.fr>
1100 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1101 `#line' and multiple inclusion guards.
1102 * lib/ylwrap: Remove debugging code.
1103 (input_dir, input_rx): Move where used.
1104 Use the output file name in `#line'.
1106 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1108 * automake.in (transform): Update documentation.
1110 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1112 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1113 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1115 2001-10-30 Akim Demaille <akim@epita.fr>
1117 * automake.in (&create): Reinstall.
1119 2001-10-30 Akim Demaille <akim@epita.fr>
1121 * automake.in (&append_exeext): Use macro_delete.
1123 2001-10-30 Akim Demaille <akim@epita.fr>
1125 * automake.in ($verbose): Remove, inherited from
1127 (&variable_delete): Rename as...
1128 (¯o_delete): this, for consistency.
1129 (&variable_assert): New.
1130 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1133 2001-10-29 Akim Demaille <akim@epita.fr>
1135 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1136 cluttering configure's stdout.
1138 2001-10-28 Akim Demaille <akim@epita.fr>
1140 * automake.in: Various formatting changes.
1141 (create): Remove, unused.
1143 2001-10-28 Akim Demaille <akim@epita.fr>
1145 * automake.in (&append_exeext): New.
1146 (&am_primary_prefixes): Use it.
1148 2001-10-28 Akim Demaille <akim@epita.fr>
1150 * automake.in (am_primary_prefixes): Now, in accordance with its
1151 comment, return the list of prefixes actually used, not all the
1152 possible prefixes for a primary.
1153 (&handle_libraries, &handle_ltlibraries, &handle_java)
1154 (&am_install_var): Adjust.
1155 * Makefile.am (maintainer-check): Allow `local $_;'.
1157 2001-10-28 Akim Demaille <akim@epita.fr>
1159 * automake.in: Various formatting changes.
1160 (&variable_defined): Second argument is optional.
1162 2001-10-28 Akim Demaille <akim@epita.fr>
1164 * automake.in (&am_primary_prefixes): Now returns a list, not a
1166 (&handle_libraries, &handle_ltlibraries, &handle_java)
1167 (&am_install_var): Adjust.
1169 2001-10-28 Akim Demaille <akim@epita.fr>
1171 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1173 (@libtool_files, @libtool_sometimes): these.
1174 ($libtool_location): Remove, completely replaced by $seen_libtool.
1175 (&require_file_internal): Do not run libtoolize, that's
1178 2001-10-28 Akim Demaille <akim@epita.fr>
1180 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1181 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1182 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1183 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1184 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1185 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1186 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1187 * tests/libobj8.test, tests/output.test, tests/output2.test,
1188 * tests/output3.test, tests/output4.test, tests/output5.test,
1189 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1190 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1191 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1192 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1195 2001-10-28 Akim Demaille <akim@epita.fr>
1197 * automake.in (&scan_autoconf_traces): Use eq for equality.
1199 Remove dead comment.
1200 (&initialize_per_input): Don't initialize several times the same
1203 2001-10-28 Akim Demaille <akim@epita.fr>
1205 * automake.in (scan_one_autoconf_file): When using %generalize, be
1206 sure to replace only words. AC_FUNC_OBSTACK was matching
1209 2001-10-26 Akim Demaille <akim@epita.fr>
1211 * tests/stamph2.test: Strengthen.
1212 * tests/confh2.test, tests/confh3.test: Remove.
1213 These are bad tests: they don't check the effects, but some
1214 internal details in Makefile.
1215 And they are covered by stamph2.test.
1217 2001-10-26 Akim Demaille <akim@epita.fr>
1219 Now that stamp-h's are created by config.status, we don't need to
1220 handle them in Makefile's.
1222 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1223 * m4/header.m4 (_AM_STAMP): New.
1224 (_AM_CONFIG_HEADER): Use it.
1226 2001-10-26 Akim Demaille <akim@epita.fr>
1228 * automake.in (&generate_makefile, &handle_texinfo_helper)
1229 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1230 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1231 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1232 `join (' ', @list)' into `"@list"'.
1234 2001-10-26 Akim Demaille <akim@epita.fr>
1236 * automake.in (@config_fullnames, @config_names): Remove.
1237 (@config_headers): Now contains the actual spec used in
1239 (&split_config_file_spec): New.
1240 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1241 (&scan_one_autoconf_file): Adjust.
1242 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1245 2001-10-26 Akim Demaille <akim@epita.fr>
1247 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1248 (AM_CONFIG_HEADER): Use it.
1250 2001-10-26 Akim Demaille <akim@epita.fr>
1252 * automake.in (&handle_configure): Use the config.status 2.50
1253 invocation syntax for config files and headers.
1254 autoheader needs the name of the file to create, not from what it
1255 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1257 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1258 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1260 Strengthen: Use the non-default config.hin source.
1261 Strengthen: Make sure config.h is properly updated when config.hin
1264 2001-10-26 Akim Demaille <akim@epita.fr>
1266 * automake.in (&handle_configure): Seeing Automake files in
1267 @other_input_files is a programming error, not merely something to
1269 Factor slightly the code.
1271 2001-10-26 Akim Demaille <akim@epita.fr>
1273 * automake.in ($canonical_location): New.
1275 (&require_config_file, $line_error): Remove.
1277 2001-10-24 Akim Demaille <akim@epita.fr>
1279 * automake.in: Use &verbose.
1280 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1283 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1285 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1286 Have the basename step optional and use %NDIR% instead of %DIR% in
1287 filenames in order to support 'nobase_'.
1289 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1291 * automake.in (handle_languages, handle_single_transform_list,
1292 lang_c_rewrite): Use require_conf_file instead of
1293 require_config_file to require depcomp or compile from
1294 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1295 mistakenly reverted.)
1297 2001-10-24 Akim Demaille <akim@epita.fr>
1299 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1302 2001-10-24 Akim Demaille <akim@epita.fr>
1304 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1305 appear in Makefile.in in the clean rule.
1307 * tests/cxxansi.test: Adjust.
1309 2001-10-24 Akim Demaille <akim@epita.fr>
1311 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1312 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1314 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1315 (&conf_error, &file_warning): these.
1316 (&file_warning): Fix the prototype and argument handling.
1317 (&am_line_warning): Remove, unused.
1319 Also, repair the misapplication of previous patches.
1321 2001-10-21 Akim Demaille <akim@epita.fr>
1323 * automake.in ($ac_output_location): Replace with...
1324 ($ac_config_files_location): this.
1325 (&scan_autoconf_traces): We don't need $file and $line, $here is
1327 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1328 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1330 2001-10-21 Akim Demaille <akim@epita.fr>
1332 * automake.in (&require_file_with_macro): Use &require_file.
1333 (&read_am_file): Move the definition of $here at its proper place.
1335 2001-10-21 Akim Demaille <akim@epita.fr>
1337 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1338 ($libtool_location, $pythondir_location): these.
1339 (&require_conf_file_with_line, &require_conf_file_with_line):
1341 (&require_file): Don't forget $where.
1342 (&require_conf_file): Ahem... Fix the name.
1343 (&require_config_file): Invoke &require_conf_file, not yourself.
1344 (&am_line_error): Fix the default am_file_error invocation.
1346 2001-10-21 Akim Demaille <akim@epita.fr>
1348 * automake.in ($seen_lispdir): Replace with...
1349 ($am_lispdir_location): this.
1350 (&require_conf_file): New.
1351 (&require_config_file, &require_conf_file_with_line,
1352 (&require_conf_file_with_conf_line): Use it.
1353 (&require_conf_file_with_macro): New.
1355 2001-10-21 Akim Demaille <akim@epita.fr>
1357 * automake.in ($config_header_line, $ac_output_line)
1358 ($ac_gettext_line, $package_version_line): Replace with...
1359 ($config_header_location, $ac_output_location)
1360 ($ac_gettext_location, $package_version_location): these.
1361 (&require_file_with_conf_line, &require_file_with_line): Remove,
1364 2001-10-21 Akim Demaille <akim@epita.fr>
1366 * automake.in (&require_file_internal): Instead of $file and $line,
1367 take $where as first argument.
1369 (&require_file_with_macro): New.
1370 Use it where internal black magic was used to recover the location
1371 of a macro definition.
1373 2001-10-21 Akim Demaille <akim@epita.fr>
1375 * automake.in (&read_am_file): Define and use `$here'.
1376 Avoid using am_line_error.
1378 2001-10-21 Akim Demaille <akim@epita.fr>
1380 * automake.in (&am_target_error): New.
1381 Use it where appropriate instead of...
1382 (&am_line_error): this.
1383 Using it for a target is a croak error.
1385 2001-10-21 Akim Demaille <akim@epita.fr>
1387 * automake.in (&am_macro_error): New.
1388 Use it where appropriate instead of...
1389 (&am_line_error): this.
1390 Using it for a macro is a croak error.
1392 2001-10-21 Akim Demaille <akim@epita.fr>
1394 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1395 AC_OUTPUT a Makefile.
1397 2001-10-21 Akim Demaille <akim@epita.fr>
1399 * automake.in (%var_line): Rename as...
1400 (%var_location): this.
1401 Use it consistently as the location where the macro is defined,
1402 file and line when possible, otherwise just file.
1403 (&read_am_file): Rules have their own location tracking, don't
1404 pollute %var_location.
1406 2001-10-21 Akim Demaille <akim@epita.fr>
1408 * automake.in (am_line_error): Clarify.
1410 2001-10-21 Akim Demaille <akim@epita.fr>
1412 * automake.in (&am_print_error): Set $exit_status since all your
1414 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1416 (&am_conf_line_error, &am_conf_line_warning): Remove.
1417 Adjust callers to use &am_file_error and...
1418 (&am_file_warning): new.
1420 2001-10-21 Akim Demaille <akim@epita.fr>
1422 * m4/regex.m4: Use AC_LIBOBJ.
1423 Require 2.50, and use AC_LIBSOURCES freely.
1424 * tests/asm.tests: Formatting changes.
1425 Exercise AM_PROG_AS.
1427 2001-10-21 Akim Demaille <akim@epita.fr>
1429 * tests/install.test: This test is an empty shell, do not run
1431 * tests/Makefile.am (TESTS): Don't run it.
1432 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1434 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1436 * tests/obsolete2.test: Remove, merged into...
1437 * tests/obsolete.test: here.
1438 Both aclocal and automake should complain.
1440 2001-10-21 Akim Demaille <akim@epita.fr>
1442 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1443 for symbols which cannot be Make macro names.
1444 (scan_one_autoconf_file): `$here' is new.
1445 Use it consistently instead of `1' to remember a token was seen.
1447 2001-10-21 Akim Demaille <akim@epita.fr>
1449 * tests/subdircond.test: Requires gettext.
1450 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1451 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1452 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1453 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1454 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1455 Produce valid configure.in, use aclocal appropriately, declare
1456 when libtool is required.
1458 2001-10-21 Akim Demaille <akim@epita.fr>
1460 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1461 * automake.texi (Macros, Yacc and Lex): Adjust.
1462 * automake.in ($seen_decl_yytext): Rename as...
1463 ($seen_prog_lex): this.
1464 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1465 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1467 2001-10-21 Akim Demaille <akim@epita.fr>
1469 * automake.in (&scan_autoconf_traces): Add support for
1470 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1472 2001-10-21 Akim Demaille <akim@epita.fr>
1474 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1475 libtool is required.
1476 * tests/lex.test: Run AC_INIT once.
1477 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1478 Libtool is required.
1479 * tests/header.test: Built a correct configure.in.
1480 * tests/defun2.test (configure.in): Be a bit respectful with
1481 Autoconf, close the macro invocations.
1482 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1485 * automake.in (scan_autoconf_traces): Add support for
1486 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1487 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1488 * tests/condincl.test (target): Better pattern, to avoid matching
1489 the definition of `target_alias' which is now properly discovered
1490 as an AC_SUBST by traces.
1491 * cond4.test: Better grep pattern: After all, why shouldn't
1492 TWO_FALSE be AC_SUBST properly.
1493 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1495 2001-10-20 Kevin Ryde <user42@zip.com.au>
1497 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1498 actually using ansi2knr.
1500 * automake.in (handle_configure): Always put a number on $stamp_name,
1501 to match AM_CONFIG_HEADER.
1503 2001-10-20 Tom Tromey <tromey@redhat.com>
1505 * tests/Makefile.am (TESTS): Added condd.test.
1506 (XFAIL_TESTS): Added condd.test.
1507 * tests/condd.test: New file.
1509 2001-10-20 Akim Demaille <akim@epita.fr>
1511 * automake.in (&scan_autoconf_traces): Add support for
1512 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1514 * tests/alpha.test (configure.in): Automake wants a Makefile.
1516 2001-10-20 Akim Demaille <akim@epita.fr>
1518 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1519 separator between trace arguments, in particular not `:' as it is
1520 within AC_CONFIG_FILES's $1.
1522 2001-10-20 Akim Demaille <akim@epita.fr>
1524 * tests/alpha.test (configure.in): Create, don't append. A single
1527 2001-10-20 Akim Demaille <akim@epita.fr>
1529 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1530 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1531 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1532 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1533 * tests/badline.test, tests/block.test, tests/canon2.test,
1534 * tests/check.test, tests/checkall.test, tests/clean.test,
1535 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1536 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1537 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1538 * tests/comment.test, tests/comment3.test, tests/cond.test,
1539 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1540 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1541 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1542 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1543 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1544 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1545 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1546 * tests/else.test, tests/empty.test, tests/exdir.test,
1547 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1548 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1549 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1550 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1551 * tests/include.test, tests/info.test, tests/insh.test,
1552 * tests/insh2.test, tests/install.test, tests/installsh.test,
1553 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1554 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1555 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1556 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1557 * tests/man.test, tests/mclean.test, tests/mdate.test,
1558 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1559 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1560 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1561 * tests/outdir.test, tests/output.test, tests/output2.test,
1562 * tests/output3.test, tests/output4.test, tests/output5.test,
1563 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1564 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1565 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1566 * tests/primary.test, tests/proginst.test, tests/python.test,
1567 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1568 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1569 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1570 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1571 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1572 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1573 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1574 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1575 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1576 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1577 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1578 * tests/version.test, tests/version2.test, tests/version3.test,
1579 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1580 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1582 2001-10-20 Akim Demaille <akim@epita.fr>
1584 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1585 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1586 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1587 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1588 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1589 * tests/confh3.test, tests/confh4.test, tests/config.test,
1590 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1591 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1592 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1593 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1594 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1595 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1596 * tests/output.test, tests/output2.test, tests/output3.test,
1597 * tests/output4.test, tests/output5.test, tests/package.test,
1598 * tests/parse.test, tests/pr2.test, tests/remake.test,
1599 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1600 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1601 * tests/subdir4.test, tests/subdirbuiltsources.test,
1602 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1603 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1604 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1605 since AM_INIT_AUTOMAKE requires them.
1607 2001-10-20 Akim Demaille <akim@epita.fr>
1609 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1611 Don't run AC_ARG_PROGRAM another time, it is required by
1613 * tests/aclocal.test: Work on the default configure.in
1614 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1615 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1617 Be realistic in testing: AC_INIT is required for Autoconf.
1618 Broken so called optimized tests break trace handling.
1620 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1621 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1622 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1623 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1624 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1625 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1626 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1627 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1628 * tests/confh4.test, tests/config.test, tests/confsub.test,
1629 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1630 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1631 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1632 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1633 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1634 * tests/libobj9.test, tests/output.test, tests/output2.test,
1635 * tests/output3.test, tests/output4.test, tests/parse.test,
1636 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1637 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1638 * tests/req.test, tests/scripts.test, tests/subdir.test,
1639 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1640 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1641 * tests/version2.test: Add AC_INIT in `configure.in'.
1643 2001-10-20 Akim Demaille <akim@epita.fr>
1645 * automake.in (&scan_autoconf_traces): Add support for
1646 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1647 Let @args have a more natural M4 correspondence: $1 is args[1], no
1649 (&scan_autoconf_files): Using autoconf traces is no longer a
1650 complement of the previous ad hoc scheme: use either.
1652 2001-10-20 Akim Demaille <akim@epita.fr>
1654 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1655 factors dedicated $libsources assignments.
1657 2001-10-20 Akim Demaille <akim@epita.fr>
1659 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1660 Remove, since Autoconf 2.52 has them.
1661 * automake.in, aclocal.in, automake.texi: Adjust.
1663 2001-10-19 Akim Demaille <akim@epita.fr>
1665 * automake.in (&read_main_am_file): s/generated automatically/
1667 Insert @configure_input@, since 2.50 no longer output this
1668 automatically for Makefiles.
1670 2001-10-19 Kevin Ryde <user42@zip.com.au>
1672 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1673 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1675 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1677 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1678 * tests/nobase.test: New file. Based on a bug report
1679 from Martin Frydl <martin@idoox.com>.
1681 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1683 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1684 this with $nodir_name only. Use $nodir_name where appropriate.
1686 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1688 * automake.in (handle_languages, handle_single_transform_list,
1689 lang_c_rewrite): Use require_conf_file instead of
1690 require_config_file to require depcomp or compile from Makefile.am.
1691 (require_aux_file_with_line): New function, adapted from
1692 require_conf_gile_with_line.
1693 (require_conf_file_with_line, require_conf_file_with_conf_line):
1694 Simplify using require_aux_file_with_line.
1695 (require_config_file): Simplify using require_conf_file_with_conf_line.
1696 (require_conf_file): New function.
1698 2001-10-15 Akim Demaille <akim@epita.fr>
1700 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1701 normally, what is wrong is that automake outputs a variable
1702 definition for it, hence...
1703 * automake.in (scan_one_autoconf_file): don't.
1705 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1707 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1708 Use AC_CONFIG_COMMANDS.
1709 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1711 2001-10-15 Akim Demaille <akim@epita.fr>
1713 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1715 2001-10-15 Akim Demaille <akim@epita.fr>
1717 * automake.in (&variable_conditions): Be deterministic and Perl
1718 version independent: sort the result.
1719 (&variable_output, &variable_pretty_output): Sort all the @conds,
1720 not only when defaulted.
1721 * tests/cond3.test: Adjust.
1723 2001-10-15 Akim Demaille <akim@epita.fr>
1725 * automake.in: Formatting changes.
1727 2001-10-15 Akim Demaille <akim@epita.fr>
1729 * aclocal.in: Use Automake::General and Automake::XFile.
1730 Use find_configure_ac.
1731 Output the Emacs tags for Autoconf mode selection.
1733 2001-10-10 Akim Demaille <akim@epita.fr>
1735 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1738 2001-10-09 Akim Demaille <akim@epita.fr>
1740 Do not use Autoconf internals.
1742 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1743 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1744 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1745 macro in GNU M4 1.5.
1747 2001-10-08 Akim Demaille <akim@epita.fr>
1749 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1752 2001-10-05 Akim Demaille <akim@epita.fr>
1754 * automake.in (scan_autoconf_files): Use find_configure_ac from
1757 2001-10-02 Akim Demaille <akim@epita.fr>
1759 * lib/Automake/Struct.pm: Update from Autoconf.
1760 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1762 * automake.in: Use them.
1763 (&uniq, $me): Remove, as they are provided by Automake::General.
1765 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1767 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1768 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1769 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1770 * lib/am/distdir.am (distcheck): Likewise.
1771 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1772 using cd so we don't have to fiddle with CDPATH.
1773 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1774 DOSish path separator.
1776 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1778 * lib/am/python.am (install-%DIR%PYTHON,
1779 uninstall-%DIR%PYTHON): Strip path of source file.
1780 (clean-python): Comment out.
1782 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1784 * automake.in (handle_python): Use require_conf_file_with_conf_line
1785 instead of require_file_with_conf_line, so that elisp-comp and
1786 py-compile are installed in the aux-directory.
1787 (handle_emacs_lisp): Likewise. Define elisp_comp.
1788 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1790 2001-10-01 Akim Demaille <akim@epita.fr>
1792 * lib/am/distdir.am (distcheck): Report the trailing files.
1793 Run `dist-gzip', not `dist', as it may leave other distribution
1796 2001-09-29 Paul Eggert <eggert@twinsun.com>
1798 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1799 bugs when making file names with unusual characters. Quote chmod
1800 arg "$dirmode", in case it contains white space.
1802 Incorporate the following change from autoconf mkinstalldirs:
1804 1999-04-10 Ben Elliston <bje@cygnus.com>
1806 Add `-m' flag to specify the mode of a newly created
1807 directory. Add command line usage and `-h', `--help' options.
1808 Contributed by Jeff Garzik.
1810 2001-09-27 Akim Demaille <akim@epita.fr>
1812 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1814 2001-09-27 Akim Demaille <akim@epita.fr>
1816 * lib/am/distdir.am (dist): Rename as...
1818 (dist): Additional name for dist-all.
1819 * automake.texi (Options, Dist): Adjust.
1821 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1823 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1824 * automake.in (obsolete_macros): Likewise.
1825 (seen_objext): Remove (unused).
1826 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1827 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1828 PATH_SEPARATOR): New variables.
1829 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1831 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1833 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1834 neutralize CDPATH for us.
1835 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1836 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1839 2001-09-22 Akim Demaille <akim@epita.fr>
1841 * configure.in, NEWS: Bump to 1.5a.
1844 2001-09-22 Paul Eggert <eggert@twinsun.com>
1846 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1847 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1848 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1849 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1850 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1851 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1852 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1853 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1854 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1855 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1857 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1858 which has a copyright notice.
1860 * m4/strtod.m4: Correct the dates on the copyright notice.
1862 2001-09-17 Akim Demaille <akim@epita.fr>
1864 * lib/missing (autom4te): New.
1865 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1868 2001-08-27 Tom Tromey <tromey@redhat.com>
1870 * automake.texi (A Shared Library): Clarify installation
1872 (Install): Typo. From Adrian Bunk.
1874 2001-08-27 Tom Tromey <tromey@redhat.com>
1876 * automake.texi (Macros): Typo fix.
1877 From Christian Cornelssen
1879 2001-08-27 Tom Tromey <tromey@redhat.com>
1881 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1882 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1883 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1884 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1885 tests/substref.test: Clear CFLAGS.
1887 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1888 From Alexey Mahotkin.
1890 2001-08-27 Tom Tromey <tromey@redhat.com>
1892 * tests/yacc7.test: Use test -f, not test -e.
1894 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1896 * automake.texi (etags): Typo fix.
1898 2001-08-27 Guido Draheim <guidod@gmx.de>
1900 * automake.in : restrict ansi2knr option to be a filepath
1902 2001-08-23 Richard Boulton <richard@tartarus.org>
1904 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1906 2001-08-22 Tom Tromey <tromey@redhat.com>
1908 * automake.texi (Conditionals): Mention that conditionals must
1909 always be invoked. For PR automake/220.
1911 2001-08-22 Richard Boulton <richard@tartarus.org>
1912 Tom Tromey <tromey@redhat.com>
1914 * automake.in (lang_yacc_target_hook): Make header file depend on
1915 .c file, not .y file.
1916 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1917 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1918 * tests/yacc7.test: New file.
1919 * tests/Makefile.am (TESTS): Added yacc7.test.
1921 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1923 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1925 2001-08-18 Tom Tromey <tromey@redhat.com>
1927 * automake.texi (Dist): Mention dist-all.
1929 2001-08-18 Tom Tromey <tromey@redhat.com>
1931 * tests/cond3.test: Use portable sed expression.
1932 From Richard Boulton.
1934 2001-08-13 Richard Boulton <richard@tartarus.org>
1936 * automake.in (handle_source_transform): Call
1937 define_objects_from_sources() instead of calling
1938 variable_value_as_list(), handle_single_transform_list() and
1939 define_pretty_variable() directly.
1940 (handle_single_transform_list): Add $topparent parameter, used for
1941 error messages. Improved error message.
1942 (define_objects_from_sources): New function.
1943 (subobjname): New function.
1944 (variable_conditions_recursive): New name for variable conditions.
1945 (variable_value_as_list_recursive): New name for variable_value_as_list.
1946 (variable_value_as_list_worker): Renamed to ...
1947 (variable_value_as_list_recursive_worker): ... this.
1948 (variable_conditions_sub): Renamed to ...
1949 (variable_conditions_recursive_sub): ... this.
1950 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1951 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1952 (substfroms): New global.
1953 (substtos): New global.
1954 (substnums): New global.
1955 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1956 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1957 * tests/sourcesub2.test: New test.
1958 * tests/Makefile.am (TEST): Added sourcesub2.test.
1960 2001-08-11 Tom Tromey <tromey@redhat.com>
1962 * configure.in: Upped to 1.4s.
1964 2001-08-09 Richard Boulton <richard@tartarus.org>
1966 * automake.in (handle_single_transform_list): Use new global,
1967 `%linkers_used', to store the linkers used, rather than an internal
1968 variable. Enables correct linker to be calculated across a group
1969 of calls to &handle_single_transform_list. Return only list of
1970 objects, since linker to be used is now externally determined.
1971 (handle_source_transform): adapted for new calling conventions of
1972 handle_single_transform_list. Calls resolve_linker() on a set of
1973 all the linkers used for any prefix, rather than for each prefix in
1975 (linkers_used): New global.
1976 * tests/link_dist.test: New test.
1977 * tests/Makefile.am (TESTS): Added link_dist.test.
1979 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1981 Dissociate testsuite 'make' invocations from outer 'make'.
1982 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1983 environment variables.
1984 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1986 * tests/substref.test: Likewise.
1988 2001-08-08 Richard Boulton <richard@tartarus.org>
1990 * tests/cond18.test: New file.
1991 * tests/cond19.test: New file.
1992 * tests/cond20.test: New file.
1993 * tests/cond4.test: Updated to check the generated _OBJECTS more
1995 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1998 2001-08-08 Richard Boulton <richard@tartarus.org>
2000 * automake.in (file_contents_internal): if a rule is conditionally
2001 defined, define the standard automake definition for it for those
2002 conditions which are not conditionally defined.
2003 (invert_conditions): New function: invert a list of conditionals.
2005 * tests/cond14.test: New file.
2006 * tests/cond15.test: New file.
2007 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
2009 2001-08-05 Tom Tromey <tromey@redhat.com>
2011 * tests/Makefile.am (TESTS): Added dejagnu2.test.
2012 * tests/dejagnu2.test: New file.
2013 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
2014 * automake.in (handle_scripts): Removed dead code.
2015 (handle_tests_dejagnu): Don't handle site.exp generation
2018 2001-08-04 Richard Boulton <richard@tartarus.org>
2020 * tests/cond17.test: New file: test for being able to define an
2021 object to be generated in different ways according to a
2023 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
2024 (TESTS): Added cond17.test.
2026 2001-08-02 Richard Boulton <richard@tartarus.org>
2028 * automake.in (variable_conditions_sub): Handle variable
2029 substitution refs when computing conditions based on subvariable
2030 conditions. Fixes substitution refs of system variables when sub
2031 variable is conditional.
2032 (SUBST_REF_PATTERN): New global.
2033 * tests/cond16.test: New file: regression test for variable
2035 * test/Makefile.am (TESTS): Added cond16.test.
2037 2001-08-03 Tom Tromey <tromey@redhat.com>
2039 * tests/substref.test: Require GNU make; backed out previous
2042 * tests/substref.test: Handle entering/leaving directory
2045 2001-08-03 Richard Boulton <richard@tartarus.org>
2047 * automake.in (value_to_list): Check for whether $from is defined,
2048 rather than whether it is true, so that empty $froms are allowed in
2049 substitution reference patterns.
2051 * tests/substref.test: New file: test behavior of substitution
2052 references when the $from side of the substitution is empty.
2053 * tests/Makefile.am (TESTS): Added substref.test.
2055 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2057 * m4/install-sh.m4: New file.
2058 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2059 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2060 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
2061 for install.sh any longer, always use install-sh, don't even
2062 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
2063 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2065 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2067 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
2069 * automake.texi (EXEEXT): Clarify.
2071 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2073 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2075 * m4/auxdir.m4: More comments.
2077 2001-07-31 Richard Boulton <richard@tartarus.org>
2078 Raja R Harinath <harinath@cs.umn.edu>
2080 * automake.in (variable_conditions_sub): Remove @parent_conds
2081 argument. This was old logic - duplicate or impossible
2082 conditionals are removed later by &variable_conditions_reduce().
2083 Fixes tests/cond13.test.
2084 (conditionals_true_when): Removed.
2085 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2087 2001-07-31 Tom Tromey <tromey@redhat.com>
2089 * tests/Makefile.am (TESTS): Added cond13.test.
2090 (XFAIL_TESTS): Likewise.
2091 * tests/cond13.test: New file.
2093 * configure.in: Upped to version 1.4k.
2095 * configure.in: Released 1.4j.
2097 * lib/config.guess: Updated from master sources.
2098 * lib/config.sub: Likewise.
2100 2001-07-30 Tom Tromey <tromey@redhat.com>
2102 * automake.texi (A Program): Typo. Added subsections and more
2103 text about conditional compilation.
2104 (A Shared Library): Moved earlier.
2105 (Program variables): Updated LINK text. Added AM_CFLAGS.
2106 (C++ Support): Added AM_CXXFLAGS.
2107 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2110 * tests/Makefile.am (TESTS): Added aclibobj.test.
2111 * tests/aclibobj.test: New file.
2112 * automake.in (handle_lib_objects_cond): Avoid undefined variable
2114 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2116 * automake.texi (Dist): Mention other distribution types.
2119 2001-07-29 Tom Tromey <tromey@redhat.com>
2121 * automake.texi (Program and Library Variables): Texinfo fix.
2122 From Alexey Mahotkin.
2124 2001-07-28 Tom Tromey <tromey@redhat.com>
2126 * automake.texi (Strictness): Mention Cygnus mode.
2128 (Uniform): Likewise.
2129 (Canonicalization): Likewise.
2130 (Install): Add `nobase_' to example; typo fix.
2132 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
2134 (Options): Texinfo fixes; some text updates.
2137 2001-07-27 Tom Tromey <tromey@redhat.com>
2139 * automake.texi (Invoking Automake): Document --Werror and
2142 2001-07-26 Tom Tromey <tromey@redhat.com>
2144 * tests/nolink.test: Added no-exeext.
2146 * automake.in (check_variable_defined_unconditionally): Don't call
2149 * automake.texi (Optional): Don't mention ALL_LINGUAS.
2150 (gettext): Likewise.
2151 * automake.in (seen_linguas, all_linguas, all_linguas_line):
2153 (handle_gettext): Don't do any checking of the languages.
2154 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2156 * automake.in (am_print_error): New function.
2158 (am_file_error): Likewise.
2159 (am_line_error): Likewise.
2160 (am_conf_error): Likewise.
2161 (am_conf_line_error): Likewise.
2163 * automake.texi (Options): Document no-exeext.
2164 * automake.in (handle_options): Recognize no-exeext.
2165 (rule_define): Handle no-exeext.
2166 * tests/Makefile.am (TESTS): Added new file.
2167 * tests/exeext2.test: New file.
2169 * automake.in (make_input_list): Removed.
2170 (scan_autoconf_config_files): Don't add to make_input_list.
2171 (scan_one_autoconf_file): Don't use make_input_list.
2172 (scan_autoconf_files): Use make_list, not make_input_list.
2173 (scan_autoconf_files): Likewise.
2175 * automake.in (seen_exeext): Removed.
2176 (generate_makefile): Don't define EXEEXT or OBJEXT.
2177 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2178 (am_install_var): Don't check $seen_exeext.
2179 (handle_programs): Likewise.
2180 (rule_define): Allow x to override x$(EXEEXT), for now.
2181 (file_contents_internal): Only define rule if rule_define allows
2183 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2185 2001-07-25 Tom Tromey <tromey@redhat.com>
2188 * tests/pr9.test: Require GNU make.
2189 * tests/dirname.test: Don't use `-u'.
2191 2001-07-22 Tom Tromey <tromey@redhat.com>
2193 * tests/Makefile.am (TESTS): Added auxdir2.test.
2194 (XFAIL_TESTS): Likewise.
2195 * tests/auxdir2.test: New file.
2197 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2198 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2200 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2201 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2202 holds `.'. Don't add $(EXEEXT) if program name already has it.
2203 (handle_programs): Don't add $(EXEEXT) if user already did.
2204 (make_paragraphs): Don't compute EXEEXT.
2206 * tests/Makefile.am (TESTS): Added exeext.test.
2207 (XFAIL_TESTS): Likewise.
2208 * tests/exeext.test: New file.
2210 2001-07-22 Tom Tromey <tromey@redhat.com>
2212 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2213 `prog.exe' on Cygwin with libtool. From Robert Collins.
2215 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2217 * tests/dirname.test: Explicitly use $SHELL to run the
2218 script; this avoids failures on DJGPP.
2219 * tests/install2.test: Skip if 'chmod 000' doesn't make
2222 2001-07-21 Tom Tromey <tromey@redhat.com>
2224 * tests/libtool2.test: Check for libtoolize.
2226 * tests/Makefile.am (TESTS): Added substtarg.test.
2227 (XFAIL_TESTS): Likewise.
2228 * tests/substtarg.test: New file.
2230 * automake.in (handle_dist): Handle case where aux dir doesn't
2231 have a Makefile. Fixes depdist.test.
2232 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2233 * tests/depdist.test: Look for config/depcomp.
2235 * tests/Makefile.am (TESTS): Added depdist.test.
2236 (XFAIL_TESTS): Likewise.
2237 * tests/depdist.test: New file. From Eric Magnien.
2239 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2240 AC_PROG_CC_C_O does require AC_PROG_CC.
2243 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2245 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2246 output is suitable for make.
2248 * automake.texi (Macros): Document AM_PROG_AS.
2249 (Assembly Support): New node.
2250 * m4/Makefile.am (m4data_DATA): Added as.m4.
2251 * m4/as.m4: New file.
2253 * automake.texi (Tags): Added uref to global tags.
2255 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2257 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2258 instead of hardcoding '.deps'.
2259 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2261 2001-07-20 Derek Price <dprice@collab.net>
2263 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2265 * tests/dirname.test: New test.
2266 * tests/stamph2.test: New test.
2267 * tests/Makefile.am: Add new tests.
2268 * tests/Makefile.in: Regenerated.
2270 2001-07-19 Tom Tromey <tromey@redhat.com>
2272 * automake.texi (Tags): Document GTAGS_ARGS.
2273 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2275 2001-07-19 Tom Tromey <tromey@redhat.com>
2276 Alexandre Duret-Lutz <duret_g@epita.fr>
2278 Fix for ccnoco.test, subobj8.test:
2279 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2280 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2282 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2283 Use AM_AUX_DIR_EXPAND.
2284 * lib/compile: Handle case where `-o' argument is the name of an
2285 executable, not an object file.
2286 * m4/auxdir.m4: New file, from...
2287 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2288 * automake.in (handle_single_transform_list, lang_c_rewrite):
2289 Require compile using `require_config_file'.
2291 2001-07-19 Tom Tromey <tromey@redhat.com>
2293 * automake.texi (Program and Library Variables): Added X example
2296 2001-07-19 Tom Tromey <tromey@redhat.com>
2298 * automake.texi (Distributing): Updated to reflect new license.
2300 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2302 * automake.in (require_build_directory): New function, extracted
2304 (handle_single_transform_list): ... here.
2305 (require_build_directory_maybe): New function.
2306 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2307 require_build_directory_maybe() to ensure the subdirectory
2308 in which a target may lie will exist when the target is created.
2309 (handle_libraries, handle_ltlibraries): Use basename before
2310 checking library name.
2311 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2312 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2313 * lib/am/program.am (%PROGRAM%): Likewise.
2315 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2317 * m4/missing.m4: Reword comment.
2319 2001-07-18 Pavel Roskin <proski@gnu.org>
2321 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2322 * tests/gcj.test: Likewise.
2323 * tests/gcj2.test: Likewise.
2324 * tests/gcj3.test: Likewise.
2326 2001-07-18 Tom Tromey <tromey@redhat.com>
2328 * lib/compile: Change how lockdir is computed. If linking or
2329 compiling without `-o', just run the compiler.
2331 * tests/Makefile.am (TESTS): Added ccnoco.test.
2332 (XFAIL_TESTS): Likewise.
2333 * tests/ccnoco.test: New file.
2335 2001-07-17 Tom Tromey <tromey@redhat.com>
2337 * lib/ylwrap: Added special exception.
2338 * lib/py-compile: Added license.
2339 * lib/mdate-sh: Added special exception.
2340 * lib/elisp-comp: Added special exception.
2341 * lib/compile: Added special exception.
2342 * lib/depcomp: Added special exception.
2344 Report from Motoyuki Kasahara:
2345 * tests/make.test: Use am__include.
2346 * tests/exsource.test: Use am__include.
2347 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2348 * automake.in (handle_languages): Use am__include and am__quote.
2350 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2351 * m4/init.m4: Updated callers.
2353 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2355 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2356 * aclocal.in (scan_configure, add_file): Handle the full macro
2357 name even if it contains numbers, such as I18N.
2359 2001-07-16 Tom Tromey <tromey@redhat.com>
2361 * automake.texi (Dependencies): Link to dependency tracking page.
2362 (Data): Mention dist_.
2363 (Clean): Mention clean heuristics.
2364 (Install): Mention nobase_.
2366 * automake.texi (Program and Library Variables): Document _LINK.
2368 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2370 * automake.in (handle_libraries): Allow libraries to lie in
2371 a subdirectory by constraining only the basename to start
2372 with 'lib', not the whole path.
2374 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2376 * tests/subobj8.test: New file.
2377 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2379 2001-07-16 Tom Tromey <tromey@redhat.com>
2381 Fix for PR automake/212:
2382 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2383 (uninstall-%DIR%LISP): Likewise.
2385 2001-07-15 Tom Tromey <tromey@redhat.com>
2387 * automake.in (usage): Rewrote code to handle columnization.
2388 From Alexey Mahotkin and Maxim Sinev.
2390 Report from Ralf Corsepius:
2391 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2392 (SUFFIX_RULE_PATTERN): Likewise.
2393 * tests/Makefile.am (TESTS): Added cxx.test.
2394 * tests/cxx.test: New file.
2396 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2397 From Shigio Yamaguchi.
2399 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2401 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2402 remain after "make uninstall".
2404 2001-07-14 Tom Tromey <tromey@redhat.com>
2406 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2408 * lib/missing (makeinfo): Redirect stdout and stderr outside
2409 subshell. From Alexandre Oliva.
2411 2001-07-14 Akim Demaille <akim@epita.fr>
2413 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2414 `\b(foo|bar)\b' is what we want.
2415 * aclocal.in: Likewise.
2417 2001-07-14 Akim Demaille <akim@epita.fr>
2419 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2421 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2422 actually modified to require AM_DEPENDENCIES.
2423 Rename `confdir' as `conftest.dir' so that the configure trap
2426 2001-07-04 Tom Tromey <tromey@redhat.com>
2428 Fix for nolink.test:
2429 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2430 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2431 * automake.in (am_install_var): Only rewrite PROGRAMS if
2433 (make_paragraphs): Always define %EXEEXT%.
2435 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2437 * tests/nolink.test: New file.
2438 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2440 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2442 * automake.in (scan_texinfo_file): Add the second argument to
2443 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2444 itself may not be used directly.
2446 2001-07-04 Tom Tromey <tromey@redhat.com>
2449 * lib/missing (makeinfo): Use subshell, not explicit sh
2452 * automake.texi (Headers): Mention that we prefer uninstalled
2453 headers in _SOURCES.
2454 (ANSI): Mention cross-compilation limitation.
2456 2001-07-03 Tom Tromey <tromey@redhat.com>
2458 * configure.in: Upped to 1.4i.
2460 * configure.in: Released 1.4h.
2462 * lib/config.guess, lib/config.sub: Updated.
2464 2001-07-02 Tom Tromey <tromey@redhat.com>
2466 Fix for libtool2.test:
2467 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2468 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2469 * automake.in (generate_makefile): Call handle_libtool
2471 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2473 * tests/libtool2.test: Look for `.lo' files to be removed.
2475 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2477 * tests/Makefile.am (TESTS): Removed dup.test.
2478 * tests/dup.test: Removed.
2479 * aclocal.in (scan_file): Don't give error for duplicate macro.
2481 2001-07-01 Tom Tromey <tromey@redhat.com>
2483 * automake.texi (Program and Library Variables): Document
2484 subdir-objects. Document fact that per-object flags override AM_
2486 (Options): Likewise.
2487 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2488 (Multilibs): New node.
2489 (Macros): Documented missing macros.
2490 (Auxiliary Programs): New node.
2492 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2493 mode, then simply fail.
2495 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2497 * lib/ylwrap: Improve support for DOS paths (and paths
2498 containing backslashes in general).
2500 2001-07-01 Tom Tromey <tromey@redhat.com>
2502 * lib/missing: Added special exception to license.
2505 * lib/missing: Updated. Added comment explaining configure.ac
2508 * lib/depcomp: Reorder arguments to gcc3.
2509 From Per Oyvind Hvidsten.
2511 * tests/Makefile.am (TESTS): Added libtool2.test.
2512 * tests/libtool2.test: New file.
2514 * automake.texi (Program and Library Variables): Added example for
2517 2001-06-29 Tom Tromey <tromey@redhat.com>
2519 * tests/cond11.test: Use `=', not `=='.
2520 * tests/cond12.test: Look for automake in build directory, not
2523 2001-06-29 Richard Boulton <richard@tartarus.org>
2525 * automake.in (conditionals_true_when): Pass first parameters by
2526 reference, avoiding bug which put all parameters in @CONDS instead
2527 of @WHENS. Report by Kalle Olavi Niemitalo.
2528 Take a single WHEN instead of an array of WHENS.
2529 Remove FIXME; can't now have an empty @WHENS.
2530 (conditional_is_redundant): New sub.
2531 (variable_conditions_reduce): Check whether each condition is
2532 implied by any of the other conditions (other those already
2533 discarded), rather than checking only against those already
2534 considered (and kept). Also, fix sense of check: was keeping
2535 tautologous terms instead of discarding them. Use
2536 conditional_is_redundant instead of conditionals_true_when.
2537 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2538 * tests/cond11.test: New file.
2539 * tests/cond12.test: New file.
2541 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2543 * automake.in (saw_sources_p): Work even if there are more
2544 than one header files, and more than of one type of header.
2545 * tests/Makefile.am (TESTS): Added new file.
2546 * tests/depend4.test: New file.
2548 2001-06-28 Tom Tromey <tromey@redhat.com>
2550 * lib/am/libs.am (RANLIB): Don't define.
2552 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2554 * automake.in (am_install_var): Assign 1 to $first on
2557 2001-06-23 Tom Tromey <tromey@redhat.com>
2560 * lib/ylwrap: Changed usage.
2561 * lib/am/yacc.am: Rewrote to use new substitutions.
2562 * lib/am/lex.am: Likewise.
2563 * automake.in (handle_languages): Skip files whose language
2564 doesn't have a compiler. Handle `define_flag' attribute.
2565 Changed '$' to "\$" to aid Emacs fontification.
2566 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2567 `_target_hook' and `define_flag'.
2568 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2569 and `compiler' attributes. Removed `linker', `derived_autodep',
2570 and `ansi' attributes. Added `define_flag'.
2571 (yacc, yaccxx): Added `_target_hook'.
2572 (saw_extension): Count number of times extension seen.
2573 (count_files_for_language): New sub.
2574 (saw_sources_p): Use it.
2575 (handle_single_transform_list): Allow language rewrite function
2576 to return a new source extension. Call target_hook.
2577 (yacc_sources, lex_sources): Removed.
2578 (initialize_per_input): Don't initialize yacc_sources or
2580 (lang_yacc_rewrite): Rewrote.
2581 (lang_yaccxx_rewrite): Likewise.
2582 (lang_lex_rewrite): Likewise.
2583 (lang_lexxx_rewrite): Likewise.
2584 (output_yacc_build_rule): Removed.
2585 (output_lex_build_rule): Removed.
2586 (lang_yacc_finish): Removed build rule generation.
2587 (lang_lex_finish): Likewise.
2588 (DASH_D_PATTERN): New global.
2589 (lang_yacc_target_hook): New function.
2590 (_target_hook): New function.
2591 (register_language): Default `define_flag'.
2592 * tests/yacc5.test: Updated test.
2593 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2594 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2595 for all YFLAGS variables.
2597 2001-06-20 Tom Tromey <tromey@redhat.com>
2599 * tests/yacc5.test: Check for per-executable YFLAGS.
2601 2001-06-19 Tom Tromey <tromey@redhat.com>
2603 * tests/Makefile.am (TESTS): Added yacc5.test.
2604 * tests/yacc5.test: New file.
2606 2001-06-17 Tom Tromey <tromey@redhat.com>
2608 * automake.in (require_file_internal): Check for already-required
2609 file after searching for it, and only if it is not found. Don't
2610 use `readlink' when checking for dangling symlink. Work if
2611 --force-missing specified.
2612 * tests/acoutput2.test: Also test --force-missing.
2614 Fix for libtool.test:
2615 * automake.in (generate_makefile): Call handle_libtool.
2616 (handle_libtool): New sub.
2617 (handle_compile): Don't read `libtool' file.
2619 * tests/acoutput2.test: New file.
2620 * tests/Makefile.am (TESTS): Added acoutput2.test.
2622 2001-06-15 Tom Tromey <tromey@redhat.com>
2624 * tests/Makefile.am (TESTS): Added libtool.test.
2625 * tests/libtool.test: New file.
2627 2001-06-14 Tom Tromey <tromey@redhat.com>
2629 Fix some lisp bugs reported by Bruno Haible:
2630 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2632 (install-%DIR%LISP): Handle case where lispdir is not defined.
2633 (uninstall-%DIR%LISP): Likewise.
2634 (.el.elc): Added `else' clause.
2636 Fix for bug reported by Steve M. Robbins:
2637 * automake.in (handle_single_transform_list): When building a file
2638 from a subdirectory, continue to use `AM_' prefix.
2639 * tests/Makefile.am (TESTS): Added subobj7.test.
2640 * tests/subobj7.test: New file.
2642 * lib/am/configure.am ($(top_builddir)/config.status): Added
2643 $(top_builddir) prefix to work around problems with some vendor
2644 makes. From Nicolas Joly.
2646 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2647 top_srcdir. From Tim Van Holder.
2648 * tests/Makefile.am (TESTS): Added yacc6.test.
2649 * tests/yacc6.test: New file.
2651 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2653 * tests/defs, tests/installsh.test: Properly support
2656 2001-06-14 Tom Tromey <tromey@redhat.com>
2658 * tests/Makefile.am (TESTS): Added mdate4.test.
2659 * tests/mdate4.test: New file.
2661 * aclocal.in (scan_m4_files): Removed unused variable.
2663 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2665 * aclocal.in (scan_m4_files): Tweak the building of &search so
2666 that multiple macro names can be found on the same line. Ensure
2667 we match whole macro name, not only substrings.
2669 2001-06-12 Tom Tromey <tromey@redhat.com>
2671 * automake.texi (ANSI): Minor clarification.
2672 (Other GNU Tools): Don't mention Guile.
2674 (Java Support): Mention file extensions.
2675 (Man pages): Mention dist_. Don't mention info pages.
2677 2001-06-11 Tom Tromey <tromey@redhat.com>
2679 * automake.texi (Program variables): Document AM_CPPFLAGS.
2681 (Java Support): Document AM_GCJFLAGS.
2682 (Support for Other Languages): Removed `fixme'; added link to
2683 suffix rule handling.
2685 * automake.texi (Program and Library Variables): Document _LIBADD,
2686 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2688 2001-06-11 Kevin Dalley <kevind@rahul.net>
2690 * missing: Support configure.ac.
2692 2001-06-08 Tom Tromey <tromey@redhat.com>
2694 * tests/version4.test: New file.
2695 * automake.in (version_check): New sub.
2696 (handle_options): Use it.
2697 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2698 (TESTS): Added version4.test.
2699 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2700 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2702 2001-06-04 Kevin Dalley <kevind@rahul.net>
2704 * lib/am/dejagnu.am (site.exp): Fix typo.
2706 2001-06-02 Tom Tromey <tromey@redhat.com>
2708 * automake.in (variable_conditions_sub): Move parent-only code
2710 (variable_conditions): ... to here.
2711 (variable_conditions_sub): Include this variable's conditions in
2712 the resulting condition list.
2713 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2715 2001-06-01 Tom Tromey <tromey@redhat.com>
2717 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2719 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2721 2001-05-31 Tom Tromey <tromey@redhat.com>
2723 * automake.texi (Alternative): New node.
2724 (Macros): Use new name for gcc.
2725 (Java Support): Likewise.
2726 (Dependencies): Rewrote.
2727 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2730 * automake.texi (Top level): Removed erroneous spaces. Documented
2733 2001-05-29 Tom Tromey <tromey@redhat.com>
2735 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2737 * automake.texi (Include): Rewrote.
2738 (Suffixes): Remove Java example.
2739 (Java): Added more explanation. Document variables.
2740 (Uniform): Mention JAVA as a primary.
2741 (Python): Updated for new Python support.
2742 (Sources): Added a weak example.
2744 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2746 * automake.texi (A Program): Mention `check' prefix.
2747 (Program and Library Variables): New node.
2748 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2750 (etags): Mention per-program flags.
2751 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2754 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2757 2001-05-28 Tom Tromey <tromey@redhat.com>
2759 * m4/Makefile.am (MAINT_CHARSET): Removed.
2760 * Makefile.am (MAINT_CHARSET): Removed.
2761 * automake.in (maint_charset, dist_charset): Removed.
2762 (local_maint_charset): Removed.
2763 (initialize_per_input): Don't use maint_charset.
2764 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2766 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2768 (.%SUFFIX%.dvi): Likewise.
2769 (.%SUFFIX%): Likewise.
2771 2001-05-27 Tom Tromey <tromey@redhat.com>
2773 * automake.in (handle_multilib): Only add multilib support code at
2775 * lib/am/multilib.am: Handle invocation of *-multi targets
2776 differently for SUBDIRS and non-SUBDIRS Makefiles.
2777 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2778 Only add multilib code when the Makefile in question is actually
2781 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2783 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2785 * automake.in (handle_single_transform_list): Skip unknown
2788 2001-05-25 Tom Tromey <tromey@redhat.com>
2790 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2792 2001-05-24 Tom Tromey <tromey@redhat.com>
2794 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2795 directory in some situations.
2797 * automake.in (generate_makefile): Better explanation for ansi2knr
2800 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2802 * automake.in (handle_languages): Skip unknown extensions.
2803 (derive_suffix): Check whether $extension_map{$source_ext}
2804 is undefined, not empty.
2806 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2808 * automake.in (read_am_file): Ignore trailing backslash on
2811 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2813 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2815 2001-05-21 Akim Demaille <akim@epita.fr>
2817 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2818 multiple times'' warning.
2820 2001-05-20 Tom Tromey <tromey@redhat.com>
2822 * configure.in: Updated to 1.4g.
2824 * configure.in: Updated to 1.4f.
2826 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2828 * lib/ansi2knr.c: New version.
2830 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2833 2001-05-19 Tom Tromey <tromey@redhat.com>
2835 * config.guess, config.sub: New versions from FSF.
2837 * Makefile.am (fetch): Compare against files in srcdir.
2839 For for ansi2knr report from Harlan Stenn:
2840 * automake.in (generate_makefile): Run handle_compile before
2843 2001-05-18 Tom Tromey <tromey@redhat.com>
2845 * automake.in: Reverted erroneous checkin.
2847 2001-05-18 Akim Demaille <akim@epita.fr>
2849 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2850 to missing `install-info'.
2852 2001-05-17 Tom Tromey <tromey@redhat.com>
2854 * automake.in (lang_c_finish): Use `rm -f'.
2856 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2857 * tests/Makefile.am (TESTS): Added new file.
2858 * tests/ansi5.test: New file.
2860 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2862 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2864 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2865 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2866 * automake.texi (Requirements): Document the use of the STRIP
2867 variable in cross-compilation environments.
2869 2001-05-17 Tom Tromey <tromey@redhat.com>
2871 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2872 to no dependency tracking.
2873 * tests/Makefile.am (TESTS): Added depcomp2.test.
2874 * tests/depcomp2.test: New file. From Pavel Roskin.
2876 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2878 * lib/depcomp (tru64): New dependency tracking mode.
2880 Fix for PR automake/159:
2881 * lib/depcomp (aix): Rewrote.
2884 Fix for PR automake/174:
2885 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2886 * automake.in (read_am_file): Warn if `#' is at start of rule.
2888 2001-05-16 Tom Tromey <tromey@redhat.com>
2890 For PR automake/174:
2891 * tests/Makefile.am (TESTS): Added comment3.test.
2892 (XFAIL_TESTS): Likewise.
2893 * tests/comment3.test: New file.
2895 Fix for PR automake/175:
2896 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2897 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2898 `Leaving directory' messages.
2900 For PR automake/175:
2901 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2902 * tests/make.test: Run test with `make -w'.
2904 * tests/Makefile.am (TESTS): Removed maintclean.test.
2905 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2907 * lib/am/configure.am (maintainer-clean-am): Removed.
2908 (maintainer-clean-conf): Removed.
2909 * tests/maintclean.test: Removed.
2911 2001-05-15 Tom Tromey <tromey@redhat.com>
2913 Fix for PR automake/177:
2914 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2915 automake or aclocal.
2917 Fix for maintclean.test:
2918 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2919 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2921 (distclean, maintainer-clean): Moved to...
2922 * lib/am/configure.am: ... here.
2923 (distclean): Remove config.cache and config.log.
2924 (maintainer-clean): Removed.
2925 (maintainer-clean-conf): New target.
2926 (maintainer-clean-am): New target.
2928 * tests/Makefile.am (TESTS): Added maintclean.test.
2929 (XFAIL_TESTS): Likewise.
2930 * tests/maintclean.test: New file.
2932 Fixes PR automake/175:
2933 * tests/target-cflags.test: Use $needs_gnu_make.
2934 * tests/exsource.test: Use $needs_gnu_make.
2935 * tests/make.test: Require GNU make.
2936 * tests/defs (needs_gnu_make): Compute.
2938 2001-05-14 Tom Tromey <tromey@redhat.com>
2940 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2943 Fix for texinfo10.test.
2944 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2945 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2946 * automake.in (handle_texinfo_helper): New sub.
2947 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2948 * tests/texinfo10.test: Added more cases.
2950 Fix for yaccvpath.test:
2951 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2952 * lib/am/distdir.am (distdir): Always look for file in build
2954 * lib/ylwrap: Quote the `#line' regular expression.
2955 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2956 change; don't run sed on the generated file.
2957 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2958 to make sure parser will be rebuilt at dist time.
2960 2001-05-13 Pavel Roskin <proski@gnu.org>
2962 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2963 beginning with `##'.
2964 * automake.texi (General Operation): Document it.
2966 2001-05-13 Tom Tromey <tromey@redhat.com>
2968 Reported by Rainer Orth:
2969 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2971 * tests/Makefile.am (TESTS): Added distname.test.
2972 * tests/distname.test: New file.
2974 * Makefile.am (dist_pkgdata_DATA): Removed.
2976 * tests/defs: Find files to copy in lib/.
2977 * automake.in (perllibdir): Set to Automake directory.
2978 * ansi2knr.c, ansi2knr.1: Removed.
2979 * Makefile.am (dist_am_DATA): Removed.
2981 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2983 (scriptdir): Removed.
2984 (dist_script_DATA): Likewise.
2985 (install-data-hook): Likewise.
2986 (installcheck-local): Likewise.
2987 (TAGS_FILES): Removed amfiles.
2988 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2989 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2990 point it to the right directory.
2991 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2992 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2993 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2994 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2995 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2996 mans.am, multilib.am, program.am, progs.am, python.am,
2997 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2998 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2999 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
3000 (AUTOMAKE): Use --libdir, not --amdir.
3001 Ues AC_CONFIG_AUX_DIR.
3002 * lib/Makefile.am (SUBDIRS): Added `am'.
3003 (scriptdir): New macro.
3004 (dist_script_DATA): Likewise.
3005 (dist_pkgdata_DATA): Likewise.
3006 (install-data-hook): New target.
3007 (installcheck-local): Likewise.
3008 * lib/am/Makefile.in: New file.
3009 * lib/am/Makefile.am: Removed everything except amdir and
3012 2001-05-13 Akim Demaille <akim@epita.fr>
3014 * automake.in ($pkgdata_dir): Rename as...
3016 ($am_dir): Remove, replace its uses with $libdir.
3017 (&parse_arguments): Replace --amdir with --libdir.
3018 * automake.texi (Invoking Automake): Document --libdir, not
3020 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
3022 2001-05-13 Tom Tromey <tromey@redhat.com>
3024 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
3026 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
3027 Correctly look at AMDEP_TRUE, not AMDEP.
3029 Report from Robert Boehne:
3030 * tests/Makefile.am (TESTS): Added depend2.test.
3031 * tests/depend2.test: New file.
3033 2001-05-13 James Henstridge <james@daa.com.au>
3035 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
3036 Point pythondir at site-packages directory. Rename
3037 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
3038 pyexecdir. Removed package/module argument. Removed
3039 PYTHON_SITE_INSTALL. Added version checking.
3041 2001-05-14 Jim Meyering <meyering@lucent.com>
3043 * automake.in (macro_define): Change one remaining use of
3044 `variable_dump' to `macro_dump'.
3046 2001-05-13 Tom Tromey <tromey@redhat.com>
3048 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
3051 2001-05-13 Akim Demaille <akim@epita.fr>
3053 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
3054 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
3055 (&am_primary_prefixes): Use `map' rather than `grep'.
3057 2001-05-13 Akim Demaille <akim@epita.fr>
3059 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3061 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3062 (&lang_asm_finish): Remove, set asm's finisher to C's one.
3064 2001-05-13 Akim Demaille <akim@epita.fr>
3066 * lang-compile.am: New file, loaded once per language.
3067 * depend2.am: Move definitions loaded once per language in the
3068 aforementioned file.
3069 * automake.in (&handle_languages): Load it.
3070 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3071 handled by lang-compile.am.
3073 2001-05-13 Tom Tromey <tromey@redhat.com>
3075 * tests/Makefile.am (TESTS): Added python.test.
3076 * tests/python.test: New file.
3077 * automake.in (handle_languages): Use
3078 config_aux_dir_set_in_configure_in.
3079 (handle_python): Correctly mention AM_PATH_PYTHON. Use
3080 py-compile, not py_comp. Define py_compile macro.
3082 2001-05-13 Derek Price <dprice@openavenue.com>
3084 * automake.in (require_file_with_conf_line,
3085 require_file_with_line, require_file): Pass a @require_file_path
3086 of $relative_dir instead of '.' to require_file_internal so that
3087 all the special casing of '.' can be removed elsewhere.
3088 (require_config_file, require_conf_file_with_line,
3089 require_conf_file_with_conf_line): Remove special casing for '.'
3090 and make sure $config_aux_dir is maintained properly.
3091 (require_file_internal): Remove special casing of '.' and set
3092 @require_file_path when missing files are added.
3093 (maybe_push_required_file): Remove special casing of '.'
3094 (handle_dependencies): Remove a workaround for a bug now fixed
3095 and remove $config_aux_dir special casing.
3096 (handle_configure): Remove special casing for $config_aux_dir
3097 (handle_python): Ditto.
3098 (yacc_lex_finish_helper): Change $config_aux_dir switch to
3099 switch on the value of $config_aux_dir_set_in_configure_in.
3100 (handle_texinfo): Ditto.
3101 (scan_one_configure_file): Set $config_aux_dir and
3102 $config_aux_dir_set_in_configure_in properly so special casing
3103 on the value of $config_aux_dir can be removed elsewhere.
3104 * tests/depcomp.test: New file.
3105 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3106 first subdir containing a C file.
3107 * tests/libobj2.test: Ditto.
3108 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3110 2001-05-12 Tom Tromey <tromey@redhat.com>
3112 * tests/gcj.test: Updated for gcj dependency tracking.
3113 * tests/gcj2.test: Likewise.
3115 Fixes PR automake/169.
3116 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
3118 * automake.in (java): Added autodep entry.
3119 * tests/Makefile.am (TESTS): Added gcj3.test.
3120 * tests/gcj3.test: New file.
3122 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
3124 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3125 stop at the first '='.
3126 * tests/Makefile.am (TESTS): Added vars.test.
3127 * tests/vars.test: New file.
3129 2001-05-12 Akim Demaille <akim@epita.fr>
3131 * automake.in (&handle_single_transform_list): Simplify
3132 computation of $object and $this_obj_ext.
3133 * tests/lex3.test: Merge into...
3134 * tests/lex.test: here.
3135 * tests/pr19.test: Improve and rename as...
3136 * tests/lex3.test: this.
3138 2001-05-09 Tom Tromey <tromey@redhat.com>
3140 * automake.in (read_am_file): Correctly compute $saw_bk.
3141 (scan_autoconf_files): Ensure configure_dist_common is always
3143 * tests/defs (AUTOMAKE): Added --Werror.
3145 2001-05-09 Pavel Roskin <proski@gnu.org>
3147 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3150 2001-05-09 Tom Tromey <tromey@redhat.com>
3152 * tests/werror.test: Use `rm -f'.
3154 2001-05-09 Akim Demaille <akim@epita.fr>
3156 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3158 2001-05-09 Akim Demaille <akim@epita.fr>
3160 * automake.in: Remove some code left from bad patches.
3161 (&handle_dependency): Remove, for the same reason.
3163 2001-05-09 Akim Demaille <akim@epita.fr>
3165 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3166 (&handle_tests_dejagnu, &define_standard_variables): Don't.
3167 (&define_standard_variables): Don't transform %top_builddir% since...
3168 * header-vars.am: Use %TOPDIR% instead.
3170 2001-05-09 Akim Demaille <akim@epita.fr>
3172 * automake.in (@objects): Remove, unused.
3173 Remove all the code related to it, and to former `$(OBJECTS)'.
3175 2001-05-08 Tom Tromey <tromey@redhat.com>
3178 * ylwrap: Handle arguments to program. Remove old code that tried
3179 to avoid absolute paths and add new code to do it in all cases.
3180 Removed ancient logic that tried to deal with relative path.
3181 * tests/Makefile.am (TESTS): Added yacc4.test.
3182 * tests/yacc4.test: New file.
3184 Fix for PR automake/149 and werror.test:
3185 * automake.in (require_file_internal): Use am_line_warning or
3186 am_conf_line_warning when suppressing error.
3187 (am_line_warning): New sub.
3188 (am_conf_line_warning): Save and restore warning signal.
3189 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3191 Fix for PR automake/36:
3192 * tests/Makefile.am (TESTS): Added asm.test.
3193 * tests/asm.test: New file.
3194 * automake.in (asm): Use ASFLAGS and AS.
3195 (lang_asm_finish): New sub.
3197 * automake.in (read_am_file): Removed debugging code.
3199 For PR automake/149:
3200 * tests/Makefile.am (TESTS): Added werror.test.
3201 (XFAIL_TESTS): Likewise.
3202 * tests/werror.test: New file.
3204 * automake.in (conditional_true_when): Don't return if we see
3207 * tests/objc.test: Removed.
3208 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3211 * automake.in (subst): New sub.
3212 (handle_languages): Use it.
3213 (output_lex_build_rule): Likewise; also use _am_quote.
3214 (check_libobjs_sources): Likewise.
3215 (make_paragraphs): Use subst.
3217 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3220 * automake.in (file_contents_internal): Prototype now `$$%'.
3221 (register_language): Prototype now `%'.
3223 Fixes test subobj6.test and PR automake/160:
3224 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3225 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3226 (distclean-compile): Added DISTRMS.
3227 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3228 `mostlyclean' use; added test for non-subdir case.
3229 * automake.in (compile_clean_files): New global.
3230 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3231 (initialize_per_input): Initialize compile_clean_files.
3232 (handle_single_transform_list): Set compile_clean_files entries.
3233 (handle_compile): Handle compilation cleanups.
3235 2001-05-08 Lars J. Aas <larsa@sim.no>
3237 * automake.texi (Canonicalizing Automake macros): Document not
3238 canonicalizing strudels (@) anymore.
3240 2001-05-08 Akim Demaille <akim@epita.fr>
3242 * distdir.am (dist-all): Build all the flavors using a single
3245 2001-05-08 Akim Demaille <akim@epita.fr>
3247 * automake.in (&file_contents_internal): Apply the @cond_stack to
3248 the rules and assignments.
3249 Don't rely on `$.' as it's biased by &make_paragraphs.
3250 Don't remove backslashes in variable values.
3252 2001-05-08 Akim Demaille <akim@epita.fr>
3254 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3255 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3256 ($MACRO_PATTERN): Just catch the name of a macro.
3257 ($BOGUS_MACRO_PATTERN): Remove.
3258 ($ASSIGNMENT_PATTERN): New.
3259 (&file_contents_internal, &make_paragraphs): Adjust.
3260 (¯o_define): Catch bad macro names.
3261 (&cond_stack_endif): Better error message.
3262 (&file_contents_internal): Don't remove backslashes in variable
3264 (¯o_define): Do it for `+=' user variables.
3265 (&define_standard_variables): Use `undef' instead of a dummy
3267 (&make_paragraph): Be sure not to chop the trail of hash only
3268 lines: adjust the `##' regexp.
3269 (&rule_define): Fix a bug: don't read $1 but $target.
3270 * tests/condincl.test: Strengthen.
3272 2001-05-08 Akim Demaille <akim@epita.fr>
3274 * automake.in (Language): Add attributes `Name' and `config_vars'.
3275 (&finish): Work properly if there is no _finish.
3276 (Automake): Register language Names and AC_SUBST dependencies.
3277 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3278 (&handle_languages): Once per language, invoke
3279 `define_linker_variables', and check its config_vars.
3280 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3281 (&lang_java_finish): Remove.
3282 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3284 2001-05-08 Akim Demaille <akim@epita.fr>
3286 * automake.in (&file_contents_internal): Accept $IS_AM.
3287 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3289 2001-05-08 Akim Demaille <akim@epita.fr>
3291 * automake.in (am_install_var): Use `next' instead of `if' on the
3294 2001-05-08 Akim Demaille <akim@epita.fr>
3296 * automake.in (Language): Add attributes `lder' and `ld'.
3297 (®ister_language): Specify for cxx, objc, f77, gcj.
3298 (&define_linker_variable): New.
3299 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3300 (&lang_java_finish): Adjust.
3301 (&libtool_compiler): Remove.
3303 2001-05-08 Akim Demaille <akim@epita.fr>
3305 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3306 argument, as you don't use it.
3308 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3311 (&handle_programs): Don't mess with %lex_sources, as you don't use
3314 2001-05-08 Akim Demaille <akim@epita.fr>
3316 * automake.in (Language): Add attribute `link'.
3317 (®ister_language): Specify for cxx, objc, f77, gcj.
3318 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3319 (&lang_java_finish): Adjust.
3321 2001-05-08 Akim Demaille <akim@epita.fr>
3323 * automake.in (&define_compiler_variables): Use only $LANG as
3325 (&handle_languages): Adjust.
3327 2001-05-08 Akim Demaille <akim@epita.fr>
3329 * automake.in (&define_program_variable): Remove.
3330 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3332 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3333 * texinfos.am: Do it.
3335 2001-05-08 Akim Demaille <akim@epita.fr>
3337 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3339 * dejagnu.am: Do it.
3340 (site.exp): Use `if'.
3342 2001-05-08 Akim Demaille <akim@epita.fr>
3344 * automake.in: Formatting changes.
3345 (variable_dump, variables_dump): Rename as...
3346 (macro_dump, macros_dump): these.
3348 2001-05-08 Akim Demaille <akim@epita.fr>
3350 Support `if !COND', `else COND', `end COND'.
3352 * automake.texi (Conditionals): Document it.
3353 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3354 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3355 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3356 a leading `!' before the condition.
3357 (&handle_options): Use `\d'.
3358 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3359 (&read_am_file, &file_contents_internal): Use them.
3360 (&transform): No longer substitute `%!COND%', forcing the use of
3362 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3364 2001-05-08 Akim Demaille <akim@epita.fr>
3366 Uniform handling of per-object compilation rules.
3367 Note: Automake is repaired.
3369 * automake.in (&handle_languages): Output per object rules for all
3370 the objects, not only for those which language supports dependency
3372 Fix Automake: when outputting per-object rules, use `-o' if the
3373 language has no `output_flag', as it's really needed.
3374 (&handle_single_transform_list): Instead of special casing files
3375 which need per object rules but which language don't support
3376 dependency tracking, keep them in the queue for processing by
3377 `&handle_languages'.
3379 2001-05-08 Akim Demaille <akim@epita.fr>
3381 * automake.in (&handle_languages): `ext-compile.am' and
3382 `depend2.am' are now equivalent for generic rules: output only the
3384 * ext-compile.am: Remove.
3386 2001-05-08 Akim Demaille <akim@epita.fr>
3388 Note: This patch breaks Automake. Repaired within two patches.
3390 * automake.in (Language): Replace the attribute `output_arg' with
3391 `compile_flag' and `output_flag'.
3392 (Automake): Adjust language registrations.
3393 (&handle_languages): Transform `-c' and `-o' for both suffix and
3394 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3396 (&handle_single_transform_list): Adjust to `compile_flag' and
3398 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3400 2001-05-08 Akim Demaille <akim@epita.fr>
3402 * automake.in (&handle_languages): Don't transform %COMPILER%.
3403 Use `$lang->compiler' instead of `$pfx' to transform generic
3404 %COMPILE% and %LTCOMPILE%.
3405 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3406 of %COMPILER% and $<.
3408 2001-05-07 Akim Demaille <akim@epita.fr>
3410 * automake.in (&handle_languages): Use the same `%transform' for
3411 both `depend2.am' and `ext-compile.am'.
3412 Delay the definition of `$flag' so it is right before the first use,
3413 and rename as `$flags'.
3415 2001-05-07 Akim Demaille <akim@epita.fr>
3417 * automake.in (&handle_languages): Compute `$ltoutarg' and
3418 `$outarg' independently of dependency code.
3419 There is no use looping on a language's possible extensions since
3420 we loop over used extensions.
3421 Therefore, there is no use for a local `%transform'.
3423 2001-05-07 Akim Demaille <akim@epita.fr>
3425 * automake.in (&handle_languages): Don't use $comp.
3427 2001-05-07 Akim Demaille <akim@epita.fr>
3429 * automake.in (&handle_languages): Merge the two loops over
3430 %extension_seen/%languages into one and group code to be run once
3431 per language together.
3433 2001-05-07 Akim Demaille <akim@epita.fr>
3435 * automake.in (&handle_languages): Move the `if
3436 ($use_dependencies)' block so that loops over extensions and
3437 languages are next to each other.
3439 2001-05-07 Akim Demaille <akim@epita.fr>
3441 * automake.in (&depend2): Remove, merged into...
3442 (&handle_languages): here.
3444 2001-05-07 Akim Demaille <akim@epita.fr>
3446 * automake.in (&finish_languages): Rename as...
3447 (&handle_languages): this.
3448 Include the body of...
3449 (&handle_dependency): this.
3452 2001-05-06 Tom Tromey <tromey@redhat.com>
3455 * tests/Makefile.am (TESTS): Add subdir5.test.
3456 (XFAIL_TESTS): Likewise.
3457 * tests/subdir5.test: New file.
3459 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3460 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3462 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3464 (handle_options): Handle fork identifier in version number.
3466 * automake.texi (Dist): Document distcheck-hook.
3468 * tests/confh4.test: Update to reflect DEFS change.
3469 For PR automake/132.
3471 Fix for PR automake/132:
3472 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3474 (java): Remove INCLUDES and DEFS from compilation.
3475 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3476 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3477 (DEFAULT_INCLUDES): New macro.
3479 * automake.in (usage): Re-align explanatory text.
3480 Fixes PR automake/148.
3482 * automake.texi (Uniform): Don't use @PROGRAMS@.
3483 Fixes PR automake/154.
3485 For PR automake/160:
3486 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3487 (XFAIL_TESTS): Add subobj6.test.
3488 * tests/subobj6.test: New file.
3490 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3491 (Top level): Don't mention `flat'.
3492 (Extending): Likewise.
3493 (User Variables): New node.
3495 * distdir.am (distdir): Make subdirectory for each file.
3496 Fixes test subobj5.test.
3498 * tests/Makefile.am (TESTS): Add new file.
3499 (XFAIL_TESTS): Likewise.
3500 * tests/texinfo10.test: New file.
3502 2001-05-05 Pavel Roskin <proski@gnu.org>
3504 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3505 in the same way as @defcodeindex and @syncodeindex respectively.
3507 2001-05-05 Tom Tromey <tromey@redhat.com>
3509 * mans.am (install-man%SECTION%): Minor cleanup.
3510 (uninstall-man%SECTION%): Likewise.
3512 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3513 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3515 (uninstall-man%SECTION%): Likewise.
3516 * automake.in (handle_man_pages): Handle dist_ and nodist_
3519 * automake.texi (Future): Removed.
3521 (Hello): Don't mention `deep'.
3522 (Top level): Likewise.
3524 * automake.in (conditional_true_when): Use a hash, not index().
3525 Also, a TRUE component always results in a true return.
3526 Fixes test cond10.test. For PR automake/164.
3527 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3529 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3531 For PR automake/164:
3532 * tests/Makefile.am (TESTS): Added new file.
3533 (XFAIL_TESTS): Likewise.
3534 * tests/cond10.test: New file.
3536 2001-05-05 Tom Tromey <tromey@redhat.com>
3538 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3540 (install-info-am): Likewise.
3542 2001-05-05 Pavel Roskin <proski@gnu.org>
3544 * automake.in (scan_texinfo_file): Don't push undefined values
3547 2001-05-05 Richard Boulton <richard@tartarus.org>
3549 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3552 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3554 * automake.in (required_targets): Added uninstall-am.
3556 2001-05-05 Tom Tromey <tromey@redhat.com>
3558 Fix bug reported by Robert Boehne:
3559 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3561 (handle_dependencies): Likewise.
3562 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3563 substitution. Correct diff now has 30 lines. Look for space
3564 after losing `undef'.
3566 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3568 * m4/sanity.m4: Remove the temp file before possible error exits.
3570 2001-05-04 Akim Demaille <akim@epita.fr>
3572 * configure.in: Set perllibdir.
3575 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3577 * automake.in ($pkgdata_dir): New.
3578 (&require_file_internal): Use it.
3580 2001-05-03 Akim Demaille <akim@epita.fr>
3582 Case insensitive FS choke on Automake/ vs automake.
3583 Reported by Tim Van Holder.
3585 * Automake/: Move into...
3586 * lib/: this new directory.
3588 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3590 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3593 2001-04-30 Jim Meyering <meyering@lucent.com>
3595 * automake.in: Remove `/lib' from include directory.
3597 2001-04-27 Akim Demaille <akim@epita.fr>
3599 AM_INIT_AUTOMAKE is no longer optional.
3601 * automake.in ($seen_make_set, $seen_prog_install)
3602 ($seen_arg_prog): Remove.
3603 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3604 Remove related code.
3606 2001-04-27 Akim Demaille <akim@epita.fr>
3608 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3610 * tests/specflags3.test: here.
3612 2001-04-27 Akim Demaille <akim@epita.fr>
3614 * automake.in ($seen_path_xtra): Remove.
3615 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3616 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3618 2001-04-27 Akim Demaille <akim@epita.fr>
3620 * automake.in (&file_contents_internal): Declare it.
3622 2001-04-27 Akim Demaille <akim@epita.fr>
3624 * automake.in (&read_am_file, &file_contents_internal): Don't
3625 define macros when `FALSE', to avoid errors on doubly defined
3626 variables but under condition `FALSE'. In order to allow...
3627 (&am_install_var): When reading the associated file for the first
3628 time, enable `%?FIRST%'.
3629 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3630 * libs.am: Do it when `%?FIRST%'.
3632 2001-04-27 Akim Demaille <akim@epita.fr>
3634 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3635 * ansi2knr.am: Do it.
3636 Prefer `if %?FOO%' to `if %!FOO%'.
3638 2001-04-27 Akim Demaille <akim@epita.fr>
3640 * automake.in (®ister_language, &finish_languages): Use `pure'
3642 (®ister_language): Use %done properly with objects, not names.
3643 (&finish_languages): Replace `$non_c' with `$needs_c'.
3645 2001-04-27 Akim Demaille <akim@epita.fr>
3647 Unify LISP, PYTHON and JAVA primaries.
3649 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3650 return if there are no files, hook elisp-comp on the Autoconf
3651 macro, rely on lisp.am to define variables.
3652 (&handle_python, &handle_java): Likewise.
3653 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3654 `PYTHON' must be handled here, not in `&handle_python'.
3655 * java.am: Define needed variables and rules.
3657 2001-04-27 Akim Demaille <akim@epita.fr>
3659 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3661 * header.am: Include data.am.
3663 2001-04-27 Akim Demaille <akim@epita.fr>
3665 * automake.in (&am_install_var): Transform `PRIMARY'.
3666 * data.am: Equip with %PRIMARY%.
3668 2001-04-27 Akim Demaille <akim@epita.fr>
3670 * automake.in (@conditional_stack): Rename as...
3671 (@cond_stack): this.
3672 (&file_contents_internal): Support inclusion of files.
3674 2001-04-27 Akim Demaille <akim@epita.fr>
3676 * automake.in (&lang_extensions): Remove.
3677 (&add_depend2, &saw_sources_p): Adjust.
3678 * depend2.am: `%EXT%' no longer includes the dot.
3680 2001-04-27 Akim Demaille <akim@epita.fr>
3682 * automake.in (&finish_languages, &handle_single_transform_list)
3683 (&add_depend2, &handle_dependencies): No longer use the language
3684 name in `$lang'. Rename `$lang_obj' as `$lang'.
3686 2001-04-27 Akim Demaille <akim@epita.fr>
3688 * automake.in (®ister_language): Use `new Language' with a hash.
3690 2001-04-27 Akim Demaille <akim@epita.fr>
3692 * automake.in (®ister_language): Rename `output-arg' and
3693 `derived-autodep' as `output_arg' and `derived_autodep' to match
3694 the Language attribute.
3695 Set the defaults in %option instead of $lang.
3697 2001-04-27 Akim Demaille <akim@epita.fr>
3699 * Automake/: New directory.
3700 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3701 * automake.in (Language): Use Automake::Struct.
3702 * tests/defs: Adjust to find Struct.
3704 2001-04-23 Pavel Roskin <proski@gnu.org>
3706 * automake.in: Add forward declaration for register_language().
3707 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3710 2001-04-20 Akim Demaille <akim@epita.fr>
3712 * automake.in (%required_targets): Add `uninstall'.
3713 From Robert Collins.
3715 2001-04-12 Akim Demaille <akim@epita.fr>
3717 * automake.in (Language): Add attribute `name'.
3718 (®ister_language): The name of the language is now given in the
3720 No longer use `$lang' as the name of the language.
3721 Rename `$lang_obj' as `$lang'.
3723 2001-04-12 Akim Demaille <akim@epita.fr>
3725 * automake.in (Language): Add attribute `_finish'.
3728 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3729 (&lang_asm_finish): Remove.
3731 2001-04-12 Akim Demaille <akim@epita.fr>
3733 * automake.in (Language): Add attribute `extensions'.
3734 (Automake): Pass a hash to `®ister_language' instead of a
3735 list of pseudo assignments.
3736 (®ister_language): Adjust.
3737 (&finish_languages): Initialize `$ltoutarg'.
3739 2001-04-12 Akim Demaille <akim@epita.fr>
3741 * automake.in (Language): Add attribute `output_arg'.
3742 (%language_map): Remove.
3743 (®ister_language): Build only the object, and store in
3745 (&finish_languages, &handle_single_transform_list): Adjust.
3747 2001-04-12 Akim Demaille <akim@epita.fr>
3749 * automake.in (Language): Add attributes `flags', `compile' and
3751 (&finish_languages, &handle_single_transform_list, &handle_dist)
3752 (&add_depend2, ®ister_language): Use them and the `linker' and
3755 2001-04-12 Akim Demaille <akim@epita.fr>
3757 * automake.in (&handle_single_transform_list, &finish_languages)
3758 (&handle_dist, &handle_dependencies): Use the language object for
3759 autodep and derived-autodep too.
3761 2001-04-12 Akim Demaille <akim@epita.fr>
3763 * automake.in (¯o_define): Ignore Automake definition for
3764 ($var, $cond) if there is already a user definition for ($var, $cond).
3766 2001-04-12 Akim Demaille <akim@epita.fr>
3768 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3769 but also @deffn and so on which push data in indexes.
3770 Reported by Derek R. Price.
3772 2001-04-12 Akim Demaille <akim@epita.fr>
3774 * automake.in (Language): New package, temporarily in this file.
3776 (Automake): New package.
3778 (&handle_single_transform_list): Use the language object's `ansi'
3779 attribute instead of `$language_map{"$lang-ansi-p"}'.
3780 (®ister_language): Build and register the language too.
3782 2001-04-11 Tom Tromey <tromey@redhat.com>
3784 Fixes report from Larry Jones:
3785 * automake.in (handle_dependencies): Add `@_am_quote@' where
3787 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3789 2001-04-11 Akim Demaille <akim@epita.fr>
3791 * depend2.am: Fix the `if' condition for Libtool.
3792 Reported by Robert Boehne.
3794 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3796 * tests/subobj5.test: New file.
3798 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3800 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3801 * tests/Makefile.am (TESTS): Added make.test.
3802 * tests/make.test: New file.
3804 2001-04-10 Tom Tromey <tromey@redhat.com>
3806 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3808 2001-04-10 Derek R. Price <dprice@collab.net>
3810 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3812 2001-04-10 Akim Demaille <akim@epita.fr>
3814 * distdir.am: Add a missing backslash.
3816 2001-04-10 Akim Demaille <akim@epita.fr>
3818 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3820 Specify to the caller whether $regen_aclocal_m4.
3821 (&handle_configure): Adjust.
3822 Transform `REGEN-ACLOCAL-M4'.
3824 * configure.am: Use it.
3825 * tests/defs (me): New.
3826 * tests/confdeps.test: New.
3828 2001-04-09 Tom Tromey <tromey@redhat.com>
3830 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3831 Fixes report from Jim Meyering.
3833 2001-04-09 Akim Demaille <akim@epita.fr>
3835 * automake.in (&handle_configure): Don't bother with optimizing
3838 2001-04-09 Akim Demaille <akim@epita.fr>
3840 * tests/cond3.test (expected): Adjust.
3842 2001-04-09 Akim Demaille <akim@epita.fr>
3844 * automake.in (&handle_single_transform_list): Remove $xbase,
3846 (&handle_source_transform): All the variables have conditions now,
3848 (&variable_delete): Admit an argument @conds.
3850 2001-04-09 Akim Demaille <akim@epita.fr>
3852 * automake.in ($source_suffix_pattern): Remove, unused.
3853 %extension_map seems to have replaced it.
3855 2001-04-09 Akim Demaille <akim@epita.fr>
3857 * ext-compile.am: New file.
3858 * automake.in (&finish_languages): Output it.
3859 Require a C linker if there are several registered source suffixes.
3860 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3861 extensions, which are discovered in ext-compile.am.
3862 With the help from Robert Boehne.
3864 2001-04-09 Akim Demaille <akim@epita.fr>
3866 * automake.in (&handle_compile): Extract from...
3867 (&get_object_extension): here.
3868 (&read_am_file): Call it.
3869 ($included_generic_compile, $included_knr_compile)
3870 ($included_libtool_compile): Remove.
3871 ($get_object_extension_was_run): New.
3873 2001-04-09 Akim Demaille <akim@epita.fr>
3875 Use AM_CONDITIONAL and if/endif for AMDEP.
3877 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3878 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3879 to a configure time if/endif), or to `FALSE' (static removal of
3881 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3882 * depend2.am: Use if/endif.
3884 Adjust the 101 tests that use dependencies so that they
3885 properly invoke aclocal before automake. They need to `see'
3886 `AM_CONDITIONAL([AMDEP], ...)'.
3888 2001-04-09 Akim Demaille <akim@epita.fr>
3890 * tags.am: Fix missing leading tabs.
3892 2001-04-09 Akim Demaille <akim@epita.fr>
3894 * automake.in: Use simple quotes to define the _PATTERN variables
3895 to unobfuscate the regexps.
3896 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3898 2001-04-09 Akim Demaille <akim@epita.fr>
3900 * automake.in (&rule_define): When you discover a suffix rules,
3901 register the extensions for .SUFFIXES.
3902 (&handle_texinfo): Don't register the suffixes.
3903 (&get_object_extension): Don't register suffixes, let them be
3904 discovered in depend2.am.
3905 (&handle_emacs_lisp): Depend on your lisp.am.
3906 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3908 2001-04-09 Akim Demaille <akim@epita.fr>
3910 * subdirs.am: Don't define info related recursive targets.
3913 2001-04-09 Akim Demaille <akim@epita.fr>
3915 * subdirs.am (RECURSIVE_TARGETS): New variable.
3917 * automake.in (&handle_subdirs): Output it.
3918 (&file_contents_internal): Support value spread on several lines.
3920 2001-04-09 Akim Demaille <akim@epita.fr>
3922 * automake.in (&handle_man_pages): Rely on mans.am to define
3923 man%SECTION%dir and MANS.
3926 2001-04-09 Akim Demaille <akim@epita.fr>
3928 * automake.in (&variable_dump): Use %var_type properly.
3929 (¯o_define): Enforce better overriding rules.
3930 Handle the special case that used to handle...
3931 (&define_pretty_variable): this.
3933 The variables you define are owned by Automake.
3934 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3936 (&variable_defined): Now independent of the owner.
3937 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3939 2001-04-09 Akim Demaille <akim@epita.fr>
3941 * automake.in (%var_was_plus_eq): Rename as...
3943 (%def_type): Remove.
3944 (¯o_define): %var_type may now hold `', `+', or `:'.
3945 (%conditional, %am_vars, %content_lines): Rename as...
3946 (%var_value, %var_comment, %var_line): these.
3948 2001-04-09 Akim Demaille <akim@epita.fr>
3950 * automake.in (&variable_output): Admit a list of @CONDS.
3951 (&variable_pretty_output): New.
3952 (&define_pretty_variable): Use it.
3953 (&read_am_file, &file_contents_internal): Prepend a separator to
3954 $am_vars only if there is none yet.
3955 (&file_contents_internal): Rename $separator as $spacing to
3956 harmonize with &read_am_file.
3958 2001-04-09 Akim Demaille <akim@epita.fr>
3960 * automake.in (&am_install_var): Transform DIST, and let the *.am
3961 files handle DIST_COMMON.
3962 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3965 2001-04-09 Akim Demaille <akim@epita.fr>
3967 * automake.in (%dist_common): Remove.
3968 (%configure_dist_common): Replace with...
3969 ($configure_dist_common): this.
3970 (&generate_makefile): Read the user file before using
3971 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3972 that no variable is defined before it is run.
3973 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3974 (&dist_cmp): Rename as...
3975 (&for_dist_common): this.
3976 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3978 Adjust to $configure_dist_common.
3979 * configure.am, texi-vers.am: Set DIST_COMMON.
3981 2001-04-09 Akim Demaille <akim@epita.fr>
3983 * automake.in (&handle_aclocal_m4): Rename as...
3984 (&scan_aclocal_m4): this.
3985 Return the list of aclocal.m4 dependencies.
3986 (&handle_configure): Invoke it, and use it when loading...
3987 * configure.am: Template the rules to recreate aclocal.m4.
3989 2001-04-09 Akim Demaille <akim@epita.fr>
3991 * automake.in (&get_object_extension): Use ansi2knr.am.
3992 * clean-kr.am, kr-extra.am: Remove, merged into...
3993 * ansi2knr.am: this new file.
3995 2001-04-09 Akim Demaille <akim@epita.fr>
3997 * automake.in (&transform): Fix an incredible bug which was
3998 breaking the if/endif system.
3999 ($ELSE_PATTERN): Admit an optional argument.
4001 2001-04-09 Akim Demaille <akim@epita.fr>
4003 * comp-vars.am: Remove, merged into...
4005 * automake.in (&get_object_extension): Adjust.
4007 2001-04-09 Akim Demaille <akim@epita.fr>
4009 * remake.am: Merge into...
4010 * configure.am: ... here.
4011 * automake.in (&handle_configure): Adjust.
4013 2001-04-09 Akim Demaille <akim@epita.fr>
4015 * automake.in (&output_lex_build_rule): Output this...
4018 2001-04-09 Akim Demaille <akim@epita.fr>
4020 * automake.in (&condition_negate): New.
4021 (&variable_conditions_permutations): Use it.
4022 (&read_am_file, &file_contents): Use it on `else' clauses to
4024 (&output_yacc_build_rule): Output this...
4025 * yacc.am: New file.
4027 2001-04-09 Akim Demaille <akim@epita.fr>
4029 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
4030 (&handle_dist): Don't.
4031 (&handle_clean): Don't handle config.status here, let...
4032 * clean.am: ... do it.
4033 * distdir.am: Adjust.
4035 2001-04-09 Akim Demaille <akim@epita.fr>
4037 * automake.in: Use strict vars and subs.
4038 Declare `%require_file_found'.
4039 (&handle_source_transform, &make_paragraphs): Declare my variables.
4041 2001-04-09 Akim Demaille <akim@epita.fr>
4043 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4044 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
4045 * java.am (_am_installdirs): Be sure to set it.
4047 2001-04-09 Akim Demaille <akim@epita.fr>
4049 * automake.in (&make_condition): Return '#' when FALSE.
4050 (&conditional_string): Return FALSE, not '#' in the corresponding
4052 (&file_contents_internal): Adjust.
4053 (&check_variable_defined_unconditional): Dump the guilty variable.
4055 2001-04-09 Akim Demaille <akim@epita.fr>
4057 * distdir.am: Use and abuse of if/endif.
4058 * scripts.am: Using if/endif with variables is fine.
4060 2001-04-09 Akim Demaille <akim@epita.fr>
4062 * automake.in (&make_paragraphs): Extract from &file_contents.
4063 Make it more robust than the previous RE based scheme.
4064 (&file_contents): Use it.
4066 2001-04-09 Akim Demaille <akim@epita.fr>
4068 * automake.in (&make_paragraphs): Extract from &file_contents.
4069 Make it more robust than the previous RE based scheme.
4070 (&file_contents): Use it.
4072 2001-04-09 Akim Demaille <akim@epita.fr>
4074 * tests/yacc2.test: Don't define several times a variable, as
4077 2001-04-09 Akim Demaille <akim@epita.fr>
4079 * automake.in (&handle_source_transform): Fix pr72: don't define
4080 $linker if there are no @files.
4082 2001-04-09 Akim Demaille <akim@epita.fr>
4084 Avoid reading twice header-vars.am as now macro_define
4087 * automake.in (&define_standard_variables): Don't output the
4089 (&read_main_am_file): Output first user variables, then Automake
4091 Don't call twice &define_standard_variables.
4092 Save variable comments in $am_vars.
4093 (&variable_output): New.
4094 (&file_contents_internal): New.
4095 Save variable comments in $am_vars.
4096 (&file_contents): Use it.
4098 2001-04-09 Akim Demaille <akim@epita.fr>
4100 * automake.in (¯o_define): The user is allowed to override
4101 a value if it was set by Automake, or if it was found in AC_SUBST.
4103 2001-04-09 Akim Demaille <akim@epita.fr>
4105 * automake.in (&handle_source_transform): Better locality of the
4107 Use `next' to skip nonexistent variables.
4109 2001-04-09 Akim Demaille <akim@epita.fr>
4111 * automake.in (&variable_dump): If a variable is undefined, say
4113 (&check_ambiguous_conditional): Give finer error messages.
4114 (¯o_define): Check that a `+=' variable is not set with `='.
4115 Check for ambiguous definitions each time you _set_ (even with `+=')
4117 (&read_main_am_file): Perform a deep copy of %conditional.
4119 2001-04-09 Akim Demaille <akim@epita.fr>
4121 * automake.in (&variable_defined): Some callers, e.g.,
4122 &am_primary_prefixes, really want to know if the variable is
4123 defined for any condition, not `TRUE' by default.
4124 (&am_primary_prefixes): Give a more precise error message.
4126 2001-04-09 Akim Demaille <akim@epita.fr>
4128 (&variable_conditions): Don't include `FALSE' in the result.
4130 2001-04-09 Akim Demaille <akim@epita.fr>
4132 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4133 (&variable_conditions): Don't include `FALSE' in the result.
4135 2001-04-09 Akim Demaille <akim@epita.fr>
4137 * tests/defs, tests/depend3.test: Remove useless code.
4139 2001-04-09 Akim Demaille <akim@epita.fr>
4141 * automake.in (&handle_source_transform): Use
4142 &variable_conditions, don't read $conditional{$var}.
4143 (&variable_conditions_sub): When the call is the top level call,
4144 generate all the permutations of the conditions.
4146 2001-04-09 Akim Demaille <akim@epita.fr>
4148 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4149 that it does not get noticed twice by automake, which now
4150 complains for multiple definitions.
4151 * tests/vartar.test: s/INSTALL/install/g, automake now complains
4152 because we defined INSTALL.
4154 2001-04-09 Akim Demaille <akim@epita.fr>
4156 * automake.in (&generate_makefile) Use macro_define to define
4157 SOURCES and OBJECTS.
4158 (&variable_defined): Don't check for $conditional{VAR}{COND} as
4159 this would make perl create $condition{VAR}, which we don't want.
4161 2001-04-09 Akim Demaille <akim@epita.fr>
4163 * automake.in (&variable_defined, &define_pretty_variable):
4164 Simplify code which used to handle the cases where not all
4165 variables were in %conditional.
4166 (&define_variable): Use &define_pretty_variable.
4167 (&variable_conditions_sub, &variable_value_as_list_worker)
4168 (&variable_value_as_list, &rule_define): Simplify syntax.
4169 (&read_main_am_file): Dump the guilty predefined variables.
4171 2001-04-09 Akim Demaille <akim@epita.fr>
4173 * automake.in (&variable_conditions_sub)
4174 (&variable_value_as_list_worker): Remove dead code which used to
4175 handle the cases where not all variables were in %conditional.
4177 2001-04-09 Akim Demaille <akim@epita.fr>
4179 * automake.in (&handle_source_transform, &read_main_am_file):
4180 Simplify loops which were split in two parts, conditional vs
4181 unconditional variables.
4183 2001-04-09 Akim Demaille <akim@epita.fr>
4185 Handle unconditional values of variables as conditioned by
4188 * automake.in (%contents): Remove.
4189 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4190 (&read_am_file, &variable_defined, &variable_conditions_sub)
4191 (&variable_value, &variable_value_as_list_worker)
4192 (&variable_value_as_list, &define_pretty_variable)
4193 (&read_main_am_file): Use
4194 $conditional, not %contents.
4195 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4196 (&variable_conditionally_defined): New.
4197 (&handle_dist): Use it.
4198 (&check_ambiguous_conditional): When multiply defined, specify
4199 under which condition.
4200 (¯o_define): Use it.
4201 (&variable_delete): New.
4202 (&read_am_file): Use it.
4203 (&am_install_var): Simplify, as all the variables are in
4206 2001-04-07 Tom Tromey <tromey@redhat.com>
4208 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4210 * tests/man.test: New file.
4212 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4214 * depcomp (gcc3): Invert test condition.
4216 2001-04-07 Tom Tromey <tromey@redhat.com>
4218 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4219 statement. Report from Larry Jones.
4221 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4223 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4225 2001-04-01 Tom Tromey <tromey@redhat.com>
4227 * java.am (.PHONY clean-am): Removed trailing ":".
4228 From Per Bothner. Fixes PR automake/139.
4230 2001-03-28 Akim Demaille <akim@epita.fr>
4232 * program.am: Fix a stupid typo: now *all* (not none) the programs
4234 Reported by Robert Boehne.
4236 2001-03-23 Akim Demaille <akim@epita.fr>
4238 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4241 2001-03-23 Akim Demaille <akim@epita.fr>
4243 * automake.in (&variable_conditionally_defined): Rename as...
4244 (&check_variable_unconditionally_defined): this.
4245 (&variable_dump): Fix the output.
4246 (&variable_defined, ¯o_define): Since conditions are
4247 canonicalized, don't use a loop to look for a condition: read the
4249 (¯o_define, &rule_define, &read_am_file, &file_contents):
4250 Rename $cond_string as $cond.
4251 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4252 discovered via AC_SUBST, they now trigger a `defined twice' error.
4254 2001-03-23 Akim Demaille <akim@epita.fr>
4256 * automake.in (&handle_footer, &handle_installdirs)
4257 (&read_main_am_file): Don't read %contents directly, use
4260 2001-03-23 Akim Demaille <akim@epita.fr>
4262 * automake.in (&read_am_file): Define the variables in a single
4264 Factor the $saw_bk code.
4266 2001-03-23 Akim Demaille <akim@epita.fr>
4268 * automake.in (&read_am_file): Keep $cond_string up to date.
4270 2001-03-23 Akim Demaille <akim@epita.fr>
4272 * automake.in (&define_variable): Use ¯o_define.
4274 2001-03-23 Akim Demaille <akim@epita.fr>
4276 * automake.in (¯o_define): Don't lose the location if we
4277 redefine a variable.
4278 Don't push all the variables in @var_list, let...
4279 (&read_am_file, &file_contents): ... do it.
4280 (&define_pretty_variable): Use macro_define.
4281 (&am_install_var): Delete the value of variables being redefined
4282 to pacify ¯o_define which checks that variables are not
4285 2001-03-23 Akim Demaille <akim@epita.fr>
4287 * automake.in (&conditional_dump): Rename as...
4288 (&variables_dump): this. Use...
4289 (&variable_dump): this new sub.
4291 2001-03-23 Akim Demaille <akim@epita.fr>
4293 * automake.in (&file_contents): Maintain $cond_string sync with
4295 Output rules only if not under `FALSE'.
4296 Define variables under $cond_string.
4297 * scripts.am: For the time being if/endif does not work properly
4300 2001-03-23 Akim Demaille <akim@epita.fr>
4302 * automake.in (IF_PATTERN): Unobfuscate the parens.
4303 (ENDIF_PATTERN): Allow a condition to be specified.
4304 (&file_contents): Use a @cond_stack.
4305 (&transform): At least for an easy transition, also transform
4306 %?FOO% and %!FOO%, as suggested by Lars.
4307 * scripts.am: First test bed for static if/endif use.
4309 2001-03-23 Akim Demaille <akim@epita.fr>
4311 * automake.in (&file_contents): Use rule_define.
4313 2001-03-23 Akim Demaille <akim@epita.fr>
4315 * automake.in (¯o_define): Don't rely on $1.
4316 Initialize the variable.
4317 Set its Automakism only if not defined or if given to the user.
4318 When concatenating values, insert a separator only if the value
4320 (&read_am_file): When dumping the @var_list, skip Automake
4322 (&file_contents): Use macro_define.
4324 2001-03-23 Akim Demaille <akim@epita.fr>
4326 * automake.in (&rule_define): Extract from...
4327 (&read_am_file): here.
4329 2001-03-23 Akim Demaille <akim@epita.fr>
4331 * automake.in (¯o_define, &read_am_file): More work for the
4332 former from the latter. Reorganize the latter.
4334 2001-03-23 Akim Demaille <akim@epita.fr>
4336 * automake.in (¯o_define): Extract from...
4337 (&read_am_file): here.
4339 2001-03-23 Akim Demaille <akim@epita.fr>
4341 * automake.in (%am_var_defs): Replace with...
4343 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4344 (&file_contents, am_primary_&prefixes): Adjust.
4345 (&variable_defined, &define_variable): The actual semantics is
4347 (&read_main_am_file): Assert the var is user defined when
4348 outputting @var_list.
4350 2001-03-23 Akim Demaille <akim@epita.fr>
4352 * automake.in (read_am_file): TRUE and FALSE are predefined
4354 (&by_condition): Adjust.
4355 (&conditional_string): Recognize `TRUE' and `FALSE'.
4356 (&make_condition): Use it.
4357 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4358 * automake.texi (Conditionals): Adjust.
4359 * tests/cond9.test: s/FALSE/WRONG/.
4361 2001-03-12 Pavel Roskin <proski@gnu.org>
4363 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4366 2001-03-12 Akim Demaille <akim@epita.fr>
4368 * automake.in (&variable_conditions_permutations): Separate the
4370 * tests/cond3.test: Improve the sed expression.
4372 2001-03-09 Pavel Roskin <proski@gnu.org>
4374 * Makefile.am (maintainer-check): Scan all *.am files and tests
4375 for invocations of `rm' without `-f'.
4376 * tests/mclean.test: Adjusted to prevent triggering the above
4379 2001-03-09 Tom Tromey <tromey@redhat.com>
4381 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4382 maintainer-check failure.
4384 2001-03-09 Akim Demaille <akim@epita.fr>
4386 * tests/cond3.test: Strengthen.
4388 2001-03-09 Akim Demaille <akim@epita.fr>
4390 * automake.in (&conditional_string): Produce a unique string
4391 characterizing a condition stack.
4392 (&conditional_same): Remove, comparing two strings is now enough.
4393 (&variable_defined): Adjust.
4394 (&read_am_file): Use conditional_string.
4396 2001-03-08 Akim Demaille <akim@epita.fr>
4398 * automake.in: Use -w.
4399 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4400 (&parse_arguments): Support --Werror and --Wno-error as a
4401 temporary hack until --warning/-W is properly implemented.
4402 (&handle_single_transform_list): Prototype.
4403 Be sure to define $directory.
4404 Use `exists' instead of testing the value of a maybe undefined
4406 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4407 (&handle_factored_dependencies): Use defined values.
4408 (&scan_one_autoconf_file): Save $_.
4409 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4410 Run automake with --Wno-error.
4412 2001-03-07 Akim Demaille <akim@epita.fr>
4414 * automake.in (&handle_all): Use an array instead of a scalar for
4416 Get rid of all-redirect: let `all' be that target.
4418 2001-03-07 Akim Demaille <akim@epita.fr>
4420 * automake.in (&handle_merge_targets): Ventilate its non `all'
4421 related content into...
4422 (&generate_makefile): here.
4423 (&handle_merge_targets): Rename as...
4424 (&handle_all): this.
4425 Remove a useless `if': `@all' is obviously not empty, since it
4426 contains at least the `basename ($makefile)' which has just been
4429 2001-03-07 Akim Demaille <akim@epita.fr>
4431 * automake.in, aclocal.in: Backquote is inert in double quotes.
4433 2001-03-06 Akim Demaille <akim@epita.fr>
4435 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4438 2001-03-06 Pavel Roskin <proski@gnu.org>
4440 * java.am: Use `rm -f' instead of `rm'.
4442 2001-03-06 Akim Demaille <akim@epita.fr>
4444 * automake.in (&push_dist_common): Simplify.
4446 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4448 * ltlib.am: Replaced spaces with tab.
4450 2001-03-06 Pavel Roskin <proski@gnu.org>
4452 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4455 2001-03-05 Pavel Roskin <proski@gnu.org>
4457 * header.am, scripts.am: Use ?INSTALL? in the install and
4460 2001-03-05 Pavel Roskin <proski@gnu.org>
4462 * tests/copy.test: Never use `rm' without `-f' - it may ask
4463 questions, notably for read-only files during `make distcheck'.
4464 * tests/insh.test: Likewise.
4465 * tests/installsh.test: Likewise.
4466 * tests/symlink.test: Likewise.
4467 * tests/symlink2.test: Likewise.
4468 * tests/symlink3.test: Likewise.
4470 2001-03-05 Pavel Roskin <proski@gnu.org>
4472 * noinstdir.test: New test.
4473 * tests/Makefile.am (TESTS): Add noinstdir.test.
4474 (XFAIL_TESTS): Likewise.
4476 2001-03-05 Akim Demaille <akim@epita.fr>
4478 * automake.in (&handle_options): Change the RE so that the third
4479 part of the versions always exist.
4480 (&file_contents): Don't pass uninitialized values to &transform.
4482 2001-03-05 Akim Demaille <akim@epita.fr>
4484 * automake.in (&file_contents): Require a hash as second argument.
4487 2001-03-05 Akim Demaille <akim@epita.fr>
4489 Always use hashes with &file_contents.
4491 * automake.in (&handle_texinfo): texibuild.am does not need
4493 texinfos.am wants only TEXICLEANS.
4494 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4496 * texinfos.am: Adjust.
4498 2001-03-05 Akim Demaille <akim@epita.fr>
4500 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4501 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4502 (&am_install_var): Forget about `-clean'.
4503 Transform ?INSTALL?.
4504 Always output the *.am file.
4505 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4506 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4507 Remove, merged into the corresponding *.am file.
4508 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4511 2001-03-05 Pavel Roskin <proski@gnu.org>
4513 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4515 2001-03-05 Akim Demaille <akim@epita.fr>
4517 If OBJEXT and EXEEXT are not set, provide a default value, and use
4518 them unconditionally.
4520 * automake.in (&generate_makefile): Provide default values for
4522 (&get_object_extension, &finish_languages)
4523 (&handle_single_transform_list, &handle_programs, &add_depend2)
4524 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4525 them, they are defined.
4526 * compile.am, depend2.am, program.am, progs.am: Likewise.
4527 * remake-hdr.am: Fix a typo.
4528 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4529 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4530 * tests/suffix2.test: Adjust.
4532 2001-03-05 Akim Demaille <akim@epita.fr>
4534 * automake.in (&file_contents): Map MAINTAINER-MODE to
4535 @MAINTAINER_MODE_TRUE@ or nothing.
4536 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4539 2001-03-05 Akim Demaille <akim@epita.fr>
4541 * automake.in (&do_one_merge_target): Remove, was only called from...
4542 (&handle_merge_targets): here for `all'.
4545 2001-03-05 Akim Demaille <akim@epita.fr>
4547 Make the installation/uninstallation of Info pages follow the
4548 regular am/recursive scheme.
4550 * automake.in (%required_targets, %dependencies): Add
4552 (%dependencies): Add install-info, install-info-am, and
4554 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4555 reversed BTW. Does anybody use the option `no-installinfo'?
4556 (&handle_merge_targets): Let the handling of info related targets
4558 (&handle_factored_dependencies): this.
4559 * subdirs.am: Use ?INSTALL-INFO?.
4560 * texinfos.am: Define the install-info, uninstall-info and
4561 uninstall-info-am targets.
4563 2001-03-05 Akim Demaille <akim@epita.fr>
4565 * automake.in (%required_targets, %dependencies): Add dvi, info,
4567 (@info, @dvi): Remove.
4568 (&handle_texinfo, &handle_merge_targets): Adjust.
4569 (&handle_factored_dependencies): Required targets are phony.
4570 * texinfos.am: Build info, dvi, and the corresponding -am or
4573 2001-03-05 Akim Demaille <akim@epita.fr>
4575 * automake.in (&am_install_var): Remove $cygxform, unused.
4577 2001-03-05 Akim Demaille <akim@epita.fr>
4579 * automake.in (&file_contents): Transform LIBTOOL.
4580 (&am_install_var): Remove $ltxform.
4581 * ltlib.am, progs.am: Adjust.
4583 2001-03-05 Akim Demaille <akim@epita.fr>
4585 * automake.in: Require AC_PROG_INSTALL in...
4586 (&scan_autoconf_files): here.
4588 2001-03-05 Akim Demaille <akim@epita.fr>
4590 * configure.am: New file.
4591 * automake.in (&file_contents): Transform CONFIGURE-AC.
4592 (&handle_texinfo, &handle_configure): Don't transform
4594 (&handle_configure): Use `configure.am'.
4595 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4596 MAINTAINER-MODE and CONFIGURE-AC.
4598 2001-03-05 Akim Demaille <akim@epita.fr>
4600 * automake.in (&pretty_print_internal): Don't output useless
4602 (define_pretty_variable): Don't issue the space after the `=' sign
4603 to avoid trailing spaces in Makefile.ins.
4605 2001-03-05 Akim Demaille <akim@epita.fr>
4607 * automake.in (&generate_makefile): Invoke &initialize_per_input
4608 *before* setting $am_file_name and $in_file_name.
4610 2001-03-05 Akim Demaille <akim@epita.fr>
4612 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4613 Globals, initialized...
4614 (&initialize_per_input): here.
4616 2001-03-05 Akim Demaille <akim@epita.fr>
4618 * automake.in ($am_relative_dir): Global.
4619 (&initialize_per_input): Init it.
4620 (%make_list, @make_input_list): My them from
4621 (&scan_autoconf_files): here.
4622 (&require_file_internal): Mying changes.
4624 2001-03-05 Akim Demaille <akim@epita.fr>
4626 * automake.in (%am_vars, @var_list, %def_type): Globals.
4627 (&initialize_per_input): Initialize them.
4628 (&read_main_am_file): Don't local them.
4629 (&get_object_extension): $objext is private.
4630 (&handle_single_transform_list): $lang is.
4631 (&handle_ltlibraries): $libname_rx is.
4632 (&scan_autoconf_config_files): How about actually paying attention
4633 to your arguments, instead of working on $_? (this is no Perl
4634 variable, it's a Perl variable followed by a question mark).
4635 (&file_contents): $contents and $separator are private.
4636 (&am_install_var): Declare @condvals, not $condvals.
4639 2001-03-05 Akim Demaille <akim@epita.fr>
4641 * automake.in (&initialize_per_input): Move to the top.
4642 Precede with the `my' list of its variables.
4644 2001-03-05 Akim Demaille <akim@epita.fr>
4646 * automake.in ($am_file): Use vars.
4647 ($am_file_name, $in_file_name): Private to &generate_makefile.
4649 2001-03-05 Akim Demaille <akim@epita.fr>
4651 * automake.in: Preparation for `use strict': Move the
4652 initialization of the constants to the top, from...
4653 (&initialize_global_constants): here.
4655 2001-03-05 Akim Demaille <akim@epita.fr>
4657 * automake.in (&handle_single_transform_list, &add_depend2): Let
4658 $lang_specific_files{$lang} be a list instead of a string.
4660 2001-03-05 Akim Demaille <akim@epita.fr>
4662 Let's make it run ten times faster...
4664 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4666 (&file_contents): Let `$command' remove the Automake commands, and
4667 normalize the series of `\n'.
4668 Slurp the file and apply $command in a single step.
4669 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4670 is already normalized to be handled by &transform.
4672 2001-03-05 Tom Tromey <tromey@redhat.com>
4674 * automake.in (register_language): Add entry for `-pure'.
4675 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4676 (finish_languages): Use `-pure' field of language map.
4678 2001-03-03 Tom Tromey <tromey@redhat.com>
4680 * tests/yaccvpath.test: No need to remove dummy files.
4681 * tests/subobj3.test: No need to remove dummy files.
4682 * tests/pr9.test: No need to remove dummy files.
4683 * tests/pr87.test: No need to remove dummy files.
4684 * tests/pr19.test: No need to remove dummy files.
4685 * tests/install2.test: No need to remove dummy files.
4686 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4689 2001-02-27 Pavel Roskin <proski@gnu.org>
4691 * tests/yaccvpath.test: Add a delay to make parse.c really out
4692 of date. Detect the problem earlier, after `make distdir'. Drop
4693 dependency on flex. Always use the `-y' flag for bison. Comment
4695 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4697 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4699 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4701 2001-02-28 Akim Demaille <akim@epita.fr>
4703 * automake.in (&add_depend2): Transform `GENERIC'.
4704 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4705 addition was broken by the `@ -> %' patch.
4706 * depend2.am: Adjust to use ?GENERIC?.
4708 2001-02-28 Akim Demaille <akim@epita.fr>
4710 * Makefile.am (maintainer-check): `undef $/' is OK.
4712 2001-02-28 Akim Demaille <akim@epita.fr>
4714 * automake.in (&handle_configure): Fortunately, $top_reldir,
4715 the definition of which was highly suspicious, was unused.
4717 2001-02-27 Akim Demaille <akim@epita.fr>
4719 * automake.in (%exec_dir_p): Move to the top so that it is visible
4722 2001-02-27 Pavel Roskin <proski@gnu.org>
4724 * tests/yaccvpath.test: Prevent automake from looking into ..
4725 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4727 2001-02-27 Akim Demaille <akim@epita.fr>
4729 * automake.in (%exec_dir_p): Pulled out from...
4730 (&am_primary_prefixes): here.
4732 2001-02-27 Akim Demaille <akim@epita.fr>
4734 * automake.in (&usage): Display $0, not $me.
4736 2001-02-27 Akim Demaille <akim@epita.fr>
4738 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4739 * automake.in (&handle_clean): Don't escape what's given to
4742 2001-02-27 Akim Demaille <akim@epita.fr>
4744 Distinguish automake substitutions from config.status
4747 * automake.in (&add_depend2): Transform AMDEP.
4748 (&handle_clean): Transform MCFILES and MFILES.
4749 (&file_contents): Transform MAINTAINER_MODE.
4750 (&transform, &am_install_var): Use `%', not `@'.
4751 Adjust all the *.am files.
4752 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4753 * depend2.am: Display the double dependency on both ?AMDEP? and
4756 2001-02-27 Tom Tromey <tromey@redhat.com>
4758 * distdir.am (distcheck): Fixed new code.
4760 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4761 Only configure once.
4763 * distdir.am (distcheck): Print error message if distclean failed
4766 2001-02-27 Pavel Roskin <proski@gnu.org>
4768 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4770 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4772 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4773 * tests/yaccvpath.test: New file.
4775 2001-02-26 Akim Demaille <akim@epita.fr>
4777 * automake.in (&am_install_var): Recognize whether predefined
4778 directories are `data' or `exec'.
4779 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4781 * tests/instdata2.test: Update.
4783 2001-02-26 Akim Demaille <akim@epita.fr>
4785 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4786 necessarily in infodir.
4788 2001-02-26 Akim Demaille <akim@epita.fr>
4790 * automake.in ($am_file): Be `local', as my'd variables used in
4791 `foreach' loops are always private to the loop.
4793 2001-02-26 Pavel Roskin <proski@gnu.org>
4795 * Makefile.am: Add install.am.
4797 2001-02-26 Akim Demaille <akim@epita.fr>
4799 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4800 routines, otherwise the elements to compare are passed in @_
4801 instead of $a and $b.
4803 2001-02-26 Akim Demaille <akim@epita.fr>
4805 * automake.in (%required_targets): `installcheck-am' is needed.
4807 2001-02-26 Akim Demaille <akim@epita.fr>
4809 * automake.in (&transform_cond): Merge into...
4813 2001-02-26 Akim Demaille <akim@epita.fr>
4815 * automake.in (&handle_dist): Use &transform instead of dedicated
4817 But be sure to always do it.
4818 * distdir.am: Adjust.
4820 2001-02-26 Akim Demaille <akim@epita.fr>
4822 * automake.in: Use File::Basename.
4823 (&dirname, &basename): Remove.
4825 2001-02-26 Akim Demaille <akim@epita.fr>
4827 * automake.in ($me): New.
4829 (&usage): Display your full name.
4831 2001-02-26 Akim Demaille <akim@epita.fr>
4833 * automake.texi (Invoking Automake): Remove dead options.
4835 2001-02-26 Akim Demaille <akim@epita.fr>
4837 * automake.in (&scan_texinfo_file): Also compute the list of files
4839 Handle local errors.
4840 (&handle_texinfo): Use it.
4842 2001-02-26 Akim Demaille <akim@epita.fr>
4844 * automake.in: Don't pass arguments to...
4845 (&parse_arguments): Work on @ARGV.
4847 Add support for `-f'.
4851 2001-02-26 Akim Demaille <akim@epita.fr>
4853 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4854 handle installcheck and installcheck-am.
4855 * install.am: Do it.
4857 2001-02-26 Akim Demaille <akim@epita.fr>
4859 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4860 handle install and install-am.
4861 * install.am: Do it.
4863 2001-02-26 Akim Demaille <akim@epita.fr>
4865 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4866 work on targets handled by %dependencies.
4867 (&handle_factored_dependencies): Do it.
4868 * install.am: Install install-exec, install-data and uninstall's
4871 2001-02-26 Akim Demaille <akim@epita.fr>
4873 * automake.in (&handle_merge_targets): Move `install-strip' from
4875 * install.am: to here.
4877 2001-02-26 Akim Demaille <akim@epita.fr>
4879 * automake.in (@installdirs): Remove.
4880 (&file_contents): Be able to grow Automake macros with `+='.
4881 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4882 files define _am_installdirs.
4883 (&handle_installdirs): Remove the code, just output `install.am'.
4885 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4886 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4888 2001-02-26 Akim Demaille <akim@epita.fr>
4890 * tests/instdata2.test (libexec_DATA): Exercise more
4893 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4895 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4897 2001-02-25 Tom Tromey <tromey@redhat.com>
4899 * tests/instdata2.test: Added `sbin_DATA' check.
4901 * tests/Makefile.am (TESTS): Added subdircond.test.
4902 * tests/subdircond.test: New file.
4903 * automake.in (handle_gettext): Don't fail if SUBDIRS
4904 conditionally defined.
4906 * automake.in: Use IO::File.
4907 (generate_makefile): Use IO::File.
4908 (scan_texinfo_file): Likewise.
4909 (handle_aclocal_m4): Likewise.
4910 (scan_autoconf_traces): Likewise.
4911 (scan_one_autoconf_file): Likewise.
4912 (read_am_file): Likewise.
4913 (file_contents): Likewise.
4916 2001-02-25 Akim Demaille <akim@epita.fr>
4918 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4920 2001-02-25 Akim Demaille <akim@epita.fr>
4922 * automake.in (&transform): Also call &transform_cond on your
4924 (&handle_dist): Adjust.
4925 (&handle_factored_dependencies): Uniq dependencies.
4927 2001-02-25 Akim Demaille <akim@epita.fr>
4929 * automake.in (&handle_gettext): Simplify redundant `if'.
4930 Used &variable_value, don't read %contents directly.
4932 2001-02-25 Akim Demaille <akim@epita.fr>
4934 * automake.in ($install_recursive): Remove, replaced with calls to
4935 `&variable_defined ('SUBDIRS')'.
4936 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4937 (&file_contents): now does.
4939 2001-02-25 Akim Demaille <akim@epita.fr>
4941 * automake.in (&handle_man_pages): $found is dead.
4943 2001-02-25 Akim Demaille <akim@epita.fr>
4945 Internally just store the conditionals as space separated lists of
4946 CONDITIONS (instead of @CONDITIONS@).
4948 * automake.in (&conditional_true_when, &variable_conditions_sub):
4949 Split conditions at spaces.
4950 (&handle_dependencies, &variable_conditions_permutations): Don't
4951 put @ around conditions.
4952 (&variable_conditions_cmp): There are no @ to strip.
4953 (&make_condition): New.
4954 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4956 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4957 Join @conditional_stack with spaces.
4958 (&read_main_am_file): Adjust the output of variables.
4959 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4960 true' and no longer `@TEST@TRUE = @TEST@true'.
4961 (&variable_conditions_cmp): Rename as...
4962 (&by_condition): this.
4963 Sort in a human pleasant order.
4964 Use it everywhere a human can see conditions.
4965 (&variable_conditions_reduce): Don't sort conditions, that's
4967 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4969 2001-02-25 Akim Demaille <akim@epita.fr>
4971 * automake.in: `my' the globals.
4973 2001-02-25 Akim Demaille <akim@epita.fr>
4975 * automake.in (&initialize_per_input): %targets_conditionals is
4977 (&read_am_file): When slurping a rule, set the target related
4978 variable, and no variable related variable.
4979 (&file_contents): Likewise.
4980 * tests/vartar.test, tests/ctarget1.test: New.
4982 2001-02-25 Akim Demaille <akim@epita.fr>
4984 * automake.in (&variable_defined, &variable_value_as_list_worker):
4985 If $VAR is effectively a variable, don't die if it's also a
4987 Plus some formatting changes.
4989 2001-02-25 Akim Demaille <akim@epita.fr>
4991 * automake.in: Mying changes.
4992 * Makefile.am (maintainer-check): Check the stability of the
4993 number of uses of `local'.
4995 2001-02-25 Akim Demaille <akim@epita.fr>
4997 * automake.in: Mying changes.
4999 2001-02-25 Akim Demaille <akim@epita.fr>
5001 * automake.in: Mying changes.
5003 2001-02-25 Akim Demaille <akim@epita.fr>
5005 * automake.in: Mying changes.
5006 (&handle_tags): Fix a bug uncovered by the previous mying changes:
5007 transform CONFIG into $config, not $xform.
5009 2001-02-25 Akim Demaille <akim@epita.fr>
5011 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
5012 Don't deal with install-data-am, install-exec-am and unstall-am.
5013 (&initialize_per_input): Add them to %dependencies.
5014 Remove %exec_dir_p since the *.am files are now in charge of it.
5015 Remove @uninstall, @install_data, @install_exec.
5016 (&handle_merge_targets): Adjust to these removals.
5017 (&file_contents): Also &transform_cond for --no-installman and
5019 (&do_one_merge_target): Add some magic to install hooks on
5020 %dependencies' targets.
5021 (%required_targets): New.
5022 (&handle_factored_dependencies): Output required targets.
5023 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
5024 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
5025 * texinfos.am: Declare your dependencies on install-data-am,
5026 install-exec-am and uninstall-am.
5027 * tests/instdata2.test (incldata_HEADERS): New test.
5029 2001-02-24 Tom Tromey <tromey@redhat.com>
5031 * Makefile.am (amfiles): Added texibuild.am.
5032 * texibuild.am: New file.
5033 * tests/Makefile.am (TESTS): Added texinfo9.test.
5034 * tests/texinfo9.test: New file.
5035 * automake.in (handle_texinfo): Keep track of suffixes used. Give
5036 error if suffix unrecognized. Removed extraneous newline.
5038 2001-02-23 Akim Demaille <akim@epita.fr>
5040 * automake.in (&am_install_var): Don't hook on the clean targets
5042 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
5043 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
5046 2001-02-23 Akim Demaille <akim@epita.fr>
5048 * automake.in: Promote local `my' over `local'.
5050 2001-02-23 Akim Demaille <akim@epita.fr>
5052 * automake.in: Formatting and mying changes.
5054 2001-02-23 Akim Demaille <akim@epita.fr>
5056 * automake.in: Formatting and mying changes.
5058 2001-02-23 Akim Demaille <akim@epita.fr>
5060 * automake.in (&handle_man_pages): Let install-man and
5061 uninstall-man be handled by the dependency tracker.
5062 (&initialize_per_input): Let %dependencies track them.
5063 * mans.am: Add the needed hooks with the proper dependencies.
5065 2001-02-22 Pavel Roskin <proski@gnu.org>
5067 * tests/target-cflags.test: Don't use subshell to configure in
5068 subdirectory. Typo fix - run `./foo', not `/foo'.
5070 2001-02-22 Akim Demaille <akim@epita.fr>
5072 * automake.in: Formatting and mying changes.
5074 2001-02-21 Tom Tromey <tromey@redhat.com>
5076 * automake.in (handle_dist): Introduce new variable to avoid extra
5077 keys in %dist_dirs. Fixes distdir.test.
5079 * automake.in (handle_texinfo): Only remove suffixes we can
5082 * tests/distdir.test: Check to make sure directory isn't made in
5085 * automake.in (handle_dist): Do nothing in Cygnus mode.
5087 2001-02-21 Pavel Roskin <proski@gnu.org>
5089 * header-vars.am: Remove tabs before variable definitions.
5091 2001-02-21 Akim Demaille <akim@epita.fr>
5093 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5096 2001-02-21 Akim Demaille <akim@epita.fr>
5098 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5099 numeric value as required by Perl 5.6.
5101 2001-02-21 Akim Demaille <akim@epita.fr>
5103 * dist-vars.am: Remove, merge into...
5105 * automake.in (dirname, basename, backname): Move to the top of
5106 the file so that prototypes are checked,
5107 Use them without `&'.
5108 (&handle_dist): Adjust.
5110 2001-02-21 Akim Demaille <akim@epita.fr>
5112 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5113 Use a uniform naming scheme.
5114 ("e_cond_val, &unquote_cond_val): Delete, dead code.
5115 (&read_am_file): Fix conditional definition of backslash continued
5118 2001-02-21 Akim Demaille <akim@epita.fr>
5120 Change the handling of conditionals: instead of using an ad-hoc
5121 encoding to store a hash in a string, use hashes.
5123 * automake.in (&conditional_dump): New.
5124 (&check_ambiguous_conditional, &variable_defined)
5125 (&variable_conditions_sub, &variable_value_as_list_worker)
5126 (&define_variable, read_am_file, &read_main_am_file): Be sure to
5127 handle `$conditional{$vars}' as a hash instead of a plain string.
5129 2001-02-21 Akim Demaille <akim@epita.fr>
5131 * automake.in (&conditional_true_when): Modernize, simplify.
5132 Warning: `$comp' is now private (my), while it used to be
5133 `inherited' from a `local' elsewhere in the code. AFAICT it was
5134 wrong, but some dirty side effect might show up.
5135 (&conditionals_true_when): New.
5136 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5138 2001-02-21 Akim Demaille <akim@epita.fr>
5140 * automake.in ($top_builddir): Remove, used in one place.
5141 (&define_standard_variables): Adjust.
5142 Move the definition of triplet variables into...
5143 * header-vars.am: here.
5145 2001-02-21 Akim Demaille <akim@epita.fr>
5147 * automake.in (&initialize_global_constants): Don't define $USAGE.
5148 (&usage): Handle the former content of $USAGE.
5149 Don't pretend autoconf cares about Makefile.in.
5150 Classify the options.
5151 (&handle_tests): Formatting and mying changes.
5153 2001-02-21 Akim Demaille <akim@epita.fr>
5155 * automake.in (&handle_tests_dejagnu): Move the definition of a
5156 default `site.exp' into...
5157 * dejagnu.am (site.exp): here.
5158 Use DOS compliant file names.
5160 2001-02-21 Akim Demaille <akim@epita.fr>
5162 * automake.in (&dist_cmp): New.
5163 (&handle_dist): Use it.
5164 Promote `my' over `local'.
5166 2001-02-21 Akim Demaille <akim@epita.fr>
5168 * dist.am: Remove, merge into...
5169 * distdir.am: here. Use the neat sed snippet for banners.
5170 BTW, distcheck is phony.
5171 * automake.in (&handle_dist_worker): Remove, merge into...
5172 (&handle_dist): this.
5173 (&file_contents): Strip leading new lines.
5174 Be sure to end comments with new lines.
5176 2001-02-21 Akim Demaille <akim@epita.fr>
5178 * distdir.am (GZIP_ENV): Define.
5179 * automake.in (&handle_dist): Don't.
5181 (&handle_dist_worker, &am_install_var): Use it.
5183 2001-02-21 Akim Demaille <akim@epita.fr>
5185 * distdir.am (distdir): Handle the DIST-TARGETS.
5186 * automake.in (&handle_dist_worker): Don't.
5188 2001-02-21 Akim Demaille <akim@epita.fr>
5190 * automake.in (&file_contents): Transform the global options (such
5192 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5194 2001-02-21 Akim Demaille <akim@epita.fr>
5196 * distdir.am (distdir): Be sure to have permissive rights on its
5198 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5200 And BTW, all these guys are phony.
5201 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5202 output distributions.
5203 (&handle_dist): As its name doesn't indicate, don't.
5204 (&initialize_global_constants): Don't define variables which
5205 content is now handled by distdir.am.
5206 But register `dist-all' as a factored target.
5207 (&handle_factored_dependencies): Don't output empty targets.
5209 2001-02-20 Tom Tromey <tromey@redhat.com>
5211 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5214 2001-02-18 Tom Tromey <tromey@redhat.com>
5216 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5217 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5218 (AM_PROG_STRIP): Commented out.
5220 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5222 * depcomp (gcc3): Protect against the compiler deleting
5223 the dependency output file.
5225 2001-02-17 Tom Tromey <tromey@redhat.com>
5227 * automake.in (handle_merge_targets): Use double quotes around
5228 setting of INSTALL_STRIP_PROGRAM.
5229 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5230 to absolute path at runtime.
5231 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5233 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5235 * m4/strip.m4: New file.
5236 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5237 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5238 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5239 * automake.in (handle_merge_targets): In the install-strip rule,
5240 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5241 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5242 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5243 don't use INSTALL_STRIP_FLAG any longer.
5245 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5247 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5250 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5252 * automake.in (unquote_m4_arg): New function.
5253 (scan_one_configure_file): Call unquote_m4_arg on
5254 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5257 2001-02-15 Tom Tromey <tromey@redhat.com>
5259 * config.guess, config.sub: New versions from FSF.
5261 * Makefile.am (WGET): New macro.
5262 (FETCHFILES): New macro.
5263 (fetch): New target.
5265 * tests/subobj3.test: Exit with status 77 if gcc not found.
5266 * tests/pr9.test: Exit with status 77 if gzip not found.
5267 * tests/pr87.test: Exit with status 77 if gcc not found.
5268 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5269 * tests/install2.test: Exit with status 77 if gzip not found.
5270 * tests/exsource.test: Exit with status 77 if GNU make not found.
5271 * tests/ansi3.test: Exit with status 77 if gcc not found.
5273 * tests/target-cflags.test: Require GNU make. Exit with status 77
5274 if gcc or make not found. Fixes PR automake/121.
5276 * configure.in: Require Perl 5.005.
5277 * automake.in: Require 5.005.
5279 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5280 Fixes PR automake/122.
5282 2001-02-14 Tom Tromey <tromey@redhat.com>
5284 * automake.in (add_depend2): Only emit a given object rule once.
5285 Fixes specflags6.test.
5287 2001-02-14 Richard Boulton <richard@tartarus.org>
5289 * tests/specflags6.test: New file.
5291 2001-02-14 Tom Tromey <tromey@redhat.com>
5293 * automake.texi (A Shared Library): Mention -module.
5295 2001-02-13 Tom Tromey <tromey@redhat.com>
5297 * automake.in (do_one_merge_target): Always register $name and
5300 * automake.in (do_one_merge_target): Register `all' as phony
5303 * configure.in: Updated to 1.4e for cvs.
5305 2001-02-12 Tom Tromey <tromey@redhat.com>
5307 * configure.in: Updated to 1.4d and released.
5309 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5310 names through autoconf.
5312 Fix for subdirbuiltsources.test:
5313 * automake.in (initialize_per_input): [all_target] Initialize to
5315 (handle_merge_targets): Use all-redirect target to handle built
5317 (do_one_merge_target): Don't generate all-redirect rule.
5319 2001-02-11 Peter Muir <iyhi@yahoo.com>
5321 * tests/subdirbuiltsources.test: New file.
5322 * tests/Makefile.am (TESTS): Added new file.
5324 2001-02-10 Tom Tromey <tromey@redhat.com>
5326 * tests/condlib.test: New file.
5327 * tests/Makefile.am (TESTS): Added new file.
5329 2001-02-10 Lars J. Aas <larsa@sim.no>
5331 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5332 (&canonicalize): New. Includes '@' in canonical range.
5333 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5334 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5336 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5338 * automake.in (handle_configure): Revert part of
5339 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5340 set CONFIG_COMMANDS explicitly.
5342 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5344 * depcomp (gcc3): Propagate exit code.
5346 2001-02-09 Lars J. Aas <larsa@sim.no>
5348 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5350 2001-02-09 Tom Tromey <tromey@redhat.com>
5352 Clean up maintainer-check warnings:
5353 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5355 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5357 2001-02-09 Akim Demaille <akim@epita.fr>
5359 * automake.in (&file_contents): Remove a dead branch.
5361 2001-02-09 Akim Demaille <akim@epita.fr>
5363 * automake.in (&transform): Use `my', not `local'.
5364 (&transform_cond): New.
5365 (&get_object_extension, &handle_texinfo, &handle_tags)
5366 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5367 (&handle_tests_dejagnu): Use it.
5368 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5369 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5371 2001-02-09 Akim Demaille <akim@epita.fr>
5373 * automake.in: Various formatting changes, and modernization of
5376 (&handle_configure, define_standard_variables): Use it.
5378 2001-02-08 Tom Tromey <tromey@redhat.com>
5380 * automake.in (file_contents): Only add $actions if any are
5381 found. Fixes new failure in pr87.test.
5383 2001-02-08 Pavel Roskin <proski@gnu.org>
5385 * tests/pr87.test: Check foo/Makfile.in after it is created.
5387 2001-02-08 Tom Tromey <tromey@redhat.com>
5389 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5390 Report from Lars J. Aas.
5392 2001-02-07 Lars J. Aas <larsa@sim.no>
5394 * lisp.am (install-@DIR@LISP): Removed extra space.
5395 * header.am (install-@DIR@HEADERS): Removed extra space.
5396 * data.am (install-@DIR@DATA): Removed extra space.
5398 2001-02-07 Tom Tromey <tromey@redhat.com>
5400 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5402 * automake.in (handle_dependencies): Use _am_include, not
5404 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5405 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5407 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5409 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5411 * automake.in (handle_configure): Handle case where output file is
5412 in subdir with no Makefile of its own. Fixes remake3.test,
5415 2001-02-06 Pavel Roskin <proski@gnu.org>
5417 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5419 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5420 * tests/exsource.test: Likewise.
5422 2001-02-06 Derek Price <derek.price@openavenue.com>
5424 * automake.in (handle_configure): Fix syntax error.
5426 2001-02-06 Akim Demaille <akim@epita.fr>
5428 * subdirs.am: This file is the exception: clean recursive targets
5429 are called by the clean targets, not the clean-am targets.
5430 Otherwise we have a circular dependency: clean -> clean-am ->
5431 clean-recursive -> clean.
5432 * automake.in (handle_clean): Bind `-local' targets to `-am'
5433 targets, not top targets.
5434 Don't declare -recursive dependencies of the clean targets:
5435 `subdirs.am' did it. Less hard coded knowledge, transfered
5439 2001-02-06 Akim Demaille <akim@epita.fr>
5441 Monstro unsplitable patch.
5443 The aim is to remove hard coded knowledge about clean targets from
5444 automake.in, leaving them in the *.am files.
5445 In addition to the mechanic needed to factor some dependencies, it
5446 appears some rules (most notably distclean and maintainer-clean)
5447 need factored actions. So first, be ready to catch factored
5450 * automake.in (&file_contents): For the time being, use an extended
5451 $RULE_PATTERN which is able to match any kind of rules, with or
5452 without dependency, with or without actions.
5453 Handle all the rules uniformly, storing in %actions the factored
5455 (&flatten, &target_cmp): New.
5456 (&handle_factored_dependencies): Output the %actions.
5457 No longer special case `clean'.
5458 Output the rules in alphabetical order, but keeping `.PHONY' last.
5460 Now we must not use &push_phony_cleaners, which is doing all sort
5461 of magic to push a bit of everything in all the clean targets.
5462 The biggest problem being that, making a Cartesian product, it
5463 requires many useless targets. The `*.am' file know better.
5464 But first, register the new factored rules.
5466 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5467 maintainer-clean, distclean and their `*-am' counterpart in
5469 Initialize %actions.
5470 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5471 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5472 (handle_emacs_lisp, handle_python): Don't play with
5473 &push_phony_cleaners nor &depend and `clean'.
5474 * texinfos.am, texi-vers.am, tags-clean.am:
5475 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5476 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5477 * clean-kr.am, clean-hdr.am: Do it.
5478 Whenever a target is empty, just remove it, it will no longer be
5481 There is still some magic about clean to hard code. But really,
5482 that's the end of &do_one_clean_target.
5484 * automake.in (&do_one_clean_target): Kaboom out.
5485 (&handle_clean): Rewrite the magic code.
5486 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5488 (&push_phony_cleaners): Kaboom too.
5490 2001-02-06 Akim Demaille <akim@epita.fr>
5492 * automake.in (do_one_clean_target): Don't hard code knowledge
5493 about libtool, and maintainer-clean.
5494 * clean.am, libtool.am: Handle these.
5496 2001-02-05 Akim Demaille <akim@epita.fr>
5498 * automake.in (handle_texinfo): No longer hard code the clean
5500 (texinfos.am): Include them.
5502 2001-02-05 Akim Demaille <akim@epita.fr>
5504 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5505 (maintainer-check): Don't be silent when you find a problem, and
5506 actually, even specify the locations.
5507 Also check that @_ is assigned to arrays.
5509 2001-02-05 Akim Demaille <akim@epita.fr>
5511 * m4/regex.m4: Use AC_LIBSOURCES.
5512 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5515 2001-02-04 Tom Tromey <tromey@redhat.com>
5517 * m4/Makefile.am (m4data_DATA): Added make.m4.
5518 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5520 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5521 Copy depcomp to subdir.
5522 * m4/make.m4: New file.
5524 2001-02-04 Pavel Roskin <proski@gnu.org>
5526 * automake.in (handle_dist_worker): Remove a line that is now
5529 2001-02-04 Kevin Ryde <user42@zip.com.au>
5531 * automake.in (handle_configure): Call config.status with empty
5532 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5534 2001-02-04 Tom Tromey <tromey@redhat.com>
5536 * depcomp (ddashmd): Removed case.
5537 (sgi): Handle failure exit correctly
5538 (aix): Likewise. Also, add dummy `.h' targets.
5540 2001-02-04 Akim Demaille <akim@epita.fr>
5542 * distdir.am (distdir): New file, extracted from...
5543 * automake.in (handle_dist_worker): here.
5546 2001-02-04 Akim Demaille <akim@epita.fr>
5548 * automake.in (@clean): Remove, replaced by...
5549 ($dependencies{'clean'}): this.
5550 Use `&depend' instead of push'ing into @clean.
5551 (handle_factored_dependencies): For the time being, skip 'clean'.
5552 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5553 always `clean', and `@clean'.
5555 2001-02-04 Akim Demaille <akim@epita.fr>
5557 * automake.in (%dependencies): Don't be initialize globally for
5558 all the files, but in...
5559 (&initialize_per_input): here.
5561 (@phony): Replace all occurrences with the corresponding &depend
5564 2001-02-03 Tom Tromey <tromey@redhat.com>
5566 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5567 * header-vars.am (INSTALL_HEADER): New macro.
5569 * automake.texi (Rebuilding): New node.
5573 Copyright 2001 Free Software Foundation, Inc.
5575 This file is part of GNU Automake.
5577 GNU Automake is free software; you can redistribute it and/or modify
5578 it under the terms of the GNU General Public License as published by
5579 the Free Software Foundation; either version 2, or (at your option)
5582 GNU Automake is distributed in the hope that it will be useful,
5583 but WITHOUT ANY WARRANTY; without even the implied warranty of
5584 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5585 GNU General Public License for more details.
5587 You should have received a copy of the GNU General Public License
5588 along with autoconf; see the file COPYING. If not, write to
5589 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5590 Boston, MA 02111-1307, USA.