1 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * tests/dirforbid.test: Workaround for NetBSD sh bug.
6 2002-03-11 Richard Boulton <richard@tartarus.org>
8 * automake.in (check_typos): Allow variables with reserved
9 suffices (such as _LDFLAGS) and prefixes which aren't
10 recognised if the variable is defined in configure.ac.
13 2002-03-11 Richard Boulton <richard@tartarus.org>
15 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
16 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
17 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
19 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
21 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
24 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
26 Fix for PR automake/303:
27 * automake.in (version_check): Move the error message ...
28 (process_option_list): ... here, so we can distinguish between
29 global and local options.
31 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
33 * tests/pr300-lib.test, tests/pr300-ltlib.test,
34 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
35 Autoconf doesn't complain about Makefile being output twice.
37 2002-03-06 Tom Tromey <tromey@redhat.com>
39 * configure.in: Upped version to 1.6a.
41 2002-03-05 Tom Tromey <tromey@redhat.com>
43 * configure.in: Released 1.6.
45 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
47 Fix for PR automake/300:
48 * tests/pr300-lib.test, tests/pr300-ltlib.test,
49 tests/pr300-prog.test: New files.
50 * tests/Makefile.am (TESTS): Add them.
51 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
52 compute the directory.
53 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
54 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
55 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
56 (uninstall-%DIR%LIBRARIES): Honor nobase_.
57 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
58 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
59 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
60 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
61 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
62 (uninstall-%DIR%PROGRAMS): Honor nobase_.
63 See also the fix for nobase.test on 2001-11-09.
65 2002-03-05 Tom Tromey <tromey@redhat.com>
67 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
69 2002-03-05 Pavel Roskin <proski@gnu.org>
71 * tests/yacc8.test: Add a command between "test" and "cd" to
72 work around a bug in bash-2.05.
74 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
76 Fix for PR automake/294:
77 * tests/dirforbid.test: New file.
78 * tests/Makefile.am (TESTS): Add it.
79 * automake.in (standard_prefix): New hash.
80 (am_primary_prefixes): Forbid standard_prefixes which are not
82 * automake.texi (Uniform): Remove FIXME.
84 2002-03-05 Jim Meyering <meyering@lucent.com>
86 * automake.in (@common_files): Add config.rpath.
88 2002-03-05 Kevin Ryde <user42@zip.com.au>
91 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
92 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
95 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
97 * automake.in (scan_one_autoconf_file): Declare
98 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
99 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
100 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
101 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
102 of s/// in the sed invocation, to support filenames containing
104 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
105 * tests/lex5.test, tests/yacc8.test: New files.
106 * tests/Makefile.am (TESTS): Add them.
108 2002-02-23 Per Bothner <per@bothner.com>
110 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
113 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
115 * tests/make.test: Revert the grep logic to work around a bug
116 in NetBSD sh (see NetBSD Problem Report #11542).
117 Reported by Patrick Welche.
119 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
121 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
122 to try and prevent a non-lisp emacs from starting in interactive
124 * automake.texi: Document this change.
126 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
128 * automake.texi (Macros): Split into ...
129 (Public Macros, Private Macros): ... these.
131 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
133 * tests/insthook.test: Use sed instead of "tail +X".
135 2002-02-18 Paul Eggert <eggert@twinsun.com>
137 * lib/depcomp: Don't use "tail +3"; it's not portable to
138 POSIX 1003.1-2001 hosts.
140 2002-02-18 Jim Meyering <meyering@lucent.com>
142 * tests/cond12.test: Use sed 1q, not `head -n 1'.
143 The latter is not portable to some old systems.
144 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
145 Use `sed 1q' instead.
146 * tests/insthook.test: Likewise.
148 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
150 * automake.in (handle_lib_objects_cond): Tell the user to put
151 global linker flags in AM_LDFLAGS, not LDFLAGS.
153 * automake.texi (General Operation): AC_SUBST'ed variables
154 override Automake's variables.
155 (Uniform): More words and @refs.
156 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
157 (etags): More explanations about the first example.
158 (Invoking Automake): Mention autoreconf. More @refs.
159 (Requirements): Mention AC_CONFIG_FILES.
160 (Optional): AC_CHECK_TOOL will no longer install config.sub and
161 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
162 (Invoking aclocal): aclocal no longer warn about duplicates.
163 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
164 (Extending aclocal): Suggest using the output of
165 `aclocal --print-ac-dir` to install third-party macros.
166 (Alternative): Specify ordering of dist_, nodist_, and nobase_
168 (A Program): Mention scripts. The global LDADD variable is not
169 meant to hold link flags, suggest using AM_LDFLAGS instead.
170 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
171 _LIBADD and _LDADD are subject to the same restriction wrt to
173 (Program and Library Variables) <maude_DEPENDECIES>: Is also
174 derived from maude_LIBADD.
175 (Program variables): Define AM_LDFLAGS.
176 (Dependencies): Passing the no-dependencies option to
177 AM_INIT_AUTOMAKE is prefered.
178 (Scripts): Explain why automake is magically cleaned.
179 Mention noinst_SCRIPTS and check_SCRIPTS.
180 (Data): Use dist_ in Automake's example.
181 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
182 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
184 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
186 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
187 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
188 of asking the maintainer to do it manually.
189 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
190 Automake/XFile.pm: New upstream versions.
192 2002-02-02 Tom Tromey <tromey@redhat.com>
194 * automake.texi (Macros): Warn about upgrading.
196 2002-02-01 Tom Tromey <tromey@redhat.com>
198 Change per GNU coding standards:
199 * aclocal.in (parse_arguments): Only mention most recent year in
201 * automake.in (version): Only mention most recent year.
203 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
205 * automake.texi (API versioning): New Node.
206 (Extending): Use $(DESTDIR) in examples.
208 2002-01-28 Akim Demaille <akim@epita.fr>
210 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
211 Respect the --help layout.
213 2002-01-27 Tom Tromey <tromey@redhat.com>
215 * configure.in: Bumped to 1.5e.
217 * lib/am/yacc.am: Use `rm -f'.
219 * configure.in: Released 1.5d.
221 * lib/config.guess: New version from FSF.
223 * Makefile.am (uninstall-hook): New target.
225 2002-01-24 Akim Demaille <akim@epita.fr>
227 * lib/install-sh: Update, from Autoconf.
229 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
231 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
232 as AC_CANONICAL_HOST (the former does not require the latter since
234 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
235 * automake.texi (Requirements): Do not require STRIP to be
238 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
240 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
241 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
242 * tests/pr224.test: Make sure .deps subdirectories are
245 2002-01-22 Tom Tromey <tromey@redhat.com>
247 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
248 no-dependencies option is set.
249 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
250 no-dependencies option is set. Don't call AM_DEP_TRACK or
253 2002-01-22 Pavel Roskin <proski@gnu.org>
255 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
258 2002-01-22 Akim Demaille <akim@epita.fr>
260 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
263 2002-01-21 Tom Tromey <tromey@redhat.com>
265 * Makefile.am (fetch): Don't fetch ansi2knr.
267 * automake.texi (Macros): Updated for new variable names.
268 (Program and Library Variables): Likewise.
269 (Assembly Support): Likewise.
270 * m4/as.m4: Use CCAS and CCASFLAGS.
271 * automake.in (asm): Use CCAS and CCASFLAGS.
273 2002-01-21 Akim Demaille <akim@epita.fr>
275 * automake.in (&parse_arguments): Use a more GNUish error message
278 2002-01-20 Tom Tromey <tromey@redhat.com>
280 Fix for PR automake/231:
281 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
282 * m4/depend.m4: Document `GCJ'.
285 * tests/Makefile.am (TESTS): Added pr224.test.
286 * tests/pr224.test: New file.
287 * lib/depcomp: Fixed computation of depfile.
288 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
289 * automake.in (handle_single_transform_list): Only reject `..'
290 component for Java. Put dependencies in directory near object.
291 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
293 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * tests/defs: Export AUTOMAKE and ACLOCAL.
297 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
299 Fix for PR automake/204:
300 * tests/pr204.test: New file.
301 * tests/Makefile.am (TESTS): Add it.
302 * automake.in (handle_single_transform_list): Don't distribute
303 sources derived from non-distributed sources.
305 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
307 Fix for PR automake/229:
308 * tests/pr229.test: New file.
309 * tests/Makefile.am (TESTS): Add it.
310 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
311 AC_EMXOS2, and AC_MINGW32.
313 2002-01-18 Tom Tromey <tromey@redhat.com>
315 * tests/cond7.test: Fix test bug exposed by copyright update.
318 * automake.in (lang_c_rewrite): Don't prepend directory to base if
319 directory is `.'. Also, properly compute de_ansi_files entry in
321 * tests/Makefile.am (TESTS): Added ansi7.test.
322 * tests/ansi7.test: New file.
324 * aclocal.in (parse_arguments): Added 2002.
325 (write_aclocal): Likewise.
326 (parse_arguments): Updated my email address.
327 * automake.in (gen_copyright): Added 2002.
328 (version): Likewise. Also, changed my email address.
330 * configure.in (APIVERSION): Refined definition.
332 2002-01-18 Tom Tromey <tromey@redhat.com>
335 * lib/missing: Accept versioned aclocal.
336 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
338 2002-01-17 Pavel Roskin <proski@gnu.org>
340 * m4/Makefile.am (m4datadir): Use APIVERSION.
342 2002-01-16 Tom Tromey <tromey@redhat.com>
344 * Makefile.am (install-exec-hook): Use APIVERSION.
345 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
346 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
348 * automake.in (perllibdir): Use APIVERSION.
350 * aclocal.in (perllibdir): Use APIVERSION.
351 (APIVERSION): New global.
352 (parse_arguments): Use APIVERSION.
353 * configure.in (APIVERSION): New subst.
354 (pkgvdatadir): Use APIVERSION.
356 2002-01-15 Tom Tromey <tromey@redhat.com>
359 * lib/missing: Match against `automake*' to pick up versioned
361 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
362 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
364 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
365 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
367 (scriptdir): Use pkgvdatadir.
368 (installcheck-local): Likewise.
369 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
370 * automake.in (perllibdir): Added VERSION.
372 * aclocal.in (parse_arguments): Search versioned directory. Don't
373 push unversioned directory unless it exists.
374 (perllibdir): Added VERSION.
375 (default_acdir): New global.
376 * m4/Makefile.am (m4datadir): Added $(VERSION).
377 * Makefile.am (install-exec-hook): New target.
378 * configure.in (ACLOCAL): Search build directory.
379 (pkgvdatadir): New subst.
381 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
383 * lib/config.sub, lib/config.guess: New versions from FSF.
385 2002-01-13 Tom Tromey <tromey@redhat.com>
388 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
390 (lang_c_finish): Likewise. Also, use directory information from
393 2002-01-13 Kevin Ryde <user42@zip.com.au>
396 * tests/Makefile.am (TESTS): Added ansi6.test.
397 * tests/ansi6.test: New file.
399 2002-01-13 Tom Tromey <tromey@redhat.com>
402 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
404 * tests/Makefile.am (TESTS): Added pr287.test.
405 * tests/pr287.test: New file.
407 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
409 * lib/am/distdir.am (distdir): Handle subdirectories.
410 * tests/extra6.test: New file.
411 * tests/Makefile.am (TESTS): Add it.
413 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
415 * tests/extra2.test: Run $ACLOCAL.
417 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
419 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
420 AM_INIT_AUTOMAKE arguments when using the old-style call.
421 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
422 Suggested by Pavel Roskin.
424 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
426 * test/nodefine.test, test/nodefine2.test: Check that no-define
427 works, not the contrary...
428 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
429 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
432 2002-01-12 Jim Meyering <meyering@lucent.com>
434 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
435 * tests/libobj11.test: New file.
436 * tests/Makefile.am (TESTS): Add libobj11.test.
438 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
440 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
442 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
444 * automake.in (file_contents_internal): Introduce two variables,
445 $is_rule and $discard_rules to track rules spanning across multiple
446 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
447 where only the first paragraph of such a multi-paragraph rule was
448 discarded; but it leaves many similar latent bugs (see the FIXMEs).
450 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
452 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
453 * tests/error.test: Use some macro names which are not defined by
456 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
458 * automake.texi (Complete, Macros, Options): Document the new style
459 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
460 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
461 AC_INIT if they are available there. Support a new call form
462 where the only argument is an optional space-separated list of
464 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
465 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
466 _AM_IF_OPTION): New functions.
467 * automake.in (AC_INIT_PATTERN): New variable.
468 (global_options_line): Remove, use $seen_init_automake instead.
469 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
470 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
471 Remove the AM_AUTOMAKE_OPTIONS handling.
472 * configure.in: Modernize.
473 * tests/defs (configure.in): Modernize. One third of the tests
474 still overwrite the default configure.in and use an old
475 AM_INIT_AUTOMAKE call, so that makes testing for both.
476 * tests/nodefine.test, tests/nodefine2.test: New files.
477 * tests/Makefile.am (TESTS): Add them.
479 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
481 * automake.in (define_configure_variable): Propagate line numbers.
483 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
485 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
487 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
489 * configure.in: Run the Autoconf test in a subdirectory, then
490 erase this directory.
492 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
494 * configure.in (AUTOMAKE): Create m4/amversion.m4.
495 * m4/amversion.in: New file.
496 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
497 (dist_m4data_DATA): ... this.
498 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
499 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
500 AM_SET_CURRENT_AUTOMAKE_VERSION.
501 * automake.in (seen_automake_version): New variable.
502 (scan_autoconf_traces, scan_one_autoconf_file,
503 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
504 when the version used in aclocal.m4 differs from Automake's.
505 * tests/defs (ACLOCAL): Look in ../m4 too.
506 * tests/installsh.test (ACLOCAL): Likewise.
507 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
509 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
511 * automake.in (handle_languages): Emit an automake
512 internal variable 'am__depfiles_maybe'.
513 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
515 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
518 2002-01-06 Tom Tromey <tromey@redhat.com>
520 * automake.texi (Tags): Document new variables.
521 * lib/am/tags.am (ETAGS): New macro.
522 (ETAGSFLAGS): Likewise.
525 2002-01-04 Tom Tromey <tromey@redhat.com>
527 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
529 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
531 * automake.in (read_am_file): Thinko in "comment following
532 trailing backslash" detection.
533 * tests/comment5.test: Test for this too.
535 2002-01-02 Tom Tromey <tromey@redhat.com>
537 * automake.texi (Extending): Added index for uninstall-hook.
539 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
541 Fix for PR automake/278:
542 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
543 with versions such as '2.2c1'. Also, use `int' instead of the
544 obsoleted `string.atoi'.
545 Reported by Enrico Scholz.
547 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
549 Fix for PR automake/280:
550 * automake.in (read_am_file): Warn about trailing backslashes
552 * tests/comment5.test: New file.
553 * tests/Makefile.am (TESTS): Add comment5.test.
554 Reported by Enrico Scholz.
556 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
558 * tests/comment4.test: New file.
559 * tests/Makefile.am (TESTS): Add comment4.test.
561 Fix for comment4.test:
562 * automake.in (read_am_file): Output leading comments only when
563 encountering white lines.
565 2002-01-01 Tom Tromey <tromey@redhat.com>
568 * tests/Makefile.am (TESTS): Added strip.test.
569 * tests/strip.test: New file.
571 * automake.texi (Extending): Mention uninstall-hook.
573 * automake.in (handle_factored_dependencies): Allow
576 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
578 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
579 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
580 This fixes a bug introduced on 2001-01-28.
581 Reported by Jared Davis.
583 2001-12-31 Tom Tromey <tromey@redhat.com>
585 * automake.texi (Extending): Document installcheck-local. Added
586 installdirs-local index entry.
587 (Tests): Document installcheck-local.
589 * automake.in (handle_single_transform_list): Indentation fix.
591 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
593 * automake.in (common_files): Add COPYING.DOC.
594 Suggested by Karl Berry.
596 2001-12-30 Tom Tromey <tromey@redhat.com>
598 * automake.in (define_configure_variable): Define a user macro,
599 not an automake macro.
600 * tests/Makefile.am (TESTS): Added ar.test.
601 * tests/ar.test: New file.
604 * automake.in (object_compilation_map): New global.
605 (initialize_per_input): Initialize it.
606 (COMPILE_LIBTOOL): New constant.
607 (COMPILE_ORDINARY): Likewise.
608 * tests/Makefile.am (TESTS): Added pr211.test.
609 * tests/pr211.test: New file.
612 * configure.in: Use AM_AUTOMAKE_OPTIONS.
613 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
614 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
615 (Options): Mention AM_AUTOMAKE_OPTIONS.
616 * automake.in (global_options): New global.
617 (global_options_line): Likewise.
618 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
619 (scan_one_autoconf_file): Likewise.
620 (process_option_list): New function.
621 (handle_options): Use it. Also, handle global options.
622 * m4/Makefile.am (m4data_DATA): Added options.m4.
623 * m4/options.m4: New file.
625 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
627 (?!SUBDIRS?installdirs): Likewise.
628 * automake.in (handle_installdirs): Handle installdirs-local.
629 * automake.texi (Extending): Mention installdirs.
630 * tests/Makefile.am (TESTS): Added installdir.test.
631 * tests/installdir.test: New file.
633 2001-12-30 Akim Demaille <akim@epita.fr>
635 * lib/am/yacc.am: Also rename the possible y.output file.
636 Remove the trailing y.tab.h.
638 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
640 * automake.texi (Install): Remove mention of nonexistent
643 2001-12-30 Alan Modra <amodra@bigpond.net.au>
645 * automake.in (generate_makefile): Unlink output file before
646 opening so that any hard links are not changed.
648 2001-12-30 Tom Tromey <tromey@redhat.com>
650 * tests/pr220.test: Use `required' to pick up gcc.
653 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
655 * tests/Makefile.am (TESTS): Added pr243.test.
656 * tests/pr243.test: New file.
659 * tests/Makefile.am (TESTS): Added pr220.test.
660 * tests/pr220.test: New file.
661 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
662 fail if conditional was never run.
665 * lib/depcomp (tru64): Correctly handle libtool case.
666 From doreille@smr.ch.
668 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
670 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
671 Reported by Yann Droneaud.
673 2001-12-29 Tom Tromey <tromey@redhat.com>
676 * tests/Makefile.am (TESTS): Added pr266.test.
677 * tests/pr266.test: New file.
678 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
679 non-standard name for makefile.
682 * automake.in (conditional_ambiguous_p): New sub.
683 (handle_lib_objects_cond): Use it.
684 (check_ambiguous_conditional): Use it.
685 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
686 * tests/pr279.test: New file.
687 * tests/pr279-2.test: New file.
689 2001-12-26 Tom Tromey <tromey@redhat.com>
692 * tests/Makefile.am (TESTS): Added nodist2.test.
693 * tests/nodist2.test: New file
695 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
697 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
699 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
701 * configure.in: Test for Autoconf >= 2.52.
702 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
703 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
704 tests/cond4.test, tests/cond9.test, tests/cond16.test,
705 tests/cond18.test, tests/cond19.test, tests/cond20.test,
706 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
707 tests/depend2.test, tests/dirname.test, tests/distname.test,
708 tests/extra5.test, tests/install2.test, tests/lex3.test,
709 tests/make.test, tests/nobase.test, tests/pr9.test,
710 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
711 tests/subdirbuiltsources.test, tests/subobj3.test,
712 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
713 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
714 tests/yaccvpath.test: Do not use $needs_autoconf.
716 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
718 * configure.in: Bump version to 1.5c.
720 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
722 * configure.in: Bump version to 1.5b.
724 * lib/config.sub, lib/config.guess: New versions from FSF.
726 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
728 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
730 * automake.in (check_gnu_standards, check_gnits_standards): Pass
731 "$am_file.am" as WHERE argument to require_file.
733 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
735 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
736 in loop until we find one the satisfies the user supplied version.
737 Add python2 to the list of known interpreters. Don't use
738 changequote. Cache the calculation of PYTHON_VERSION and
740 (AM_PYTHON_CHECK_VERSION): New function, extracted from
741 AM_PATH_PYTHON and modernized.
742 * m4/runlog.m4: New file.
743 * m4/Makefile.am (m4data_DATA): Add it.
745 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
747 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
748 tests/nobase.test, tests/stamph2.test,
749 tests/subdirbuiltsources.test: Require Autoconf.
751 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
753 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
754 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
755 Suggested by Merijn de Jonge.
757 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
759 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
760 like other ID dependencies.
761 Suggested by Christian Cornelssen.
763 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
765 * automake.in (handle_dist): Distribute common files which
766 do not exist but are target of a Makefile rule.
767 * automake.texi (Dist): Update.
768 * test/builtcommon3.test: New file.
769 * test/Makefile.am (TESTS): Add distcommon3.test.
771 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
773 * automake.in (macro_define): Fix misuse of chomp introduced on
776 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
778 * automake.in (append_comments): New. Extracted from
779 read_am_file. Match '\n' with a regexp, don't use substr (the
780 perlport man page says '\n' is not always one byte wide).
781 (read_am_file): Use it. Always chomp $_.
782 (file_contents_internal): Use append_comments.
783 (macro_define): Don't treat the trailing '\n' with substr, use
786 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
788 * tests/defs: Turn on shell traces when VERBOSE=x.
790 2001-11-26 Tom Tromey <tromey@redhat.com>
792 * automake.texi (Assembly Support): Mention .s and .S as only
795 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
797 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
800 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
802 * tests/lex3.test: Require GNU Make.
804 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
806 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
809 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
811 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
812 in $(srcdir), like other TAGS dependencies.
813 Suggested by Christian Cornelssen.
815 2001-11-26 Akim Demaille <akim@epita.fr>
817 * automake.in (¯o_define): Use $where when reporting an error,
818 not the place where the macro was first defined since (i) if this
819 is the first definition, then obviously it was not defined before,
820 and (ii) anyway, the error is with the new definition, not the
823 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
825 * lib/am/distdir.am (distcheck): Call distcleancheck.
826 (distcleancheck_listfiles, distcleancheck): New, extracted from
828 * automake.texi (Checking the distribution): Document
829 distcleancheck_listfiles and distcleancheck.
831 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
833 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
834 foreach invocation, otherwise Perl5.005_03 complains about a
835 syntax error. Reported by Yann Droneaud.
837 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
839 * automake.in (scan_texinfo_file): Suppress FIXME about strange
842 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
844 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
845 gettext.m4 if required.
847 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
849 * automake.in (define_objects_from_sources,
850 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
851 the equivalant substitution.
853 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
855 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
856 set of accepted characters in extensions.
857 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
859 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
861 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
863 * automake.texi (Suffixes): Don't require SUFFIXES, but document
864 its use for the "extreme" cases.
866 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
868 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
869 to match suffix rules for known extensions, or call
870 accept_extensions on suffixe rules for unknown extensions.
871 (var_SUFFIXES_trigger): New function.
872 (macro_define): Call var_VAR_trigger when $VAR is updated.
873 * tests/suffix6.test, tests/suffix7.test: New files.
874 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
876 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
878 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
880 (handle_single_transform_list, lang_yacc_target_hook): Use
881 KNOWN_EXTENSIONS_PATTERN.
882 (accept_extension): New function.
883 (register_language): Call it.
885 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
887 At every place where an "$extension" is used, include the leading
888 dot in the extension, don't hardcode it when building the filename.
889 That will make any support for a dot-less extension easier to add.
891 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
893 ("main"): Prepend a '.' to the supported extensions of all
894 languages (e.g. 'c' becomes '.c').
895 (handle_languages, handle_single_transform_list,
896 handle_lib_objects_cond, handle_headers, derive_suffix,
897 rule_define): Do not add a dot
898 before extensions, and include dots in matching groups.
899 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
900 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
901 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
902 (%EXT%%DERIVED-EXT%): ... this.
903 * lib/am/yacc.am: Likewise.
905 2001-11-12 Akim Demaille <akim@epita.fr>
907 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
908 Use `"#"' and `"\""', which
909 Autoconf mode prefers over `'#'' and `'"''.
910 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
911 Rely on AC_MSG 2.50's quotation.
913 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
915 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
917 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
919 * lib/am/distdir.am (distdir): Also look for directory in build
920 directory first. (See 2001-05-14.)
921 * tests/Makefile.am (TESTS): Add extra5.test.
922 * tests/extra5.test: New file.
925 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
927 Fix for distcommon2.test:
928 * automake.in (automake_needs_to_reprocess_all_files): New
930 ("main"): Process all Makefiles a second time if
931 $automake_needs_to_reprocess_all_files is set.
932 (maybe_push_required_file): Return 1 or 0 whether the file is
934 (require_file_internal): Set $automake_needs_to_reprocess_all_files
935 if an added file can't be pushed.
937 * test/distcommon2.test: New file.
938 * test/Makefile.am (TESTS): Add distcommon2.test.
941 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
943 * automake.in (exec_dir_p): Remove. Replace by...
944 (EXEC_DIR_PATTERN):... this.
945 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
947 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
950 * lib/am/header-vars.am (install_sh_DATA): New.
951 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
952 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
953 of $(INSTALL_DATA) for nobase_ targets.
954 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
955 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
956 * tests/nobase.test (configure.in): Append AC_OUTPUT.
957 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
959 2001-11-08 Akim Demaille <akim@epita.fr>
961 * automake.texi: Remove references to stamp-h.in, which no longer
963 * tests/stamph2.test: Formatting change.
965 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
967 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
968 Don't use -Wno-error.
970 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
972 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
973 * tests/suffix5.test ($AUTOMAKE): Likewise.
975 2001-11-07 Akim Demaille <akim@epita.fr>
977 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
979 Reported by Jim Meyering.
981 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
983 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
985 2001-11-05 Paul Eggert <eggert@twinsun.com>
987 * lib/am/distdir.am (am__remove_distdir):
988 New macro. Do not change permission of non-directories.
989 Change only user permission, as there's no point to changing group
991 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
994 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
996 * lib/am/python.am: Cleanup the cleaning section.
997 * automake.texi (Python): Remove documentation for PYCFILES
998 and PYOFILES. Update the first paragraphes.
1000 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1002 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1003 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1004 Adjust usage everywhere.
1006 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1008 * automake.in (libtool_files, libtool_sometimes, common_files,
1009 common_sometimes, config_aux_path): Use qw to simplify definition.
1010 (scan_texinfo_file) <clean_suffixes, predefined_index,
1011 hidden_index>: Likewise.
1012 (scan_autoconf_traces) <traced>: Likewise.
1013 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1016 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1018 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1019 derive_suffix. Don't use an hardcoded 'o' for object extensions.
1020 (derive_suffix): Accept $OBJ as a second argument, don't
1022 * tests/suffix5.test: New test.
1023 * tests/Makefile.am (TESTS): Add suffix5.test.
1024 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1026 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1028 * automake.in (handle_single_transform_list): Don't call
1029 $lang->target_hook for undefinied langages.
1030 * tests/suffix4.test: New test.
1031 * tests/Makefile.am (TESTS): Add suffix4.test.
1032 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1034 2001-11-05 Akim Demaille <akim@epita.fr>
1036 * automake.in (@common_sometimes, &handle_configure): No longer
1038 * lib/am/remake-hdr.am: Adjust.
1039 * tests/confh.test: There is no stamp.hin.
1041 2001-11-01 Akim Demaille <akim@epita.fr>
1043 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1044 `#line' and multiple inclusion guards.
1045 * lib/ylwrap: Remove debugging code.
1046 (input_dir, input_rx): Move where used.
1047 Use the output file name in `#line'.
1049 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1051 * automake.in (transform): Update documentation.
1053 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1055 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1056 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1058 2001-10-30 Akim Demaille <akim@epita.fr>
1060 * automake.in (&create): Reinstall.
1062 2001-10-30 Akim Demaille <akim@epita.fr>
1064 * automake.in (&append_exeext): Use macro_delete.
1066 2001-10-30 Akim Demaille <akim@epita.fr>
1068 * automake.in ($verbose): Remove, inherited from
1070 (&variable_delete): Rename as...
1071 (¯o_delete): this, for consistency.
1072 (&variable_assert): New.
1073 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1076 2001-10-29 Akim Demaille <akim@epita.fr>
1078 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1079 cluttering configure's stdout.
1081 2001-10-28 Akim Demaille <akim@epita.fr>
1083 * automake.in: Various formatting changes.
1084 (create): Remove, unused.
1086 2001-10-28 Akim Demaille <akim@epita.fr>
1088 * automake.in (&append_exeext): New.
1089 (&am_primary_prefixes): Use it.
1091 2001-10-28 Akim Demaille <akim@epita.fr>
1093 * automake.in (am_primary_prefixes): Now, in accordance with its
1094 comment, return the list of prefixes actually used, not all the
1095 possible prefixes for a primary.
1096 (&handle_libraries, &handle_ltlibraries, &handle_java)
1097 (&am_install_var): Adjust.
1098 * Makefile.am (maintainer-check): Allow `local $_;'.
1100 2001-10-28 Akim Demaille <akim@epita.fr>
1102 * automake.in: Various formatting changes.
1103 (&variable_defined): Second argument is optional.
1105 2001-10-28 Akim Demaille <akim@epita.fr>
1107 * automake.in (&am_primary_prefixes): Now returns a list, not a
1109 (&handle_libraries, &handle_ltlibraries, &handle_java)
1110 (&am_install_var): Adjust.
1112 2001-10-28 Akim Demaille <akim@epita.fr>
1114 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1116 (@libtool_files, @libtool_sometimes): these.
1117 ($libtool_location): Remove, completely replaced by $seen_libtool.
1118 (&require_file_internal): Do not run libtoolize, that's
1121 2001-10-28 Akim Demaille <akim@epita.fr>
1123 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1124 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1125 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1126 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1127 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1128 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1129 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1130 * tests/libobj8.test, tests/output.test, tests/output2.test,
1131 * tests/output3.test, tests/output4.test, tests/output5.test,
1132 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1133 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1134 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1135 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1138 2001-10-28 Akim Demaille <akim@epita.fr>
1140 * automake.in (&scan_autoconf_traces): Use eq for equality.
1142 Remove dead comment.
1143 (&initialize_per_input): Don't initialize several times the same
1146 2001-10-28 Akim Demaille <akim@epita.fr>
1148 * automake.in (scan_one_autoconf_file): When using %generalize, be
1149 sure to replace only words. AC_FUNC_OBSTACK was matching
1152 2001-10-26 Akim Demaille <akim@epita.fr>
1154 * tests/stamph2.test: Strengthen.
1155 * tests/confh2.test, tests/confh3.test: Remove.
1156 These are bad tests: they don't check the effects, but some
1157 internal details in Makefile.
1158 And they are covered by stamph2.test.
1160 2001-10-26 Akim Demaille <akim@epita.fr>
1162 Now that stamp-h's are created by config.status, we don't need to
1163 handle them in Makefile's.
1165 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1166 * m4/header.m4 (_AM_STAMP): New.
1167 (_AM_CONFIG_HEADER): Use it.
1169 2001-10-26 Akim Demaille <akim@epita.fr>
1171 * automake.in (&generate_makefile, &handle_texinfo_helper)
1172 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1173 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1174 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1175 `join (' ', @list)' into `"@list"'.
1177 2001-10-26 Akim Demaille <akim@epita.fr>
1179 * automake.in (@config_fullnames, @config_names): Remove.
1180 (@config_headers): Now contains the actual spec used in
1182 (&split_config_file_spec): New.
1183 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1184 (&scan_one_autoconf_file): Adjust.
1185 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1188 2001-10-26 Akim Demaille <akim@epita.fr>
1190 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1191 (AM_CONFIG_HEADER): Use it.
1193 2001-10-26 Akim Demaille <akim@epita.fr>
1195 * automake.in (&handle_configure): Use the config.status 2.50
1196 invocation syntax for config files and headers.
1197 autoheader needs the name of the file to create, not from what it
1198 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1200 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1201 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1203 Strengthen: Use the non-default config.hin source.
1204 Strengthen: Make sure config.h is properly updated when config.hin
1207 2001-10-26 Akim Demaille <akim@epita.fr>
1209 * automake.in (&handle_configure): Seeing Automake files in
1210 @other_input_files is a programming error, not merely something to
1212 Factor slightly the code.
1214 2001-10-26 Akim Demaille <akim@epita.fr>
1216 * automake.in ($canonical_location): New.
1218 (&require_config_file, $line_error): Remove.
1220 2001-10-24 Akim Demaille <akim@epita.fr>
1222 * automake.in: Use &verbose.
1223 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1226 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1228 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1229 Have the basename step optional and use %NDIR% instead of %DIR% in
1230 filenames in order to support 'nobase_'.
1232 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1234 * automake.in (handle_languages, handle_single_transform_list,
1235 lang_c_rewrite): Use require_conf_file instead of
1236 require_config_file to require depcomp or compile from
1237 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1238 mistakenly reverted.)
1240 2001-10-24 Akim Demaille <akim@epita.fr>
1242 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1245 2001-10-24 Akim Demaille <akim@epita.fr>
1247 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1248 appear in Makefile.in in the clean rule.
1250 * tests/cxxansi.test: Adjust.
1252 2001-10-24 Akim Demaille <akim@epita.fr>
1254 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1255 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1257 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1258 (&conf_error, &file_warning): these.
1259 (&file_warning): Fix the prototype and argument handling.
1260 (&am_line_warning): Remove, unused.
1262 Also, repair the misapplication of previous patches.
1264 2001-10-21 Akim Demaille <akim@epita.fr>
1266 * automake.in ($ac_output_location): Replace with...
1267 ($ac_config_files_location): this.
1268 (&scan_autoconf_traces): We don't need $file and $line, $here is
1270 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1271 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1273 2001-10-21 Akim Demaille <akim@epita.fr>
1275 * automake.in (&require_file_with_macro): Use &require_file.
1276 (&read_am_file): Move the definition of $here at its proper place.
1278 2001-10-21 Akim Demaille <akim@epita.fr>
1280 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1281 ($libtool_location, $pythondir_location): these.
1282 (&require_conf_file_with_line, &require_conf_file_with_line):
1284 (&require_file): Don't forget $where.
1285 (&require_conf_file): Ahem... Fix the name.
1286 (&require_config_file): Invoke &require_conf_file, not yourself.
1287 (&am_line_error): Fix the default am_file_error invocation.
1289 2001-10-21 Akim Demaille <akim@epita.fr>
1291 * automake.in ($seen_lispdir): Replace with...
1292 ($am_lispdir_location): this.
1293 (&require_conf_file): New.
1294 (&require_config_file, &require_conf_file_with_line,
1295 (&require_conf_file_with_conf_line): Use it.
1296 (&require_conf_file_with_macro): New.
1298 2001-10-21 Akim Demaille <akim@epita.fr>
1300 * automake.in ($config_header_line, $ac_output_line)
1301 ($ac_gettext_line, $package_version_line): Replace with...
1302 ($config_header_location, $ac_output_location)
1303 ($ac_gettext_location, $package_version_location): these.
1304 (&require_file_with_conf_line, &require_file_with_line): Remove,
1307 2001-10-21 Akim Demaille <akim@epita.fr>
1309 * automake.in (&require_file_internal): Instead of $file and $line,
1310 take $where as first argument.
1312 (&require_file_with_macro): New.
1313 Use it where internal black magic was used to recover the location
1314 of a macro definition.
1316 2001-10-21 Akim Demaille <akim@epita.fr>
1318 * automake.in (&read_am_file): Define and use `$here'.
1319 Avoid using am_line_error.
1321 2001-10-21 Akim Demaille <akim@epita.fr>
1323 * automake.in (&am_target_error): New.
1324 Use it where appropriate instead of...
1325 (&am_line_error): this.
1326 Using it for a target is a croak error.
1328 2001-10-21 Akim Demaille <akim@epita.fr>
1330 * automake.in (&am_macro_error): New.
1331 Use it where appropriate instead of...
1332 (&am_line_error): this.
1333 Using it for a macro is a croak error.
1335 2001-10-21 Akim Demaille <akim@epita.fr>
1337 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1338 AC_OUTPUT a Makefile.
1340 2001-10-21 Akim Demaille <akim@epita.fr>
1342 * automake.in (%var_line): Rename as...
1343 (%var_location): this.
1344 Use it consistently as the location where the macro is defined,
1345 file and line when possible, otherwise just file.
1346 (&read_am_file): Rules have their own location tracking, don't
1347 pollute %var_location.
1349 2001-10-21 Akim Demaille <akim@epita.fr>
1351 * automake.in (am_line_error): Clarify.
1353 2001-10-21 Akim Demaille <akim@epita.fr>
1355 * automake.in (&am_print_error): Set $exit_status since all your
1357 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1359 (&am_conf_line_error, &am_conf_line_warning): Remove.
1360 Adjust callers to use &am_file_error and...
1361 (&am_file_warning): new.
1363 2001-10-21 Akim Demaille <akim@epita.fr>
1365 * m4/regex.m4: Use AC_LIBOBJ.
1366 Require 2.50, and use AC_LIBSOURCES freely.
1367 * tests/asm.tests: Formatting changes.
1368 Exercise AM_PROG_AS.
1370 2001-10-21 Akim Demaille <akim@epita.fr>
1372 * tests/install.test: This test is an empty shell, do not run
1374 * tests/Makefile.am (TESTS): Don't run it.
1375 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1377 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1379 * tests/obsolete2.test: Remove, merged into...
1380 * tests/obsolete.test: here.
1381 Both aclocal and automake should complain.
1383 2001-10-21 Akim Demaille <akim@epita.fr>
1385 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1386 for symbols which cannot be Make macro names.
1387 (scan_one_autoconf_file): `$here' is new.
1388 Use it consistently instead of `1' to remember a token was seen.
1390 2001-10-21 Akim Demaille <akim@epita.fr>
1392 * tests/subdircond.test: Requires gettext.
1393 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1394 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1395 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1396 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1397 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1398 Produce valid configure.in, use aclocal appropriately, declare
1399 when libtool is required.
1401 2001-10-21 Akim Demaille <akim@epita.fr>
1403 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1404 * automake.texi (Macros, Yacc and Lex): Adjust.
1405 * automake.in ($seen_decl_yytext): Rename as...
1406 ($seen_prog_lex): this.
1407 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1408 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1410 2001-10-21 Akim Demaille <akim@epita.fr>
1412 * automake.in (&scan_autoconf_traces): Add support for
1413 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1415 2001-10-21 Akim Demaille <akim@epita.fr>
1417 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1418 libtool is required.
1419 * tests/lex.test: Run AC_INIT once.
1420 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1421 Libtool is required.
1422 * tests/header.test: Built a correct configure.in.
1423 * tests/defun2.test (configure.in): Be a bit respectful with
1424 Autoconf, close the macro invocations.
1425 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1428 * automake.in (scan_autoconf_traces): Add support for
1429 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1430 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1431 * tests/condincl.test (target): Better pattern, to avoid matching
1432 the definition of `target_alias' which is now properly discovered
1433 as an AC_SUBST by traces.
1434 * cond4.test: Better grep pattern: After all, why shouldn't
1435 TWO_FALSE be AC_SUBST properly.
1436 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1438 2001-10-20 Kevin Ryde <user42@zip.com.au>
1440 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1441 actually using ansi2knr.
1443 * automake.in (handle_configure): Always put a number on $stamp_name,
1444 to match AM_CONFIG_HEADER.
1446 2001-10-20 Tom Tromey <tromey@redhat.com>
1448 * tests/Makefile.am (TESTS): Added condd.test.
1449 (XFAIL_TESTS): Added condd.test.
1450 * tests/condd.test: New file.
1452 2001-10-20 Akim Demaille <akim@epita.fr>
1454 * automake.in (&scan_autoconf_traces): Add support for
1455 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1457 * tests/alpha.test (configure.in): Automake wants a Makefile.
1459 2001-10-20 Akim Demaille <akim@epita.fr>
1461 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1462 separator between trace arguments, in particular not `:' as it is
1463 within AC_CONFIG_FILES's $1.
1465 2001-10-20 Akim Demaille <akim@epita.fr>
1467 * tests/alpha.test (configure.in): Create, don't append. A single
1470 2001-10-20 Akim Demaille <akim@epita.fr>
1472 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1473 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1474 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1475 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1476 * tests/badline.test, tests/block.test, tests/canon2.test,
1477 * tests/check.test, tests/checkall.test, tests/clean.test,
1478 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1479 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1480 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1481 * tests/comment.test, tests/comment3.test, tests/cond.test,
1482 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1483 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1484 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1485 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1486 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1487 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1488 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1489 * tests/else.test, tests/empty.test, tests/exdir.test,
1490 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1491 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1492 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1493 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1494 * tests/include.test, tests/info.test, tests/insh.test,
1495 * tests/insh2.test, tests/install.test, tests/installsh.test,
1496 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1497 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1498 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1499 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1500 * tests/man.test, tests/mclean.test, tests/mdate.test,
1501 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1502 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1503 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1504 * tests/outdir.test, tests/output.test, tests/output2.test,
1505 * tests/output3.test, tests/output4.test, tests/output5.test,
1506 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1507 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1508 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1509 * tests/primary.test, tests/proginst.test, tests/python.test,
1510 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1511 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1512 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1513 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1514 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1515 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1516 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1517 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1518 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1519 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1520 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1521 * tests/version.test, tests/version2.test, tests/version3.test,
1522 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1523 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1525 2001-10-20 Akim Demaille <akim@epita.fr>
1527 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1528 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1529 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1530 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1531 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1532 * tests/confh3.test, tests/confh4.test, tests/config.test,
1533 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1534 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1535 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1536 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1537 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1538 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1539 * tests/output.test, tests/output2.test, tests/output3.test,
1540 * tests/output4.test, tests/output5.test, tests/package.test,
1541 * tests/parse.test, tests/pr2.test, tests/remake.test,
1542 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1543 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1544 * tests/subdir4.test, tests/subdirbuiltsources.test,
1545 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1546 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1547 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1548 since AM_INIT_AUTOMAKE requires them.
1550 2001-10-20 Akim Demaille <akim@epita.fr>
1552 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1554 Don't run AC_ARG_PROGRAM another time, it is required by
1556 * tests/aclocal.test: Work on the default configure.in
1557 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1558 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1560 Be realistic in testing: AC_INIT is required for Autoconf.
1561 Broken so called optimized tests break trace handling.
1563 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1564 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1565 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1566 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1567 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1568 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1569 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1570 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1571 * tests/confh4.test, tests/config.test, tests/confsub.test,
1572 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1573 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1574 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1575 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1576 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1577 * tests/libobj9.test, tests/output.test, tests/output2.test,
1578 * tests/output3.test, tests/output4.test, tests/parse.test,
1579 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1580 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1581 * tests/req.test, tests/scripts.test, tests/subdir.test,
1582 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1583 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1584 * tests/version2.test: Add AC_INIT in `configure.in'.
1586 2001-10-20 Akim Demaille <akim@epita.fr>
1588 * automake.in (&scan_autoconf_traces): Add support for
1589 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1590 Let @args have a more natural M4 correspondence: $1 is args[1], no
1592 (&scan_autoconf_files): Using autoconf traces is no longer a
1593 complement of the previous ad hoc scheme: use either.
1595 2001-10-20 Akim Demaille <akim@epita.fr>
1597 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1598 factors dedicated $libsources assignments.
1600 2001-10-20 Akim Demaille <akim@epita.fr>
1602 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1603 Remove, since Autoconf 2.52 has them.
1604 * automake.in, aclocal.in, automake.texi: Adjust.
1606 2001-10-19 Akim Demaille <akim@epita.fr>
1608 * automake.in (&read_main_am_file): s/generated automatically/
1610 Insert @configure_input@, since 2.50 no longer output this
1611 automatically for Makefiles.
1613 2001-10-19 Kevin Ryde <user42@zip.com.au>
1615 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1616 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1618 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1620 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1621 * tests/nobase.test: New file. Based on a bug report
1622 from Martin Frydl <martin@idoox.com>.
1624 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1626 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1627 this with $nodir_name only. Use $nodir_name where appropriate.
1629 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1631 * automake.in (handle_languages, handle_single_transform_list,
1632 lang_c_rewrite): Use require_conf_file instead of
1633 require_config_file to require depcomp or compile from Makefile.am.
1634 (require_aux_file_with_line): New function, adapted from
1635 require_conf_gile_with_line.
1636 (require_conf_file_with_line, require_conf_file_with_conf_line):
1637 Simplify using require_aux_file_with_line.
1638 (require_config_file): Simplify using require_conf_file_with_conf_line.
1639 (require_conf_file): New function.
1641 2001-10-15 Akim Demaille <akim@epita.fr>
1643 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1644 normally, what is wrong is that automake outputs a variable
1645 definition for it, hence...
1646 * automake.in (scan_one_autoconf_file): don't.
1648 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1650 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1651 Use AC_CONFIG_COMMANDS.
1652 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1654 2001-10-15 Akim Demaille <akim@epita.fr>
1656 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1658 2001-10-15 Akim Demaille <akim@epita.fr>
1660 * automake.in (&variable_conditions): Be deterministic and Perl
1661 version independent: sort the result.
1662 (&variable_output, &variable_pretty_output): Sort all the @conds,
1663 not only when defaulted.
1664 * tests/cond3.test: Adjust.
1666 2001-10-15 Akim Demaille <akim@epita.fr>
1668 * automake.in: Formatting changes.
1670 2001-10-15 Akim Demaille <akim@epita.fr>
1672 * aclocal.in: Use Automake::General and Automake::XFile.
1673 Use find_configure_ac.
1674 Output the Emacs tags for Autoconf mode selection.
1676 2001-10-10 Akim Demaille <akim@epita.fr>
1678 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1681 2001-10-09 Akim Demaille <akim@epita.fr>
1683 Do not use Autoconf internals.
1685 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1686 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1687 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1688 macro in GNU M4 1.5.
1690 2001-10-08 Akim Demaille <akim@epita.fr>
1692 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1695 2001-10-05 Akim Demaille <akim@epita.fr>
1697 * automake.in (scan_autoconf_files): Use find_configure_ac from
1700 2001-10-02 Akim Demaille <akim@epita.fr>
1702 * lib/Automake/Struct.pm: Update from Autoconf.
1703 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1705 * automake.in: Use them.
1706 (&uniq, $me): Remove, as they are provided by Automake::General.
1708 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1710 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1711 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1712 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1713 * lib/am/distdir.am (distcheck): Likewise.
1714 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1715 using cd so we don't have to fiddle with CDPATH.
1716 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1717 DOSish path separator.
1719 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1721 * lib/am/python.am (install-%DIR%PYTHON,
1722 uninstall-%DIR%PYTHON): Strip path of source file.
1723 (clean-python): Comment out.
1725 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1727 * automake.in (handle_python): Use require_conf_file_with_conf_line
1728 instead of require_file_with_conf_line, so that elisp-comp and
1729 py-compile are installed in the aux-directory.
1730 (handle_emacs_lisp): Likewise. Define elisp_comp.
1731 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1733 2001-10-01 Akim Demaille <akim@epita.fr>
1735 * lib/am/distdir.am (distcheck): Report the trailing files.
1736 Run `dist-gzip', not `dist', as it may leave other distribution
1739 2001-09-29 Paul Eggert <eggert@twinsun.com>
1741 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1742 bugs when making file names with unusual characters. Quote chmod
1743 arg "$dirmode", in case it contains white space.
1745 Incorporate the following change from autoconf mkinstalldirs:
1747 1999-04-10 Ben Elliston <bje@cygnus.com>
1749 Add `-m' flag to specify the mode of a newly created
1750 directory. Add command line usage and `-h', `--help' options.
1751 Contributed by Jeff Garzik.
1753 2001-09-27 Akim Demaille <akim@epita.fr>
1755 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1757 2001-09-27 Akim Demaille <akim@epita.fr>
1759 * lib/am/distdir.am (dist): Rename as...
1761 (dist): Additional name for dist-all.
1762 * automake.texi (Options, Dist): Adjust.
1764 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1766 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1767 * automake.in (obsolete_macros): Likewise.
1768 (seen_objext): Remove (unused).
1769 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1770 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1771 PATH_SEPARATOR): New variables.
1772 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1774 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1776 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1777 neutralize CDPATH for us.
1778 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1779 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1782 2001-09-22 Akim Demaille <akim@epita.fr>
1784 * configure.in, NEWS: Bump to 1.5a.
1787 2001-09-22 Paul Eggert <eggert@twinsun.com>
1789 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1790 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1791 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1792 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1793 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1794 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1795 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1796 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1797 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1798 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1800 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1801 which has a copyright notice.
1803 * m4/strtod.m4: Correct the dates on the copyright notice.
1805 2001-09-17 Akim Demaille <akim@epita.fr>
1807 * lib/missing (autom4te): New.
1808 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1811 2001-08-27 Tom Tromey <tromey@redhat.com>
1813 * automake.texi (A Shared Library): Clarify installation
1815 (Install): Typo. From Adrian Bunk.
1817 2001-08-27 Tom Tromey <tromey@redhat.com>
1819 * automake.texi (Macros): Typo fix.
1820 From Christian Cornelssen
1822 2001-08-27 Tom Tromey <tromey@redhat.com>
1824 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1825 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1826 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1827 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1828 tests/substref.test: Clear CFLAGS.
1830 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1831 From Alexey Mahotkin.
1833 2001-08-27 Tom Tromey <tromey@redhat.com>
1835 * tests/yacc7.test: Use test -f, not test -e.
1837 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1839 * automake.texi (etags): Typo fix.
1841 2001-08-27 Guido Draheim <guidod@gmx.de>
1843 * automake.in : restrict ansi2knr option to be a filepath
1845 2001-08-23 Richard Boulton <richard@tartarus.org>
1847 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1849 2001-08-22 Tom Tromey <tromey@redhat.com>
1851 * automake.texi (Conditionals): Mention that conditionals must
1852 always be invoked. For PR automake/220.
1854 2001-08-22 Richard Boulton <richard@tartarus.org>
1855 Tom Tromey <tromey@redhat.com>
1857 * automake.in (lang_yacc_target_hook): Make header file depend on
1858 .c file, not .y file.
1859 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1860 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1861 * tests/yacc7.test: New file.
1862 * tests/Makefile.am (TESTS): Added yacc7.test.
1864 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1866 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1868 2001-08-18 Tom Tromey <tromey@redhat.com>
1870 * automake.texi (Dist): Mention dist-all.
1872 2001-08-18 Tom Tromey <tromey@redhat.com>
1874 * tests/cond3.test: Use portable sed expression.
1875 From Richard Boulton.
1877 2001-08-13 Richard Boulton <richard@tartarus.org>
1879 * automake.in (handle_source_transform): Call
1880 define_objects_from_sources() instead of calling
1881 variable_value_as_list(), handle_single_transform_list() and
1882 define_pretty_variable() directly.
1883 (handle_single_transform_list): Add $topparent parameter, used for
1884 error messages. Improved error message.
1885 (define_objects_from_sources): New function.
1886 (subobjname): New function.
1887 (variable_conditions_recursive): New name for variable conditions.
1888 (variable_value_as_list_recursive): New name for variable_value_as_list.
1889 (variable_value_as_list_worker): Renamed to ...
1890 (variable_value_as_list_recursive_worker): ... this.
1891 (variable_conditions_sub): Renamed to ...
1892 (variable_conditions_recursive_sub): ... this.
1893 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1894 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1895 (substfroms): New global.
1896 (substtos): New global.
1897 (substnums): New global.
1898 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1899 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1900 * tests/sourcesub2.test: New test.
1901 * tests/Makefile.am (TEST): Added sourcesub2.test.
1903 2001-08-11 Tom Tromey <tromey@redhat.com>
1905 * configure.in: Upped to 1.4s.
1907 2001-08-09 Richard Boulton <richard@tartarus.org>
1909 * automake.in (handle_single_transform_list): Use new global,
1910 `%linkers_used', to store the linkers used, rather than an internal
1911 variable. Enables correct linker to be calculated across a group
1912 of calls to &handle_single_transform_list. Return only list of
1913 objects, since linker to be used is now externally determined.
1914 (handle_source_transform): adapted for new calling conventions of
1915 handle_single_transform_list. Calls resolve_linker() on a set of
1916 all the linkers used for any prefix, rather than for each prefix in
1918 (linkers_used): New global.
1919 * tests/link_dist.test: New test.
1920 * tests/Makefile.am (TESTS): Added link_dist.test.
1922 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1924 Dissociate testsuite 'make' invocations from outer 'make'.
1925 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1926 environment variables.
1927 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1929 * tests/substref.test: Likewise.
1931 2001-08-08 Richard Boulton <richard@tartarus.org>
1933 * tests/cond18.test: New file.
1934 * tests/cond19.test: New file.
1935 * tests/cond20.test: New file.
1936 * tests/cond4.test: Updated to check the generated _OBJECTS more
1938 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1941 2001-08-08 Richard Boulton <richard@tartarus.org>
1943 * automake.in (file_contents_internal): if a rule is conditionally
1944 defined, define the standard automake definition for it for those
1945 conditions which are not conditionally defined.
1946 (invert_conditions): New function: invert a list of conditionals.
1948 * tests/cond14.test: New file.
1949 * tests/cond15.test: New file.
1950 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1952 2001-08-05 Tom Tromey <tromey@redhat.com>
1954 * tests/Makefile.am (TESTS): Added dejagnu2.test.
1955 * tests/dejagnu2.test: New file.
1956 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1957 * automake.in (handle_scripts): Removed dead code.
1958 (handle_tests_dejagnu): Don't handle site.exp generation
1961 2001-08-04 Richard Boulton <richard@tartarus.org>
1963 * tests/cond17.test: New file: test for being able to define an
1964 object to be generated in different ways according to a
1966 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1967 (TESTS): Added cond17.test.
1969 2001-08-02 Richard Boulton <richard@tartarus.org>
1971 * automake.in (variable_conditions_sub): Handle variable
1972 substitution refs when computing conditions based on subvariable
1973 conditions. Fixes substitution refs of system variables when sub
1974 variable is conditional.
1975 (SUBST_REF_PATTERN): New global.
1976 * tests/cond16.test: New file: regression test for variable
1978 * test/Makefile.am (TESTS): Added cond16.test.
1980 2001-08-03 Tom Tromey <tromey@redhat.com>
1982 * tests/substref.test: Require GNU make; backed out previous
1985 * tests/substref.test: Handle entering/leaving directory
1988 2001-08-03 Richard Boulton <richard@tartarus.org>
1990 * automake.in (value_to_list): Check for whether $from is defined,
1991 rather than whether it is true, so that empty $froms are allowed in
1992 substitution reference patterns.
1994 * tests/substref.test: New file: test behavior of substitution
1995 references when the $from side of the substitution is empty.
1996 * tests/Makefile.am (TESTS): Added substref.test.
1998 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2000 * m4/install-sh.m4: New file.
2001 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2002 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2003 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
2004 for install.sh any longer, always use install-sh, don't even
2005 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
2006 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2008 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2010 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
2012 * automake.texi (EXEEXT): Clarify.
2014 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2016 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2018 * m4/auxdir.m4: More comments.
2020 2001-07-31 Richard Boulton <richard@tartarus.org>
2021 Raja R Harinath <harinath@cs.umn.edu>
2023 * automake.in (variable_conditions_sub): Remove @parent_conds
2024 argument. This was old logic - duplicate or impossible
2025 conditionals are removed later by &variable_conditions_reduce().
2026 Fixes tests/cond13.test.
2027 (conditionals_true_when): Removed.
2028 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2030 2001-07-31 Tom Tromey <tromey@redhat.com>
2032 * tests/Makefile.am (TESTS): Added cond13.test.
2033 (XFAIL_TESTS): Likewise.
2034 * tests/cond13.test: New file.
2036 * configure.in: Upped to version 1.4k.
2038 * configure.in: Released 1.4j.
2040 * lib/config.guess: Updated from master sources.
2041 * lib/config.sub: Likewise.
2043 2001-07-30 Tom Tromey <tromey@redhat.com>
2045 * automake.texi (A Program): Typo. Added subsections and more
2046 text about conditional compilation.
2047 (A Shared Library): Moved earlier.
2048 (Program variables): Updated LINK text. Added AM_CFLAGS.
2049 (C++ Support): Added AM_CXXFLAGS.
2050 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2053 * tests/Makefile.am (TESTS): Added aclibobj.test.
2054 * tests/aclibobj.test: New file.
2055 * automake.in (handle_lib_objects_cond): Avoid undefined variable
2057 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2059 * automake.texi (Dist): Mention other distribution types.
2062 2001-07-29 Tom Tromey <tromey@redhat.com>
2064 * automake.texi (Program and Library Variables): Texinfo fix.
2065 From Alexey Mahotkin.
2067 2001-07-28 Tom Tromey <tromey@redhat.com>
2069 * automake.texi (Strictness): Mention Cygnus mode.
2071 (Uniform): Likewise.
2072 (Canonicalization): Likewise.
2073 (Install): Add `nobase_' to example; typo fix.
2075 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
2077 (Options): Texinfo fixes; some text updates.
2080 2001-07-27 Tom Tromey <tromey@redhat.com>
2082 * automake.texi (Invoking Automake): Document --Werror and
2085 2001-07-26 Tom Tromey <tromey@redhat.com>
2087 * tests/nolink.test: Added no-exeext.
2089 * automake.in (check_variable_defined_unconditionally): Don't call
2092 * automake.texi (Optional): Don't mention ALL_LINGUAS.
2093 (gettext): Likewise.
2094 * automake.in (seen_linguas, all_linguas, all_linguas_line):
2096 (handle_gettext): Don't do any checking of the languages.
2097 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2099 * automake.in (am_print_error): New function.
2101 (am_file_error): Likewise.
2102 (am_line_error): Likewise.
2103 (am_conf_error): Likewise.
2104 (am_conf_line_error): Likewise.
2106 * automake.texi (Options): Document no-exeext.
2107 * automake.in (handle_options): Recognize no-exeext.
2108 (rule_define): Handle no-exeext.
2109 * tests/Makefile.am (TESTS): Added new file.
2110 * tests/exeext2.test: New file.
2112 * automake.in (make_input_list): Removed.
2113 (scan_autoconf_config_files): Don't add to make_input_list.
2114 (scan_one_autoconf_file): Don't use make_input_list.
2115 (scan_autoconf_files): Use make_list, not make_input_list.
2116 (scan_autoconf_files): Likewise.
2118 * automake.in (seen_exeext): Removed.
2119 (generate_makefile): Don't define EXEEXT or OBJEXT.
2120 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2121 (am_install_var): Don't check $seen_exeext.
2122 (handle_programs): Likewise.
2123 (rule_define): Allow x to override x$(EXEEXT), for now.
2124 (file_contents_internal): Only define rule if rule_define allows
2126 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2128 2001-07-25 Tom Tromey <tromey@redhat.com>
2131 * tests/pr9.test: Require GNU make.
2132 * tests/dirname.test: Don't use `-u'.
2134 2001-07-22 Tom Tromey <tromey@redhat.com>
2136 * tests/Makefile.am (TESTS): Added auxdir2.test.
2137 (XFAIL_TESTS): Likewise.
2138 * tests/auxdir2.test: New file.
2140 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2141 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2143 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2144 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2145 holds `.'. Don't add $(EXEEXT) if program name already has it.
2146 (handle_programs): Don't add $(EXEEXT) if user already did.
2147 (make_paragraphs): Don't compute EXEEXT.
2149 * tests/Makefile.am (TESTS): Added exeext.test.
2150 (XFAIL_TESTS): Likewise.
2151 * tests/exeext.test: New file.
2153 2001-07-22 Tom Tromey <tromey@redhat.com>
2155 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2156 `prog.exe' on Cygwin with libtool. From Robert Collins.
2158 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2160 * tests/dirname.test: Explicitly use $SHELL to run the
2161 script; this avoids failures on DJGPP.
2162 * tests/install2.test: Skip if 'chmod 000' doesn't make
2165 2001-07-21 Tom Tromey <tromey@redhat.com>
2167 * tests/libtool2.test: Check for libtoolize.
2169 * tests/Makefile.am (TESTS): Added substtarg.test.
2170 (XFAIL_TESTS): Likewise.
2171 * tests/substtarg.test: New file.
2173 * automake.in (handle_dist): Handle case where aux dir doesn't
2174 have a Makefile. Fixes depdist.test.
2175 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2176 * tests/depdist.test: Look for config/depcomp.
2178 * tests/Makefile.am (TESTS): Added depdist.test.
2179 (XFAIL_TESTS): Likewise.
2180 * tests/depdist.test: New file. From Eric Magnien.
2182 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2183 AC_PROG_CC_C_O does require AC_PROG_CC.
2186 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2188 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2189 output is suitable for make.
2191 * automake.texi (Macros): Document AM_PROG_AS.
2192 (Assembly Support): New node.
2193 * m4/Makefile.am (m4data_DATA): Added as.m4.
2194 * m4/as.m4: New file.
2196 * automake.texi (Tags): Added uref to global tags.
2198 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2200 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2201 instead of hardcoding '.deps'.
2202 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2204 2001-07-20 Derek Price <dprice@collab.net>
2206 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2208 * tests/dirname.test: New test.
2209 * tests/stamph2.test: New test.
2210 * tests/Makefile.am: Add new tests.
2211 * tests/Makefile.in: Regenerated.
2213 2001-07-19 Tom Tromey <tromey@redhat.com>
2215 * automake.texi (Tags): Document GTAGS_ARGS.
2216 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2218 2001-07-19 Tom Tromey <tromey@redhat.com>
2219 Alexandre Duret-Lutz <duret_g@epita.fr>
2221 Fix for ccnoco.test, subobj8.test:
2222 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2223 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2225 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2226 Use AM_AUX_DIR_EXPAND.
2227 * lib/compile: Handle case where `-o' argument is the name of an
2228 executable, not an object file.
2229 * m4/auxdir.m4: New file, from...
2230 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2231 * automake.in (handle_single_transform_list, lang_c_rewrite):
2232 Require compile using `require_config_file'.
2234 2001-07-19 Tom Tromey <tromey@redhat.com>
2236 * automake.texi (Program and Library Variables): Added X example
2239 2001-07-19 Tom Tromey <tromey@redhat.com>
2241 * automake.texi (Distributing): Updated to reflect new license.
2243 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2245 * automake.in (require_build_directory): New function, extracted
2247 (handle_single_transform_list): ... here.
2248 (require_build_directory_maybe): New function.
2249 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2250 require_build_directory_maybe() to ensure the subdirectory
2251 in which a target may lie will exist when the target is created.
2252 (handle_libraries, handle_ltlibraries): Use basename before
2253 checking library name.
2254 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2255 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2256 * lib/am/program.am (%PROGRAM%): Likewise.
2258 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2260 * m4/missing.m4: Reword comment.
2262 2001-07-18 Pavel Roskin <proski@gnu.org>
2264 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2265 * tests/gcj.test: Likewise.
2266 * tests/gcj2.test: Likewise.
2267 * tests/gcj3.test: Likewise.
2269 2001-07-18 Tom Tromey <tromey@redhat.com>
2271 * lib/compile: Change how lockdir is computed. If linking or
2272 compiling without `-o', just run the compiler.
2274 * tests/Makefile.am (TESTS): Added ccnoco.test.
2275 (XFAIL_TESTS): Likewise.
2276 * tests/ccnoco.test: New file.
2278 2001-07-17 Tom Tromey <tromey@redhat.com>
2280 * lib/ylwrap: Added special exception.
2281 * lib/py-compile: Added license.
2282 * lib/mdate-sh: Added special exception.
2283 * lib/elisp-comp: Added special exception.
2284 * lib/compile: Added special exception.
2285 * lib/depcomp: Added special exception.
2287 Report from Motoyuki Kasahara:
2288 * tests/make.test: Use am__include.
2289 * tests/exsource.test: Use am__include.
2290 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2291 * automake.in (handle_languages): Use am__include and am__quote.
2293 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2294 * m4/init.m4: Updated callers.
2296 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2298 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2299 * aclocal.in (scan_configure, add_file): Handle the full macro
2300 name even if it contains numbers, such as I18N.
2302 2001-07-16 Tom Tromey <tromey@redhat.com>
2304 * automake.texi (Dependencies): Link to dependency tracking page.
2305 (Data): Mention dist_.
2306 (Clean): Mention clean heuristics.
2307 (Install): Mention nobase_.
2309 * automake.texi (Program and Library Variables): Document _LINK.
2311 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2313 * automake.in (handle_libraries): Allow libraries to lie in
2314 a subdirectory by constraining only the basename to start
2315 with 'lib', not the whole path.
2317 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2319 * tests/subobj8.test: New file.
2320 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2322 2001-07-16 Tom Tromey <tromey@redhat.com>
2324 Fix for PR automake/212:
2325 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2326 (uninstall-%DIR%LISP): Likewise.
2328 2001-07-15 Tom Tromey <tromey@redhat.com>
2330 * automake.in (usage): Rewrote code to handle columnization.
2331 From Alexey Mahotkin and Maxim Sinev.
2333 Report from Ralf Corsepius:
2334 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2335 (SUFFIX_RULE_PATTERN): Likewise.
2336 * tests/Makefile.am (TESTS): Added cxx.test.
2337 * tests/cxx.test: New file.
2339 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2340 From Shigio Yamaguchi.
2342 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2344 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2345 remain after "make uninstall".
2347 2001-07-14 Tom Tromey <tromey@redhat.com>
2349 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2351 * lib/missing (makeinfo): Redirect stdout and stderr outside
2352 subshell. From Alexandre Oliva.
2354 2001-07-14 Akim Demaille <akim@epita.fr>
2356 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2357 `\b(foo|bar)\b' is what we want.
2358 * aclocal.in: Likewise.
2360 2001-07-14 Akim Demaille <akim@epita.fr>
2362 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2364 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2365 actually modified to require AM_DEPENDENCIES.
2366 Rename `confdir' as `conftest.dir' so that the configure trap
2369 2001-07-04 Tom Tromey <tromey@redhat.com>
2371 Fix for nolink.test:
2372 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2373 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2374 * automake.in (am_install_var): Only rewrite PROGRAMS if
2376 (make_paragraphs): Always define %EXEEXT%.
2378 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2380 * tests/nolink.test: New file.
2381 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2383 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2385 * automake.in (scan_texinfo_file): Add the second argument to
2386 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2387 itself may not be used directly.
2389 2001-07-04 Tom Tromey <tromey@redhat.com>
2392 * lib/missing (makeinfo): Use subshell, not explicit sh
2395 * automake.texi (Headers): Mention that we prefer uninstalled
2396 headers in _SOURCES.
2397 (ANSI): Mention cross-compilation limitation.
2399 2001-07-03 Tom Tromey <tromey@redhat.com>
2401 * configure.in: Upped to 1.4i.
2403 * configure.in: Released 1.4h.
2405 * lib/config.guess, lib/config.sub: Updated.
2407 2001-07-02 Tom Tromey <tromey@redhat.com>
2409 Fix for libtool2.test:
2410 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2411 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2412 * automake.in (generate_makefile): Call handle_libtool
2414 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2416 * tests/libtool2.test: Look for `.lo' files to be removed.
2418 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2420 * tests/Makefile.am (TESTS): Removed dup.test.
2421 * tests/dup.test: Removed.
2422 * aclocal.in (scan_file): Don't give error for duplicate macro.
2424 2001-07-01 Tom Tromey <tromey@redhat.com>
2426 * automake.texi (Program and Library Variables): Document
2427 subdir-objects. Document fact that per-object flags override AM_
2429 (Options): Likewise.
2430 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2431 (Multilibs): New node.
2432 (Macros): Documented missing macros.
2433 (Auxiliary Programs): New node.
2435 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2436 mode, then simply fail.
2438 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2440 * lib/ylwrap: Improve support for DOS paths (and paths
2441 containing backslashes in general).
2443 2001-07-01 Tom Tromey <tromey@redhat.com>
2445 * lib/missing: Added special exception to license.
2448 * lib/missing: Updated. Added comment explaining configure.ac
2451 * lib/depcomp: Reorder arguments to gcc3.
2452 From Per Oyvind Hvidsten.
2454 * tests/Makefile.am (TESTS): Added libtool2.test.
2455 * tests/libtool2.test: New file.
2457 * automake.texi (Program and Library Variables): Added example for
2460 2001-06-29 Tom Tromey <tromey@redhat.com>
2462 * tests/cond11.test: Use `=', not `=='.
2463 * tests/cond12.test: Look for automake in build directory, not
2466 2001-06-29 Richard Boulton <richard@tartarus.org>
2468 * automake.in (conditionals_true_when): Pass first parameters by
2469 reference, avoiding bug which put all parameters in @CONDS instead
2470 of @WHENS. Report by Kalle Olavi Niemitalo.
2471 Take a single WHEN instead of an array of WHENS.
2472 Remove FIXME; can't now have an empty @WHENS.
2473 (conditional_is_redundant): New sub.
2474 (variable_conditions_reduce): Check whether each condition is
2475 implied by any of the other conditions (other those already
2476 discarded), rather than checking only against those already
2477 considered (and kept). Also, fix sense of check: was keeping
2478 tautologous terms instead of discarding them. Use
2479 conditional_is_redundant instead of conditionals_true_when.
2480 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2481 * tests/cond11.test: New file.
2482 * tests/cond12.test: New file.
2484 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2486 * automake.in (saw_sources_p): Work even if there are more
2487 than one header files, and more than of one type of header.
2488 * tests/Makefile.am (TESTS): Added new file.
2489 * tests/depend4.test: New file.
2491 2001-06-28 Tom Tromey <tromey@redhat.com>
2493 * lib/am/libs.am (RANLIB): Don't define.
2495 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2497 * automake.in (am_install_var): Assign 1 to $first on
2500 2001-06-23 Tom Tromey <tromey@redhat.com>
2503 * lib/ylwrap: Changed usage.
2504 * lib/am/yacc.am: Rewrote to use new substitutions.
2505 * lib/am/lex.am: Likewise.
2506 * automake.in (handle_languages): Skip files whose language
2507 doesn't have a compiler. Handle `define_flag' attribute.
2508 Changed '$' to "\$" to aid Emacs fontification.
2509 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2510 `_target_hook' and `define_flag'.
2511 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2512 and `compiler' attributes. Removed `linker', `derived_autodep',
2513 and `ansi' attributes. Added `define_flag'.
2514 (yacc, yaccxx): Added `_target_hook'.
2515 (saw_extension): Count number of times extension seen.
2516 (count_files_for_language): New sub.
2517 (saw_sources_p): Use it.
2518 (handle_single_transform_list): Allow language rewrite function
2519 to return a new source extension. Call target_hook.
2520 (yacc_sources, lex_sources): Removed.
2521 (initialize_per_input): Don't initialize yacc_sources or
2523 (lang_yacc_rewrite): Rewrote.
2524 (lang_yaccxx_rewrite): Likewise.
2525 (lang_lex_rewrite): Likewise.
2526 (lang_lexxx_rewrite): Likewise.
2527 (output_yacc_build_rule): Removed.
2528 (output_lex_build_rule): Removed.
2529 (lang_yacc_finish): Removed build rule generation.
2530 (lang_lex_finish): Likewise.
2531 (DASH_D_PATTERN): New global.
2532 (lang_yacc_target_hook): New function.
2533 (_target_hook): New function.
2534 (register_language): Default `define_flag'.
2535 * tests/yacc5.test: Updated test.
2536 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2537 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2538 for all YFLAGS variables.
2540 2001-06-20 Tom Tromey <tromey@redhat.com>
2542 * tests/yacc5.test: Check for per-executable YFLAGS.
2544 2001-06-19 Tom Tromey <tromey@redhat.com>
2546 * tests/Makefile.am (TESTS): Added yacc5.test.
2547 * tests/yacc5.test: New file.
2549 2001-06-17 Tom Tromey <tromey@redhat.com>
2551 * automake.in (require_file_internal): Check for already-required
2552 file after searching for it, and only if it is not found. Don't
2553 use `readlink' when checking for dangling symlink. Work if
2554 --force-missing specified.
2555 * tests/acoutput2.test: Also test --force-missing.
2557 Fix for libtool.test:
2558 * automake.in (generate_makefile): Call handle_libtool.
2559 (handle_libtool): New sub.
2560 (handle_compile): Don't read `libtool' file.
2562 * tests/acoutput2.test: New file.
2563 * tests/Makefile.am (TESTS): Added acoutput2.test.
2565 2001-06-15 Tom Tromey <tromey@redhat.com>
2567 * tests/Makefile.am (TESTS): Added libtool.test.
2568 * tests/libtool.test: New file.
2570 2001-06-14 Tom Tromey <tromey@redhat.com>
2572 Fix some lisp bugs reported by Bruno Haible:
2573 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2575 (install-%DIR%LISP): Handle case where lispdir is not defined.
2576 (uninstall-%DIR%LISP): Likewise.
2577 (.el.elc): Added `else' clause.
2579 Fix for bug reported by Steve M. Robbins:
2580 * automake.in (handle_single_transform_list): When building a file
2581 from a subdirectory, continue to use `AM_' prefix.
2582 * tests/Makefile.am (TESTS): Added subobj7.test.
2583 * tests/subobj7.test: New file.
2585 * lib/am/configure.am ($(top_builddir)/config.status): Added
2586 $(top_builddir) prefix to work around problems with some vendor
2587 makes. From Nicolas Joly.
2589 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2590 top_srcdir. From Tim Van Holder.
2591 * tests/Makefile.am (TESTS): Added yacc6.test.
2592 * tests/yacc6.test: New file.
2594 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2596 * tests/defs, tests/installsh.test: Properly support
2599 2001-06-14 Tom Tromey <tromey@redhat.com>
2601 * tests/Makefile.am (TESTS): Added mdate4.test.
2602 * tests/mdate4.test: New file.
2604 * aclocal.in (scan_m4_files): Removed unused variable.
2606 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2608 * aclocal.in (scan_m4_files): Tweak the building of &search so
2609 that multiple macro names can be found on the same line. Ensure
2610 we match whole macro name, not only substrings.
2612 2001-06-12 Tom Tromey <tromey@redhat.com>
2614 * automake.texi (ANSI): Minor clarification.
2615 (Other GNU Tools): Don't mention Guile.
2617 (Java Support): Mention file extensions.
2618 (Man pages): Mention dist_. Don't mention info pages.
2620 2001-06-11 Tom Tromey <tromey@redhat.com>
2622 * automake.texi (Program variables): Document AM_CPPFLAGS.
2624 (Java Support): Document AM_GCJFLAGS.
2625 (Support for Other Languages): Removed `fixme'; added link to
2626 suffix rule handling.
2628 * automake.texi (Program and Library Variables): Document _LIBADD,
2629 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2631 2001-06-11 Kevin Dalley <kevind@rahul.net>
2633 * missing: Support configure.ac.
2635 2001-06-08 Tom Tromey <tromey@redhat.com>
2637 * tests/version4.test: New file.
2638 * automake.in (version_check): New sub.
2639 (handle_options): Use it.
2640 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2641 (TESTS): Added version4.test.
2642 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2643 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2645 2001-06-04 Kevin Dalley <kevind@rahul.net>
2647 * lib/am/dejagnu.am (site.exp): Fix typo.
2649 2001-06-02 Tom Tromey <tromey@redhat.com>
2651 * automake.in (variable_conditions_sub): Move parent-only code
2653 (variable_conditions): ... to here.
2654 (variable_conditions_sub): Include this variable's conditions in
2655 the resulting condition list.
2656 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2658 2001-06-01 Tom Tromey <tromey@redhat.com>
2660 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2662 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2664 2001-05-31 Tom Tromey <tromey@redhat.com>
2666 * automake.texi (Alternative): New node.
2667 (Macros): Use new name for gcc.
2668 (Java Support): Likewise.
2669 (Dependencies): Rewrote.
2670 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2673 * automake.texi (Top level): Removed erroneous spaces. Documented
2676 2001-05-29 Tom Tromey <tromey@redhat.com>
2678 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2680 * automake.texi (Include): Rewrote.
2681 (Suffixes): Remove Java example.
2682 (Java): Added more explanation. Document variables.
2683 (Uniform): Mention JAVA as a primary.
2684 (Python): Updated for new Python support.
2685 (Sources): Added a weak example.
2687 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2689 * automake.texi (A Program): Mention `check' prefix.
2690 (Program and Library Variables): New node.
2691 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2693 (etags): Mention per-program flags.
2694 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2697 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2700 2001-05-28 Tom Tromey <tromey@redhat.com>
2702 * m4/Makefile.am (MAINT_CHARSET): Removed.
2703 * Makefile.am (MAINT_CHARSET): Removed.
2704 * automake.in (maint_charset, dist_charset): Removed.
2705 (local_maint_charset): Removed.
2706 (initialize_per_input): Don't use maint_charset.
2707 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2709 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2711 (.%SUFFIX%.dvi): Likewise.
2712 (.%SUFFIX%): Likewise.
2714 2001-05-27 Tom Tromey <tromey@redhat.com>
2716 * automake.in (handle_multilib): Only add multilib support code at
2718 * lib/am/multilib.am: Handle invocation of *-multi targets
2719 differently for SUBDIRS and non-SUBDIRS Makefiles.
2720 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2721 Only add multilib code when the Makefile in question is actually
2724 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2726 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2728 * automake.in (handle_single_transform_list): Skip unknown
2731 2001-05-25 Tom Tromey <tromey@redhat.com>
2733 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2735 2001-05-24 Tom Tromey <tromey@redhat.com>
2737 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2738 directory in some situations.
2740 * automake.in (generate_makefile): Better explanation for ansi2knr
2743 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2745 * automake.in (handle_languages): Skip unknown extensions.
2746 (derive_suffix): Check whether $extension_map{$source_ext}
2747 is undefined, not empty.
2749 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2751 * automake.in (read_am_file): Ignore trailing backslash on
2754 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2756 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2758 2001-05-21 Akim Demaille <akim@epita.fr>
2760 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2761 multiple times'' warning.
2763 2001-05-20 Tom Tromey <tromey@redhat.com>
2765 * configure.in: Updated to 1.4g.
2767 * configure.in: Updated to 1.4f.
2769 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2771 * lib/ansi2knr.c: New version.
2773 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2776 2001-05-19 Tom Tromey <tromey@redhat.com>
2778 * config.guess, config.sub: New versions from FSF.
2780 * Makefile.am (fetch): Compare against files in srcdir.
2782 For for ansi2knr report from Harlan Stenn:
2783 * automake.in (generate_makefile): Run handle_compile before
2786 2001-05-18 Tom Tromey <tromey@redhat.com>
2788 * automake.in: Reverted erroneous checkin.
2790 2001-05-18 Akim Demaille <akim@epita.fr>
2792 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2793 to missing `install-info'.
2795 2001-05-17 Tom Tromey <tromey@redhat.com>
2797 * automake.in (lang_c_finish): Use `rm -f'.
2799 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2800 * tests/Makefile.am (TESTS): Added new file.
2801 * tests/ansi5.test: New file.
2803 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2805 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2807 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2808 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2809 * automake.texi (Requirements): Document the use of the STRIP
2810 variable in cross-compilation environments.
2812 2001-05-17 Tom Tromey <tromey@redhat.com>
2814 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2815 to no dependency tracking.
2816 * tests/Makefile.am (TESTS): Added depcomp2.test.
2817 * tests/depcomp2.test: New file. From Pavel Roskin.
2819 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2821 * lib/depcomp (tru64): New dependency tracking mode.
2823 Fix for PR automake/159:
2824 * lib/depcomp (aix): Rewrote.
2827 Fix for PR automake/174:
2828 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2829 * automake.in (read_am_file): Warn if `#' is at start of rule.
2831 2001-05-16 Tom Tromey <tromey@redhat.com>
2833 For PR automake/174:
2834 * tests/Makefile.am (TESTS): Added comment3.test.
2835 (XFAIL_TESTS): Likewise.
2836 * tests/comment3.test: New file.
2838 Fix for PR automake/175:
2839 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2840 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2841 `Leaving directory' messages.
2843 For PR automake/175:
2844 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2845 * tests/make.test: Run test with `make -w'.
2847 * tests/Makefile.am (TESTS): Removed maintclean.test.
2848 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2850 * lib/am/configure.am (maintainer-clean-am): Removed.
2851 (maintainer-clean-conf): Removed.
2852 * tests/maintclean.test: Removed.
2854 2001-05-15 Tom Tromey <tromey@redhat.com>
2856 Fix for PR automake/177:
2857 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2858 automake or aclocal.
2860 Fix for maintclean.test:
2861 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2862 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2864 (distclean, maintainer-clean): Moved to...
2865 * lib/am/configure.am: ... here.
2866 (distclean): Remove config.cache and config.log.
2867 (maintainer-clean): Removed.
2868 (maintainer-clean-conf): New target.
2869 (maintainer-clean-am): New target.
2871 * tests/Makefile.am (TESTS): Added maintclean.test.
2872 (XFAIL_TESTS): Likewise.
2873 * tests/maintclean.test: New file.
2875 Fixes PR automake/175:
2876 * tests/target-cflags.test: Use $needs_gnu_make.
2877 * tests/exsource.test: Use $needs_gnu_make.
2878 * tests/make.test: Require GNU make.
2879 * tests/defs (needs_gnu_make): Compute.
2881 2001-05-14 Tom Tromey <tromey@redhat.com>
2883 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2886 Fix for texinfo10.test.
2887 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2888 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2889 * automake.in (handle_texinfo_helper): New sub.
2890 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2891 * tests/texinfo10.test: Added more cases.
2893 Fix for yaccvpath.test:
2894 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2895 * lib/am/distdir.am (distdir): Always look for file in build
2897 * lib/ylwrap: Quote the `#line' regular expression.
2898 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2899 change; don't run sed on the generated file.
2900 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2901 to make sure parser will be rebuilt at dist time.
2903 2001-05-13 Pavel Roskin <proski@gnu.org>
2905 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2906 beginning with `##'.
2907 * automake.texi (General Operation): Document it.
2909 2001-05-13 Tom Tromey <tromey@redhat.com>
2911 Reported by Rainer Orth:
2912 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2914 * tests/Makefile.am (TESTS): Added distname.test.
2915 * tests/distname.test: New file.
2917 * Makefile.am (dist_pkgdata_DATA): Removed.
2919 * tests/defs: Find files to copy in lib/.
2920 * automake.in (perllibdir): Set to Automake directory.
2921 * ansi2knr.c, ansi2knr.1: Removed.
2922 * Makefile.am (dist_am_DATA): Removed.
2924 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2926 (scriptdir): Removed.
2927 (dist_script_DATA): Likewise.
2928 (install-data-hook): Likewise.
2929 (installcheck-local): Likewise.
2930 (TAGS_FILES): Removed amfiles.
2931 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2932 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2933 point it to the right directory.
2934 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2935 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2936 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2937 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2938 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2939 mans.am, multilib.am, program.am, progs.am, python.am,
2940 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2941 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2942 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2943 (AUTOMAKE): Use --libdir, not --amdir.
2944 Ues AC_CONFIG_AUX_DIR.
2945 * lib/Makefile.am (SUBDIRS): Added `am'.
2946 (scriptdir): New macro.
2947 (dist_script_DATA): Likewise.
2948 (dist_pkgdata_DATA): Likewise.
2949 (install-data-hook): New target.
2950 (installcheck-local): Likewise.
2951 * lib/am/Makefile.in: New file.
2952 * lib/am/Makefile.am: Removed everything except amdir and
2955 2001-05-13 Akim Demaille <akim@epita.fr>
2957 * automake.in ($pkgdata_dir): Rename as...
2959 ($am_dir): Remove, replace its uses with $libdir.
2960 (&parse_arguments): Replace --amdir with --libdir.
2961 * automake.texi (Invoking Automake): Document --libdir, not
2963 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2965 2001-05-13 Tom Tromey <tromey@redhat.com>
2967 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2969 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2970 Correctly look at AMDEP_TRUE, not AMDEP.
2972 Report from Robert Boehne:
2973 * tests/Makefile.am (TESTS): Added depend2.test.
2974 * tests/depend2.test: New file.
2976 2001-05-13 James Henstridge <james@daa.com.au>
2978 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2979 Point pythondir at site-packages directory. Rename
2980 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
2981 pyexecdir. Removed package/module argument. Removed
2982 PYTHON_SITE_INSTALL. Added version checking.
2984 2001-05-14 Jim Meyering <meyering@lucent.com>
2986 * automake.in (macro_define): Change one remaining use of
2987 `variable_dump' to `macro_dump'.
2989 2001-05-13 Tom Tromey <tromey@redhat.com>
2991 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
2994 2001-05-13 Akim Demaille <akim@epita.fr>
2996 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
2997 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
2998 (&am_primary_prefixes): Use `map' rather than `grep'.
3000 2001-05-13 Akim Demaille <akim@epita.fr>
3002 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3004 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3005 (&lang_asm_finish): Remove, set asm's finisher to C's one.
3007 2001-05-13 Akim Demaille <akim@epita.fr>
3009 * lang-compile.am: New file, loaded once per language.
3010 * depend2.am: Move definitions loaded once per language in the
3011 aforementioned file.
3012 * automake.in (&handle_languages): Load it.
3013 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3014 handled by lang-compile.am.
3016 2001-05-13 Tom Tromey <tromey@redhat.com>
3018 * tests/Makefile.am (TESTS): Added python.test.
3019 * tests/python.test: New file.
3020 * automake.in (handle_languages): Use
3021 config_aux_dir_set_in_configure_in.
3022 (handle_python): Correctly mention AM_PATH_PYTHON. Use
3023 py-compile, not py_comp. Define py_compile macro.
3025 2001-05-13 Derek Price <dprice@openavenue.com>
3027 * automake.in (require_file_with_conf_line,
3028 require_file_with_line, require_file): Pass a @require_file_path
3029 of $relative_dir instead of '.' to require_file_internal so that
3030 all the special casing of '.' can be removed elsewhere.
3031 (require_config_file, require_conf_file_with_line,
3032 require_conf_file_with_conf_line): Remove special casing for '.'
3033 and make sure $config_aux_dir is maintained properly.
3034 (require_file_internal): Remove special casing of '.' and set
3035 @require_file_path when missing files are added.
3036 (maybe_push_required_file): Remove special casing of '.'
3037 (handle_dependencies): Remove a workaround for a bug now fixed
3038 and remove $config_aux_dir special casing.
3039 (handle_configure): Remove special casing for $config_aux_dir
3040 (handle_python): Ditto.
3041 (yacc_lex_finish_helper): Change $config_aux_dir switch to
3042 switch on the value of $config_aux_dir_set_in_configure_in.
3043 (handle_texinfo): Ditto.
3044 (scan_one_configure_file): Set $config_aux_dir and
3045 $config_aux_dir_set_in_configure_in properly so special casing
3046 on the value of $config_aux_dir can be removed elsewhere.
3047 * tests/depcomp.test: New file.
3048 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3049 first subdir containing a C file.
3050 * tests/libobj2.test: Ditto.
3051 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3053 2001-05-12 Tom Tromey <tromey@redhat.com>
3055 * tests/gcj.test: Updated for gcj dependency tracking.
3056 * tests/gcj2.test: Likewise.
3058 Fixes PR automake/169.
3059 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
3061 * automake.in (java): Added autodep entry.
3062 * tests/Makefile.am (TESTS): Added gcj3.test.
3063 * tests/gcj3.test: New file.
3065 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
3067 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3068 stop at the first '='.
3069 * tests/Makefile.am (TESTS): Added vars.test.
3070 * tests/vars.test: New file.
3072 2001-05-12 Akim Demaille <akim@epita.fr>
3074 * automake.in (&handle_single_transform_list): Simplify
3075 computation of $object and $this_obj_ext.
3076 * tests/lex3.test: Merge into...
3077 * tests/lex.test: here.
3078 * tests/pr19.test: Improve and rename as...
3079 * tests/lex3.test: this.
3081 2001-05-09 Tom Tromey <tromey@redhat.com>
3083 * automake.in (read_am_file): Correctly compute $saw_bk.
3084 (scan_autoconf_files): Ensure configure_dist_common is always
3086 * tests/defs (AUTOMAKE): Added --Werror.
3088 2001-05-09 Pavel Roskin <proski@gnu.org>
3090 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3093 2001-05-09 Tom Tromey <tromey@redhat.com>
3095 * tests/werror.test: Use `rm -f'.
3097 2001-05-09 Akim Demaille <akim@epita.fr>
3099 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3101 2001-05-09 Akim Demaille <akim@epita.fr>
3103 * automake.in: Remove some code left from bad patches.
3104 (&handle_dependency): Remove, for the same reason.
3106 2001-05-09 Akim Demaille <akim@epita.fr>
3108 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3109 (&handle_tests_dejagnu, &define_standard_variables): Don't.
3110 (&define_standard_variables): Don't transform %top_builddir% since...
3111 * header-vars.am: Use %TOPDIR% instead.
3113 2001-05-09 Akim Demaille <akim@epita.fr>
3115 * automake.in (@objects): Remove, unused.
3116 Remove all the code related to it, and to former `$(OBJECTS)'.
3118 2001-05-08 Tom Tromey <tromey@redhat.com>
3121 * ylwrap: Handle arguments to program. Remove old code that tried
3122 to avoid absolute paths and add new code to do it in all cases.
3123 Removed ancient logic that tried to deal with relative path.
3124 * tests/Makefile.am (TESTS): Added yacc4.test.
3125 * tests/yacc4.test: New file.
3127 Fix for PR automake/149 and werror.test:
3128 * automake.in (require_file_internal): Use am_line_warning or
3129 am_conf_line_warning when suppressing error.
3130 (am_line_warning): New sub.
3131 (am_conf_line_warning): Save and restore warning signal.
3132 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3134 Fix for PR automake/36:
3135 * tests/Makefile.am (TESTS): Added asm.test.
3136 * tests/asm.test: New file.
3137 * automake.in (asm): Use ASFLAGS and AS.
3138 (lang_asm_finish): New sub.
3140 * automake.in (read_am_file): Removed debugging code.
3142 For PR automake/149:
3143 * tests/Makefile.am (TESTS): Added werror.test.
3144 (XFAIL_TESTS): Likewise.
3145 * tests/werror.test: New file.
3147 * automake.in (conditional_true_when): Don't return if we see
3150 * tests/objc.test: Removed.
3151 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3154 * automake.in (subst): New sub.
3155 (handle_languages): Use it.
3156 (output_lex_build_rule): Likewise; also use _am_quote.
3157 (check_libobjs_sources): Likewise.
3158 (make_paragraphs): Use subst.
3160 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3163 * automake.in (file_contents_internal): Prototype now `$$%'.
3164 (register_language): Prototype now `%'.
3166 Fixes test subobj6.test and PR automake/160:
3167 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3168 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3169 (distclean-compile): Added DISTRMS.
3170 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3171 `mostlyclean' use; added test for non-subdir case.
3172 * automake.in (compile_clean_files): New global.
3173 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3174 (initialize_per_input): Initialize compile_clean_files.
3175 (handle_single_transform_list): Set compile_clean_files entries.
3176 (handle_compile): Handle compilation cleanups.
3178 2001-05-08 Lars J. Aas <larsa@sim.no>
3180 * automake.texi (Canonicalizing Automake macros): Document not
3181 canonicalizing strudels (@) anymore.
3183 2001-05-08 Akim Demaille <akim@epita.fr>
3185 * distdir.am (dist-all): Build all the flavors using a single
3188 2001-05-08 Akim Demaille <akim@epita.fr>
3190 * automake.in (&file_contents_internal): Apply the @cond_stack to
3191 the rules and assignments.
3192 Don't rely on `$.' as it's biased by &make_paragraphs.
3193 Don't remove backslashes in variable values.
3195 2001-05-08 Akim Demaille <akim@epita.fr>
3197 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3198 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3199 ($MACRO_PATTERN): Just catch the name of a macro.
3200 ($BOGUS_MACRO_PATTERN): Remove.
3201 ($ASSIGNMENT_PATTERN): New.
3202 (&file_contents_internal, &make_paragraphs): Adjust.
3203 (¯o_define): Catch bad macro names.
3204 (&cond_stack_endif): Better error message.
3205 (&file_contents_internal): Don't remove backslashes in variable
3207 (¯o_define): Do it for `+=' user variables.
3208 (&define_standard_variables): Use `undef' instead of a dummy
3210 (&make_paragraph): Be sure not to chop the trail of hash only
3211 lines: adjust the `##' regexp.
3212 (&rule_define): Fix a bug: don't read $1 but $target.
3213 * tests/condincl.test: Strengthen.
3215 2001-05-08 Akim Demaille <akim@epita.fr>
3217 * automake.in (Language): Add attributes `Name' and `config_vars'.
3218 (&finish): Work properly if there is no _finish.
3219 (Automake): Register language Names and AC_SUBST dependencies.
3220 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3221 (&handle_languages): Once per language, invoke
3222 `define_linker_variables', and check its config_vars.
3223 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3224 (&lang_java_finish): Remove.
3225 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3227 2001-05-08 Akim Demaille <akim@epita.fr>
3229 * automake.in (&file_contents_internal): Accept $IS_AM.
3230 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3232 2001-05-08 Akim Demaille <akim@epita.fr>
3234 * automake.in (am_install_var): Use `next' instead of `if' on the
3237 2001-05-08 Akim Demaille <akim@epita.fr>
3239 * automake.in (Language): Add attributes `lder' and `ld'.
3240 (®ister_language): Specify for cxx, objc, f77, gcj.
3241 (&define_linker_variable): New.
3242 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3243 (&lang_java_finish): Adjust.
3244 (&libtool_compiler): Remove.
3246 2001-05-08 Akim Demaille <akim@epita.fr>
3248 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3249 argument, as you don't use it.
3251 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3254 (&handle_programs): Don't mess with %lex_sources, as you don't use
3257 2001-05-08 Akim Demaille <akim@epita.fr>
3259 * automake.in (Language): Add attribute `link'.
3260 (®ister_language): Specify for cxx, objc, f77, gcj.
3261 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3262 (&lang_java_finish): Adjust.
3264 2001-05-08 Akim Demaille <akim@epita.fr>
3266 * automake.in (&define_compiler_variables): Use only $LANG as
3268 (&handle_languages): Adjust.
3270 2001-05-08 Akim Demaille <akim@epita.fr>
3272 * automake.in (&define_program_variable): Remove.
3273 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3275 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3276 * texinfos.am: Do it.
3278 2001-05-08 Akim Demaille <akim@epita.fr>
3280 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3282 * dejagnu.am: Do it.
3283 (site.exp): Use `if'.
3285 2001-05-08 Akim Demaille <akim@epita.fr>
3287 * automake.in: Formatting changes.
3288 (variable_dump, variables_dump): Rename as...
3289 (macro_dump, macros_dump): these.
3291 2001-05-08 Akim Demaille <akim@epita.fr>
3293 Support `if !COND', `else COND', `end COND'.
3295 * automake.texi (Conditionals): Document it.
3296 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3297 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3298 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3299 a leading `!' before the condition.
3300 (&handle_options): Use `\d'.
3301 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3302 (&read_am_file, &file_contents_internal): Use them.
3303 (&transform): No longer substitute `%!COND%', forcing the use of
3305 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3307 2001-05-08 Akim Demaille <akim@epita.fr>
3309 Uniform handling of per-object compilation rules.
3310 Note: Automake is repaired.
3312 * automake.in (&handle_languages): Output per object rules for all
3313 the objects, not only for those which language supports dependency
3315 Fix Automake: when outputting per-object rules, use `-o' if the
3316 language has no `output_flag', as it's really needed.
3317 (&handle_single_transform_list): Instead of special casing files
3318 which need per object rules but which language don't support
3319 dependency tracking, keep them in the queue for processing by
3320 `&handle_languages'.
3322 2001-05-08 Akim Demaille <akim@epita.fr>
3324 * automake.in (&handle_languages): `ext-compile.am' and
3325 `depend2.am' are now equivalent for generic rules: output only the
3327 * ext-compile.am: Remove.
3329 2001-05-08 Akim Demaille <akim@epita.fr>
3331 Note: This patch breaks Automake. Repaired within two patches.
3333 * automake.in (Language): Replace the attribute `output_arg' with
3334 `compile_flag' and `output_flag'.
3335 (Automake): Adjust language registrations.
3336 (&handle_languages): Transform `-c' and `-o' for both suffix and
3337 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3339 (&handle_single_transform_list): Adjust to `compile_flag' and
3341 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3343 2001-05-08 Akim Demaille <akim@epita.fr>
3345 * automake.in (&handle_languages): Don't transform %COMPILER%.
3346 Use `$lang->compiler' instead of `$pfx' to transform generic
3347 %COMPILE% and %LTCOMPILE%.
3348 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3349 of %COMPILER% and $<.
3351 2001-05-07 Akim Demaille <akim@epita.fr>
3353 * automake.in (&handle_languages): Use the same `%transform' for
3354 both `depend2.am' and `ext-compile.am'.
3355 Delay the definition of `$flag' so it is right before the first use,
3356 and rename as `$flags'.
3358 2001-05-07 Akim Demaille <akim@epita.fr>
3360 * automake.in (&handle_languages): Compute `$ltoutarg' and
3361 `$outarg' independently of dependency code.
3362 There is no use looping on a language's possible extensions since
3363 we loop over used extensions.
3364 Therefore, there is no use for a local `%transform'.
3366 2001-05-07 Akim Demaille <akim@epita.fr>
3368 * automake.in (&handle_languages): Don't use $comp.
3370 2001-05-07 Akim Demaille <akim@epita.fr>
3372 * automake.in (&handle_languages): Merge the two loops over
3373 %extension_seen/%languages into one and group code to be run once
3374 per language together.
3376 2001-05-07 Akim Demaille <akim@epita.fr>
3378 * automake.in (&handle_languages): Move the `if
3379 ($use_dependencies)' block so that loops over extensions and
3380 languages are next to each other.
3382 2001-05-07 Akim Demaille <akim@epita.fr>
3384 * automake.in (&depend2): Remove, merged into...
3385 (&handle_languages): here.
3387 2001-05-07 Akim Demaille <akim@epita.fr>
3389 * automake.in (&finish_languages): Rename as...
3390 (&handle_languages): this.
3391 Include the body of...
3392 (&handle_dependency): this.
3395 2001-05-06 Tom Tromey <tromey@redhat.com>
3398 * tests/Makefile.am (TESTS): Add subdir5.test.
3399 (XFAIL_TESTS): Likewise.
3400 * tests/subdir5.test: New file.
3402 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3403 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3405 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3407 (handle_options): Handle fork identifier in version number.
3409 * automake.texi (Dist): Document distcheck-hook.
3411 * tests/confh4.test: Update to reflect DEFS change.
3412 For PR automake/132.
3414 Fix for PR automake/132:
3415 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3417 (java): Remove INCLUDES and DEFS from compilation.
3418 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3419 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3420 (DEFAULT_INCLUDES): New macro.
3422 * automake.in (usage): Re-align explanatory text.
3423 Fixes PR automake/148.
3425 * automake.texi (Uniform): Don't use @PROGRAMS@.
3426 Fixes PR automake/154.
3428 For PR automake/160:
3429 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3430 (XFAIL_TESTS): Add subobj6.test.
3431 * tests/subobj6.test: New file.
3433 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3434 (Top level): Don't mention `flat'.
3435 (Extending): Likewise.
3436 (User Variables): New node.
3438 * distdir.am (distdir): Make subdirectory for each file.
3439 Fixes test subobj5.test.
3441 * tests/Makefile.am (TESTS): Add new file.
3442 (XFAIL_TESTS): Likewise.
3443 * tests/texinfo10.test: New file.
3445 2001-05-05 Pavel Roskin <proski@gnu.org>
3447 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3448 in the same way as @defcodeindex and @syncodeindex respectively.
3450 2001-05-05 Tom Tromey <tromey@redhat.com>
3452 * mans.am (install-man%SECTION%): Minor cleanup.
3453 (uninstall-man%SECTION%): Likewise.
3455 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3456 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3458 (uninstall-man%SECTION%): Likewise.
3459 * automake.in (handle_man_pages): Handle dist_ and nodist_
3462 * automake.texi (Future): Removed.
3464 (Hello): Don't mention `deep'.
3465 (Top level): Likewise.
3467 * automake.in (conditional_true_when): Use a hash, not index().
3468 Also, a TRUE component always results in a true return.
3469 Fixes test cond10.test. For PR automake/164.
3470 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3472 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3474 For PR automake/164:
3475 * tests/Makefile.am (TESTS): Added new file.
3476 (XFAIL_TESTS): Likewise.
3477 * tests/cond10.test: New file.
3479 2001-05-05 Tom Tromey <tromey@redhat.com>
3481 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3483 (install-info-am): Likewise.
3485 2001-05-05 Pavel Roskin <proski@gnu.org>
3487 * automake.in (scan_texinfo_file): Don't push undefined values
3490 2001-05-05 Richard Boulton <richard@tartarus.org>
3492 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3495 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3497 * automake.in (required_targets): Added uninstall-am.
3499 2001-05-05 Tom Tromey <tromey@redhat.com>
3501 Fix bug reported by Robert Boehne:
3502 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3504 (handle_dependencies): Likewise.
3505 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3506 substitution. Correct diff now has 30 lines. Look for space
3507 after losing `undef'.
3509 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3511 * m4/sanity.m4: Remove the temp file before possible error exits.
3513 2001-05-04 Akim Demaille <akim@epita.fr>
3515 * configure.in: Set perllibdir.
3518 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3520 * automake.in ($pkgdata_dir): New.
3521 (&require_file_internal): Use it.
3523 2001-05-03 Akim Demaille <akim@epita.fr>
3525 Case insensitive FS choke on Automake/ vs automake.
3526 Reported by Tim Van Holder.
3528 * Automake/: Move into...
3529 * lib/: this new directory.
3531 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3533 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3536 2001-04-30 Jim Meyering <meyering@lucent.com>
3538 * automake.in: Remove `/lib' from include directory.
3540 2001-04-27 Akim Demaille <akim@epita.fr>
3542 AM_INIT_AUTOMAKE is no longer optional.
3544 * automake.in ($seen_make_set, $seen_prog_install)
3545 ($seen_arg_prog): Remove.
3546 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3547 Remove related code.
3549 2001-04-27 Akim Demaille <akim@epita.fr>
3551 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3553 * tests/specflags3.test: here.
3555 2001-04-27 Akim Demaille <akim@epita.fr>
3557 * automake.in ($seen_path_xtra): Remove.
3558 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3559 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3561 2001-04-27 Akim Demaille <akim@epita.fr>
3563 * automake.in (&file_contents_internal): Declare it.
3565 2001-04-27 Akim Demaille <akim@epita.fr>
3567 * automake.in (&read_am_file, &file_contents_internal): Don't
3568 define macros when `FALSE', to avoid errors on doubly defined
3569 variables but under condition `FALSE'. In order to allow...
3570 (&am_install_var): When reading the associated file for the first
3571 time, enable `%?FIRST%'.
3572 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3573 * libs.am: Do it when `%?FIRST%'.
3575 2001-04-27 Akim Demaille <akim@epita.fr>
3577 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3578 * ansi2knr.am: Do it.
3579 Prefer `if %?FOO%' to `if %!FOO%'.
3581 2001-04-27 Akim Demaille <akim@epita.fr>
3583 * automake.in (®ister_language, &finish_languages): Use `pure'
3585 (®ister_language): Use %done properly with objects, not names.
3586 (&finish_languages): Replace `$non_c' with `$needs_c'.
3588 2001-04-27 Akim Demaille <akim@epita.fr>
3590 Unify LISP, PYTHON and JAVA primaries.
3592 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3593 return if there are no files, hook elisp-comp on the Autoconf
3594 macro, rely on lisp.am to define variables.
3595 (&handle_python, &handle_java): Likewise.
3596 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3597 `PYTHON' must be handled here, not in `&handle_python'.
3598 * java.am: Define needed variables and rules.
3600 2001-04-27 Akim Demaille <akim@epita.fr>
3602 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3604 * header.am: Include data.am.
3606 2001-04-27 Akim Demaille <akim@epita.fr>
3608 * automake.in (&am_install_var): Transform `PRIMARY'.
3609 * data.am: Equip with %PRIMARY%.
3611 2001-04-27 Akim Demaille <akim@epita.fr>
3613 * automake.in (@conditional_stack): Rename as...
3614 (@cond_stack): this.
3615 (&file_contents_internal): Support inclusion of files.
3617 2001-04-27 Akim Demaille <akim@epita.fr>
3619 * automake.in (&lang_extensions): Remove.
3620 (&add_depend2, &saw_sources_p): Adjust.
3621 * depend2.am: `%EXT%' no longer includes the dot.
3623 2001-04-27 Akim Demaille <akim@epita.fr>
3625 * automake.in (&finish_languages, &handle_single_transform_list)
3626 (&add_depend2, &handle_dependencies): No longer use the language
3627 name in `$lang'. Rename `$lang_obj' as `$lang'.
3629 2001-04-27 Akim Demaille <akim@epita.fr>
3631 * automake.in (®ister_language): Use `new Language' with a hash.
3633 2001-04-27 Akim Demaille <akim@epita.fr>
3635 * automake.in (®ister_language): Rename `output-arg' and
3636 `derived-autodep' as `output_arg' and `derived_autodep' to match
3637 the Language attribute.
3638 Set the defaults in %option instead of $lang.
3640 2001-04-27 Akim Demaille <akim@epita.fr>
3642 * Automake/: New directory.
3643 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3644 * automake.in (Language): Use Automake::Struct.
3645 * tests/defs: Adjust to find Struct.
3647 2001-04-23 Pavel Roskin <proski@gnu.org>
3649 * automake.in: Add forward declaration for register_language().
3650 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3653 2001-04-20 Akim Demaille <akim@epita.fr>
3655 * automake.in (%required_targets): Add `uninstall'.
3656 From Robert Collins.
3658 2001-04-12 Akim Demaille <akim@epita.fr>
3660 * automake.in (Language): Add attribute `name'.
3661 (®ister_language): The name of the language is now given in the
3663 No longer use `$lang' as the name of the language.
3664 Rename `$lang_obj' as `$lang'.
3666 2001-04-12 Akim Demaille <akim@epita.fr>
3668 * automake.in (Language): Add attribute `_finish'.
3671 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3672 (&lang_asm_finish): Remove.
3674 2001-04-12 Akim Demaille <akim@epita.fr>
3676 * automake.in (Language): Add attribute `extensions'.
3677 (Automake): Pass a hash to `®ister_language' instead of a
3678 list of pseudo assignments.
3679 (®ister_language): Adjust.
3680 (&finish_languages): Initialize `$ltoutarg'.
3682 2001-04-12 Akim Demaille <akim@epita.fr>
3684 * automake.in (Language): Add attribute `output_arg'.
3685 (%language_map): Remove.
3686 (®ister_language): Build only the object, and store in
3688 (&finish_languages, &handle_single_transform_list): Adjust.
3690 2001-04-12 Akim Demaille <akim@epita.fr>
3692 * automake.in (Language): Add attributes `flags', `compile' and
3694 (&finish_languages, &handle_single_transform_list, &handle_dist)
3695 (&add_depend2, ®ister_language): Use them and the `linker' and
3698 2001-04-12 Akim Demaille <akim@epita.fr>
3700 * automake.in (&handle_single_transform_list, &finish_languages)
3701 (&handle_dist, &handle_dependencies): Use the language object for
3702 autodep and derived-autodep too.
3704 2001-04-12 Akim Demaille <akim@epita.fr>
3706 * automake.in (¯o_define): Ignore Automake definition for
3707 ($var, $cond) if there is already a user definition for ($var, $cond).
3709 2001-04-12 Akim Demaille <akim@epita.fr>
3711 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3712 but also @deffn and so on which push data in indexes.
3713 Reported by Derek R. Price.
3715 2001-04-12 Akim Demaille <akim@epita.fr>
3717 * automake.in (Language): New package, temporarily in this file.
3719 (Automake): New package.
3721 (&handle_single_transform_list): Use the language object's `ansi'
3722 attribute instead of `$language_map{"$lang-ansi-p"}'.
3723 (®ister_language): Build and register the language too.
3725 2001-04-11 Tom Tromey <tromey@redhat.com>
3727 Fixes report from Larry Jones:
3728 * automake.in (handle_dependencies): Add `@_am_quote@' where
3730 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3732 2001-04-11 Akim Demaille <akim@epita.fr>
3734 * depend2.am: Fix the `if' condition for Libtool.
3735 Reported by Robert Boehne.
3737 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3739 * tests/subobj5.test: New file.
3741 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3743 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3744 * tests/Makefile.am (TESTS): Added make.test.
3745 * tests/make.test: New file.
3747 2001-04-10 Tom Tromey <tromey@redhat.com>
3749 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3751 2001-04-10 Derek R. Price <dprice@collab.net>
3753 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3755 2001-04-10 Akim Demaille <akim@epita.fr>
3757 * distdir.am: Add a missing backslash.
3759 2001-04-10 Akim Demaille <akim@epita.fr>
3761 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3763 Specify to the caller whether $regen_aclocal_m4.
3764 (&handle_configure): Adjust.
3765 Transform `REGEN-ACLOCAL-M4'.
3767 * configure.am: Use it.
3768 * tests/defs (me): New.
3769 * tests/confdeps.test: New.
3771 2001-04-09 Tom Tromey <tromey@redhat.com>
3773 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3774 Fixes report from Jim Meyering.
3776 2001-04-09 Akim Demaille <akim@epita.fr>
3778 * automake.in (&handle_configure): Don't bother with optimizing
3781 2001-04-09 Akim Demaille <akim@epita.fr>
3783 * tests/cond3.test (expected): Adjust.
3785 2001-04-09 Akim Demaille <akim@epita.fr>
3787 * automake.in (&handle_single_transform_list): Remove $xbase,
3789 (&handle_source_transform): All the variables have conditions now,
3791 (&variable_delete): Admit an argument @conds.
3793 2001-04-09 Akim Demaille <akim@epita.fr>
3795 * automake.in ($source_suffix_pattern): Remove, unused.
3796 %extension_map seems to have replaced it.
3798 2001-04-09 Akim Demaille <akim@epita.fr>
3800 * ext-compile.am: New file.
3801 * automake.in (&finish_languages): Output it.
3802 Require a C linker if there are several registered source suffixes.
3803 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3804 extensions, which are discovered in ext-compile.am.
3805 With the help from Robert Boehne.
3807 2001-04-09 Akim Demaille <akim@epita.fr>
3809 * automake.in (&handle_compile): Extract from...
3810 (&get_object_extension): here.
3811 (&read_am_file): Call it.
3812 ($included_generic_compile, $included_knr_compile)
3813 ($included_libtool_compile): Remove.
3814 ($get_object_extension_was_run): New.
3816 2001-04-09 Akim Demaille <akim@epita.fr>
3818 Use AM_CONDITIONAL and if/endif for AMDEP.
3820 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3821 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3822 to a configure time if/endif), or to `FALSE' (static removal of
3824 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3825 * depend2.am: Use if/endif.
3827 Adjust the 101 tests that use dependencies so that they
3828 properly invoke aclocal before automake. They need to `see'
3829 `AM_CONDITIONAL([AMDEP], ...)'.
3831 2001-04-09 Akim Demaille <akim@epita.fr>
3833 * tags.am: Fix missing leading tabs.
3835 2001-04-09 Akim Demaille <akim@epita.fr>
3837 * automake.in: Use simple quotes to define the _PATTERN variables
3838 to unobfuscate the regexps.
3839 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3841 2001-04-09 Akim Demaille <akim@epita.fr>
3843 * automake.in (&rule_define): When you discover a suffix rules,
3844 register the extensions for .SUFFIXES.
3845 (&handle_texinfo): Don't register the suffixes.
3846 (&get_object_extension): Don't register suffixes, let them be
3847 discovered in depend2.am.
3848 (&handle_emacs_lisp): Depend on your lisp.am.
3849 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3851 2001-04-09 Akim Demaille <akim@epita.fr>
3853 * subdirs.am: Don't define info related recursive targets.
3856 2001-04-09 Akim Demaille <akim@epita.fr>
3858 * subdirs.am (RECURSIVE_TARGETS): New variable.
3860 * automake.in (&handle_subdirs): Output it.
3861 (&file_contents_internal): Support value spread on several lines.
3863 2001-04-09 Akim Demaille <akim@epita.fr>
3865 * automake.in (&handle_man_pages): Rely on mans.am to define
3866 man%SECTION%dir and MANS.
3869 2001-04-09 Akim Demaille <akim@epita.fr>
3871 * automake.in (&variable_dump): Use %var_type properly.
3872 (¯o_define): Enforce better overriding rules.
3873 Handle the special case that used to handle...
3874 (&define_pretty_variable): this.
3876 The variables you define are owned by Automake.
3877 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3879 (&variable_defined): Now independent of the owner.
3880 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3882 2001-04-09 Akim Demaille <akim@epita.fr>
3884 * automake.in (%var_was_plus_eq): Rename as...
3886 (%def_type): Remove.
3887 (¯o_define): %var_type may now hold `', `+', or `:'.
3888 (%conditional, %am_vars, %content_lines): Rename as...
3889 (%var_value, %var_comment, %var_line): these.
3891 2001-04-09 Akim Demaille <akim@epita.fr>
3893 * automake.in (&variable_output): Admit a list of @CONDS.
3894 (&variable_pretty_output): New.
3895 (&define_pretty_variable): Use it.
3896 (&read_am_file, &file_contents_internal): Prepend a separator to
3897 $am_vars only if there is none yet.
3898 (&file_contents_internal): Rename $separator as $spacing to
3899 harmonize with &read_am_file.
3901 2001-04-09 Akim Demaille <akim@epita.fr>
3903 * automake.in (&am_install_var): Transform DIST, and let the *.am
3904 files handle DIST_COMMON.
3905 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3908 2001-04-09 Akim Demaille <akim@epita.fr>
3910 * automake.in (%dist_common): Remove.
3911 (%configure_dist_common): Replace with...
3912 ($configure_dist_common): this.
3913 (&generate_makefile): Read the user file before using
3914 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3915 that no variable is defined before it is run.
3916 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3917 (&dist_cmp): Rename as...
3918 (&for_dist_common): this.
3919 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3921 Adjust to $configure_dist_common.
3922 * configure.am, texi-vers.am: Set DIST_COMMON.
3924 2001-04-09 Akim Demaille <akim@epita.fr>
3926 * automake.in (&handle_aclocal_m4): Rename as...
3927 (&scan_aclocal_m4): this.
3928 Return the list of aclocal.m4 dependencies.
3929 (&handle_configure): Invoke it, and use it when loading...
3930 * configure.am: Template the rules to recreate aclocal.m4.
3932 2001-04-09 Akim Demaille <akim@epita.fr>
3934 * automake.in (&get_object_extension): Use ansi2knr.am.
3935 * clean-kr.am, kr-extra.am: Remove, merged into...
3936 * ansi2knr.am: this new file.
3938 2001-04-09 Akim Demaille <akim@epita.fr>
3940 * automake.in (&transform): Fix an incredible bug which was
3941 breaking the if/endif system.
3942 ($ELSE_PATTERN): Admit an optional argument.
3944 2001-04-09 Akim Demaille <akim@epita.fr>
3946 * comp-vars.am: Remove, merged into...
3948 * automake.in (&get_object_extension): Adjust.
3950 2001-04-09 Akim Demaille <akim@epita.fr>
3952 * remake.am: Merge into...
3953 * configure.am: ... here.
3954 * automake.in (&handle_configure): Adjust.
3956 2001-04-09 Akim Demaille <akim@epita.fr>
3958 * automake.in (&output_lex_build_rule): Output this...
3961 2001-04-09 Akim Demaille <akim@epita.fr>
3963 * automake.in (&condition_negate): New.
3964 (&variable_conditions_permutations): Use it.
3965 (&read_am_file, &file_contents): Use it on `else' clauses to
3967 (&output_yacc_build_rule): Output this...
3968 * yacc.am: New file.
3970 2001-04-09 Akim Demaille <akim@epita.fr>
3972 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3973 (&handle_dist): Don't.
3974 (&handle_clean): Don't handle config.status here, let...
3975 * clean.am: ... do it.
3976 * distdir.am: Adjust.
3978 2001-04-09 Akim Demaille <akim@epita.fr>
3980 * automake.in: Use strict vars and subs.
3981 Declare `%require_file_found'.
3982 (&handle_source_transform, &make_paragraphs): Declare my variables.
3984 2001-04-09 Akim Demaille <akim@epita.fr>
3986 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3987 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
3988 * java.am (_am_installdirs): Be sure to set it.
3990 2001-04-09 Akim Demaille <akim@epita.fr>
3992 * automake.in (&make_condition): Return '#' when FALSE.
3993 (&conditional_string): Return FALSE, not '#' in the corresponding
3995 (&file_contents_internal): Adjust.
3996 (&check_variable_defined_unconditional): Dump the guilty variable.
3998 2001-04-09 Akim Demaille <akim@epita.fr>
4000 * distdir.am: Use and abuse of if/endif.
4001 * scripts.am: Using if/endif with variables is fine.
4003 2001-04-09 Akim Demaille <akim@epita.fr>
4005 * automake.in (&make_paragraphs): Extract from &file_contents.
4006 Make it more robust than the previous RE based scheme.
4007 (&file_contents): Use it.
4009 2001-04-09 Akim Demaille <akim@epita.fr>
4011 * automake.in (&make_paragraphs): Extract from &file_contents.
4012 Make it more robust than the previous RE based scheme.
4013 (&file_contents): Use it.
4015 2001-04-09 Akim Demaille <akim@epita.fr>
4017 * tests/yacc2.test: Don't define several times a variable, as
4020 2001-04-09 Akim Demaille <akim@epita.fr>
4022 * automake.in (&handle_source_transform): Fix pr72: don't define
4023 $linker if there are no @files.
4025 2001-04-09 Akim Demaille <akim@epita.fr>
4027 Avoid reading twice header-vars.am as now macro_define
4030 * automake.in (&define_standard_variables): Don't output the
4032 (&read_main_am_file): Output first user variables, then Automake
4034 Don't call twice &define_standard_variables.
4035 Save variable comments in $am_vars.
4036 (&variable_output): New.
4037 (&file_contents_internal): New.
4038 Save variable comments in $am_vars.
4039 (&file_contents): Use it.
4041 2001-04-09 Akim Demaille <akim@epita.fr>
4043 * automake.in (¯o_define): The user is allowed to override
4044 a value if it was set by Automake, or if it was found in AC_SUBST.
4046 2001-04-09 Akim Demaille <akim@epita.fr>
4048 * automake.in (&handle_source_transform): Better locality of the
4050 Use `next' to skip nonexistent variables.
4052 2001-04-09 Akim Demaille <akim@epita.fr>
4054 * automake.in (&variable_dump): If a variable is undefined, say
4056 (&check_ambiguous_conditional): Give finer error messages.
4057 (¯o_define): Check that a `+=' variable is not set with `='.
4058 Check for ambiguous definitions each time you _set_ (even with `+=')
4060 (&read_main_am_file): Perform a deep copy of %conditional.
4062 2001-04-09 Akim Demaille <akim@epita.fr>
4064 * automake.in (&variable_defined): Some callers, e.g.,
4065 &am_primary_prefixes, really want to know if the variable is
4066 defined for any condition, not `TRUE' by default.
4067 (&am_primary_prefixes): Give a more precise error message.
4069 2001-04-09 Akim Demaille <akim@epita.fr>
4071 (&variable_conditions): Don't include `FALSE' in the result.
4073 2001-04-09 Akim Demaille <akim@epita.fr>
4075 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4076 (&variable_conditions): Don't include `FALSE' in the result.
4078 2001-04-09 Akim Demaille <akim@epita.fr>
4080 * tests/defs, tests/depend3.test: Remove useless code.
4082 2001-04-09 Akim Demaille <akim@epita.fr>
4084 * automake.in (&handle_source_transform): Use
4085 &variable_conditions, don't read $conditional{$var}.
4086 (&variable_conditions_sub): When the call is the top level call,
4087 generate all the permutations of the conditions.
4089 2001-04-09 Akim Demaille <akim@epita.fr>
4091 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4092 that it does not get noticed twice by automake, which now
4093 complains for multiple definitions.
4094 * tests/vartar.test: s/INSTALL/install/g, automake now complains
4095 because we defined INSTALL.
4097 2001-04-09 Akim Demaille <akim@epita.fr>
4099 * automake.in (&generate_makefile) Use macro_define to define
4100 SOURCES and OBJECTS.
4101 (&variable_defined): Don't check for $conditional{VAR}{COND} as
4102 this would make perl create $condition{VAR}, which we don't want.
4104 2001-04-09 Akim Demaille <akim@epita.fr>
4106 * automake.in (&variable_defined, &define_pretty_variable):
4107 Simplify code which used to handle the cases where not all
4108 variables were in %conditional.
4109 (&define_variable): Use &define_pretty_variable.
4110 (&variable_conditions_sub, &variable_value_as_list_worker)
4111 (&variable_value_as_list, &rule_define): Simplify syntax.
4112 (&read_main_am_file): Dump the guilty predefined variables.
4114 2001-04-09 Akim Demaille <akim@epita.fr>
4116 * automake.in (&variable_conditions_sub)
4117 (&variable_value_as_list_worker): Remove dead code which used to
4118 handle the cases where not all variables were in %conditional.
4120 2001-04-09 Akim Demaille <akim@epita.fr>
4122 * automake.in (&handle_source_transform, &read_main_am_file):
4123 Simplify loops which were split in two parts, conditional vs
4124 unconditional variables.
4126 2001-04-09 Akim Demaille <akim@epita.fr>
4128 Handle unconditional values of variables as conditioned by
4131 * automake.in (%contents): Remove.
4132 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4133 (&read_am_file, &variable_defined, &variable_conditions_sub)
4134 (&variable_value, &variable_value_as_list_worker)
4135 (&variable_value_as_list, &define_pretty_variable)
4136 (&read_main_am_file): Use
4137 $conditional, not %contents.
4138 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4139 (&variable_conditionally_defined): New.
4140 (&handle_dist): Use it.
4141 (&check_ambiguous_conditional): When multiply defined, specify
4142 under which condition.
4143 (¯o_define): Use it.
4144 (&variable_delete): New.
4145 (&read_am_file): Use it.
4146 (&am_install_var): Simplify, as all the variables are in
4149 2001-04-07 Tom Tromey <tromey@redhat.com>
4151 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4153 * tests/man.test: New file.
4155 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4157 * depcomp (gcc3): Invert test condition.
4159 2001-04-07 Tom Tromey <tromey@redhat.com>
4161 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4162 statement. Report from Larry Jones.
4164 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4166 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4168 2001-04-01 Tom Tromey <tromey@redhat.com>
4170 * java.am (.PHONY clean-am): Removed trailing ":".
4171 From Per Bothner. Fixes PR automake/139.
4173 2001-03-28 Akim Demaille <akim@epita.fr>
4175 * program.am: Fix a stupid typo: now *all* (not none) the programs
4177 Reported by Robert Boehne.
4179 2001-03-23 Akim Demaille <akim@epita.fr>
4181 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4184 2001-03-23 Akim Demaille <akim@epita.fr>
4186 * automake.in (&variable_conditionally_defined): Rename as...
4187 (&check_variable_unconditionally_defined): this.
4188 (&variable_dump): Fix the output.
4189 (&variable_defined, ¯o_define): Since conditions are
4190 canonicalized, don't use a loop to look for a condition: read the
4192 (¯o_define, &rule_define, &read_am_file, &file_contents):
4193 Rename $cond_string as $cond.
4194 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4195 discovered via AC_SUBST, they now trigger a `defined twice' error.
4197 2001-03-23 Akim Demaille <akim@epita.fr>
4199 * automake.in (&handle_footer, &handle_installdirs)
4200 (&read_main_am_file): Don't read %contents directly, use
4203 2001-03-23 Akim Demaille <akim@epita.fr>
4205 * automake.in (&read_am_file): Define the variables in a single
4207 Factor the $saw_bk code.
4209 2001-03-23 Akim Demaille <akim@epita.fr>
4211 * automake.in (&read_am_file): Keep $cond_string up to date.
4213 2001-03-23 Akim Demaille <akim@epita.fr>
4215 * automake.in (&define_variable): Use ¯o_define.
4217 2001-03-23 Akim Demaille <akim@epita.fr>
4219 * automake.in (¯o_define): Don't lose the location if we
4220 redefine a variable.
4221 Don't push all the variables in @var_list, let...
4222 (&read_am_file, &file_contents): ... do it.
4223 (&define_pretty_variable): Use macro_define.
4224 (&am_install_var): Delete the value of variables being redefined
4225 to pacify ¯o_define which checks that variables are not
4228 2001-03-23 Akim Demaille <akim@epita.fr>
4230 * automake.in (&conditional_dump): Rename as...
4231 (&variables_dump): this. Use...
4232 (&variable_dump): this new sub.
4234 2001-03-23 Akim Demaille <akim@epita.fr>
4236 * automake.in (&file_contents): Maintain $cond_string sync with
4238 Output rules only if not under `FALSE'.
4239 Define variables under $cond_string.
4240 * scripts.am: For the time being if/endif does not work properly
4243 2001-03-23 Akim Demaille <akim@epita.fr>
4245 * automake.in (IF_PATTERN): Unobfuscate the parens.
4246 (ENDIF_PATTERN): Allow a condition to be specified.
4247 (&file_contents): Use a @cond_stack.
4248 (&transform): At least for an easy transition, also transform
4249 %?FOO% and %!FOO%, as suggested by Lars.
4250 * scripts.am: First test bed for static if/endif use.
4252 2001-03-23 Akim Demaille <akim@epita.fr>
4254 * automake.in (&file_contents): Use rule_define.
4256 2001-03-23 Akim Demaille <akim@epita.fr>
4258 * automake.in (¯o_define): Don't rely on $1.
4259 Initialize the variable.
4260 Set its Automakism only if not defined or if given to the user.
4261 When concatenating values, insert a separator only if the value
4263 (&read_am_file): When dumping the @var_list, skip Automake
4265 (&file_contents): Use macro_define.
4267 2001-03-23 Akim Demaille <akim@epita.fr>
4269 * automake.in (&rule_define): Extract from...
4270 (&read_am_file): here.
4272 2001-03-23 Akim Demaille <akim@epita.fr>
4274 * automake.in (¯o_define, &read_am_file): More work for the
4275 former from the latter. Reorganize the latter.
4277 2001-03-23 Akim Demaille <akim@epita.fr>
4279 * automake.in (¯o_define): Extract from...
4280 (&read_am_file): here.
4282 2001-03-23 Akim Demaille <akim@epita.fr>
4284 * automake.in (%am_var_defs): Replace with...
4286 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4287 (&file_contents, am_primary_&prefixes): Adjust.
4288 (&variable_defined, &define_variable): The actual semantics is
4290 (&read_main_am_file): Assert the var is user defined when
4291 outputting @var_list.
4293 2001-03-23 Akim Demaille <akim@epita.fr>
4295 * automake.in (read_am_file): TRUE and FALSE are predefined
4297 (&by_condition): Adjust.
4298 (&conditional_string): Recognize `TRUE' and `FALSE'.
4299 (&make_condition): Use it.
4300 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4301 * automake.texi (Conditionals): Adjust.
4302 * tests/cond9.test: s/FALSE/WRONG/.
4304 2001-03-12 Pavel Roskin <proski@gnu.org>
4306 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4309 2001-03-12 Akim Demaille <akim@epita.fr>
4311 * automake.in (&variable_conditions_permutations): Separate the
4313 * tests/cond3.test: Improve the sed expression.
4315 2001-03-09 Pavel Roskin <proski@gnu.org>
4317 * Makefile.am (maintainer-check): Scan all *.am files and tests
4318 for invocations of `rm' without `-f'.
4319 * tests/mclean.test: Adjusted to prevent triggering the above
4322 2001-03-09 Tom Tromey <tromey@redhat.com>
4324 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4325 maintainer-check failure.
4327 2001-03-09 Akim Demaille <akim@epita.fr>
4329 * tests/cond3.test: Strengthen.
4331 2001-03-09 Akim Demaille <akim@epita.fr>
4333 * automake.in (&conditional_string): Produce a unique string
4334 characterizing a condition stack.
4335 (&conditional_same): Remove, comparing two strings is now enough.
4336 (&variable_defined): Adjust.
4337 (&read_am_file): Use conditional_string.
4339 2001-03-08 Akim Demaille <akim@epita.fr>
4341 * automake.in: Use -w.
4342 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4343 (&parse_arguments): Support --Werror and --Wno-error as a
4344 temporary hack until --warning/-W is properly implemented.
4345 (&handle_single_transform_list): Prototype.
4346 Be sure to define $directory.
4347 Use `exists' instead of testing the value of a maybe undefined
4349 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4350 (&handle_factored_dependencies): Use defined values.
4351 (&scan_one_autoconf_file): Save $_.
4352 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4353 Run automake with --Wno-error.
4355 2001-03-07 Akim Demaille <akim@epita.fr>
4357 * automake.in (&handle_all): Use an array instead of a scalar for
4359 Get rid of all-redirect: let `all' be that target.
4361 2001-03-07 Akim Demaille <akim@epita.fr>
4363 * automake.in (&handle_merge_targets): Ventilate its non `all'
4364 related content into...
4365 (&generate_makefile): here.
4366 (&handle_merge_targets): Rename as...
4367 (&handle_all): this.
4368 Remove a useless `if': `@all' is obviously not empty, since it
4369 contains at least the `basename ($makefile)' which has just been
4372 2001-03-07 Akim Demaille <akim@epita.fr>
4374 * automake.in, aclocal.in: Backquote is inert in double quotes.
4376 2001-03-06 Akim Demaille <akim@epita.fr>
4378 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4381 2001-03-06 Pavel Roskin <proski@gnu.org>
4383 * java.am: Use `rm -f' instead of `rm'.
4385 2001-03-06 Akim Demaille <akim@epita.fr>
4387 * automake.in (&push_dist_common): Simplify.
4389 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4391 * ltlib.am: Replaced spaces with tab.
4393 2001-03-06 Pavel Roskin <proski@gnu.org>
4395 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4398 2001-03-05 Pavel Roskin <proski@gnu.org>
4400 * header.am, scripts.am: Use ?INSTALL? in the install and
4403 2001-03-05 Pavel Roskin <proski@gnu.org>
4405 * tests/copy.test: Never use `rm' without `-f' - it may ask
4406 questions, notably for read-only files during `make distcheck'.
4407 * tests/insh.test: Likewise.
4408 * tests/installsh.test: Likewise.
4409 * tests/symlink.test: Likewise.
4410 * tests/symlink2.test: Likewise.
4411 * tests/symlink3.test: Likewise.
4413 2001-03-05 Pavel Roskin <proski@gnu.org>
4415 * noinstdir.test: New test.
4416 * tests/Makefile.am (TESTS): Add noinstdir.test.
4417 (XFAIL_TESTS): Likewise.
4419 2001-03-05 Akim Demaille <akim@epita.fr>
4421 * automake.in (&handle_options): Change the RE so that the third
4422 part of the versions always exist.
4423 (&file_contents): Don't pass uninitialized values to &transform.
4425 2001-03-05 Akim Demaille <akim@epita.fr>
4427 * automake.in (&file_contents): Require a hash as second argument.
4430 2001-03-05 Akim Demaille <akim@epita.fr>
4432 Always use hashes with &file_contents.
4434 * automake.in (&handle_texinfo): texibuild.am does not need
4436 texinfos.am wants only TEXICLEANS.
4437 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4439 * texinfos.am: Adjust.
4441 2001-03-05 Akim Demaille <akim@epita.fr>
4443 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4444 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4445 (&am_install_var): Forget about `-clean'.
4446 Transform ?INSTALL?.
4447 Always output the *.am file.
4448 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4449 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4450 Remove, merged into the corresponding *.am file.
4451 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4454 2001-03-05 Pavel Roskin <proski@gnu.org>
4456 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4458 2001-03-05 Akim Demaille <akim@epita.fr>
4460 If OBJEXT and EXEEXT are not set, provide a default value, and use
4461 them unconditionally.
4463 * automake.in (&generate_makefile): Provide default values for
4465 (&get_object_extension, &finish_languages)
4466 (&handle_single_transform_list, &handle_programs, &add_depend2)
4467 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4468 them, they are defined.
4469 * compile.am, depend2.am, program.am, progs.am: Likewise.
4470 * remake-hdr.am: Fix a typo.
4471 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4472 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4473 * tests/suffix2.test: Adjust.
4475 2001-03-05 Akim Demaille <akim@epita.fr>
4477 * automake.in (&file_contents): Map MAINTAINER-MODE to
4478 @MAINTAINER_MODE_TRUE@ or nothing.
4479 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4482 2001-03-05 Akim Demaille <akim@epita.fr>
4484 * automake.in (&do_one_merge_target): Remove, was only called from...
4485 (&handle_merge_targets): here for `all'.
4488 2001-03-05 Akim Demaille <akim@epita.fr>
4490 Make the installation/uninstallation of Info pages follow the
4491 regular am/recursive scheme.
4493 * automake.in (%required_targets, %dependencies): Add
4495 (%dependencies): Add install-info, install-info-am, and
4497 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4498 reversed BTW. Does anybody use the option `no-installinfo'?
4499 (&handle_merge_targets): Let the handling of info related targets
4501 (&handle_factored_dependencies): this.
4502 * subdirs.am: Use ?INSTALL-INFO?.
4503 * texinfos.am: Define the install-info, uninstall-info and
4504 uninstall-info-am targets.
4506 2001-03-05 Akim Demaille <akim@epita.fr>
4508 * automake.in (%required_targets, %dependencies): Add dvi, info,
4510 (@info, @dvi): Remove.
4511 (&handle_texinfo, &handle_merge_targets): Adjust.
4512 (&handle_factored_dependencies): Required targets are phony.
4513 * texinfos.am: Build info, dvi, and the corresponding -am or
4516 2001-03-05 Akim Demaille <akim@epita.fr>
4518 * automake.in (&am_install_var): Remove $cygxform, unused.
4520 2001-03-05 Akim Demaille <akim@epita.fr>
4522 * automake.in (&file_contents): Transform LIBTOOL.
4523 (&am_install_var): Remove $ltxform.
4524 * ltlib.am, progs.am: Adjust.
4526 2001-03-05 Akim Demaille <akim@epita.fr>
4528 * automake.in: Require AC_PROG_INSTALL in...
4529 (&scan_autoconf_files): here.
4531 2001-03-05 Akim Demaille <akim@epita.fr>
4533 * configure.am: New file.
4534 * automake.in (&file_contents): Transform CONFIGURE-AC.
4535 (&handle_texinfo, &handle_configure): Don't transform
4537 (&handle_configure): Use `configure.am'.
4538 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4539 MAINTAINER-MODE and CONFIGURE-AC.
4541 2001-03-05 Akim Demaille <akim@epita.fr>
4543 * automake.in (&pretty_print_internal): Don't output useless
4545 (define_pretty_variable): Don't issue the space after the `=' sign
4546 to avoid trailing spaces in Makefile.ins.
4548 2001-03-05 Akim Demaille <akim@epita.fr>
4550 * automake.in (&generate_makefile): Invoke &initialize_per_input
4551 *before* setting $am_file_name and $in_file_name.
4553 2001-03-05 Akim Demaille <akim@epita.fr>
4555 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4556 Globals, initialized...
4557 (&initialize_per_input): here.
4559 2001-03-05 Akim Demaille <akim@epita.fr>
4561 * automake.in ($am_relative_dir): Global.
4562 (&initialize_per_input): Init it.
4563 (%make_list, @make_input_list): My them from
4564 (&scan_autoconf_files): here.
4565 (&require_file_internal): Mying changes.
4567 2001-03-05 Akim Demaille <akim@epita.fr>
4569 * automake.in (%am_vars, @var_list, %def_type): Globals.
4570 (&initialize_per_input): Initialize them.
4571 (&read_main_am_file): Don't local them.
4572 (&get_object_extension): $objext is private.
4573 (&handle_single_transform_list): $lang is.
4574 (&handle_ltlibraries): $libname_rx is.
4575 (&scan_autoconf_config_files): How about actually paying attention
4576 to your arguments, instead of working on $_? (this is no Perl
4577 variable, it's a Perl variable followed by a question mark).
4578 (&file_contents): $contents and $separator are private.
4579 (&am_install_var): Declare @condvals, not $condvals.
4582 2001-03-05 Akim Demaille <akim@epita.fr>
4584 * automake.in (&initialize_per_input): Move to the top.
4585 Precede with the `my' list of its variables.
4587 2001-03-05 Akim Demaille <akim@epita.fr>
4589 * automake.in ($am_file): Use vars.
4590 ($am_file_name, $in_file_name): Private to &generate_makefile.
4592 2001-03-05 Akim Demaille <akim@epita.fr>
4594 * automake.in: Preparation for `use strict': Move the
4595 initialization of the constants to the top, from...
4596 (&initialize_global_constants): here.
4598 2001-03-05 Akim Demaille <akim@epita.fr>
4600 * automake.in (&handle_single_transform_list, &add_depend2): Let
4601 $lang_specific_files{$lang} be a list instead of a string.
4603 2001-03-05 Akim Demaille <akim@epita.fr>
4605 Let's make it run ten times faster...
4607 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4609 (&file_contents): Let `$command' remove the Automake commands, and
4610 normalize the series of `\n'.
4611 Slurp the file and apply $command in a single step.
4612 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4613 is already normalized to be handled by &transform.
4615 2001-03-05 Tom Tromey <tromey@redhat.com>
4617 * automake.in (register_language): Add entry for `-pure'.
4618 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4619 (finish_languages): Use `-pure' field of language map.
4621 2001-03-03 Tom Tromey <tromey@redhat.com>
4623 * tests/yaccvpath.test: No need to remove dummy files.
4624 * tests/subobj3.test: No need to remove dummy files.
4625 * tests/pr9.test: No need to remove dummy files.
4626 * tests/pr87.test: No need to remove dummy files.
4627 * tests/pr19.test: No need to remove dummy files.
4628 * tests/install2.test: No need to remove dummy files.
4629 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4632 2001-02-27 Pavel Roskin <proski@gnu.org>
4634 * tests/yaccvpath.test: Add a delay to make parse.c really out
4635 of date. Detect the problem earlier, after `make distdir'. Drop
4636 dependency on flex. Always use the `-y' flag for bison. Comment
4638 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4640 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4642 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4644 2001-02-28 Akim Demaille <akim@epita.fr>
4646 * automake.in (&add_depend2): Transform `GENERIC'.
4647 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4648 addition was broken by the `@ -> %' patch.
4649 * depend2.am: Adjust to use ?GENERIC?.
4651 2001-02-28 Akim Demaille <akim@epita.fr>
4653 * Makefile.am (maintainer-check): `undef $/' is OK.
4655 2001-02-28 Akim Demaille <akim@epita.fr>
4657 * automake.in (&handle_configure): Fortunately, $top_reldir,
4658 the definition of which was highly suspicious, was unused.
4660 2001-02-27 Akim Demaille <akim@epita.fr>
4662 * automake.in (%exec_dir_p): Move to the top so that it is visible
4665 2001-02-27 Pavel Roskin <proski@gnu.org>
4667 * tests/yaccvpath.test: Prevent automake from looking into ..
4668 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4670 2001-02-27 Akim Demaille <akim@epita.fr>
4672 * automake.in (%exec_dir_p): Pulled out from...
4673 (&am_primary_prefixes): here.
4675 2001-02-27 Akim Demaille <akim@epita.fr>
4677 * automake.in (&usage): Display $0, not $me.
4679 2001-02-27 Akim Demaille <akim@epita.fr>
4681 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4682 * automake.in (&handle_clean): Don't escape what's given to
4685 2001-02-27 Akim Demaille <akim@epita.fr>
4687 Distinguish automake substitutions from config.status
4690 * automake.in (&add_depend2): Transform AMDEP.
4691 (&handle_clean): Transform MCFILES and MFILES.
4692 (&file_contents): Transform MAINTAINER_MODE.
4693 (&transform, &am_install_var): Use `%', not `@'.
4694 Adjust all the *.am files.
4695 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4696 * depend2.am: Display the double dependency on both ?AMDEP? and
4699 2001-02-27 Tom Tromey <tromey@redhat.com>
4701 * distdir.am (distcheck): Fixed new code.
4703 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4704 Only configure once.
4706 * distdir.am (distcheck): Print error message if distclean failed
4709 2001-02-27 Pavel Roskin <proski@gnu.org>
4711 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4713 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4715 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4716 * tests/yaccvpath.test: New file.
4718 2001-02-26 Akim Demaille <akim@epita.fr>
4720 * automake.in (&am_install_var): Recognize whether predefined
4721 directories are `data' or `exec'.
4722 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4724 * tests/instdata2.test: Update.
4726 2001-02-26 Akim Demaille <akim@epita.fr>
4728 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4729 necessarily in infodir.
4731 2001-02-26 Akim Demaille <akim@epita.fr>
4733 * automake.in ($am_file): Be `local', as my'd variables used in
4734 `foreach' loops are always private to the loop.
4736 2001-02-26 Pavel Roskin <proski@gnu.org>
4738 * Makefile.am: Add install.am.
4740 2001-02-26 Akim Demaille <akim@epita.fr>
4742 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4743 routines, otherwise the elements to compare are passed in @_
4744 instead of $a and $b.
4746 2001-02-26 Akim Demaille <akim@epita.fr>
4748 * automake.in (%required_targets): `installcheck-am' is needed.
4750 2001-02-26 Akim Demaille <akim@epita.fr>
4752 * automake.in (&transform_cond): Merge into...
4756 2001-02-26 Akim Demaille <akim@epita.fr>
4758 * automake.in (&handle_dist): Use &transform instead of dedicated
4760 But be sure to always do it.
4761 * distdir.am: Adjust.
4763 2001-02-26 Akim Demaille <akim@epita.fr>
4765 * automake.in: Use File::Basename.
4766 (&dirname, &basename): Remove.
4768 2001-02-26 Akim Demaille <akim@epita.fr>
4770 * automake.in ($me): New.
4772 (&usage): Display your full name.
4774 2001-02-26 Akim Demaille <akim@epita.fr>
4776 * automake.texi (Invoking Automake): Remove dead options.
4778 2001-02-26 Akim Demaille <akim@epita.fr>
4780 * automake.in (&scan_texinfo_file): Also compute the list of files
4782 Handle local errors.
4783 (&handle_texinfo): Use it.
4785 2001-02-26 Akim Demaille <akim@epita.fr>
4787 * automake.in: Don't pass arguments to...
4788 (&parse_arguments): Work on @ARGV.
4790 Add support for `-f'.
4794 2001-02-26 Akim Demaille <akim@epita.fr>
4796 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4797 handle installcheck and installcheck-am.
4798 * install.am: Do it.
4800 2001-02-26 Akim Demaille <akim@epita.fr>
4802 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4803 handle install and install-am.
4804 * install.am: Do it.
4806 2001-02-26 Akim Demaille <akim@epita.fr>
4808 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4809 work on targets handled by %dependencies.
4810 (&handle_factored_dependencies): Do it.
4811 * install.am: Install install-exec, install-data and uninstall's
4814 2001-02-26 Akim Demaille <akim@epita.fr>
4816 * automake.in (&handle_merge_targets): Move `install-strip' from
4818 * install.am: to here.
4820 2001-02-26 Akim Demaille <akim@epita.fr>
4822 * automake.in (@installdirs): Remove.
4823 (&file_contents): Be able to grow Automake macros with `+='.
4824 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4825 files define _am_installdirs.
4826 (&handle_installdirs): Remove the code, just output `install.am'.
4828 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4829 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4831 2001-02-26 Akim Demaille <akim@epita.fr>
4833 * tests/instdata2.test (libexec_DATA): Exercise more
4836 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4838 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4840 2001-02-25 Tom Tromey <tromey@redhat.com>
4842 * tests/instdata2.test: Added `sbin_DATA' check.
4844 * tests/Makefile.am (TESTS): Added subdircond.test.
4845 * tests/subdircond.test: New file.
4846 * automake.in (handle_gettext): Don't fail if SUBDIRS
4847 conditionally defined.
4849 * automake.in: Use IO::File.
4850 (generate_makefile): Use IO::File.
4851 (scan_texinfo_file): Likewise.
4852 (handle_aclocal_m4): Likewise.
4853 (scan_autoconf_traces): Likewise.
4854 (scan_one_autoconf_file): Likewise.
4855 (read_am_file): Likewise.
4856 (file_contents): Likewise.
4859 2001-02-25 Akim Demaille <akim@epita.fr>
4861 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4863 2001-02-25 Akim Demaille <akim@epita.fr>
4865 * automake.in (&transform): Also call &transform_cond on your
4867 (&handle_dist): Adjust.
4868 (&handle_factored_dependencies): Uniq dependencies.
4870 2001-02-25 Akim Demaille <akim@epita.fr>
4872 * automake.in (&handle_gettext): Simplify redundant `if'.
4873 Used &variable_value, don't read %contents directly.
4875 2001-02-25 Akim Demaille <akim@epita.fr>
4877 * automake.in ($install_recursive): Remove, replaced with calls to
4878 `&variable_defined ('SUBDIRS')'.
4879 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4880 (&file_contents): now does.
4882 2001-02-25 Akim Demaille <akim@epita.fr>
4884 * automake.in (&handle_man_pages): $found is dead.
4886 2001-02-25 Akim Demaille <akim@epita.fr>
4888 Internally just store the conditionals as space separated lists of
4889 CONDITIONS (instead of @CONDITIONS@).
4891 * automake.in (&conditional_true_when, &variable_conditions_sub):
4892 Split conditions at spaces.
4893 (&handle_dependencies, &variable_conditions_permutations): Don't
4894 put @ around conditions.
4895 (&variable_conditions_cmp): There are no @ to strip.
4896 (&make_condition): New.
4897 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4899 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4900 Join @conditional_stack with spaces.
4901 (&read_main_am_file): Adjust the output of variables.
4902 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4903 true' and no longer `@TEST@TRUE = @TEST@true'.
4904 (&variable_conditions_cmp): Rename as...
4905 (&by_condition): this.
4906 Sort in a human pleasant order.
4907 Use it everywhere a human can see conditions.
4908 (&variable_conditions_reduce): Don't sort conditions, that's
4910 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4912 2001-02-25 Akim Demaille <akim@epita.fr>
4914 * automake.in: `my' the globals.
4916 2001-02-25 Akim Demaille <akim@epita.fr>
4918 * automake.in (&initialize_per_input): %targets_conditionals is
4920 (&read_am_file): When slurping a rule, set the target related
4921 variable, and no variable related variable.
4922 (&file_contents): Likewise.
4923 * tests/vartar.test, tests/ctarget1.test: New.
4925 2001-02-25 Akim Demaille <akim@epita.fr>
4927 * automake.in (&variable_defined, &variable_value_as_list_worker):
4928 If $VAR is effectively a variable, don't die if it's also a
4930 Plus some formatting changes.
4932 2001-02-25 Akim Demaille <akim@epita.fr>
4934 * automake.in: Mying changes.
4935 * Makefile.am (maintainer-check): Check the stability of the
4936 number of uses of `local'.
4938 2001-02-25 Akim Demaille <akim@epita.fr>
4940 * automake.in: Mying changes.
4942 2001-02-25 Akim Demaille <akim@epita.fr>
4944 * automake.in: Mying changes.
4946 2001-02-25 Akim Demaille <akim@epita.fr>
4948 * automake.in: Mying changes.
4949 (&handle_tags): Fix a bug uncovered by the previous mying changes:
4950 transform CONFIG into $config, not $xform.
4952 2001-02-25 Akim Demaille <akim@epita.fr>
4954 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4955 Don't deal with install-data-am, install-exec-am and unstall-am.
4956 (&initialize_per_input): Add them to %dependencies.
4957 Remove %exec_dir_p since the *.am files are now in charge of it.
4958 Remove @uninstall, @install_data, @install_exec.
4959 (&handle_merge_targets): Adjust to these removals.
4960 (&file_contents): Also &transform_cond for --no-installman and
4962 (&do_one_merge_target): Add some magic to install hooks on
4963 %dependencies' targets.
4964 (%required_targets): New.
4965 (&handle_factored_dependencies): Output required targets.
4966 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4967 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4968 * texinfos.am: Declare your dependencies on install-data-am,
4969 install-exec-am and uninstall-am.
4970 * tests/instdata2.test (incldata_HEADERS): New test.
4972 2001-02-24 Tom Tromey <tromey@redhat.com>
4974 * Makefile.am (amfiles): Added texibuild.am.
4975 * texibuild.am: New file.
4976 * tests/Makefile.am (TESTS): Added texinfo9.test.
4977 * tests/texinfo9.test: New file.
4978 * automake.in (handle_texinfo): Keep track of suffixes used. Give
4979 error if suffix unrecognized. Removed extraneous newline.
4981 2001-02-23 Akim Demaille <akim@epita.fr>
4983 * automake.in (&am_install_var): Don't hook on the clean targets
4985 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4986 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4989 2001-02-23 Akim Demaille <akim@epita.fr>
4991 * automake.in: Promote local `my' over `local'.
4993 2001-02-23 Akim Demaille <akim@epita.fr>
4995 * automake.in: Formatting and mying changes.
4997 2001-02-23 Akim Demaille <akim@epita.fr>
4999 * automake.in: Formatting and mying changes.
5001 2001-02-23 Akim Demaille <akim@epita.fr>
5003 * automake.in (&handle_man_pages): Let install-man and
5004 uninstall-man be handled by the dependency tracker.
5005 (&initialize_per_input): Let %dependencies track them.
5006 * mans.am: Add the needed hooks with the proper dependencies.
5008 2001-02-22 Pavel Roskin <proski@gnu.org>
5010 * tests/target-cflags.test: Don't use subshell to configure in
5011 subdirectory. Typo fix - run `./foo', not `/foo'.
5013 2001-02-22 Akim Demaille <akim@epita.fr>
5015 * automake.in: Formatting and mying changes.
5017 2001-02-21 Tom Tromey <tromey@redhat.com>
5019 * automake.in (handle_dist): Introduce new variable to avoid extra
5020 keys in %dist_dirs. Fixes distdir.test.
5022 * automake.in (handle_texinfo): Only remove suffixes we can
5025 * tests/distdir.test: Check to make sure directory isn't made in
5028 * automake.in (handle_dist): Do nothing in Cygnus mode.
5030 2001-02-21 Pavel Roskin <proski@gnu.org>
5032 * header-vars.am: Remove tabs before variable definitions.
5034 2001-02-21 Akim Demaille <akim@epita.fr>
5036 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5039 2001-02-21 Akim Demaille <akim@epita.fr>
5041 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5042 numeric value as required by Perl 5.6.
5044 2001-02-21 Akim Demaille <akim@epita.fr>
5046 * dist-vars.am: Remove, merge into...
5048 * automake.in (dirname, basename, backname): Move to the top of
5049 the file so that prototypes are checked,
5050 Use them without `&'.
5051 (&handle_dist): Adjust.
5053 2001-02-21 Akim Demaille <akim@epita.fr>
5055 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5056 Use a uniform naming scheme.
5057 ("e_cond_val, &unquote_cond_val): Delete, dead code.
5058 (&read_am_file): Fix conditional definition of backslash continued
5061 2001-02-21 Akim Demaille <akim@epita.fr>
5063 Change the handling of conditionals: instead of using an ad-hoc
5064 encoding to store a hash in a string, use hashes.
5066 * automake.in (&conditional_dump): New.
5067 (&check_ambiguous_conditional, &variable_defined)
5068 (&variable_conditions_sub, &variable_value_as_list_worker)
5069 (&define_variable, read_am_file, &read_main_am_file): Be sure to
5070 handle `$conditional{$vars}' as a hash instead of a plain string.
5072 2001-02-21 Akim Demaille <akim@epita.fr>
5074 * automake.in (&conditional_true_when): Modernize, simplify.
5075 Warning: `$comp' is now private (my), while it used to be
5076 `inherited' from a `local' elsewhere in the code. AFAICT it was
5077 wrong, but some dirty side effect might show up.
5078 (&conditionals_true_when): New.
5079 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5081 2001-02-21 Akim Demaille <akim@epita.fr>
5083 * automake.in ($top_builddir): Remove, used in one place.
5084 (&define_standard_variables): Adjust.
5085 Move the definition of triplet variables into...
5086 * header-vars.am: here.
5088 2001-02-21 Akim Demaille <akim@epita.fr>
5090 * automake.in (&initialize_global_constants): Don't define $USAGE.
5091 (&usage): Handle the former content of $USAGE.
5092 Don't pretend autoconf cares about Makefile.in.
5093 Classify the options.
5094 (&handle_tests): Formatting and mying changes.
5096 2001-02-21 Akim Demaille <akim@epita.fr>
5098 * automake.in (&handle_tests_dejagnu): Move the definition of a
5099 default `site.exp' into...
5100 * dejagnu.am (site.exp): here.
5101 Use DOS compliant file names.
5103 2001-02-21 Akim Demaille <akim@epita.fr>
5105 * automake.in (&dist_cmp): New.
5106 (&handle_dist): Use it.
5107 Promote `my' over `local'.
5109 2001-02-21 Akim Demaille <akim@epita.fr>
5111 * dist.am: Remove, merge into...
5112 * distdir.am: here. Use the neat sed snippet for banners.
5113 BTW, distcheck is phony.
5114 * automake.in (&handle_dist_worker): Remove, merge into...
5115 (&handle_dist): this.
5116 (&file_contents): Strip leading new lines.
5117 Be sure to end comments with new lines.
5119 2001-02-21 Akim Demaille <akim@epita.fr>
5121 * distdir.am (GZIP_ENV): Define.
5122 * automake.in (&handle_dist): Don't.
5124 (&handle_dist_worker, &am_install_var): Use it.
5126 2001-02-21 Akim Demaille <akim@epita.fr>
5128 * distdir.am (distdir): Handle the DIST-TARGETS.
5129 * automake.in (&handle_dist_worker): Don't.
5131 2001-02-21 Akim Demaille <akim@epita.fr>
5133 * automake.in (&file_contents): Transform the global options (such
5135 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5137 2001-02-21 Akim Demaille <akim@epita.fr>
5139 * distdir.am (distdir): Be sure to have permissive rights on its
5141 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5143 And BTW, all these guys are phony.
5144 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5145 output distributions.
5146 (&handle_dist): As its name doesn't indicate, don't.
5147 (&initialize_global_constants): Don't define variables which
5148 content is now handled by distdir.am.
5149 But register `dist-all' as a factored target.
5150 (&handle_factored_dependencies): Don't output empty targets.
5152 2001-02-20 Tom Tromey <tromey@redhat.com>
5154 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5157 2001-02-18 Tom Tromey <tromey@redhat.com>
5159 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5160 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5161 (AM_PROG_STRIP): Commented out.
5163 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5165 * depcomp (gcc3): Protect against the compiler deleting
5166 the dependency output file.
5168 2001-02-17 Tom Tromey <tromey@redhat.com>
5170 * automake.in (handle_merge_targets): Use double quotes around
5171 setting of INSTALL_STRIP_PROGRAM.
5172 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5173 to absolute path at runtime.
5174 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5176 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5178 * m4/strip.m4: New file.
5179 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5180 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5181 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5182 * automake.in (handle_merge_targets): In the install-strip rule,
5183 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5184 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5185 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5186 don't use INSTALL_STRIP_FLAG any longer.
5188 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5190 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5193 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5195 * automake.in (unquote_m4_arg): New function.
5196 (scan_one_configure_file): Call unquote_m4_arg on
5197 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5200 2001-02-15 Tom Tromey <tromey@redhat.com>
5202 * config.guess, config.sub: New versions from FSF.
5204 * Makefile.am (WGET): New macro.
5205 (FETCHFILES): New macro.
5206 (fetch): New target.
5208 * tests/subobj3.test: Exit with status 77 if gcc not found.
5209 * tests/pr9.test: Exit with status 77 if gzip not found.
5210 * tests/pr87.test: Exit with status 77 if gcc not found.
5211 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5212 * tests/install2.test: Exit with status 77 if gzip not found.
5213 * tests/exsource.test: Exit with status 77 if GNU make not found.
5214 * tests/ansi3.test: Exit with status 77 if gcc not found.
5216 * tests/target-cflags.test: Require GNU make. Exit with status 77
5217 if gcc or make not found. Fixes PR automake/121.
5219 * configure.in: Require Perl 5.005.
5220 * automake.in: Require 5.005.
5222 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5223 Fixes PR automake/122.
5225 2001-02-14 Tom Tromey <tromey@redhat.com>
5227 * automake.in (add_depend2): Only emit a given object rule once.
5228 Fixes specflags6.test.
5230 2001-02-14 Richard Boulton <richard@tartarus.org>
5232 * tests/specflags6.test: New file.
5234 2001-02-14 Tom Tromey <tromey@redhat.com>
5236 * automake.texi (A Shared Library): Mention -module.
5238 2001-02-13 Tom Tromey <tromey@redhat.com>
5240 * automake.in (do_one_merge_target): Always register $name and
5243 * automake.in (do_one_merge_target): Register `all' as phony
5246 * configure.in: Updated to 1.4e for cvs.
5248 2001-02-12 Tom Tromey <tromey@redhat.com>
5250 * configure.in: Updated to 1.4d and released.
5252 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5253 names through autoconf.
5255 Fix for subdirbuiltsources.test:
5256 * automake.in (initialize_per_input): [all_target] Initialize to
5258 (handle_merge_targets): Use all-redirect target to handle built
5260 (do_one_merge_target): Don't generate all-redirect rule.
5262 2001-02-11 Peter Muir <iyhi@yahoo.com>
5264 * tests/subdirbuiltsources.test: New file.
5265 * tests/Makefile.am (TESTS): Added new file.
5267 2001-02-10 Tom Tromey <tromey@redhat.com>
5269 * tests/condlib.test: New file.
5270 * tests/Makefile.am (TESTS): Added new file.
5272 2001-02-10 Lars J. Aas <larsa@sim.no>
5274 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5275 (&canonicalize): New. Includes '@' in canonical range.
5276 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5277 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5279 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5281 * automake.in (handle_configure): Revert part of
5282 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5283 set CONFIG_COMMANDS explicitly.
5285 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5287 * depcomp (gcc3): Propagate exit code.
5289 2001-02-09 Lars J. Aas <larsa@sim.no>
5291 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5293 2001-02-09 Tom Tromey <tromey@redhat.com>
5295 Clean up maintainer-check warnings:
5296 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5298 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5300 2001-02-09 Akim Demaille <akim@epita.fr>
5302 * automake.in (&file_contents): Remove a dead branch.
5304 2001-02-09 Akim Demaille <akim@epita.fr>
5306 * automake.in (&transform): Use `my', not `local'.
5307 (&transform_cond): New.
5308 (&get_object_extension, &handle_texinfo, &handle_tags)
5309 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5310 (&handle_tests_dejagnu): Use it.
5311 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5312 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5314 2001-02-09 Akim Demaille <akim@epita.fr>
5316 * automake.in: Various formatting changes, and modernization of
5319 (&handle_configure, define_standard_variables): Use it.
5321 2001-02-08 Tom Tromey <tromey@redhat.com>
5323 * automake.in (file_contents): Only add $actions if any are
5324 found. Fixes new failure in pr87.test.
5326 2001-02-08 Pavel Roskin <proski@gnu.org>
5328 * tests/pr87.test: Check foo/Makfile.in after it is created.
5330 2001-02-08 Tom Tromey <tromey@redhat.com>
5332 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5333 Report from Lars J. Aas.
5335 2001-02-07 Lars J. Aas <larsa@sim.no>
5337 * lisp.am (install-@DIR@LISP): Removed extra space.
5338 * header.am (install-@DIR@HEADERS): Removed extra space.
5339 * data.am (install-@DIR@DATA): Removed extra space.
5341 2001-02-07 Tom Tromey <tromey@redhat.com>
5343 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5345 * automake.in (handle_dependencies): Use _am_include, not
5347 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5348 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5350 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5352 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5354 * automake.in (handle_configure): Handle case where output file is
5355 in subdir with no Makefile of its own. Fixes remake3.test,
5358 2001-02-06 Pavel Roskin <proski@gnu.org>
5360 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5362 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5363 * tests/exsource.test: Likewise.
5365 2001-02-06 Derek Price <derek.price@openavenue.com>
5367 * automake.in (handle_configure): Fix syntax error.
5369 2001-02-06 Akim Demaille <akim@epita.fr>
5371 * subdirs.am: This file is the exception: clean recursive targets
5372 are called by the clean targets, not the clean-am targets.
5373 Otherwise we have a circular dependency: clean -> clean-am ->
5374 clean-recursive -> clean.
5375 * automake.in (handle_clean): Bind `-local' targets to `-am'
5376 targets, not top targets.
5377 Don't declare -recursive dependencies of the clean targets:
5378 `subdirs.am' did it. Less hard coded knowledge, transfered
5382 2001-02-06 Akim Demaille <akim@epita.fr>
5384 Monstro unsplitable patch.
5386 The aim is to remove hard coded knowledge about clean targets from
5387 automake.in, leaving them in the *.am files.
5388 In addition to the mechanic needed to factor some dependencies, it
5389 appears some rules (most notably distclean and maintainer-clean)
5390 need factored actions. So first, be ready to catch factored
5393 * automake.in (&file_contents): For the time being, use an extended
5394 $RULE_PATTERN which is able to match any kind of rules, with or
5395 without dependency, with or without actions.
5396 Handle all the rules uniformly, storing in %actions the factored
5398 (&flatten, &target_cmp): New.
5399 (&handle_factored_dependencies): Output the %actions.
5400 No longer special case `clean'.
5401 Output the rules in alphabetical order, but keeping `.PHONY' last.
5403 Now we must not use &push_phony_cleaners, which is doing all sort
5404 of magic to push a bit of everything in all the clean targets.
5405 The biggest problem being that, making a Cartesian product, it
5406 requires many useless targets. The `*.am' file know better.
5407 But first, register the new factored rules.
5409 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5410 maintainer-clean, distclean and their `*-am' counterpart in
5412 Initialize %actions.
5413 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5414 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5415 (handle_emacs_lisp, handle_python): Don't play with
5416 &push_phony_cleaners nor &depend and `clean'.
5417 * texinfos.am, texi-vers.am, tags-clean.am:
5418 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5419 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5420 * clean-kr.am, clean-hdr.am: Do it.
5421 Whenever a target is empty, just remove it, it will no longer be
5424 There is still some magic about clean to hard code. But really,
5425 that's the end of &do_one_clean_target.
5427 * automake.in (&do_one_clean_target): Kaboom out.
5428 (&handle_clean): Rewrite the magic code.
5429 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5431 (&push_phony_cleaners): Kaboom too.
5433 2001-02-06 Akim Demaille <akim@epita.fr>
5435 * automake.in (do_one_clean_target): Don't hard code knowledge
5436 about libtool, and maintainer-clean.
5437 * clean.am, libtool.am: Handle these.
5439 2001-02-05 Akim Demaille <akim@epita.fr>
5441 * automake.in (handle_texinfo): No longer hard code the clean
5443 (texinfos.am): Include them.
5445 2001-02-05 Akim Demaille <akim@epita.fr>
5447 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5448 (maintainer-check): Don't be silent when you find a problem, and
5449 actually, even specify the locations.
5450 Also check that @_ is assigned to arrays.
5452 2001-02-05 Akim Demaille <akim@epita.fr>
5454 * m4/regex.m4: Use AC_LIBSOURCES.
5455 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5458 2001-02-04 Tom Tromey <tromey@redhat.com>
5460 * m4/Makefile.am (m4data_DATA): Added make.m4.
5461 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5463 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5464 Copy depcomp to subdir.
5465 * m4/make.m4: New file.
5467 2001-02-04 Pavel Roskin <proski@gnu.org>
5469 * automake.in (handle_dist_worker): Remove a line that is now
5472 2001-02-04 Kevin Ryde <user42@zip.com.au>
5474 * automake.in (handle_configure): Call config.status with empty
5475 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5477 2001-02-04 Tom Tromey <tromey@redhat.com>
5479 * depcomp (ddashmd): Removed case.
5480 (sgi): Handle failure exit correctly
5481 (aix): Likewise. Also, add dummy `.h' targets.
5483 2001-02-04 Akim Demaille <akim@epita.fr>
5485 * distdir.am (distdir): New file, extracted from...
5486 * automake.in (handle_dist_worker): here.
5489 2001-02-04 Akim Demaille <akim@epita.fr>
5491 * automake.in (@clean): Remove, replaced by...
5492 ($dependencies{'clean'}): this.
5493 Use `&depend' instead of push'ing into @clean.
5494 (handle_factored_dependencies): For the time being, skip 'clean'.
5495 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5496 always `clean', and `@clean'.
5498 2001-02-04 Akim Demaille <akim@epita.fr>
5500 * automake.in (%dependencies): Don't be initialize globally for
5501 all the files, but in...
5502 (&initialize_per_input): here.
5504 (@phony): Replace all occurrences with the corresponding &depend
5507 2001-02-03 Tom Tromey <tromey@redhat.com>
5509 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5510 * header-vars.am (INSTALL_HEADER): New macro.
5512 * automake.texi (Rebuilding): New node.
5516 Copyright 2001 Free Software Foundation, Inc.
5518 This file is part of GNU Automake.
5520 GNU Automake is free software; you can redistribute it and/or modify
5521 it under the terms of the GNU General Public License as published by
5522 the Free Software Foundation; either version 2, or (at your option)
5525 GNU Automake is distributed in the hope that it will be useful,
5526 but WITHOUT ANY WARRANTY; without even the implied warranty of
5527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5528 GNU General Public License for more details.
5530 You should have received a copy of the GNU General Public License
5531 along with autoconf; see the file COPYING. If not, write to
5532 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5533 Boston, MA 02111-1307, USA.