1 2002-03-18 Richard Boulton <richard@tartarus.org>
3 Fix for PR automake/306:
4 * automake.texi (Generalities): Document +=.
5 (Conditionals): Document limitations of += with conditionals.
7 2002-03-17 Tom Tromey <tromey@redhat.com>
9 Fix for PR automake/295:
10 * automake.texi (Invoking Automake): Deprecate --output-dir.
11 * automake.in (usage): Don't document --output-dir.
12 (output_directory): Don't initialize.
13 (parse_arguments): Deprecate --output-dir.
15 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
16 Fixes PR automake/304.
18 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
20 * tests/dirforbid.test: Workaround for NetBSD sh bug.
21 Fixes PR automake/305.
23 2002-03-11 Richard Boulton <richard@tartarus.org>
25 * automake.in (check_typos): Allow variables with reserved
26 suffices (such as _LDFLAGS) and prefixes which aren't
27 recognised if the variable is defined in configure.ac.
30 2002-03-11 Richard Boulton <richard@tartarus.org>
32 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
33 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
34 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
36 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
38 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
41 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
43 Fix for PR automake/303:
44 * automake.in (version_check): Move the error message ...
45 (process_option_list): ... here, so we can distinguish between
46 global and local options.
48 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
50 * tests/pr300-lib.test, tests/pr300-ltlib.test,
51 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
52 Autoconf doesn't complain about Makefile being output twice.
54 2002-03-06 Tom Tromey <tromey@redhat.com>
56 * configure.in: Upped version to 1.6a.
58 2002-03-05 Tom Tromey <tromey@redhat.com>
60 * configure.in: Released 1.6.
62 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
64 Fix for PR automake/300:
65 * tests/pr300-lib.test, tests/pr300-ltlib.test,
66 tests/pr300-prog.test: New files.
67 * tests/Makefile.am (TESTS): Add them.
68 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
69 compute the directory.
70 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
71 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
72 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
73 (uninstall-%DIR%LIBRARIES): Honor nobase_.
74 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
75 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
76 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
77 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
78 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
79 (uninstall-%DIR%PROGRAMS): Honor nobase_.
80 See also the fix for nobase.test on 2001-11-09.
82 2002-03-05 Tom Tromey <tromey@redhat.com>
84 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
86 2002-03-05 Pavel Roskin <proski@gnu.org>
88 * tests/yacc8.test: Add a command between "test" and "cd" to
89 work around a bug in bash-2.05.
91 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
93 Fix for PR automake/294:
94 * tests/dirforbid.test: New file.
95 * tests/Makefile.am (TESTS): Add it.
96 * automake.in (standard_prefix): New hash.
97 (am_primary_prefixes): Forbid standard_prefixes which are not
99 * automake.texi (Uniform): Remove FIXME.
101 2002-03-05 Jim Meyering <meyering@lucent.com>
103 * automake.in (@common_files): Add config.rpath.
105 2002-03-05 Kevin Ryde <user42@zip.com.au>
108 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
109 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
112 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
114 * automake.in (scan_one_autoconf_file): Declare
115 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
116 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
117 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
118 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
119 of s/// in the sed invocation, to support filenames containing
121 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
122 * tests/lex5.test, tests/yacc8.test: New files.
123 * tests/Makefile.am (TESTS): Add them.
125 2002-02-23 Per Bothner <per@bothner.com>
127 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
130 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
132 * tests/make.test: Revert the grep logic to work around a bug
133 in NetBSD sh (see NetBSD Problem Report #11542).
134 Reported by Patrick Welche.
136 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
138 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
139 to try and prevent a non-lisp emacs from starting in interactive
141 * automake.texi: Document this change.
143 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
145 * automake.texi (Macros): Split into ...
146 (Public Macros, Private Macros): ... these.
148 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
150 * tests/insthook.test: Use sed instead of "tail +X".
152 2002-02-18 Paul Eggert <eggert@twinsun.com>
154 * lib/depcomp: Don't use "tail +3"; it's not portable to
155 POSIX 1003.1-2001 hosts.
157 2002-02-18 Jim Meyering <meyering@lucent.com>
159 * tests/cond12.test: Use sed 1q, not `head -n 1'.
160 The latter is not portable to some old systems.
161 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
162 Use `sed 1q' instead.
163 * tests/insthook.test: Likewise.
165 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
167 * automake.in (handle_lib_objects_cond): Tell the user to put
168 global linker flags in AM_LDFLAGS, not LDFLAGS.
170 * automake.texi (General Operation): AC_SUBST'ed variables
171 override Automake's variables.
172 (Uniform): More words and @refs.
173 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
174 (etags): More explanations about the first example.
175 (Invoking Automake): Mention autoreconf. More @refs.
176 (Requirements): Mention AC_CONFIG_FILES.
177 (Optional): AC_CHECK_TOOL will no longer install config.sub and
178 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
179 (Invoking aclocal): aclocal no longer warn about duplicates.
180 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
181 (Extending aclocal): Suggest using the output of
182 `aclocal --print-ac-dir` to install third-party macros.
183 (Alternative): Specify ordering of dist_, nodist_, and nobase_
185 (A Program): Mention scripts. The global LDADD variable is not
186 meant to hold link flags, suggest using AM_LDFLAGS instead.
187 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
188 _LIBADD and _LDADD are subject to the same restriction wrt to
190 (Program and Library Variables) <maude_DEPENDECIES>: Is also
191 derived from maude_LIBADD.
192 (Program variables): Define AM_LDFLAGS.
193 (Dependencies): Passing the no-dependencies option to
194 AM_INIT_AUTOMAKE is prefered.
195 (Scripts): Explain why automake is magically cleaned.
196 Mention noinst_SCRIPTS and check_SCRIPTS.
197 (Data): Use dist_ in Automake's example.
198 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
199 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
201 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
203 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
204 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
205 of asking the maintainer to do it manually.
206 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
207 Automake/XFile.pm: New upstream versions.
209 2002-02-02 Tom Tromey <tromey@redhat.com>
211 * automake.texi (Macros): Warn about upgrading.
213 2002-02-01 Tom Tromey <tromey@redhat.com>
215 Change per GNU coding standards:
216 * aclocal.in (parse_arguments): Only mention most recent year in
218 * automake.in (version): Only mention most recent year.
220 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
222 * automake.texi (API versioning): New Node.
223 (Extending): Use $(DESTDIR) in examples.
225 2002-01-28 Akim Demaille <akim@epita.fr>
227 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
228 Respect the --help layout.
230 2002-01-27 Tom Tromey <tromey@redhat.com>
232 * configure.in: Bumped to 1.5e.
234 * lib/am/yacc.am: Use `rm -f'.
236 * configure.in: Released 1.5d.
238 * lib/config.guess: New version from FSF.
240 * Makefile.am (uninstall-hook): New target.
242 2002-01-24 Akim Demaille <akim@epita.fr>
244 * lib/install-sh: Update, from Autoconf.
246 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
249 as AC_CANONICAL_HOST (the former does not require the latter since
251 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
252 * automake.texi (Requirements): Do not require STRIP to be
255 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
257 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
258 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
259 * tests/pr224.test: Make sure .deps subdirectories are
262 2002-01-22 Tom Tromey <tromey@redhat.com>
264 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
265 no-dependencies option is set.
266 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
267 no-dependencies option is set. Don't call AM_DEP_TRACK or
270 2002-01-22 Pavel Roskin <proski@gnu.org>
272 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
275 2002-01-22 Akim Demaille <akim@epita.fr>
277 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
280 2002-01-21 Tom Tromey <tromey@redhat.com>
282 * Makefile.am (fetch): Don't fetch ansi2knr.
284 * automake.texi (Macros): Updated for new variable names.
285 (Program and Library Variables): Likewise.
286 (Assembly Support): Likewise.
287 * m4/as.m4: Use CCAS and CCASFLAGS.
288 * automake.in (asm): Use CCAS and CCASFLAGS.
290 2002-01-21 Akim Demaille <akim@epita.fr>
292 * automake.in (&parse_arguments): Use a more GNUish error message
295 2002-01-20 Tom Tromey <tromey@redhat.com>
297 Fix for PR automake/231:
298 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
299 * m4/depend.m4: Document `GCJ'.
302 * tests/Makefile.am (TESTS): Added pr224.test.
303 * tests/pr224.test: New file.
304 * lib/depcomp: Fixed computation of depfile.
305 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
306 * automake.in (handle_single_transform_list): Only reject `..'
307 component for Java. Put dependencies in directory near object.
308 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
310 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
312 * tests/defs: Export AUTOMAKE and ACLOCAL.
314 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
316 Fix for PR automake/204:
317 * tests/pr204.test: New file.
318 * tests/Makefile.am (TESTS): Add it.
319 * automake.in (handle_single_transform_list): Don't distribute
320 sources derived from non-distributed sources.
322 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
324 Fix for PR automake/229:
325 * tests/pr229.test: New file.
326 * tests/Makefile.am (TESTS): Add it.
327 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
328 AC_EMXOS2, and AC_MINGW32.
330 2002-01-18 Tom Tromey <tromey@redhat.com>
332 * tests/cond7.test: Fix test bug exposed by copyright update.
335 * automake.in (lang_c_rewrite): Don't prepend directory to base if
336 directory is `.'. Also, properly compute de_ansi_files entry in
338 * tests/Makefile.am (TESTS): Added ansi7.test.
339 * tests/ansi7.test: New file.
341 * aclocal.in (parse_arguments): Added 2002.
342 (write_aclocal): Likewise.
343 (parse_arguments): Updated my email address.
344 * automake.in (gen_copyright): Added 2002.
345 (version): Likewise. Also, changed my email address.
347 * configure.in (APIVERSION): Refined definition.
349 2002-01-18 Tom Tromey <tromey@redhat.com>
352 * lib/missing: Accept versioned aclocal.
353 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
355 2002-01-17 Pavel Roskin <proski@gnu.org>
357 * m4/Makefile.am (m4datadir): Use APIVERSION.
359 2002-01-16 Tom Tromey <tromey@redhat.com>
361 * Makefile.am (install-exec-hook): Use APIVERSION.
362 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
363 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
365 * automake.in (perllibdir): Use APIVERSION.
367 * aclocal.in (perllibdir): Use APIVERSION.
368 (APIVERSION): New global.
369 (parse_arguments): Use APIVERSION.
370 * configure.in (APIVERSION): New subst.
371 (pkgvdatadir): Use APIVERSION.
373 2002-01-15 Tom Tromey <tromey@redhat.com>
376 * lib/missing: Match against `automake*' to pick up versioned
378 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
379 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
381 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
382 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
384 (scriptdir): Use pkgvdatadir.
385 (installcheck-local): Likewise.
386 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
387 * automake.in (perllibdir): Added VERSION.
389 * aclocal.in (parse_arguments): Search versioned directory. Don't
390 push unversioned directory unless it exists.
391 (perllibdir): Added VERSION.
392 (default_acdir): New global.
393 * m4/Makefile.am (m4datadir): Added $(VERSION).
394 * Makefile.am (install-exec-hook): New target.
395 * configure.in (ACLOCAL): Search build directory.
396 (pkgvdatadir): New subst.
398 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
400 * lib/config.sub, lib/config.guess: New versions from FSF.
402 2002-01-13 Tom Tromey <tromey@redhat.com>
405 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
407 (lang_c_finish): Likewise. Also, use directory information from
410 2002-01-13 Kevin Ryde <user42@zip.com.au>
413 * tests/Makefile.am (TESTS): Added ansi6.test.
414 * tests/ansi6.test: New file.
416 2002-01-13 Tom Tromey <tromey@redhat.com>
419 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
421 * tests/Makefile.am (TESTS): Added pr287.test.
422 * tests/pr287.test: New file.
424 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
426 * lib/am/distdir.am (distdir): Handle subdirectories.
427 * tests/extra6.test: New file.
428 * tests/Makefile.am (TESTS): Add it.
430 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
432 * tests/extra2.test: Run $ACLOCAL.
434 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
436 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
437 AM_INIT_AUTOMAKE arguments when using the old-style call.
438 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
439 Suggested by Pavel Roskin.
441 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
443 * test/nodefine.test, test/nodefine2.test: Check that no-define
444 works, not the contrary...
445 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
446 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
449 2002-01-12 Jim Meyering <meyering@lucent.com>
451 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
452 * tests/libobj11.test: New file.
453 * tests/Makefile.am (TESTS): Add libobj11.test.
455 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
457 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
459 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
461 * automake.in (file_contents_internal): Introduce two variables,
462 $is_rule and $discard_rules to track rules spanning across multiple
463 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
464 where only the first paragraph of such a multi-paragraph rule was
465 discarded; but it leaves many similar latent bugs (see the FIXMEs).
467 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
469 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
470 * tests/error.test: Use some macro names which are not defined by
473 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
475 * automake.texi (Complete, Macros, Options): Document the new style
476 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
477 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
478 AC_INIT if they are available there. Support a new call form
479 where the only argument is an optional space-separated list of
481 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
482 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
483 _AM_IF_OPTION): New functions.
484 * automake.in (AC_INIT_PATTERN): New variable.
485 (global_options_line): Remove, use $seen_init_automake instead.
486 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
487 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
488 Remove the AM_AUTOMAKE_OPTIONS handling.
489 * configure.in: Modernize.
490 * tests/defs (configure.in): Modernize. One third of the tests
491 still overwrite the default configure.in and use an old
492 AM_INIT_AUTOMAKE call, so that makes testing for both.
493 * tests/nodefine.test, tests/nodefine2.test: New files.
494 * tests/Makefile.am (TESTS): Add them.
496 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
498 * automake.in (define_configure_variable): Propagate line numbers.
500 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
502 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
504 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
506 * configure.in: Run the Autoconf test in a subdirectory, then
507 erase this directory.
509 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
511 * configure.in (AUTOMAKE): Create m4/amversion.m4.
512 * m4/amversion.in: New file.
513 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
514 (dist_m4data_DATA): ... this.
515 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
516 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
517 AM_SET_CURRENT_AUTOMAKE_VERSION.
518 * automake.in (seen_automake_version): New variable.
519 (scan_autoconf_traces, scan_one_autoconf_file,
520 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
521 when the version used in aclocal.m4 differs from Automake's.
522 * tests/defs (ACLOCAL): Look in ../m4 too.
523 * tests/installsh.test (ACLOCAL): Likewise.
524 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
526 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
528 * automake.in (handle_languages): Emit an automake
529 internal variable 'am__depfiles_maybe'.
530 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
532 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
535 2002-01-06 Tom Tromey <tromey@redhat.com>
537 * automake.texi (Tags): Document new variables.
538 * lib/am/tags.am (ETAGS): New macro.
539 (ETAGSFLAGS): Likewise.
542 2002-01-04 Tom Tromey <tromey@redhat.com>
544 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
546 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
548 * automake.in (read_am_file): Thinko in "comment following
549 trailing backslash" detection.
550 * tests/comment5.test: Test for this too.
552 2002-01-02 Tom Tromey <tromey@redhat.com>
554 * automake.texi (Extending): Added index for uninstall-hook.
556 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
558 Fix for PR automake/278:
559 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
560 with versions such as '2.2c1'. Also, use `int' instead of the
561 obsoleted `string.atoi'.
562 Reported by Enrico Scholz.
564 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
566 Fix for PR automake/280:
567 * automake.in (read_am_file): Warn about trailing backslashes
569 * tests/comment5.test: New file.
570 * tests/Makefile.am (TESTS): Add comment5.test.
571 Reported by Enrico Scholz.
573 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
575 * tests/comment4.test: New file.
576 * tests/Makefile.am (TESTS): Add comment4.test.
578 Fix for comment4.test:
579 * automake.in (read_am_file): Output leading comments only when
580 encountering white lines.
582 2002-01-01 Tom Tromey <tromey@redhat.com>
585 * tests/Makefile.am (TESTS): Added strip.test.
586 * tests/strip.test: New file.
588 * automake.texi (Extending): Mention uninstall-hook.
590 * automake.in (handle_factored_dependencies): Allow
593 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
595 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
596 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
597 This fixes a bug introduced on 2001-01-28.
598 Reported by Jared Davis.
600 2001-12-31 Tom Tromey <tromey@redhat.com>
602 * automake.texi (Extending): Document installcheck-local. Added
603 installdirs-local index entry.
604 (Tests): Document installcheck-local.
606 * automake.in (handle_single_transform_list): Indentation fix.
608 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
610 * automake.in (common_files): Add COPYING.DOC.
611 Suggested by Karl Berry.
613 2001-12-30 Tom Tromey <tromey@redhat.com>
615 * automake.in (define_configure_variable): Define a user macro,
616 not an automake macro.
617 * tests/Makefile.am (TESTS): Added ar.test.
618 * tests/ar.test: New file.
621 * automake.in (object_compilation_map): New global.
622 (initialize_per_input): Initialize it.
623 (COMPILE_LIBTOOL): New constant.
624 (COMPILE_ORDINARY): Likewise.
625 * tests/Makefile.am (TESTS): Added pr211.test.
626 * tests/pr211.test: New file.
629 * configure.in: Use AM_AUTOMAKE_OPTIONS.
630 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
631 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
632 (Options): Mention AM_AUTOMAKE_OPTIONS.
633 * automake.in (global_options): New global.
634 (global_options_line): Likewise.
635 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
636 (scan_one_autoconf_file): Likewise.
637 (process_option_list): New function.
638 (handle_options): Use it. Also, handle global options.
639 * m4/Makefile.am (m4data_DATA): Added options.m4.
640 * m4/options.m4: New file.
642 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
644 (?!SUBDIRS?installdirs): Likewise.
645 * automake.in (handle_installdirs): Handle installdirs-local.
646 * automake.texi (Extending): Mention installdirs.
647 * tests/Makefile.am (TESTS): Added installdir.test.
648 * tests/installdir.test: New file.
650 2001-12-30 Akim Demaille <akim@epita.fr>
652 * lib/am/yacc.am: Also rename the possible y.output file.
653 Remove the trailing y.tab.h.
655 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
657 * automake.texi (Install): Remove mention of nonexistent
660 2001-12-30 Alan Modra <amodra@bigpond.net.au>
662 * automake.in (generate_makefile): Unlink output file before
663 opening so that any hard links are not changed.
665 2001-12-30 Tom Tromey <tromey@redhat.com>
667 * tests/pr220.test: Use `required' to pick up gcc.
670 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
672 * tests/Makefile.am (TESTS): Added pr243.test.
673 * tests/pr243.test: New file.
676 * tests/Makefile.am (TESTS): Added pr220.test.
677 * tests/pr220.test: New file.
678 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
679 fail if conditional was never run.
682 * lib/depcomp (tru64): Correctly handle libtool case.
683 From doreille@smr.ch.
685 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
687 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
688 Reported by Yann Droneaud.
690 2001-12-29 Tom Tromey <tromey@redhat.com>
693 * tests/Makefile.am (TESTS): Added pr266.test.
694 * tests/pr266.test: New file.
695 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
696 non-standard name for makefile.
699 * automake.in (conditional_ambiguous_p): New sub.
700 (handle_lib_objects_cond): Use it.
701 (check_ambiguous_conditional): Use it.
702 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
703 * tests/pr279.test: New file.
704 * tests/pr279-2.test: New file.
706 2001-12-26 Tom Tromey <tromey@redhat.com>
709 * tests/Makefile.am (TESTS): Added nodist2.test.
710 * tests/nodist2.test: New file
712 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
714 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
716 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
718 * configure.in: Test for Autoconf >= 2.52.
719 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
720 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
721 tests/cond4.test, tests/cond9.test, tests/cond16.test,
722 tests/cond18.test, tests/cond19.test, tests/cond20.test,
723 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
724 tests/depend2.test, tests/dirname.test, tests/distname.test,
725 tests/extra5.test, tests/install2.test, tests/lex3.test,
726 tests/make.test, tests/nobase.test, tests/pr9.test,
727 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
728 tests/subdirbuiltsources.test, tests/subobj3.test,
729 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
730 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
731 tests/yaccvpath.test: Do not use $needs_autoconf.
733 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
735 * configure.in: Bump version to 1.5c.
737 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
739 * configure.in: Bump version to 1.5b.
741 * lib/config.sub, lib/config.guess: New versions from FSF.
743 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
745 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
747 * automake.in (check_gnu_standards, check_gnits_standards): Pass
748 "$am_file.am" as WHERE argument to require_file.
750 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
752 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
753 in loop until we find one the satisfies the user supplied version.
754 Add python2 to the list of known interpreters. Don't use
755 changequote. Cache the calculation of PYTHON_VERSION and
757 (AM_PYTHON_CHECK_VERSION): New function, extracted from
758 AM_PATH_PYTHON and modernized.
759 * m4/runlog.m4: New file.
760 * m4/Makefile.am (m4data_DATA): Add it.
762 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
764 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
765 tests/nobase.test, tests/stamph2.test,
766 tests/subdirbuiltsources.test: Require Autoconf.
768 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
770 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
771 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
772 Suggested by Merijn de Jonge.
774 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
776 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
777 like other ID dependencies.
778 Suggested by Christian Cornelssen.
780 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
782 * automake.in (handle_dist): Distribute common files which
783 do not exist but are target of a Makefile rule.
784 * automake.texi (Dist): Update.
785 * test/builtcommon3.test: New file.
786 * test/Makefile.am (TESTS): Add distcommon3.test.
788 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
790 * automake.in (macro_define): Fix misuse of chomp introduced on
793 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
795 * automake.in (append_comments): New. Extracted from
796 read_am_file. Match '\n' with a regexp, don't use substr (the
797 perlport man page says '\n' is not always one byte wide).
798 (read_am_file): Use it. Always chomp $_.
799 (file_contents_internal): Use append_comments.
800 (macro_define): Don't treat the trailing '\n' with substr, use
803 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
805 * tests/defs: Turn on shell traces when VERBOSE=x.
807 2001-11-26 Tom Tromey <tromey@redhat.com>
809 * automake.texi (Assembly Support): Mention .s and .S as only
812 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
814 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
817 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
819 * tests/lex3.test: Require GNU Make.
821 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
823 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
826 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
828 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
829 in $(srcdir), like other TAGS dependencies.
830 Suggested by Christian Cornelssen.
832 2001-11-26 Akim Demaille <akim@epita.fr>
834 * automake.in (¯o_define): Use $where when reporting an error,
835 not the place where the macro was first defined since (i) if this
836 is the first definition, then obviously it was not defined before,
837 and (ii) anyway, the error is with the new definition, not the
840 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
842 * lib/am/distdir.am (distcheck): Call distcleancheck.
843 (distcleancheck_listfiles, distcleancheck): New, extracted from
845 * automake.texi (Checking the distribution): Document
846 distcleancheck_listfiles and distcleancheck.
848 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
850 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
851 foreach invocation, otherwise Perl5.005_03 complains about a
852 syntax error. Reported by Yann Droneaud.
854 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
856 * automake.in (scan_texinfo_file): Suppress FIXME about strange
859 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
861 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
862 gettext.m4 if required.
864 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
866 * automake.in (define_objects_from_sources,
867 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
868 the equivalant substitution.
870 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
872 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
873 set of accepted characters in extensions.
874 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
876 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
878 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * automake.texi (Suffixes): Don't require SUFFIXES, but document
881 its use for the "extreme" cases.
883 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
885 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
886 to match suffix rules for known extensions, or call
887 accept_extensions on suffixe rules for unknown extensions.
888 (var_SUFFIXES_trigger): New function.
889 (macro_define): Call var_VAR_trigger when $VAR is updated.
890 * tests/suffix6.test, tests/suffix7.test: New files.
891 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
893 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
895 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
897 (handle_single_transform_list, lang_yacc_target_hook): Use
898 KNOWN_EXTENSIONS_PATTERN.
899 (accept_extension): New function.
900 (register_language): Call it.
902 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
904 At every place where an "$extension" is used, include the leading
905 dot in the extension, don't hardcode it when building the filename.
906 That will make any support for a dot-less extension easier to add.
908 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
910 ("main"): Prepend a '.' to the supported extensions of all
911 languages (e.g. 'c' becomes '.c').
912 (handle_languages, handle_single_transform_list,
913 handle_lib_objects_cond, handle_headers, derive_suffix,
914 rule_define): Do not add a dot
915 before extensions, and include dots in matching groups.
916 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
917 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
918 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
919 (%EXT%%DERIVED-EXT%): ... this.
920 * lib/am/yacc.am: Likewise.
922 2001-11-12 Akim Demaille <akim@epita.fr>
924 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
925 Use `"#"' and `"\""', which
926 Autoconf mode prefers over `'#'' and `'"''.
927 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
928 Rely on AC_MSG 2.50's quotation.
930 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
932 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
934 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
936 * lib/am/distdir.am (distdir): Also look for directory in build
937 directory first. (See 2001-05-14.)
938 * tests/Makefile.am (TESTS): Add extra5.test.
939 * tests/extra5.test: New file.
942 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
944 Fix for distcommon2.test:
945 * automake.in (automake_needs_to_reprocess_all_files): New
947 ("main"): Process all Makefiles a second time if
948 $automake_needs_to_reprocess_all_files is set.
949 (maybe_push_required_file): Return 1 or 0 whether the file is
951 (require_file_internal): Set $automake_needs_to_reprocess_all_files
952 if an added file can't be pushed.
954 * test/distcommon2.test: New file.
955 * test/Makefile.am (TESTS): Add distcommon2.test.
958 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
960 * automake.in (exec_dir_p): Remove. Replace by...
961 (EXEC_DIR_PATTERN):... this.
962 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
964 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
967 * lib/am/header-vars.am (install_sh_DATA): New.
968 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
969 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
970 of $(INSTALL_DATA) for nobase_ targets.
971 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
972 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
973 * tests/nobase.test (configure.in): Append AC_OUTPUT.
974 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
976 2001-11-08 Akim Demaille <akim@epita.fr>
978 * automake.texi: Remove references to stamp-h.in, which no longer
980 * tests/stamph2.test: Formatting change.
982 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
984 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
985 Don't use -Wno-error.
987 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
989 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
990 * tests/suffix5.test ($AUTOMAKE): Likewise.
992 2001-11-07 Akim Demaille <akim@epita.fr>
994 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
996 Reported by Jim Meyering.
998 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1000 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
1002 2001-11-05 Paul Eggert <eggert@twinsun.com>
1004 * lib/am/distdir.am (am__remove_distdir):
1005 New macro. Do not change permission of non-directories.
1006 Change only user permission, as there's no point to changing group
1007 or other permission.
1008 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
1011 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1013 * lib/am/python.am: Cleanup the cleaning section.
1014 * automake.texi (Python): Remove documentation for PYCFILES
1015 and PYOFILES. Update the first paragraphes.
1017 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1019 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1020 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1021 Adjust usage everywhere.
1023 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1025 * automake.in (libtool_files, libtool_sometimes, common_files,
1026 common_sometimes, config_aux_path): Use qw to simplify definition.
1027 (scan_texinfo_file) <clean_suffixes, predefined_index,
1028 hidden_index>: Likewise.
1029 (scan_autoconf_traces) <traced>: Likewise.
1030 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1033 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1035 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1036 derive_suffix. Don't use an hardcoded 'o' for object extensions.
1037 (derive_suffix): Accept $OBJ as a second argument, don't
1039 * tests/suffix5.test: New test.
1040 * tests/Makefile.am (TESTS): Add suffix5.test.
1041 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1043 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1045 * automake.in (handle_single_transform_list): Don't call
1046 $lang->target_hook for undefinied langages.
1047 * tests/suffix4.test: New test.
1048 * tests/Makefile.am (TESTS): Add suffix4.test.
1049 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1051 2001-11-05 Akim Demaille <akim@epita.fr>
1053 * automake.in (@common_sometimes, &handle_configure): No longer
1055 * lib/am/remake-hdr.am: Adjust.
1056 * tests/confh.test: There is no stamp.hin.
1058 2001-11-01 Akim Demaille <akim@epita.fr>
1060 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1061 `#line' and multiple inclusion guards.
1062 * lib/ylwrap: Remove debugging code.
1063 (input_dir, input_rx): Move where used.
1064 Use the output file name in `#line'.
1066 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1068 * automake.in (transform): Update documentation.
1070 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1072 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1073 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1075 2001-10-30 Akim Demaille <akim@epita.fr>
1077 * automake.in (&create): Reinstall.
1079 2001-10-30 Akim Demaille <akim@epita.fr>
1081 * automake.in (&append_exeext): Use macro_delete.
1083 2001-10-30 Akim Demaille <akim@epita.fr>
1085 * automake.in ($verbose): Remove, inherited from
1087 (&variable_delete): Rename as...
1088 (¯o_delete): this, for consistency.
1089 (&variable_assert): New.
1090 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1093 2001-10-29 Akim Demaille <akim@epita.fr>
1095 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1096 cluttering configure's stdout.
1098 2001-10-28 Akim Demaille <akim@epita.fr>
1100 * automake.in: Various formatting changes.
1101 (create): Remove, unused.
1103 2001-10-28 Akim Demaille <akim@epita.fr>
1105 * automake.in (&append_exeext): New.
1106 (&am_primary_prefixes): Use it.
1108 2001-10-28 Akim Demaille <akim@epita.fr>
1110 * automake.in (am_primary_prefixes): Now, in accordance with its
1111 comment, return the list of prefixes actually used, not all the
1112 possible prefixes for a primary.
1113 (&handle_libraries, &handle_ltlibraries, &handle_java)
1114 (&am_install_var): Adjust.
1115 * Makefile.am (maintainer-check): Allow `local $_;'.
1117 2001-10-28 Akim Demaille <akim@epita.fr>
1119 * automake.in: Various formatting changes.
1120 (&variable_defined): Second argument is optional.
1122 2001-10-28 Akim Demaille <akim@epita.fr>
1124 * automake.in (&am_primary_prefixes): Now returns a list, not a
1126 (&handle_libraries, &handle_ltlibraries, &handle_java)
1127 (&am_install_var): Adjust.
1129 2001-10-28 Akim Demaille <akim@epita.fr>
1131 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1133 (@libtool_files, @libtool_sometimes): these.
1134 ($libtool_location): Remove, completely replaced by $seen_libtool.
1135 (&require_file_internal): Do not run libtoolize, that's
1138 2001-10-28 Akim Demaille <akim@epita.fr>
1140 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1141 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1142 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1143 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1144 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1145 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1146 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1147 * tests/libobj8.test, tests/output.test, tests/output2.test,
1148 * tests/output3.test, tests/output4.test, tests/output5.test,
1149 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1150 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1151 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1152 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1155 2001-10-28 Akim Demaille <akim@epita.fr>
1157 * automake.in (&scan_autoconf_traces): Use eq for equality.
1159 Remove dead comment.
1160 (&initialize_per_input): Don't initialize several times the same
1163 2001-10-28 Akim Demaille <akim@epita.fr>
1165 * automake.in (scan_one_autoconf_file): When using %generalize, be
1166 sure to replace only words. AC_FUNC_OBSTACK was matching
1169 2001-10-26 Akim Demaille <akim@epita.fr>
1171 * tests/stamph2.test: Strengthen.
1172 * tests/confh2.test, tests/confh3.test: Remove.
1173 These are bad tests: they don't check the effects, but some
1174 internal details in Makefile.
1175 And they are covered by stamph2.test.
1177 2001-10-26 Akim Demaille <akim@epita.fr>
1179 Now that stamp-h's are created by config.status, we don't need to
1180 handle them in Makefile's.
1182 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1183 * m4/header.m4 (_AM_STAMP): New.
1184 (_AM_CONFIG_HEADER): Use it.
1186 2001-10-26 Akim Demaille <akim@epita.fr>
1188 * automake.in (&generate_makefile, &handle_texinfo_helper)
1189 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1190 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1191 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1192 `join (' ', @list)' into `"@list"'.
1194 2001-10-26 Akim Demaille <akim@epita.fr>
1196 * automake.in (@config_fullnames, @config_names): Remove.
1197 (@config_headers): Now contains the actual spec used in
1199 (&split_config_file_spec): New.
1200 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1201 (&scan_one_autoconf_file): Adjust.
1202 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1205 2001-10-26 Akim Demaille <akim@epita.fr>
1207 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1208 (AM_CONFIG_HEADER): Use it.
1210 2001-10-26 Akim Demaille <akim@epita.fr>
1212 * automake.in (&handle_configure): Use the config.status 2.50
1213 invocation syntax for config files and headers.
1214 autoheader needs the name of the file to create, not from what it
1215 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1217 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1218 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1220 Strengthen: Use the non-default config.hin source.
1221 Strengthen: Make sure config.h is properly updated when config.hin
1224 2001-10-26 Akim Demaille <akim@epita.fr>
1226 * automake.in (&handle_configure): Seeing Automake files in
1227 @other_input_files is a programming error, not merely something to
1229 Factor slightly the code.
1231 2001-10-26 Akim Demaille <akim@epita.fr>
1233 * automake.in ($canonical_location): New.
1235 (&require_config_file, $line_error): Remove.
1237 2001-10-24 Akim Demaille <akim@epita.fr>
1239 * automake.in: Use &verbose.
1240 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1243 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1245 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1246 Have the basename step optional and use %NDIR% instead of %DIR% in
1247 filenames in order to support 'nobase_'.
1249 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1251 * automake.in (handle_languages, handle_single_transform_list,
1252 lang_c_rewrite): Use require_conf_file instead of
1253 require_config_file to require depcomp or compile from
1254 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1255 mistakenly reverted.)
1257 2001-10-24 Akim Demaille <akim@epita.fr>
1259 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1262 2001-10-24 Akim Demaille <akim@epita.fr>
1264 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1265 appear in Makefile.in in the clean rule.
1267 * tests/cxxansi.test: Adjust.
1269 2001-10-24 Akim Demaille <akim@epita.fr>
1271 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1272 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1274 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1275 (&conf_error, &file_warning): these.
1276 (&file_warning): Fix the prototype and argument handling.
1277 (&am_line_warning): Remove, unused.
1279 Also, repair the misapplication of previous patches.
1281 2001-10-21 Akim Demaille <akim@epita.fr>
1283 * automake.in ($ac_output_location): Replace with...
1284 ($ac_config_files_location): this.
1285 (&scan_autoconf_traces): We don't need $file and $line, $here is
1287 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1288 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1290 2001-10-21 Akim Demaille <akim@epita.fr>
1292 * automake.in (&require_file_with_macro): Use &require_file.
1293 (&read_am_file): Move the definition of $here at its proper place.
1295 2001-10-21 Akim Demaille <akim@epita.fr>
1297 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1298 ($libtool_location, $pythondir_location): these.
1299 (&require_conf_file_with_line, &require_conf_file_with_line):
1301 (&require_file): Don't forget $where.
1302 (&require_conf_file): Ahem... Fix the name.
1303 (&require_config_file): Invoke &require_conf_file, not yourself.
1304 (&am_line_error): Fix the default am_file_error invocation.
1306 2001-10-21 Akim Demaille <akim@epita.fr>
1308 * automake.in ($seen_lispdir): Replace with...
1309 ($am_lispdir_location): this.
1310 (&require_conf_file): New.
1311 (&require_config_file, &require_conf_file_with_line,
1312 (&require_conf_file_with_conf_line): Use it.
1313 (&require_conf_file_with_macro): New.
1315 2001-10-21 Akim Demaille <akim@epita.fr>
1317 * automake.in ($config_header_line, $ac_output_line)
1318 ($ac_gettext_line, $package_version_line): Replace with...
1319 ($config_header_location, $ac_output_location)
1320 ($ac_gettext_location, $package_version_location): these.
1321 (&require_file_with_conf_line, &require_file_with_line): Remove,
1324 2001-10-21 Akim Demaille <akim@epita.fr>
1326 * automake.in (&require_file_internal): Instead of $file and $line,
1327 take $where as first argument.
1329 (&require_file_with_macro): New.
1330 Use it where internal black magic was used to recover the location
1331 of a macro definition.
1333 2001-10-21 Akim Demaille <akim@epita.fr>
1335 * automake.in (&read_am_file): Define and use `$here'.
1336 Avoid using am_line_error.
1338 2001-10-21 Akim Demaille <akim@epita.fr>
1340 * automake.in (&am_target_error): New.
1341 Use it where appropriate instead of...
1342 (&am_line_error): this.
1343 Using it for a target is a croak error.
1345 2001-10-21 Akim Demaille <akim@epita.fr>
1347 * automake.in (&am_macro_error): New.
1348 Use it where appropriate instead of...
1349 (&am_line_error): this.
1350 Using it for a macro is a croak error.
1352 2001-10-21 Akim Demaille <akim@epita.fr>
1354 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1355 AC_OUTPUT a Makefile.
1357 2001-10-21 Akim Demaille <akim@epita.fr>
1359 * automake.in (%var_line): Rename as...
1360 (%var_location): this.
1361 Use it consistently as the location where the macro is defined,
1362 file and line when possible, otherwise just file.
1363 (&read_am_file): Rules have their own location tracking, don't
1364 pollute %var_location.
1366 2001-10-21 Akim Demaille <akim@epita.fr>
1368 * automake.in (am_line_error): Clarify.
1370 2001-10-21 Akim Demaille <akim@epita.fr>
1372 * automake.in (&am_print_error): Set $exit_status since all your
1374 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1376 (&am_conf_line_error, &am_conf_line_warning): Remove.
1377 Adjust callers to use &am_file_error and...
1378 (&am_file_warning): new.
1380 2001-10-21 Akim Demaille <akim@epita.fr>
1382 * m4/regex.m4: Use AC_LIBOBJ.
1383 Require 2.50, and use AC_LIBSOURCES freely.
1384 * tests/asm.tests: Formatting changes.
1385 Exercise AM_PROG_AS.
1387 2001-10-21 Akim Demaille <akim@epita.fr>
1389 * tests/install.test: This test is an empty shell, do not run
1391 * tests/Makefile.am (TESTS): Don't run it.
1392 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1394 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1396 * tests/obsolete2.test: Remove, merged into...
1397 * tests/obsolete.test: here.
1398 Both aclocal and automake should complain.
1400 2001-10-21 Akim Demaille <akim@epita.fr>
1402 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1403 for symbols which cannot be Make macro names.
1404 (scan_one_autoconf_file): `$here' is new.
1405 Use it consistently instead of `1' to remember a token was seen.
1407 2001-10-21 Akim Demaille <akim@epita.fr>
1409 * tests/subdircond.test: Requires gettext.
1410 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1411 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1412 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1413 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1414 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1415 Produce valid configure.in, use aclocal appropriately, declare
1416 when libtool is required.
1418 2001-10-21 Akim Demaille <akim@epita.fr>
1420 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1421 * automake.texi (Macros, Yacc and Lex): Adjust.
1422 * automake.in ($seen_decl_yytext): Rename as...
1423 ($seen_prog_lex): this.
1424 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1425 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1427 2001-10-21 Akim Demaille <akim@epita.fr>
1429 * automake.in (&scan_autoconf_traces): Add support for
1430 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1432 2001-10-21 Akim Demaille <akim@epita.fr>
1434 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1435 libtool is required.
1436 * tests/lex.test: Run AC_INIT once.
1437 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1438 Libtool is required.
1439 * tests/header.test: Built a correct configure.in.
1440 * tests/defun2.test (configure.in): Be a bit respectful with
1441 Autoconf, close the macro invocations.
1442 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1445 * automake.in (scan_autoconf_traces): Add support for
1446 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1447 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1448 * tests/condincl.test (target): Better pattern, to avoid matching
1449 the definition of `target_alias' which is now properly discovered
1450 as an AC_SUBST by traces.
1451 * cond4.test: Better grep pattern: After all, why shouldn't
1452 TWO_FALSE be AC_SUBST properly.
1453 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1455 2001-10-20 Kevin Ryde <user42@zip.com.au>
1457 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1458 actually using ansi2knr.
1460 * automake.in (handle_configure): Always put a number on $stamp_name,
1461 to match AM_CONFIG_HEADER.
1463 2001-10-20 Tom Tromey <tromey@redhat.com>
1465 * tests/Makefile.am (TESTS): Added condd.test.
1466 (XFAIL_TESTS): Added condd.test.
1467 * tests/condd.test: New file.
1469 2001-10-20 Akim Demaille <akim@epita.fr>
1471 * automake.in (&scan_autoconf_traces): Add support for
1472 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1474 * tests/alpha.test (configure.in): Automake wants a Makefile.
1476 2001-10-20 Akim Demaille <akim@epita.fr>
1478 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1479 separator between trace arguments, in particular not `:' as it is
1480 within AC_CONFIG_FILES's $1.
1482 2001-10-20 Akim Demaille <akim@epita.fr>
1484 * tests/alpha.test (configure.in): Create, don't append. A single
1487 2001-10-20 Akim Demaille <akim@epita.fr>
1489 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1490 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1491 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1492 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1493 * tests/badline.test, tests/block.test, tests/canon2.test,
1494 * tests/check.test, tests/checkall.test, tests/clean.test,
1495 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1496 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1497 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1498 * tests/comment.test, tests/comment3.test, tests/cond.test,
1499 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1500 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1501 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1502 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1503 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1504 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1505 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1506 * tests/else.test, tests/empty.test, tests/exdir.test,
1507 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1508 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1509 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1510 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1511 * tests/include.test, tests/info.test, tests/insh.test,
1512 * tests/insh2.test, tests/install.test, tests/installsh.test,
1513 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1514 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1515 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1516 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1517 * tests/man.test, tests/mclean.test, tests/mdate.test,
1518 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1519 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1520 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1521 * tests/outdir.test, tests/output.test, tests/output2.test,
1522 * tests/output3.test, tests/output4.test, tests/output5.test,
1523 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1524 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1525 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1526 * tests/primary.test, tests/proginst.test, tests/python.test,
1527 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1528 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1529 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1530 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1531 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1532 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1533 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1534 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1535 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1536 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1537 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1538 * tests/version.test, tests/version2.test, tests/version3.test,
1539 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1540 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1542 2001-10-20 Akim Demaille <akim@epita.fr>
1544 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1545 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1546 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1547 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1548 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1549 * tests/confh3.test, tests/confh4.test, tests/config.test,
1550 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1551 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1552 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1553 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1554 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1555 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1556 * tests/output.test, tests/output2.test, tests/output3.test,
1557 * tests/output4.test, tests/output5.test, tests/package.test,
1558 * tests/parse.test, tests/pr2.test, tests/remake.test,
1559 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1560 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1561 * tests/subdir4.test, tests/subdirbuiltsources.test,
1562 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1563 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1564 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1565 since AM_INIT_AUTOMAKE requires them.
1567 2001-10-20 Akim Demaille <akim@epita.fr>
1569 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1571 Don't run AC_ARG_PROGRAM another time, it is required by
1573 * tests/aclocal.test: Work on the default configure.in
1574 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1575 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1577 Be realistic in testing: AC_INIT is required for Autoconf.
1578 Broken so called optimized tests break trace handling.
1580 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1581 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1582 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1583 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1584 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1585 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1586 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1587 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1588 * tests/confh4.test, tests/config.test, tests/confsub.test,
1589 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1590 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1591 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1592 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1593 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1594 * tests/libobj9.test, tests/output.test, tests/output2.test,
1595 * tests/output3.test, tests/output4.test, tests/parse.test,
1596 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1597 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1598 * tests/req.test, tests/scripts.test, tests/subdir.test,
1599 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1600 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1601 * tests/version2.test: Add AC_INIT in `configure.in'.
1603 2001-10-20 Akim Demaille <akim@epita.fr>
1605 * automake.in (&scan_autoconf_traces): Add support for
1606 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1607 Let @args have a more natural M4 correspondence: $1 is args[1], no
1609 (&scan_autoconf_files): Using autoconf traces is no longer a
1610 complement of the previous ad hoc scheme: use either.
1612 2001-10-20 Akim Demaille <akim@epita.fr>
1614 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1615 factors dedicated $libsources assignments.
1617 2001-10-20 Akim Demaille <akim@epita.fr>
1619 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1620 Remove, since Autoconf 2.52 has them.
1621 * automake.in, aclocal.in, automake.texi: Adjust.
1623 2001-10-19 Akim Demaille <akim@epita.fr>
1625 * automake.in (&read_main_am_file): s/generated automatically/
1627 Insert @configure_input@, since 2.50 no longer output this
1628 automatically for Makefiles.
1630 2001-10-19 Kevin Ryde <user42@zip.com.au>
1632 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1633 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1635 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1637 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1638 * tests/nobase.test: New file. Based on a bug report
1639 from Martin Frydl <martin@idoox.com>.
1641 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1643 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1644 this with $nodir_name only. Use $nodir_name where appropriate.
1646 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1648 * automake.in (handle_languages, handle_single_transform_list,
1649 lang_c_rewrite): Use require_conf_file instead of
1650 require_config_file to require depcomp or compile from Makefile.am.
1651 (require_aux_file_with_line): New function, adapted from
1652 require_conf_gile_with_line.
1653 (require_conf_file_with_line, require_conf_file_with_conf_line):
1654 Simplify using require_aux_file_with_line.
1655 (require_config_file): Simplify using require_conf_file_with_conf_line.
1656 (require_conf_file): New function.
1658 2001-10-15 Akim Demaille <akim@epita.fr>
1660 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1661 normally, what is wrong is that automake outputs a variable
1662 definition for it, hence...
1663 * automake.in (scan_one_autoconf_file): don't.
1665 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1667 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1668 Use AC_CONFIG_COMMANDS.
1669 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1671 2001-10-15 Akim Demaille <akim@epita.fr>
1673 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1675 2001-10-15 Akim Demaille <akim@epita.fr>
1677 * automake.in (&variable_conditions): Be deterministic and Perl
1678 version independent: sort the result.
1679 (&variable_output, &variable_pretty_output): Sort all the @conds,
1680 not only when defaulted.
1681 * tests/cond3.test: Adjust.
1683 2001-10-15 Akim Demaille <akim@epita.fr>
1685 * automake.in: Formatting changes.
1687 2001-10-15 Akim Demaille <akim@epita.fr>
1689 * aclocal.in: Use Automake::General and Automake::XFile.
1690 Use find_configure_ac.
1691 Output the Emacs tags for Autoconf mode selection.
1693 2001-10-10 Akim Demaille <akim@epita.fr>
1695 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1698 2001-10-09 Akim Demaille <akim@epita.fr>
1700 Do not use Autoconf internals.
1702 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1703 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1704 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1705 macro in GNU M4 1.5.
1707 2001-10-08 Akim Demaille <akim@epita.fr>
1709 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1712 2001-10-05 Akim Demaille <akim@epita.fr>
1714 * automake.in (scan_autoconf_files): Use find_configure_ac from
1717 2001-10-02 Akim Demaille <akim@epita.fr>
1719 * lib/Automake/Struct.pm: Update from Autoconf.
1720 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1722 * automake.in: Use them.
1723 (&uniq, $me): Remove, as they are provided by Automake::General.
1725 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1727 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1728 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1729 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1730 * lib/am/distdir.am (distcheck): Likewise.
1731 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1732 using cd so we don't have to fiddle with CDPATH.
1733 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1734 DOSish path separator.
1736 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1738 * lib/am/python.am (install-%DIR%PYTHON,
1739 uninstall-%DIR%PYTHON): Strip path of source file.
1740 (clean-python): Comment out.
1742 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1744 * automake.in (handle_python): Use require_conf_file_with_conf_line
1745 instead of require_file_with_conf_line, so that elisp-comp and
1746 py-compile are installed in the aux-directory.
1747 (handle_emacs_lisp): Likewise. Define elisp_comp.
1748 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1750 2001-10-01 Akim Demaille <akim@epita.fr>
1752 * lib/am/distdir.am (distcheck): Report the trailing files.
1753 Run `dist-gzip', not `dist', as it may leave other distribution
1756 2001-09-29 Paul Eggert <eggert@twinsun.com>
1758 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1759 bugs when making file names with unusual characters. Quote chmod
1760 arg "$dirmode", in case it contains white space.
1762 Incorporate the following change from autoconf mkinstalldirs:
1764 1999-04-10 Ben Elliston <bje@cygnus.com>
1766 Add `-m' flag to specify the mode of a newly created
1767 directory. Add command line usage and `-h', `--help' options.
1768 Contributed by Jeff Garzik.
1770 2001-09-27 Akim Demaille <akim@epita.fr>
1772 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1774 2001-09-27 Akim Demaille <akim@epita.fr>
1776 * lib/am/distdir.am (dist): Rename as...
1778 (dist): Additional name for dist-all.
1779 * automake.texi (Options, Dist): Adjust.
1781 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1783 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1784 * automake.in (obsolete_macros): Likewise.
1785 (seen_objext): Remove (unused).
1786 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1787 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1788 PATH_SEPARATOR): New variables.
1789 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1791 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1793 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1794 neutralize CDPATH for us.
1795 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1796 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1799 2001-09-22 Akim Demaille <akim@epita.fr>
1801 * configure.in, NEWS: Bump to 1.5a.
1804 2001-09-22 Paul Eggert <eggert@twinsun.com>
1806 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1807 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1808 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1809 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1810 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1811 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1812 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1813 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1814 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1815 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1817 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1818 which has a copyright notice.
1820 * m4/strtod.m4: Correct the dates on the copyright notice.
1822 2001-09-17 Akim Demaille <akim@epita.fr>
1824 * lib/missing (autom4te): New.
1825 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1828 2001-08-27 Tom Tromey <tromey@redhat.com>
1830 * automake.texi (A Shared Library): Clarify installation
1832 (Install): Typo. From Adrian Bunk.
1834 2001-08-27 Tom Tromey <tromey@redhat.com>
1836 * automake.texi (Macros): Typo fix.
1837 From Christian Cornelssen
1839 2001-08-27 Tom Tromey <tromey@redhat.com>
1841 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1842 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1843 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1844 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1845 tests/substref.test: Clear CFLAGS.
1847 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1848 From Alexey Mahotkin.
1850 2001-08-27 Tom Tromey <tromey@redhat.com>
1852 * tests/yacc7.test: Use test -f, not test -e.
1854 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1856 * automake.texi (etags): Typo fix.
1858 2001-08-27 Guido Draheim <guidod@gmx.de>
1860 * automake.in : restrict ansi2knr option to be a filepath
1862 2001-08-23 Richard Boulton <richard@tartarus.org>
1864 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1866 2001-08-22 Tom Tromey <tromey@redhat.com>
1868 * automake.texi (Conditionals): Mention that conditionals must
1869 always be invoked. For PR automake/220.
1871 2001-08-22 Richard Boulton <richard@tartarus.org>
1872 Tom Tromey <tromey@redhat.com>
1874 * automake.in (lang_yacc_target_hook): Make header file depend on
1875 .c file, not .y file.
1876 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1877 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1878 * tests/yacc7.test: New file.
1879 * tests/Makefile.am (TESTS): Added yacc7.test.
1881 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1883 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1885 2001-08-18 Tom Tromey <tromey@redhat.com>
1887 * automake.texi (Dist): Mention dist-all.
1889 2001-08-18 Tom Tromey <tromey@redhat.com>
1891 * tests/cond3.test: Use portable sed expression.
1892 From Richard Boulton.
1894 2001-08-13 Richard Boulton <richard@tartarus.org>
1896 * automake.in (handle_source_transform): Call
1897 define_objects_from_sources() instead of calling
1898 variable_value_as_list(), handle_single_transform_list() and
1899 define_pretty_variable() directly.
1900 (handle_single_transform_list): Add $topparent parameter, used for
1901 error messages. Improved error message.
1902 (define_objects_from_sources): New function.
1903 (subobjname): New function.
1904 (variable_conditions_recursive): New name for variable conditions.
1905 (variable_value_as_list_recursive): New name for variable_value_as_list.
1906 (variable_value_as_list_worker): Renamed to ...
1907 (variable_value_as_list_recursive_worker): ... this.
1908 (variable_conditions_sub): Renamed to ...
1909 (variable_conditions_recursive_sub): ... this.
1910 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1911 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1912 (substfroms): New global.
1913 (substtos): New global.
1914 (substnums): New global.
1915 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1916 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1917 * tests/sourcesub2.test: New test.
1918 * tests/Makefile.am (TEST): Added sourcesub2.test.
1920 2001-08-11 Tom Tromey <tromey@redhat.com>
1922 * configure.in: Upped to 1.4s.
1924 2001-08-09 Richard Boulton <richard@tartarus.org>
1926 * automake.in (handle_single_transform_list): Use new global,
1927 `%linkers_used', to store the linkers used, rather than an internal
1928 variable. Enables correct linker to be calculated across a group
1929 of calls to &handle_single_transform_list. Return only list of
1930 objects, since linker to be used is now externally determined.
1931 (handle_source_transform): adapted for new calling conventions of
1932 handle_single_transform_list. Calls resolve_linker() on a set of
1933 all the linkers used for any prefix, rather than for each prefix in
1935 (linkers_used): New global.
1936 * tests/link_dist.test: New test.
1937 * tests/Makefile.am (TESTS): Added link_dist.test.
1939 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1941 Dissociate testsuite 'make' invocations from outer 'make'.
1942 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1943 environment variables.
1944 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1946 * tests/substref.test: Likewise.
1948 2001-08-08 Richard Boulton <richard@tartarus.org>
1950 * tests/cond18.test: New file.
1951 * tests/cond19.test: New file.
1952 * tests/cond20.test: New file.
1953 * tests/cond4.test: Updated to check the generated _OBJECTS more
1955 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1958 2001-08-08 Richard Boulton <richard@tartarus.org>
1960 * automake.in (file_contents_internal): if a rule is conditionally
1961 defined, define the standard automake definition for it for those
1962 conditions which are not conditionally defined.
1963 (invert_conditions): New function: invert a list of conditionals.
1965 * tests/cond14.test: New file.
1966 * tests/cond15.test: New file.
1967 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1969 2001-08-05 Tom Tromey <tromey@redhat.com>
1971 * tests/Makefile.am (TESTS): Added dejagnu2.test.
1972 * tests/dejagnu2.test: New file.
1973 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1974 * automake.in (handle_scripts): Removed dead code.
1975 (handle_tests_dejagnu): Don't handle site.exp generation
1978 2001-08-04 Richard Boulton <richard@tartarus.org>
1980 * tests/cond17.test: New file: test for being able to define an
1981 object to be generated in different ways according to a
1983 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1984 (TESTS): Added cond17.test.
1986 2001-08-02 Richard Boulton <richard@tartarus.org>
1988 * automake.in (variable_conditions_sub): Handle variable
1989 substitution refs when computing conditions based on subvariable
1990 conditions. Fixes substitution refs of system variables when sub
1991 variable is conditional.
1992 (SUBST_REF_PATTERN): New global.
1993 * tests/cond16.test: New file: regression test for variable
1995 * test/Makefile.am (TESTS): Added cond16.test.
1997 2001-08-03 Tom Tromey <tromey@redhat.com>
1999 * tests/substref.test: Require GNU make; backed out previous
2002 * tests/substref.test: Handle entering/leaving directory
2005 2001-08-03 Richard Boulton <richard@tartarus.org>
2007 * automake.in (value_to_list): Check for whether $from is defined,
2008 rather than whether it is true, so that empty $froms are allowed in
2009 substitution reference patterns.
2011 * tests/substref.test: New file: test behavior of substitution
2012 references when the $from side of the substitution is empty.
2013 * tests/Makefile.am (TESTS): Added substref.test.
2015 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2017 * m4/install-sh.m4: New file.
2018 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2019 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2020 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
2021 for install.sh any longer, always use install-sh, don't even
2022 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
2023 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2025 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2027 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
2029 * automake.texi (EXEEXT): Clarify.
2031 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2033 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2035 * m4/auxdir.m4: More comments.
2037 2001-07-31 Richard Boulton <richard@tartarus.org>
2038 Raja R Harinath <harinath@cs.umn.edu>
2040 * automake.in (variable_conditions_sub): Remove @parent_conds
2041 argument. This was old logic - duplicate or impossible
2042 conditionals are removed later by &variable_conditions_reduce().
2043 Fixes tests/cond13.test.
2044 (conditionals_true_when): Removed.
2045 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2047 2001-07-31 Tom Tromey <tromey@redhat.com>
2049 * tests/Makefile.am (TESTS): Added cond13.test.
2050 (XFAIL_TESTS): Likewise.
2051 * tests/cond13.test: New file.
2053 * configure.in: Upped to version 1.4k.
2055 * configure.in: Released 1.4j.
2057 * lib/config.guess: Updated from master sources.
2058 * lib/config.sub: Likewise.
2060 2001-07-30 Tom Tromey <tromey@redhat.com>
2062 * automake.texi (A Program): Typo. Added subsections and more
2063 text about conditional compilation.
2064 (A Shared Library): Moved earlier.
2065 (Program variables): Updated LINK text. Added AM_CFLAGS.
2066 (C++ Support): Added AM_CXXFLAGS.
2067 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2070 * tests/Makefile.am (TESTS): Added aclibobj.test.
2071 * tests/aclibobj.test: New file.
2072 * automake.in (handle_lib_objects_cond): Avoid undefined variable
2074 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2076 * automake.texi (Dist): Mention other distribution types.
2079 2001-07-29 Tom Tromey <tromey@redhat.com>
2081 * automake.texi (Program and Library Variables): Texinfo fix.
2082 From Alexey Mahotkin.
2084 2001-07-28 Tom Tromey <tromey@redhat.com>
2086 * automake.texi (Strictness): Mention Cygnus mode.
2088 (Uniform): Likewise.
2089 (Canonicalization): Likewise.
2090 (Install): Add `nobase_' to example; typo fix.
2092 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
2094 (Options): Texinfo fixes; some text updates.
2097 2001-07-27 Tom Tromey <tromey@redhat.com>
2099 * automake.texi (Invoking Automake): Document --Werror and
2102 2001-07-26 Tom Tromey <tromey@redhat.com>
2104 * tests/nolink.test: Added no-exeext.
2106 * automake.in (check_variable_defined_unconditionally): Don't call
2109 * automake.texi (Optional): Don't mention ALL_LINGUAS.
2110 (gettext): Likewise.
2111 * automake.in (seen_linguas, all_linguas, all_linguas_line):
2113 (handle_gettext): Don't do any checking of the languages.
2114 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2116 * automake.in (am_print_error): New function.
2118 (am_file_error): Likewise.
2119 (am_line_error): Likewise.
2120 (am_conf_error): Likewise.
2121 (am_conf_line_error): Likewise.
2123 * automake.texi (Options): Document no-exeext.
2124 * automake.in (handle_options): Recognize no-exeext.
2125 (rule_define): Handle no-exeext.
2126 * tests/Makefile.am (TESTS): Added new file.
2127 * tests/exeext2.test: New file.
2129 * automake.in (make_input_list): Removed.
2130 (scan_autoconf_config_files): Don't add to make_input_list.
2131 (scan_one_autoconf_file): Don't use make_input_list.
2132 (scan_autoconf_files): Use make_list, not make_input_list.
2133 (scan_autoconf_files): Likewise.
2135 * automake.in (seen_exeext): Removed.
2136 (generate_makefile): Don't define EXEEXT or OBJEXT.
2137 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2138 (am_install_var): Don't check $seen_exeext.
2139 (handle_programs): Likewise.
2140 (rule_define): Allow x to override x$(EXEEXT), for now.
2141 (file_contents_internal): Only define rule if rule_define allows
2143 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2145 2001-07-25 Tom Tromey <tromey@redhat.com>
2148 * tests/pr9.test: Require GNU make.
2149 * tests/dirname.test: Don't use `-u'.
2151 2001-07-22 Tom Tromey <tromey@redhat.com>
2153 * tests/Makefile.am (TESTS): Added auxdir2.test.
2154 (XFAIL_TESTS): Likewise.
2155 * tests/auxdir2.test: New file.
2157 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2158 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2160 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2161 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2162 holds `.'. Don't add $(EXEEXT) if program name already has it.
2163 (handle_programs): Don't add $(EXEEXT) if user already did.
2164 (make_paragraphs): Don't compute EXEEXT.
2166 * tests/Makefile.am (TESTS): Added exeext.test.
2167 (XFAIL_TESTS): Likewise.
2168 * tests/exeext.test: New file.
2170 2001-07-22 Tom Tromey <tromey@redhat.com>
2172 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2173 `prog.exe' on Cygwin with libtool. From Robert Collins.
2175 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2177 * tests/dirname.test: Explicitly use $SHELL to run the
2178 script; this avoids failures on DJGPP.
2179 * tests/install2.test: Skip if 'chmod 000' doesn't make
2182 2001-07-21 Tom Tromey <tromey@redhat.com>
2184 * tests/libtool2.test: Check for libtoolize.
2186 * tests/Makefile.am (TESTS): Added substtarg.test.
2187 (XFAIL_TESTS): Likewise.
2188 * tests/substtarg.test: New file.
2190 * automake.in (handle_dist): Handle case where aux dir doesn't
2191 have a Makefile. Fixes depdist.test.
2192 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2193 * tests/depdist.test: Look for config/depcomp.
2195 * tests/Makefile.am (TESTS): Added depdist.test.
2196 (XFAIL_TESTS): Likewise.
2197 * tests/depdist.test: New file. From Eric Magnien.
2199 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2200 AC_PROG_CC_C_O does require AC_PROG_CC.
2203 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2205 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2206 output is suitable for make.
2208 * automake.texi (Macros): Document AM_PROG_AS.
2209 (Assembly Support): New node.
2210 * m4/Makefile.am (m4data_DATA): Added as.m4.
2211 * m4/as.m4: New file.
2213 * automake.texi (Tags): Added uref to global tags.
2215 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2217 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2218 instead of hardcoding '.deps'.
2219 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2221 2001-07-20 Derek Price <dprice@collab.net>
2223 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2225 * tests/dirname.test: New test.
2226 * tests/stamph2.test: New test.
2227 * tests/Makefile.am: Add new tests.
2228 * tests/Makefile.in: Regenerated.
2230 2001-07-19 Tom Tromey <tromey@redhat.com>
2232 * automake.texi (Tags): Document GTAGS_ARGS.
2233 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2235 2001-07-19 Tom Tromey <tromey@redhat.com>
2236 Alexandre Duret-Lutz <duret_g@epita.fr>
2238 Fix for ccnoco.test, subobj8.test:
2239 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2240 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2242 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2243 Use AM_AUX_DIR_EXPAND.
2244 * lib/compile: Handle case where `-o' argument is the name of an
2245 executable, not an object file.
2246 * m4/auxdir.m4: New file, from...
2247 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2248 * automake.in (handle_single_transform_list, lang_c_rewrite):
2249 Require compile using `require_config_file'.
2251 2001-07-19 Tom Tromey <tromey@redhat.com>
2253 * automake.texi (Program and Library Variables): Added X example
2256 2001-07-19 Tom Tromey <tromey@redhat.com>
2258 * automake.texi (Distributing): Updated to reflect new license.
2260 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2262 * automake.in (require_build_directory): New function, extracted
2264 (handle_single_transform_list): ... here.
2265 (require_build_directory_maybe): New function.
2266 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2267 require_build_directory_maybe() to ensure the subdirectory
2268 in which a target may lie will exist when the target is created.
2269 (handle_libraries, handle_ltlibraries): Use basename before
2270 checking library name.
2271 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2272 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2273 * lib/am/program.am (%PROGRAM%): Likewise.
2275 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2277 * m4/missing.m4: Reword comment.
2279 2001-07-18 Pavel Roskin <proski@gnu.org>
2281 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2282 * tests/gcj.test: Likewise.
2283 * tests/gcj2.test: Likewise.
2284 * tests/gcj3.test: Likewise.
2286 2001-07-18 Tom Tromey <tromey@redhat.com>
2288 * lib/compile: Change how lockdir is computed. If linking or
2289 compiling without `-o', just run the compiler.
2291 * tests/Makefile.am (TESTS): Added ccnoco.test.
2292 (XFAIL_TESTS): Likewise.
2293 * tests/ccnoco.test: New file.
2295 2001-07-17 Tom Tromey <tromey@redhat.com>
2297 * lib/ylwrap: Added special exception.
2298 * lib/py-compile: Added license.
2299 * lib/mdate-sh: Added special exception.
2300 * lib/elisp-comp: Added special exception.
2301 * lib/compile: Added special exception.
2302 * lib/depcomp: Added special exception.
2304 Report from Motoyuki Kasahara:
2305 * tests/make.test: Use am__include.
2306 * tests/exsource.test: Use am__include.
2307 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2308 * automake.in (handle_languages): Use am__include and am__quote.
2310 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2311 * m4/init.m4: Updated callers.
2313 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2315 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2316 * aclocal.in (scan_configure, add_file): Handle the full macro
2317 name even if it contains numbers, such as I18N.
2319 2001-07-16 Tom Tromey <tromey@redhat.com>
2321 * automake.texi (Dependencies): Link to dependency tracking page.
2322 (Data): Mention dist_.
2323 (Clean): Mention clean heuristics.
2324 (Install): Mention nobase_.
2326 * automake.texi (Program and Library Variables): Document _LINK.
2328 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2330 * automake.in (handle_libraries): Allow libraries to lie in
2331 a subdirectory by constraining only the basename to start
2332 with 'lib', not the whole path.
2334 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2336 * tests/subobj8.test: New file.
2337 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2339 2001-07-16 Tom Tromey <tromey@redhat.com>
2341 Fix for PR automake/212:
2342 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2343 (uninstall-%DIR%LISP): Likewise.
2345 2001-07-15 Tom Tromey <tromey@redhat.com>
2347 * automake.in (usage): Rewrote code to handle columnization.
2348 From Alexey Mahotkin and Maxim Sinev.
2350 Report from Ralf Corsepius:
2351 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2352 (SUFFIX_RULE_PATTERN): Likewise.
2353 * tests/Makefile.am (TESTS): Added cxx.test.
2354 * tests/cxx.test: New file.
2356 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2357 From Shigio Yamaguchi.
2359 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2361 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2362 remain after "make uninstall".
2364 2001-07-14 Tom Tromey <tromey@redhat.com>
2366 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2368 * lib/missing (makeinfo): Redirect stdout and stderr outside
2369 subshell. From Alexandre Oliva.
2371 2001-07-14 Akim Demaille <akim@epita.fr>
2373 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2374 `\b(foo|bar)\b' is what we want.
2375 * aclocal.in: Likewise.
2377 2001-07-14 Akim Demaille <akim@epita.fr>
2379 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2381 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2382 actually modified to require AM_DEPENDENCIES.
2383 Rename `confdir' as `conftest.dir' so that the configure trap
2386 2001-07-04 Tom Tromey <tromey@redhat.com>
2388 Fix for nolink.test:
2389 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2390 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2391 * automake.in (am_install_var): Only rewrite PROGRAMS if
2393 (make_paragraphs): Always define %EXEEXT%.
2395 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2397 * tests/nolink.test: New file.
2398 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2400 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2402 * automake.in (scan_texinfo_file): Add the second argument to
2403 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2404 itself may not be used directly.
2406 2001-07-04 Tom Tromey <tromey@redhat.com>
2409 * lib/missing (makeinfo): Use subshell, not explicit sh
2412 * automake.texi (Headers): Mention that we prefer uninstalled
2413 headers in _SOURCES.
2414 (ANSI): Mention cross-compilation limitation.
2416 2001-07-03 Tom Tromey <tromey@redhat.com>
2418 * configure.in: Upped to 1.4i.
2420 * configure.in: Released 1.4h.
2422 * lib/config.guess, lib/config.sub: Updated.
2424 2001-07-02 Tom Tromey <tromey@redhat.com>
2426 Fix for libtool2.test:
2427 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2428 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2429 * automake.in (generate_makefile): Call handle_libtool
2431 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2433 * tests/libtool2.test: Look for `.lo' files to be removed.
2435 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2437 * tests/Makefile.am (TESTS): Removed dup.test.
2438 * tests/dup.test: Removed.
2439 * aclocal.in (scan_file): Don't give error for duplicate macro.
2441 2001-07-01 Tom Tromey <tromey@redhat.com>
2443 * automake.texi (Program and Library Variables): Document
2444 subdir-objects. Document fact that per-object flags override AM_
2446 (Options): Likewise.
2447 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2448 (Multilibs): New node.
2449 (Macros): Documented missing macros.
2450 (Auxiliary Programs): New node.
2452 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2453 mode, then simply fail.
2455 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2457 * lib/ylwrap: Improve support for DOS paths (and paths
2458 containing backslashes in general).
2460 2001-07-01 Tom Tromey <tromey@redhat.com>
2462 * lib/missing: Added special exception to license.
2465 * lib/missing: Updated. Added comment explaining configure.ac
2468 * lib/depcomp: Reorder arguments to gcc3.
2469 From Per Oyvind Hvidsten.
2471 * tests/Makefile.am (TESTS): Added libtool2.test.
2472 * tests/libtool2.test: New file.
2474 * automake.texi (Program and Library Variables): Added example for
2477 2001-06-29 Tom Tromey <tromey@redhat.com>
2479 * tests/cond11.test: Use `=', not `=='.
2480 * tests/cond12.test: Look for automake in build directory, not
2483 2001-06-29 Richard Boulton <richard@tartarus.org>
2485 * automake.in (conditionals_true_when): Pass first parameters by
2486 reference, avoiding bug which put all parameters in @CONDS instead
2487 of @WHENS. Report by Kalle Olavi Niemitalo.
2488 Take a single WHEN instead of an array of WHENS.
2489 Remove FIXME; can't now have an empty @WHENS.
2490 (conditional_is_redundant): New sub.
2491 (variable_conditions_reduce): Check whether each condition is
2492 implied by any of the other conditions (other those already
2493 discarded), rather than checking only against those already
2494 considered (and kept). Also, fix sense of check: was keeping
2495 tautologous terms instead of discarding them. Use
2496 conditional_is_redundant instead of conditionals_true_when.
2497 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2498 * tests/cond11.test: New file.
2499 * tests/cond12.test: New file.
2501 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2503 * automake.in (saw_sources_p): Work even if there are more
2504 than one header files, and more than of one type of header.
2505 * tests/Makefile.am (TESTS): Added new file.
2506 * tests/depend4.test: New file.
2508 2001-06-28 Tom Tromey <tromey@redhat.com>
2510 * lib/am/libs.am (RANLIB): Don't define.
2512 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2514 * automake.in (am_install_var): Assign 1 to $first on
2517 2001-06-23 Tom Tromey <tromey@redhat.com>
2520 * lib/ylwrap: Changed usage.
2521 * lib/am/yacc.am: Rewrote to use new substitutions.
2522 * lib/am/lex.am: Likewise.
2523 * automake.in (handle_languages): Skip files whose language
2524 doesn't have a compiler. Handle `define_flag' attribute.
2525 Changed '$' to "\$" to aid Emacs fontification.
2526 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2527 `_target_hook' and `define_flag'.
2528 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2529 and `compiler' attributes. Removed `linker', `derived_autodep',
2530 and `ansi' attributes. Added `define_flag'.
2531 (yacc, yaccxx): Added `_target_hook'.
2532 (saw_extension): Count number of times extension seen.
2533 (count_files_for_language): New sub.
2534 (saw_sources_p): Use it.
2535 (handle_single_transform_list): Allow language rewrite function
2536 to return a new source extension. Call target_hook.
2537 (yacc_sources, lex_sources): Removed.
2538 (initialize_per_input): Don't initialize yacc_sources or
2540 (lang_yacc_rewrite): Rewrote.
2541 (lang_yaccxx_rewrite): Likewise.
2542 (lang_lex_rewrite): Likewise.
2543 (lang_lexxx_rewrite): Likewise.
2544 (output_yacc_build_rule): Removed.
2545 (output_lex_build_rule): Removed.
2546 (lang_yacc_finish): Removed build rule generation.
2547 (lang_lex_finish): Likewise.
2548 (DASH_D_PATTERN): New global.
2549 (lang_yacc_target_hook): New function.
2550 (_target_hook): New function.
2551 (register_language): Default `define_flag'.
2552 * tests/yacc5.test: Updated test.
2553 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2554 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2555 for all YFLAGS variables.
2557 2001-06-20 Tom Tromey <tromey@redhat.com>
2559 * tests/yacc5.test: Check for per-executable YFLAGS.
2561 2001-06-19 Tom Tromey <tromey@redhat.com>
2563 * tests/Makefile.am (TESTS): Added yacc5.test.
2564 * tests/yacc5.test: New file.
2566 2001-06-17 Tom Tromey <tromey@redhat.com>
2568 * automake.in (require_file_internal): Check for already-required
2569 file after searching for it, and only if it is not found. Don't
2570 use `readlink' when checking for dangling symlink. Work if
2571 --force-missing specified.
2572 * tests/acoutput2.test: Also test --force-missing.
2574 Fix for libtool.test:
2575 * automake.in (generate_makefile): Call handle_libtool.
2576 (handle_libtool): New sub.
2577 (handle_compile): Don't read `libtool' file.
2579 * tests/acoutput2.test: New file.
2580 * tests/Makefile.am (TESTS): Added acoutput2.test.
2582 2001-06-15 Tom Tromey <tromey@redhat.com>
2584 * tests/Makefile.am (TESTS): Added libtool.test.
2585 * tests/libtool.test: New file.
2587 2001-06-14 Tom Tromey <tromey@redhat.com>
2589 Fix some lisp bugs reported by Bruno Haible:
2590 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2592 (install-%DIR%LISP): Handle case where lispdir is not defined.
2593 (uninstall-%DIR%LISP): Likewise.
2594 (.el.elc): Added `else' clause.
2596 Fix for bug reported by Steve M. Robbins:
2597 * automake.in (handle_single_transform_list): When building a file
2598 from a subdirectory, continue to use `AM_' prefix.
2599 * tests/Makefile.am (TESTS): Added subobj7.test.
2600 * tests/subobj7.test: New file.
2602 * lib/am/configure.am ($(top_builddir)/config.status): Added
2603 $(top_builddir) prefix to work around problems with some vendor
2604 makes. From Nicolas Joly.
2606 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2607 top_srcdir. From Tim Van Holder.
2608 * tests/Makefile.am (TESTS): Added yacc6.test.
2609 * tests/yacc6.test: New file.
2611 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2613 * tests/defs, tests/installsh.test: Properly support
2616 2001-06-14 Tom Tromey <tromey@redhat.com>
2618 * tests/Makefile.am (TESTS): Added mdate4.test.
2619 * tests/mdate4.test: New file.
2621 * aclocal.in (scan_m4_files): Removed unused variable.
2623 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2625 * aclocal.in (scan_m4_files): Tweak the building of &search so
2626 that multiple macro names can be found on the same line. Ensure
2627 we match whole macro name, not only substrings.
2629 2001-06-12 Tom Tromey <tromey@redhat.com>
2631 * automake.texi (ANSI): Minor clarification.
2632 (Other GNU Tools): Don't mention Guile.
2634 (Java Support): Mention file extensions.
2635 (Man pages): Mention dist_. Don't mention info pages.
2637 2001-06-11 Tom Tromey <tromey@redhat.com>
2639 * automake.texi (Program variables): Document AM_CPPFLAGS.
2641 (Java Support): Document AM_GCJFLAGS.
2642 (Support for Other Languages): Removed `fixme'; added link to
2643 suffix rule handling.
2645 * automake.texi (Program and Library Variables): Document _LIBADD,
2646 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2648 2001-06-11 Kevin Dalley <kevind@rahul.net>
2650 * missing: Support configure.ac.
2652 2001-06-08 Tom Tromey <tromey@redhat.com>
2654 * tests/version4.test: New file.
2655 * automake.in (version_check): New sub.
2656 (handle_options): Use it.
2657 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2658 (TESTS): Added version4.test.
2659 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2660 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2662 2001-06-04 Kevin Dalley <kevind@rahul.net>
2664 * lib/am/dejagnu.am (site.exp): Fix typo.
2666 2001-06-02 Tom Tromey <tromey@redhat.com>
2668 * automake.in (variable_conditions_sub): Move parent-only code
2670 (variable_conditions): ... to here.
2671 (variable_conditions_sub): Include this variable's conditions in
2672 the resulting condition list.
2673 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2675 2001-06-01 Tom Tromey <tromey@redhat.com>
2677 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2679 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2681 2001-05-31 Tom Tromey <tromey@redhat.com>
2683 * automake.texi (Alternative): New node.
2684 (Macros): Use new name for gcc.
2685 (Java Support): Likewise.
2686 (Dependencies): Rewrote.
2687 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2690 * automake.texi (Top level): Removed erroneous spaces. Documented
2693 2001-05-29 Tom Tromey <tromey@redhat.com>
2695 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2697 * automake.texi (Include): Rewrote.
2698 (Suffixes): Remove Java example.
2699 (Java): Added more explanation. Document variables.
2700 (Uniform): Mention JAVA as a primary.
2701 (Python): Updated for new Python support.
2702 (Sources): Added a weak example.
2704 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2706 * automake.texi (A Program): Mention `check' prefix.
2707 (Program and Library Variables): New node.
2708 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2710 (etags): Mention per-program flags.
2711 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2714 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2717 2001-05-28 Tom Tromey <tromey@redhat.com>
2719 * m4/Makefile.am (MAINT_CHARSET): Removed.
2720 * Makefile.am (MAINT_CHARSET): Removed.
2721 * automake.in (maint_charset, dist_charset): Removed.
2722 (local_maint_charset): Removed.
2723 (initialize_per_input): Don't use maint_charset.
2724 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2726 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2728 (.%SUFFIX%.dvi): Likewise.
2729 (.%SUFFIX%): Likewise.
2731 2001-05-27 Tom Tromey <tromey@redhat.com>
2733 * automake.in (handle_multilib): Only add multilib support code at
2735 * lib/am/multilib.am: Handle invocation of *-multi targets
2736 differently for SUBDIRS and non-SUBDIRS Makefiles.
2737 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2738 Only add multilib code when the Makefile in question is actually
2741 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2743 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2745 * automake.in (handle_single_transform_list): Skip unknown
2748 2001-05-25 Tom Tromey <tromey@redhat.com>
2750 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2752 2001-05-24 Tom Tromey <tromey@redhat.com>
2754 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2755 directory in some situations.
2757 * automake.in (generate_makefile): Better explanation for ansi2knr
2760 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2762 * automake.in (handle_languages): Skip unknown extensions.
2763 (derive_suffix): Check whether $extension_map{$source_ext}
2764 is undefined, not empty.
2766 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2768 * automake.in (read_am_file): Ignore trailing backslash on
2771 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2773 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2775 2001-05-21 Akim Demaille <akim@epita.fr>
2777 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2778 multiple times'' warning.
2780 2001-05-20 Tom Tromey <tromey@redhat.com>
2782 * configure.in: Updated to 1.4g.
2784 * configure.in: Updated to 1.4f.
2786 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2788 * lib/ansi2knr.c: New version.
2790 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2793 2001-05-19 Tom Tromey <tromey@redhat.com>
2795 * config.guess, config.sub: New versions from FSF.
2797 * Makefile.am (fetch): Compare against files in srcdir.
2799 For for ansi2knr report from Harlan Stenn:
2800 * automake.in (generate_makefile): Run handle_compile before
2803 2001-05-18 Tom Tromey <tromey@redhat.com>
2805 * automake.in: Reverted erroneous checkin.
2807 2001-05-18 Akim Demaille <akim@epita.fr>
2809 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2810 to missing `install-info'.
2812 2001-05-17 Tom Tromey <tromey@redhat.com>
2814 * automake.in (lang_c_finish): Use `rm -f'.
2816 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2817 * tests/Makefile.am (TESTS): Added new file.
2818 * tests/ansi5.test: New file.
2820 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2822 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2824 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2825 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2826 * automake.texi (Requirements): Document the use of the STRIP
2827 variable in cross-compilation environments.
2829 2001-05-17 Tom Tromey <tromey@redhat.com>
2831 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2832 to no dependency tracking.
2833 * tests/Makefile.am (TESTS): Added depcomp2.test.
2834 * tests/depcomp2.test: New file. From Pavel Roskin.
2836 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2838 * lib/depcomp (tru64): New dependency tracking mode.
2840 Fix for PR automake/159:
2841 * lib/depcomp (aix): Rewrote.
2844 Fix for PR automake/174:
2845 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2846 * automake.in (read_am_file): Warn if `#' is at start of rule.
2848 2001-05-16 Tom Tromey <tromey@redhat.com>
2850 For PR automake/174:
2851 * tests/Makefile.am (TESTS): Added comment3.test.
2852 (XFAIL_TESTS): Likewise.
2853 * tests/comment3.test: New file.
2855 Fix for PR automake/175:
2856 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2857 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2858 `Leaving directory' messages.
2860 For PR automake/175:
2861 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2862 * tests/make.test: Run test with `make -w'.
2864 * tests/Makefile.am (TESTS): Removed maintclean.test.
2865 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2867 * lib/am/configure.am (maintainer-clean-am): Removed.
2868 (maintainer-clean-conf): Removed.
2869 * tests/maintclean.test: Removed.
2871 2001-05-15 Tom Tromey <tromey@redhat.com>
2873 Fix for PR automake/177:
2874 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2875 automake or aclocal.
2877 Fix for maintclean.test:
2878 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2879 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2881 (distclean, maintainer-clean): Moved to...
2882 * lib/am/configure.am: ... here.
2883 (distclean): Remove config.cache and config.log.
2884 (maintainer-clean): Removed.
2885 (maintainer-clean-conf): New target.
2886 (maintainer-clean-am): New target.
2888 * tests/Makefile.am (TESTS): Added maintclean.test.
2889 (XFAIL_TESTS): Likewise.
2890 * tests/maintclean.test: New file.
2892 Fixes PR automake/175:
2893 * tests/target-cflags.test: Use $needs_gnu_make.
2894 * tests/exsource.test: Use $needs_gnu_make.
2895 * tests/make.test: Require GNU make.
2896 * tests/defs (needs_gnu_make): Compute.
2898 2001-05-14 Tom Tromey <tromey@redhat.com>
2900 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2903 Fix for texinfo10.test.
2904 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2905 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2906 * automake.in (handle_texinfo_helper): New sub.
2907 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2908 * tests/texinfo10.test: Added more cases.
2910 Fix for yaccvpath.test:
2911 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2912 * lib/am/distdir.am (distdir): Always look for file in build
2914 * lib/ylwrap: Quote the `#line' regular expression.
2915 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2916 change; don't run sed on the generated file.
2917 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2918 to make sure parser will be rebuilt at dist time.
2920 2001-05-13 Pavel Roskin <proski@gnu.org>
2922 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2923 beginning with `##'.
2924 * automake.texi (General Operation): Document it.
2926 2001-05-13 Tom Tromey <tromey@redhat.com>
2928 Reported by Rainer Orth:
2929 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2931 * tests/Makefile.am (TESTS): Added distname.test.
2932 * tests/distname.test: New file.
2934 * Makefile.am (dist_pkgdata_DATA): Removed.
2936 * tests/defs: Find files to copy in lib/.
2937 * automake.in (perllibdir): Set to Automake directory.
2938 * ansi2knr.c, ansi2knr.1: Removed.
2939 * Makefile.am (dist_am_DATA): Removed.
2941 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2943 (scriptdir): Removed.
2944 (dist_script_DATA): Likewise.
2945 (install-data-hook): Likewise.
2946 (installcheck-local): Likewise.
2947 (TAGS_FILES): Removed amfiles.
2948 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2949 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2950 point it to the right directory.
2951 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2952 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2953 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2954 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2955 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2956 mans.am, multilib.am, program.am, progs.am, python.am,
2957 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2958 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2959 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2960 (AUTOMAKE): Use --libdir, not --amdir.
2961 Ues AC_CONFIG_AUX_DIR.
2962 * lib/Makefile.am (SUBDIRS): Added `am'.
2963 (scriptdir): New macro.
2964 (dist_script_DATA): Likewise.
2965 (dist_pkgdata_DATA): Likewise.
2966 (install-data-hook): New target.
2967 (installcheck-local): Likewise.
2968 * lib/am/Makefile.in: New file.
2969 * lib/am/Makefile.am: Removed everything except amdir and
2972 2001-05-13 Akim Demaille <akim@epita.fr>
2974 * automake.in ($pkgdata_dir): Rename as...
2976 ($am_dir): Remove, replace its uses with $libdir.
2977 (&parse_arguments): Replace --amdir with --libdir.
2978 * automake.texi (Invoking Automake): Document --libdir, not
2980 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2982 2001-05-13 Tom Tromey <tromey@redhat.com>
2984 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2986 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2987 Correctly look at AMDEP_TRUE, not AMDEP.
2989 Report from Robert Boehne:
2990 * tests/Makefile.am (TESTS): Added depend2.test.
2991 * tests/depend2.test: New file.
2993 2001-05-13 James Henstridge <james@daa.com.au>
2995 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2996 Point pythondir at site-packages directory. Rename
2997 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
2998 pyexecdir. Removed package/module argument. Removed
2999 PYTHON_SITE_INSTALL. Added version checking.
3001 2001-05-14 Jim Meyering <meyering@lucent.com>
3003 * automake.in (macro_define): Change one remaining use of
3004 `variable_dump' to `macro_dump'.
3006 2001-05-13 Tom Tromey <tromey@redhat.com>
3008 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
3011 2001-05-13 Akim Demaille <akim@epita.fr>
3013 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
3014 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
3015 (&am_primary_prefixes): Use `map' rather than `grep'.
3017 2001-05-13 Akim Demaille <akim@epita.fr>
3019 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3021 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3022 (&lang_asm_finish): Remove, set asm's finisher to C's one.
3024 2001-05-13 Akim Demaille <akim@epita.fr>
3026 * lang-compile.am: New file, loaded once per language.
3027 * depend2.am: Move definitions loaded once per language in the
3028 aforementioned file.
3029 * automake.in (&handle_languages): Load it.
3030 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3031 handled by lang-compile.am.
3033 2001-05-13 Tom Tromey <tromey@redhat.com>
3035 * tests/Makefile.am (TESTS): Added python.test.
3036 * tests/python.test: New file.
3037 * automake.in (handle_languages): Use
3038 config_aux_dir_set_in_configure_in.
3039 (handle_python): Correctly mention AM_PATH_PYTHON. Use
3040 py-compile, not py_comp. Define py_compile macro.
3042 2001-05-13 Derek Price <dprice@openavenue.com>
3044 * automake.in (require_file_with_conf_line,
3045 require_file_with_line, require_file): Pass a @require_file_path
3046 of $relative_dir instead of '.' to require_file_internal so that
3047 all the special casing of '.' can be removed elsewhere.
3048 (require_config_file, require_conf_file_with_line,
3049 require_conf_file_with_conf_line): Remove special casing for '.'
3050 and make sure $config_aux_dir is maintained properly.
3051 (require_file_internal): Remove special casing of '.' and set
3052 @require_file_path when missing files are added.
3053 (maybe_push_required_file): Remove special casing of '.'
3054 (handle_dependencies): Remove a workaround for a bug now fixed
3055 and remove $config_aux_dir special casing.
3056 (handle_configure): Remove special casing for $config_aux_dir
3057 (handle_python): Ditto.
3058 (yacc_lex_finish_helper): Change $config_aux_dir switch to
3059 switch on the value of $config_aux_dir_set_in_configure_in.
3060 (handle_texinfo): Ditto.
3061 (scan_one_configure_file): Set $config_aux_dir and
3062 $config_aux_dir_set_in_configure_in properly so special casing
3063 on the value of $config_aux_dir can be removed elsewhere.
3064 * tests/depcomp.test: New file.
3065 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3066 first subdir containing a C file.
3067 * tests/libobj2.test: Ditto.
3068 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3070 2001-05-12 Tom Tromey <tromey@redhat.com>
3072 * tests/gcj.test: Updated for gcj dependency tracking.
3073 * tests/gcj2.test: Likewise.
3075 Fixes PR automake/169.
3076 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
3078 * automake.in (java): Added autodep entry.
3079 * tests/Makefile.am (TESTS): Added gcj3.test.
3080 * tests/gcj3.test: New file.
3082 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
3084 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3085 stop at the first '='.
3086 * tests/Makefile.am (TESTS): Added vars.test.
3087 * tests/vars.test: New file.
3089 2001-05-12 Akim Demaille <akim@epita.fr>
3091 * automake.in (&handle_single_transform_list): Simplify
3092 computation of $object and $this_obj_ext.
3093 * tests/lex3.test: Merge into...
3094 * tests/lex.test: here.
3095 * tests/pr19.test: Improve and rename as...
3096 * tests/lex3.test: this.
3098 2001-05-09 Tom Tromey <tromey@redhat.com>
3100 * automake.in (read_am_file): Correctly compute $saw_bk.
3101 (scan_autoconf_files): Ensure configure_dist_common is always
3103 * tests/defs (AUTOMAKE): Added --Werror.
3105 2001-05-09 Pavel Roskin <proski@gnu.org>
3107 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3110 2001-05-09 Tom Tromey <tromey@redhat.com>
3112 * tests/werror.test: Use `rm -f'.
3114 2001-05-09 Akim Demaille <akim@epita.fr>
3116 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3118 2001-05-09 Akim Demaille <akim@epita.fr>
3120 * automake.in: Remove some code left from bad patches.
3121 (&handle_dependency): Remove, for the same reason.
3123 2001-05-09 Akim Demaille <akim@epita.fr>
3125 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3126 (&handle_tests_dejagnu, &define_standard_variables): Don't.
3127 (&define_standard_variables): Don't transform %top_builddir% since...
3128 * header-vars.am: Use %TOPDIR% instead.
3130 2001-05-09 Akim Demaille <akim@epita.fr>
3132 * automake.in (@objects): Remove, unused.
3133 Remove all the code related to it, and to former `$(OBJECTS)'.
3135 2001-05-08 Tom Tromey <tromey@redhat.com>
3138 * ylwrap: Handle arguments to program. Remove old code that tried
3139 to avoid absolute paths and add new code to do it in all cases.
3140 Removed ancient logic that tried to deal with relative path.
3141 * tests/Makefile.am (TESTS): Added yacc4.test.
3142 * tests/yacc4.test: New file.
3144 Fix for PR automake/149 and werror.test:
3145 * automake.in (require_file_internal): Use am_line_warning or
3146 am_conf_line_warning when suppressing error.
3147 (am_line_warning): New sub.
3148 (am_conf_line_warning): Save and restore warning signal.
3149 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3151 Fix for PR automake/36:
3152 * tests/Makefile.am (TESTS): Added asm.test.
3153 * tests/asm.test: New file.
3154 * automake.in (asm): Use ASFLAGS and AS.
3155 (lang_asm_finish): New sub.
3157 * automake.in (read_am_file): Removed debugging code.
3159 For PR automake/149:
3160 * tests/Makefile.am (TESTS): Added werror.test.
3161 (XFAIL_TESTS): Likewise.
3162 * tests/werror.test: New file.
3164 * automake.in (conditional_true_when): Don't return if we see
3167 * tests/objc.test: Removed.
3168 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3171 * automake.in (subst): New sub.
3172 (handle_languages): Use it.
3173 (output_lex_build_rule): Likewise; also use _am_quote.
3174 (check_libobjs_sources): Likewise.
3175 (make_paragraphs): Use subst.
3177 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3180 * automake.in (file_contents_internal): Prototype now `$$%'.
3181 (register_language): Prototype now `%'.
3183 Fixes test subobj6.test and PR automake/160:
3184 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3185 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3186 (distclean-compile): Added DISTRMS.
3187 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3188 `mostlyclean' use; added test for non-subdir case.
3189 * automake.in (compile_clean_files): New global.
3190 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3191 (initialize_per_input): Initialize compile_clean_files.
3192 (handle_single_transform_list): Set compile_clean_files entries.
3193 (handle_compile): Handle compilation cleanups.
3195 2001-05-08 Lars J. Aas <larsa@sim.no>
3197 * automake.texi (Canonicalizing Automake macros): Document not
3198 canonicalizing strudels (@) anymore.
3200 2001-05-08 Akim Demaille <akim@epita.fr>
3202 * distdir.am (dist-all): Build all the flavors using a single
3205 2001-05-08 Akim Demaille <akim@epita.fr>
3207 * automake.in (&file_contents_internal): Apply the @cond_stack to
3208 the rules and assignments.
3209 Don't rely on `$.' as it's biased by &make_paragraphs.
3210 Don't remove backslashes in variable values.
3212 2001-05-08 Akim Demaille <akim@epita.fr>
3214 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3215 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3216 ($MACRO_PATTERN): Just catch the name of a macro.
3217 ($BOGUS_MACRO_PATTERN): Remove.
3218 ($ASSIGNMENT_PATTERN): New.
3219 (&file_contents_internal, &make_paragraphs): Adjust.
3220 (¯o_define): Catch bad macro names.
3221 (&cond_stack_endif): Better error message.
3222 (&file_contents_internal): Don't remove backslashes in variable
3224 (¯o_define): Do it for `+=' user variables.
3225 (&define_standard_variables): Use `undef' instead of a dummy
3227 (&make_paragraph): Be sure not to chop the trail of hash only
3228 lines: adjust the `##' regexp.
3229 (&rule_define): Fix a bug: don't read $1 but $target.
3230 * tests/condincl.test: Strengthen.
3232 2001-05-08 Akim Demaille <akim@epita.fr>
3234 * automake.in (Language): Add attributes `Name' and `config_vars'.
3235 (&finish): Work properly if there is no _finish.
3236 (Automake): Register language Names and AC_SUBST dependencies.
3237 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3238 (&handle_languages): Once per language, invoke
3239 `define_linker_variables', and check its config_vars.
3240 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3241 (&lang_java_finish): Remove.
3242 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3244 2001-05-08 Akim Demaille <akim@epita.fr>
3246 * automake.in (&file_contents_internal): Accept $IS_AM.
3247 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3249 2001-05-08 Akim Demaille <akim@epita.fr>
3251 * automake.in (am_install_var): Use `next' instead of `if' on the
3254 2001-05-08 Akim Demaille <akim@epita.fr>
3256 * automake.in (Language): Add attributes `lder' and `ld'.
3257 (®ister_language): Specify for cxx, objc, f77, gcj.
3258 (&define_linker_variable): New.
3259 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3260 (&lang_java_finish): Adjust.
3261 (&libtool_compiler): Remove.
3263 2001-05-08 Akim Demaille <akim@epita.fr>
3265 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3266 argument, as you don't use it.
3268 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3271 (&handle_programs): Don't mess with %lex_sources, as you don't use
3274 2001-05-08 Akim Demaille <akim@epita.fr>
3276 * automake.in (Language): Add attribute `link'.
3277 (®ister_language): Specify for cxx, objc, f77, gcj.
3278 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3279 (&lang_java_finish): Adjust.
3281 2001-05-08 Akim Demaille <akim@epita.fr>
3283 * automake.in (&define_compiler_variables): Use only $LANG as
3285 (&handle_languages): Adjust.
3287 2001-05-08 Akim Demaille <akim@epita.fr>
3289 * automake.in (&define_program_variable): Remove.
3290 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3292 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3293 * texinfos.am: Do it.
3295 2001-05-08 Akim Demaille <akim@epita.fr>
3297 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3299 * dejagnu.am: Do it.
3300 (site.exp): Use `if'.
3302 2001-05-08 Akim Demaille <akim@epita.fr>
3304 * automake.in: Formatting changes.
3305 (variable_dump, variables_dump): Rename as...
3306 (macro_dump, macros_dump): these.
3308 2001-05-08 Akim Demaille <akim@epita.fr>
3310 Support `if !COND', `else COND', `end COND'.
3312 * automake.texi (Conditionals): Document it.
3313 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3314 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3315 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3316 a leading `!' before the condition.
3317 (&handle_options): Use `\d'.
3318 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3319 (&read_am_file, &file_contents_internal): Use them.
3320 (&transform): No longer substitute `%!COND%', forcing the use of
3322 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3324 2001-05-08 Akim Demaille <akim@epita.fr>
3326 Uniform handling of per-object compilation rules.
3327 Note: Automake is repaired.
3329 * automake.in (&handle_languages): Output per object rules for all
3330 the objects, not only for those which language supports dependency
3332 Fix Automake: when outputting per-object rules, use `-o' if the
3333 language has no `output_flag', as it's really needed.
3334 (&handle_single_transform_list): Instead of special casing files
3335 which need per object rules but which language don't support
3336 dependency tracking, keep them in the queue for processing by
3337 `&handle_languages'.
3339 2001-05-08 Akim Demaille <akim@epita.fr>
3341 * automake.in (&handle_languages): `ext-compile.am' and
3342 `depend2.am' are now equivalent for generic rules: output only the
3344 * ext-compile.am: Remove.
3346 2001-05-08 Akim Demaille <akim@epita.fr>
3348 Note: This patch breaks Automake. Repaired within two patches.
3350 * automake.in (Language): Replace the attribute `output_arg' with
3351 `compile_flag' and `output_flag'.
3352 (Automake): Adjust language registrations.
3353 (&handle_languages): Transform `-c' and `-o' for both suffix and
3354 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3356 (&handle_single_transform_list): Adjust to `compile_flag' and
3358 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3360 2001-05-08 Akim Demaille <akim@epita.fr>
3362 * automake.in (&handle_languages): Don't transform %COMPILER%.
3363 Use `$lang->compiler' instead of `$pfx' to transform generic
3364 %COMPILE% and %LTCOMPILE%.
3365 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3366 of %COMPILER% and $<.
3368 2001-05-07 Akim Demaille <akim@epita.fr>
3370 * automake.in (&handle_languages): Use the same `%transform' for
3371 both `depend2.am' and `ext-compile.am'.
3372 Delay the definition of `$flag' so it is right before the first use,
3373 and rename as `$flags'.
3375 2001-05-07 Akim Demaille <akim@epita.fr>
3377 * automake.in (&handle_languages): Compute `$ltoutarg' and
3378 `$outarg' independently of dependency code.
3379 There is no use looping on a language's possible extensions since
3380 we loop over used extensions.
3381 Therefore, there is no use for a local `%transform'.
3383 2001-05-07 Akim Demaille <akim@epita.fr>
3385 * automake.in (&handle_languages): Don't use $comp.
3387 2001-05-07 Akim Demaille <akim@epita.fr>
3389 * automake.in (&handle_languages): Merge the two loops over
3390 %extension_seen/%languages into one and group code to be run once
3391 per language together.
3393 2001-05-07 Akim Demaille <akim@epita.fr>
3395 * automake.in (&handle_languages): Move the `if
3396 ($use_dependencies)' block so that loops over extensions and
3397 languages are next to each other.
3399 2001-05-07 Akim Demaille <akim@epita.fr>
3401 * automake.in (&depend2): Remove, merged into...
3402 (&handle_languages): here.
3404 2001-05-07 Akim Demaille <akim@epita.fr>
3406 * automake.in (&finish_languages): Rename as...
3407 (&handle_languages): this.
3408 Include the body of...
3409 (&handle_dependency): this.
3412 2001-05-06 Tom Tromey <tromey@redhat.com>
3415 * tests/Makefile.am (TESTS): Add subdir5.test.
3416 (XFAIL_TESTS): Likewise.
3417 * tests/subdir5.test: New file.
3419 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3420 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3422 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3424 (handle_options): Handle fork identifier in version number.
3426 * automake.texi (Dist): Document distcheck-hook.
3428 * tests/confh4.test: Update to reflect DEFS change.
3429 For PR automake/132.
3431 Fix for PR automake/132:
3432 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3434 (java): Remove INCLUDES and DEFS from compilation.
3435 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3436 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3437 (DEFAULT_INCLUDES): New macro.
3439 * automake.in (usage): Re-align explanatory text.
3440 Fixes PR automake/148.
3442 * automake.texi (Uniform): Don't use @PROGRAMS@.
3443 Fixes PR automake/154.
3445 For PR automake/160:
3446 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3447 (XFAIL_TESTS): Add subobj6.test.
3448 * tests/subobj6.test: New file.
3450 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3451 (Top level): Don't mention `flat'.
3452 (Extending): Likewise.
3453 (User Variables): New node.
3455 * distdir.am (distdir): Make subdirectory for each file.
3456 Fixes test subobj5.test.
3458 * tests/Makefile.am (TESTS): Add new file.
3459 (XFAIL_TESTS): Likewise.
3460 * tests/texinfo10.test: New file.
3462 2001-05-05 Pavel Roskin <proski@gnu.org>
3464 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3465 in the same way as @defcodeindex and @syncodeindex respectively.
3467 2001-05-05 Tom Tromey <tromey@redhat.com>
3469 * mans.am (install-man%SECTION%): Minor cleanup.
3470 (uninstall-man%SECTION%): Likewise.
3472 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3473 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3475 (uninstall-man%SECTION%): Likewise.
3476 * automake.in (handle_man_pages): Handle dist_ and nodist_
3479 * automake.texi (Future): Removed.
3481 (Hello): Don't mention `deep'.
3482 (Top level): Likewise.
3484 * automake.in (conditional_true_when): Use a hash, not index().
3485 Also, a TRUE component always results in a true return.
3486 Fixes test cond10.test. For PR automake/164.
3487 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3489 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3491 For PR automake/164:
3492 * tests/Makefile.am (TESTS): Added new file.
3493 (XFAIL_TESTS): Likewise.
3494 * tests/cond10.test: New file.
3496 2001-05-05 Tom Tromey <tromey@redhat.com>
3498 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3500 (install-info-am): Likewise.
3502 2001-05-05 Pavel Roskin <proski@gnu.org>
3504 * automake.in (scan_texinfo_file): Don't push undefined values
3507 2001-05-05 Richard Boulton <richard@tartarus.org>
3509 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3512 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3514 * automake.in (required_targets): Added uninstall-am.
3516 2001-05-05 Tom Tromey <tromey@redhat.com>
3518 Fix bug reported by Robert Boehne:
3519 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3521 (handle_dependencies): Likewise.
3522 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3523 substitution. Correct diff now has 30 lines. Look for space
3524 after losing `undef'.
3526 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3528 * m4/sanity.m4: Remove the temp file before possible error exits.
3530 2001-05-04 Akim Demaille <akim@epita.fr>
3532 * configure.in: Set perllibdir.
3535 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3537 * automake.in ($pkgdata_dir): New.
3538 (&require_file_internal): Use it.
3540 2001-05-03 Akim Demaille <akim@epita.fr>
3542 Case insensitive FS choke on Automake/ vs automake.
3543 Reported by Tim Van Holder.
3545 * Automake/: Move into...
3546 * lib/: this new directory.
3548 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3550 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3553 2001-04-30 Jim Meyering <meyering@lucent.com>
3555 * automake.in: Remove `/lib' from include directory.
3557 2001-04-27 Akim Demaille <akim@epita.fr>
3559 AM_INIT_AUTOMAKE is no longer optional.
3561 * automake.in ($seen_make_set, $seen_prog_install)
3562 ($seen_arg_prog): Remove.
3563 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3564 Remove related code.
3566 2001-04-27 Akim Demaille <akim@epita.fr>
3568 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3570 * tests/specflags3.test: here.
3572 2001-04-27 Akim Demaille <akim@epita.fr>
3574 * automake.in ($seen_path_xtra): Remove.
3575 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3576 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3578 2001-04-27 Akim Demaille <akim@epita.fr>
3580 * automake.in (&file_contents_internal): Declare it.
3582 2001-04-27 Akim Demaille <akim@epita.fr>
3584 * automake.in (&read_am_file, &file_contents_internal): Don't
3585 define macros when `FALSE', to avoid errors on doubly defined
3586 variables but under condition `FALSE'. In order to allow...
3587 (&am_install_var): When reading the associated file for the first
3588 time, enable `%?FIRST%'.
3589 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3590 * libs.am: Do it when `%?FIRST%'.
3592 2001-04-27 Akim Demaille <akim@epita.fr>
3594 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3595 * ansi2knr.am: Do it.
3596 Prefer `if %?FOO%' to `if %!FOO%'.
3598 2001-04-27 Akim Demaille <akim@epita.fr>
3600 * automake.in (®ister_language, &finish_languages): Use `pure'
3602 (®ister_language): Use %done properly with objects, not names.
3603 (&finish_languages): Replace `$non_c' with `$needs_c'.
3605 2001-04-27 Akim Demaille <akim@epita.fr>
3607 Unify LISP, PYTHON and JAVA primaries.
3609 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3610 return if there are no files, hook elisp-comp on the Autoconf
3611 macro, rely on lisp.am to define variables.
3612 (&handle_python, &handle_java): Likewise.
3613 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3614 `PYTHON' must be handled here, not in `&handle_python'.
3615 * java.am: Define needed variables and rules.
3617 2001-04-27 Akim Demaille <akim@epita.fr>
3619 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3621 * header.am: Include data.am.
3623 2001-04-27 Akim Demaille <akim@epita.fr>
3625 * automake.in (&am_install_var): Transform `PRIMARY'.
3626 * data.am: Equip with %PRIMARY%.
3628 2001-04-27 Akim Demaille <akim@epita.fr>
3630 * automake.in (@conditional_stack): Rename as...
3631 (@cond_stack): this.
3632 (&file_contents_internal): Support inclusion of files.
3634 2001-04-27 Akim Demaille <akim@epita.fr>
3636 * automake.in (&lang_extensions): Remove.
3637 (&add_depend2, &saw_sources_p): Adjust.
3638 * depend2.am: `%EXT%' no longer includes the dot.
3640 2001-04-27 Akim Demaille <akim@epita.fr>
3642 * automake.in (&finish_languages, &handle_single_transform_list)
3643 (&add_depend2, &handle_dependencies): No longer use the language
3644 name in `$lang'. Rename `$lang_obj' as `$lang'.
3646 2001-04-27 Akim Demaille <akim@epita.fr>
3648 * automake.in (®ister_language): Use `new Language' with a hash.
3650 2001-04-27 Akim Demaille <akim@epita.fr>
3652 * automake.in (®ister_language): Rename `output-arg' and
3653 `derived-autodep' as `output_arg' and `derived_autodep' to match
3654 the Language attribute.
3655 Set the defaults in %option instead of $lang.
3657 2001-04-27 Akim Demaille <akim@epita.fr>
3659 * Automake/: New directory.
3660 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3661 * automake.in (Language): Use Automake::Struct.
3662 * tests/defs: Adjust to find Struct.
3664 2001-04-23 Pavel Roskin <proski@gnu.org>
3666 * automake.in: Add forward declaration for register_language().
3667 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3670 2001-04-20 Akim Demaille <akim@epita.fr>
3672 * automake.in (%required_targets): Add `uninstall'.
3673 From Robert Collins.
3675 2001-04-12 Akim Demaille <akim@epita.fr>
3677 * automake.in (Language): Add attribute `name'.
3678 (®ister_language): The name of the language is now given in the
3680 No longer use `$lang' as the name of the language.
3681 Rename `$lang_obj' as `$lang'.
3683 2001-04-12 Akim Demaille <akim@epita.fr>
3685 * automake.in (Language): Add attribute `_finish'.
3688 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3689 (&lang_asm_finish): Remove.
3691 2001-04-12 Akim Demaille <akim@epita.fr>
3693 * automake.in (Language): Add attribute `extensions'.
3694 (Automake): Pass a hash to `®ister_language' instead of a
3695 list of pseudo assignments.
3696 (®ister_language): Adjust.
3697 (&finish_languages): Initialize `$ltoutarg'.
3699 2001-04-12 Akim Demaille <akim@epita.fr>
3701 * automake.in (Language): Add attribute `output_arg'.
3702 (%language_map): Remove.
3703 (®ister_language): Build only the object, and store in
3705 (&finish_languages, &handle_single_transform_list): Adjust.
3707 2001-04-12 Akim Demaille <akim@epita.fr>
3709 * automake.in (Language): Add attributes `flags', `compile' and
3711 (&finish_languages, &handle_single_transform_list, &handle_dist)
3712 (&add_depend2, ®ister_language): Use them and the `linker' and
3715 2001-04-12 Akim Demaille <akim@epita.fr>
3717 * automake.in (&handle_single_transform_list, &finish_languages)
3718 (&handle_dist, &handle_dependencies): Use the language object for
3719 autodep and derived-autodep too.
3721 2001-04-12 Akim Demaille <akim@epita.fr>
3723 * automake.in (¯o_define): Ignore Automake definition for
3724 ($var, $cond) if there is already a user definition for ($var, $cond).
3726 2001-04-12 Akim Demaille <akim@epita.fr>
3728 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3729 but also @deffn and so on which push data in indexes.
3730 Reported by Derek R. Price.
3732 2001-04-12 Akim Demaille <akim@epita.fr>
3734 * automake.in (Language): New package, temporarily in this file.
3736 (Automake): New package.
3738 (&handle_single_transform_list): Use the language object's `ansi'
3739 attribute instead of `$language_map{"$lang-ansi-p"}'.
3740 (®ister_language): Build and register the language too.
3742 2001-04-11 Tom Tromey <tromey@redhat.com>
3744 Fixes report from Larry Jones:
3745 * automake.in (handle_dependencies): Add `@_am_quote@' where
3747 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3749 2001-04-11 Akim Demaille <akim@epita.fr>
3751 * depend2.am: Fix the `if' condition for Libtool.
3752 Reported by Robert Boehne.
3754 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3756 * tests/subobj5.test: New file.
3758 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3760 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3761 * tests/Makefile.am (TESTS): Added make.test.
3762 * tests/make.test: New file.
3764 2001-04-10 Tom Tromey <tromey@redhat.com>
3766 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3768 2001-04-10 Derek R. Price <dprice@collab.net>
3770 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3772 2001-04-10 Akim Demaille <akim@epita.fr>
3774 * distdir.am: Add a missing backslash.
3776 2001-04-10 Akim Demaille <akim@epita.fr>
3778 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3780 Specify to the caller whether $regen_aclocal_m4.
3781 (&handle_configure): Adjust.
3782 Transform `REGEN-ACLOCAL-M4'.
3784 * configure.am: Use it.
3785 * tests/defs (me): New.
3786 * tests/confdeps.test: New.
3788 2001-04-09 Tom Tromey <tromey@redhat.com>
3790 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3791 Fixes report from Jim Meyering.
3793 2001-04-09 Akim Demaille <akim@epita.fr>
3795 * automake.in (&handle_configure): Don't bother with optimizing
3798 2001-04-09 Akim Demaille <akim@epita.fr>
3800 * tests/cond3.test (expected): Adjust.
3802 2001-04-09 Akim Demaille <akim@epita.fr>
3804 * automake.in (&handle_single_transform_list): Remove $xbase,
3806 (&handle_source_transform): All the variables have conditions now,
3808 (&variable_delete): Admit an argument @conds.
3810 2001-04-09 Akim Demaille <akim@epita.fr>
3812 * automake.in ($source_suffix_pattern): Remove, unused.
3813 %extension_map seems to have replaced it.
3815 2001-04-09 Akim Demaille <akim@epita.fr>
3817 * ext-compile.am: New file.
3818 * automake.in (&finish_languages): Output it.
3819 Require a C linker if there are several registered source suffixes.
3820 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3821 extensions, which are discovered in ext-compile.am.
3822 With the help from Robert Boehne.
3824 2001-04-09 Akim Demaille <akim@epita.fr>
3826 * automake.in (&handle_compile): Extract from...
3827 (&get_object_extension): here.
3828 (&read_am_file): Call it.
3829 ($included_generic_compile, $included_knr_compile)
3830 ($included_libtool_compile): Remove.
3831 ($get_object_extension_was_run): New.
3833 2001-04-09 Akim Demaille <akim@epita.fr>
3835 Use AM_CONDITIONAL and if/endif for AMDEP.
3837 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3838 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3839 to a configure time if/endif), or to `FALSE' (static removal of
3841 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3842 * depend2.am: Use if/endif.
3844 Adjust the 101 tests that use dependencies so that they
3845 properly invoke aclocal before automake. They need to `see'
3846 `AM_CONDITIONAL([AMDEP], ...)'.
3848 2001-04-09 Akim Demaille <akim@epita.fr>
3850 * tags.am: Fix missing leading tabs.
3852 2001-04-09 Akim Demaille <akim@epita.fr>
3854 * automake.in: Use simple quotes to define the _PATTERN variables
3855 to unobfuscate the regexps.
3856 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3858 2001-04-09 Akim Demaille <akim@epita.fr>
3860 * automake.in (&rule_define): When you discover a suffix rules,
3861 register the extensions for .SUFFIXES.
3862 (&handle_texinfo): Don't register the suffixes.
3863 (&get_object_extension): Don't register suffixes, let them be
3864 discovered in depend2.am.
3865 (&handle_emacs_lisp): Depend on your lisp.am.
3866 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3868 2001-04-09 Akim Demaille <akim@epita.fr>
3870 * subdirs.am: Don't define info related recursive targets.
3873 2001-04-09 Akim Demaille <akim@epita.fr>
3875 * subdirs.am (RECURSIVE_TARGETS): New variable.
3877 * automake.in (&handle_subdirs): Output it.
3878 (&file_contents_internal): Support value spread on several lines.
3880 2001-04-09 Akim Demaille <akim@epita.fr>
3882 * automake.in (&handle_man_pages): Rely on mans.am to define
3883 man%SECTION%dir and MANS.
3886 2001-04-09 Akim Demaille <akim@epita.fr>
3888 * automake.in (&variable_dump): Use %var_type properly.
3889 (¯o_define): Enforce better overriding rules.
3890 Handle the special case that used to handle...
3891 (&define_pretty_variable): this.
3893 The variables you define are owned by Automake.
3894 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3896 (&variable_defined): Now independent of the owner.
3897 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3899 2001-04-09 Akim Demaille <akim@epita.fr>
3901 * automake.in (%var_was_plus_eq): Rename as...
3903 (%def_type): Remove.
3904 (¯o_define): %var_type may now hold `', `+', or `:'.
3905 (%conditional, %am_vars, %content_lines): Rename as...
3906 (%var_value, %var_comment, %var_line): these.
3908 2001-04-09 Akim Demaille <akim@epita.fr>
3910 * automake.in (&variable_output): Admit a list of @CONDS.
3911 (&variable_pretty_output): New.
3912 (&define_pretty_variable): Use it.
3913 (&read_am_file, &file_contents_internal): Prepend a separator to
3914 $am_vars only if there is none yet.
3915 (&file_contents_internal): Rename $separator as $spacing to
3916 harmonize with &read_am_file.
3918 2001-04-09 Akim Demaille <akim@epita.fr>
3920 * automake.in (&am_install_var): Transform DIST, and let the *.am
3921 files handle DIST_COMMON.
3922 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3925 2001-04-09 Akim Demaille <akim@epita.fr>
3927 * automake.in (%dist_common): Remove.
3928 (%configure_dist_common): Replace with...
3929 ($configure_dist_common): this.
3930 (&generate_makefile): Read the user file before using
3931 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3932 that no variable is defined before it is run.
3933 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3934 (&dist_cmp): Rename as...
3935 (&for_dist_common): this.
3936 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3938 Adjust to $configure_dist_common.
3939 * configure.am, texi-vers.am: Set DIST_COMMON.
3941 2001-04-09 Akim Demaille <akim@epita.fr>
3943 * automake.in (&handle_aclocal_m4): Rename as...
3944 (&scan_aclocal_m4): this.
3945 Return the list of aclocal.m4 dependencies.
3946 (&handle_configure): Invoke it, and use it when loading...
3947 * configure.am: Template the rules to recreate aclocal.m4.
3949 2001-04-09 Akim Demaille <akim@epita.fr>
3951 * automake.in (&get_object_extension): Use ansi2knr.am.
3952 * clean-kr.am, kr-extra.am: Remove, merged into...
3953 * ansi2knr.am: this new file.
3955 2001-04-09 Akim Demaille <akim@epita.fr>
3957 * automake.in (&transform): Fix an incredible bug which was
3958 breaking the if/endif system.
3959 ($ELSE_PATTERN): Admit an optional argument.
3961 2001-04-09 Akim Demaille <akim@epita.fr>
3963 * comp-vars.am: Remove, merged into...
3965 * automake.in (&get_object_extension): Adjust.
3967 2001-04-09 Akim Demaille <akim@epita.fr>
3969 * remake.am: Merge into...
3970 * configure.am: ... here.
3971 * automake.in (&handle_configure): Adjust.
3973 2001-04-09 Akim Demaille <akim@epita.fr>
3975 * automake.in (&output_lex_build_rule): Output this...
3978 2001-04-09 Akim Demaille <akim@epita.fr>
3980 * automake.in (&condition_negate): New.
3981 (&variable_conditions_permutations): Use it.
3982 (&read_am_file, &file_contents): Use it on `else' clauses to
3984 (&output_yacc_build_rule): Output this...
3985 * yacc.am: New file.
3987 2001-04-09 Akim Demaille <akim@epita.fr>
3989 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3990 (&handle_dist): Don't.
3991 (&handle_clean): Don't handle config.status here, let...
3992 * clean.am: ... do it.
3993 * distdir.am: Adjust.
3995 2001-04-09 Akim Demaille <akim@epita.fr>
3997 * automake.in: Use strict vars and subs.
3998 Declare `%require_file_found'.
3999 (&handle_source_transform, &make_paragraphs): Declare my variables.
4001 2001-04-09 Akim Demaille <akim@epita.fr>
4003 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4004 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
4005 * java.am (_am_installdirs): Be sure to set it.
4007 2001-04-09 Akim Demaille <akim@epita.fr>
4009 * automake.in (&make_condition): Return '#' when FALSE.
4010 (&conditional_string): Return FALSE, not '#' in the corresponding
4012 (&file_contents_internal): Adjust.
4013 (&check_variable_defined_unconditional): Dump the guilty variable.
4015 2001-04-09 Akim Demaille <akim@epita.fr>
4017 * distdir.am: Use and abuse of if/endif.
4018 * scripts.am: Using if/endif with variables is fine.
4020 2001-04-09 Akim Demaille <akim@epita.fr>
4022 * automake.in (&make_paragraphs): Extract from &file_contents.
4023 Make it more robust than the previous RE based scheme.
4024 (&file_contents): Use it.
4026 2001-04-09 Akim Demaille <akim@epita.fr>
4028 * automake.in (&make_paragraphs): Extract from &file_contents.
4029 Make it more robust than the previous RE based scheme.
4030 (&file_contents): Use it.
4032 2001-04-09 Akim Demaille <akim@epita.fr>
4034 * tests/yacc2.test: Don't define several times a variable, as
4037 2001-04-09 Akim Demaille <akim@epita.fr>
4039 * automake.in (&handle_source_transform): Fix pr72: don't define
4040 $linker if there are no @files.
4042 2001-04-09 Akim Demaille <akim@epita.fr>
4044 Avoid reading twice header-vars.am as now macro_define
4047 * automake.in (&define_standard_variables): Don't output the
4049 (&read_main_am_file): Output first user variables, then Automake
4051 Don't call twice &define_standard_variables.
4052 Save variable comments in $am_vars.
4053 (&variable_output): New.
4054 (&file_contents_internal): New.
4055 Save variable comments in $am_vars.
4056 (&file_contents): Use it.
4058 2001-04-09 Akim Demaille <akim@epita.fr>
4060 * automake.in (¯o_define): The user is allowed to override
4061 a value if it was set by Automake, or if it was found in AC_SUBST.
4063 2001-04-09 Akim Demaille <akim@epita.fr>
4065 * automake.in (&handle_source_transform): Better locality of the
4067 Use `next' to skip nonexistent variables.
4069 2001-04-09 Akim Demaille <akim@epita.fr>
4071 * automake.in (&variable_dump): If a variable is undefined, say
4073 (&check_ambiguous_conditional): Give finer error messages.
4074 (¯o_define): Check that a `+=' variable is not set with `='.
4075 Check for ambiguous definitions each time you _set_ (even with `+=')
4077 (&read_main_am_file): Perform a deep copy of %conditional.
4079 2001-04-09 Akim Demaille <akim@epita.fr>
4081 * automake.in (&variable_defined): Some callers, e.g.,
4082 &am_primary_prefixes, really want to know if the variable is
4083 defined for any condition, not `TRUE' by default.
4084 (&am_primary_prefixes): Give a more precise error message.
4086 2001-04-09 Akim Demaille <akim@epita.fr>
4088 (&variable_conditions): Don't include `FALSE' in the result.
4090 2001-04-09 Akim Demaille <akim@epita.fr>
4092 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4093 (&variable_conditions): Don't include `FALSE' in the result.
4095 2001-04-09 Akim Demaille <akim@epita.fr>
4097 * tests/defs, tests/depend3.test: Remove useless code.
4099 2001-04-09 Akim Demaille <akim@epita.fr>
4101 * automake.in (&handle_source_transform): Use
4102 &variable_conditions, don't read $conditional{$var}.
4103 (&variable_conditions_sub): When the call is the top level call,
4104 generate all the permutations of the conditions.
4106 2001-04-09 Akim Demaille <akim@epita.fr>
4108 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4109 that it does not get noticed twice by automake, which now
4110 complains for multiple definitions.
4111 * tests/vartar.test: s/INSTALL/install/g, automake now complains
4112 because we defined INSTALL.
4114 2001-04-09 Akim Demaille <akim@epita.fr>
4116 * automake.in (&generate_makefile) Use macro_define to define
4117 SOURCES and OBJECTS.
4118 (&variable_defined): Don't check for $conditional{VAR}{COND} as
4119 this would make perl create $condition{VAR}, which we don't want.
4121 2001-04-09 Akim Demaille <akim@epita.fr>
4123 * automake.in (&variable_defined, &define_pretty_variable):
4124 Simplify code which used to handle the cases where not all
4125 variables were in %conditional.
4126 (&define_variable): Use &define_pretty_variable.
4127 (&variable_conditions_sub, &variable_value_as_list_worker)
4128 (&variable_value_as_list, &rule_define): Simplify syntax.
4129 (&read_main_am_file): Dump the guilty predefined variables.
4131 2001-04-09 Akim Demaille <akim@epita.fr>
4133 * automake.in (&variable_conditions_sub)
4134 (&variable_value_as_list_worker): Remove dead code which used to
4135 handle the cases where not all variables were in %conditional.
4137 2001-04-09 Akim Demaille <akim@epita.fr>
4139 * automake.in (&handle_source_transform, &read_main_am_file):
4140 Simplify loops which were split in two parts, conditional vs
4141 unconditional variables.
4143 2001-04-09 Akim Demaille <akim@epita.fr>
4145 Handle unconditional values of variables as conditioned by
4148 * automake.in (%contents): Remove.
4149 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4150 (&read_am_file, &variable_defined, &variable_conditions_sub)
4151 (&variable_value, &variable_value_as_list_worker)
4152 (&variable_value_as_list, &define_pretty_variable)
4153 (&read_main_am_file): Use
4154 $conditional, not %contents.
4155 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4156 (&variable_conditionally_defined): New.
4157 (&handle_dist): Use it.
4158 (&check_ambiguous_conditional): When multiply defined, specify
4159 under which condition.
4160 (¯o_define): Use it.
4161 (&variable_delete): New.
4162 (&read_am_file): Use it.
4163 (&am_install_var): Simplify, as all the variables are in
4166 2001-04-07 Tom Tromey <tromey@redhat.com>
4168 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4170 * tests/man.test: New file.
4172 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4174 * depcomp (gcc3): Invert test condition.
4176 2001-04-07 Tom Tromey <tromey@redhat.com>
4178 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4179 statement. Report from Larry Jones.
4181 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4183 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4185 2001-04-01 Tom Tromey <tromey@redhat.com>
4187 * java.am (.PHONY clean-am): Removed trailing ":".
4188 From Per Bothner. Fixes PR automake/139.
4190 2001-03-28 Akim Demaille <akim@epita.fr>
4192 * program.am: Fix a stupid typo: now *all* (not none) the programs
4194 Reported by Robert Boehne.
4196 2001-03-23 Akim Demaille <akim@epita.fr>
4198 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4201 2001-03-23 Akim Demaille <akim@epita.fr>
4203 * automake.in (&variable_conditionally_defined): Rename as...
4204 (&check_variable_unconditionally_defined): this.
4205 (&variable_dump): Fix the output.
4206 (&variable_defined, ¯o_define): Since conditions are
4207 canonicalized, don't use a loop to look for a condition: read the
4209 (¯o_define, &rule_define, &read_am_file, &file_contents):
4210 Rename $cond_string as $cond.
4211 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4212 discovered via AC_SUBST, they now trigger a `defined twice' error.
4214 2001-03-23 Akim Demaille <akim@epita.fr>
4216 * automake.in (&handle_footer, &handle_installdirs)
4217 (&read_main_am_file): Don't read %contents directly, use
4220 2001-03-23 Akim Demaille <akim@epita.fr>
4222 * automake.in (&read_am_file): Define the variables in a single
4224 Factor the $saw_bk code.
4226 2001-03-23 Akim Demaille <akim@epita.fr>
4228 * automake.in (&read_am_file): Keep $cond_string up to date.
4230 2001-03-23 Akim Demaille <akim@epita.fr>
4232 * automake.in (&define_variable): Use ¯o_define.
4234 2001-03-23 Akim Demaille <akim@epita.fr>
4236 * automake.in (¯o_define): Don't lose the location if we
4237 redefine a variable.
4238 Don't push all the variables in @var_list, let...
4239 (&read_am_file, &file_contents): ... do it.
4240 (&define_pretty_variable): Use macro_define.
4241 (&am_install_var): Delete the value of variables being redefined
4242 to pacify ¯o_define which checks that variables are not
4245 2001-03-23 Akim Demaille <akim@epita.fr>
4247 * automake.in (&conditional_dump): Rename as...
4248 (&variables_dump): this. Use...
4249 (&variable_dump): this new sub.
4251 2001-03-23 Akim Demaille <akim@epita.fr>
4253 * automake.in (&file_contents): Maintain $cond_string sync with
4255 Output rules only if not under `FALSE'.
4256 Define variables under $cond_string.
4257 * scripts.am: For the time being if/endif does not work properly
4260 2001-03-23 Akim Demaille <akim@epita.fr>
4262 * automake.in (IF_PATTERN): Unobfuscate the parens.
4263 (ENDIF_PATTERN): Allow a condition to be specified.
4264 (&file_contents): Use a @cond_stack.
4265 (&transform): At least for an easy transition, also transform
4266 %?FOO% and %!FOO%, as suggested by Lars.
4267 * scripts.am: First test bed for static if/endif use.
4269 2001-03-23 Akim Demaille <akim@epita.fr>
4271 * automake.in (&file_contents): Use rule_define.
4273 2001-03-23 Akim Demaille <akim@epita.fr>
4275 * automake.in (¯o_define): Don't rely on $1.
4276 Initialize the variable.
4277 Set its Automakism only if not defined or if given to the user.
4278 When concatenating values, insert a separator only if the value
4280 (&read_am_file): When dumping the @var_list, skip Automake
4282 (&file_contents): Use macro_define.
4284 2001-03-23 Akim Demaille <akim@epita.fr>
4286 * automake.in (&rule_define): Extract from...
4287 (&read_am_file): here.
4289 2001-03-23 Akim Demaille <akim@epita.fr>
4291 * automake.in (¯o_define, &read_am_file): More work for the
4292 former from the latter. Reorganize the latter.
4294 2001-03-23 Akim Demaille <akim@epita.fr>
4296 * automake.in (¯o_define): Extract from...
4297 (&read_am_file): here.
4299 2001-03-23 Akim Demaille <akim@epita.fr>
4301 * automake.in (%am_var_defs): Replace with...
4303 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4304 (&file_contents, am_primary_&prefixes): Adjust.
4305 (&variable_defined, &define_variable): The actual semantics is
4307 (&read_main_am_file): Assert the var is user defined when
4308 outputting @var_list.
4310 2001-03-23 Akim Demaille <akim@epita.fr>
4312 * automake.in (read_am_file): TRUE and FALSE are predefined
4314 (&by_condition): Adjust.
4315 (&conditional_string): Recognize `TRUE' and `FALSE'.
4316 (&make_condition): Use it.
4317 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4318 * automake.texi (Conditionals): Adjust.
4319 * tests/cond9.test: s/FALSE/WRONG/.
4321 2001-03-12 Pavel Roskin <proski@gnu.org>
4323 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4326 2001-03-12 Akim Demaille <akim@epita.fr>
4328 * automake.in (&variable_conditions_permutations): Separate the
4330 * tests/cond3.test: Improve the sed expression.
4332 2001-03-09 Pavel Roskin <proski@gnu.org>
4334 * Makefile.am (maintainer-check): Scan all *.am files and tests
4335 for invocations of `rm' without `-f'.
4336 * tests/mclean.test: Adjusted to prevent triggering the above
4339 2001-03-09 Tom Tromey <tromey@redhat.com>
4341 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4342 maintainer-check failure.
4344 2001-03-09 Akim Demaille <akim@epita.fr>
4346 * tests/cond3.test: Strengthen.
4348 2001-03-09 Akim Demaille <akim@epita.fr>
4350 * automake.in (&conditional_string): Produce a unique string
4351 characterizing a condition stack.
4352 (&conditional_same): Remove, comparing two strings is now enough.
4353 (&variable_defined): Adjust.
4354 (&read_am_file): Use conditional_string.
4356 2001-03-08 Akim Demaille <akim@epita.fr>
4358 * automake.in: Use -w.
4359 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4360 (&parse_arguments): Support --Werror and --Wno-error as a
4361 temporary hack until --warning/-W is properly implemented.
4362 (&handle_single_transform_list): Prototype.
4363 Be sure to define $directory.
4364 Use `exists' instead of testing the value of a maybe undefined
4366 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4367 (&handle_factored_dependencies): Use defined values.
4368 (&scan_one_autoconf_file): Save $_.
4369 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4370 Run automake with --Wno-error.
4372 2001-03-07 Akim Demaille <akim@epita.fr>
4374 * automake.in (&handle_all): Use an array instead of a scalar for
4376 Get rid of all-redirect: let `all' be that target.
4378 2001-03-07 Akim Demaille <akim@epita.fr>
4380 * automake.in (&handle_merge_targets): Ventilate its non `all'
4381 related content into...
4382 (&generate_makefile): here.
4383 (&handle_merge_targets): Rename as...
4384 (&handle_all): this.
4385 Remove a useless `if': `@all' is obviously not empty, since it
4386 contains at least the `basename ($makefile)' which has just been
4389 2001-03-07 Akim Demaille <akim@epita.fr>
4391 * automake.in, aclocal.in: Backquote is inert in double quotes.
4393 2001-03-06 Akim Demaille <akim@epita.fr>
4395 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4398 2001-03-06 Pavel Roskin <proski@gnu.org>
4400 * java.am: Use `rm -f' instead of `rm'.
4402 2001-03-06 Akim Demaille <akim@epita.fr>
4404 * automake.in (&push_dist_common): Simplify.
4406 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4408 * ltlib.am: Replaced spaces with tab.
4410 2001-03-06 Pavel Roskin <proski@gnu.org>
4412 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4415 2001-03-05 Pavel Roskin <proski@gnu.org>
4417 * header.am, scripts.am: Use ?INSTALL? in the install and
4420 2001-03-05 Pavel Roskin <proski@gnu.org>
4422 * tests/copy.test: Never use `rm' without `-f' - it may ask
4423 questions, notably for read-only files during `make distcheck'.
4424 * tests/insh.test: Likewise.
4425 * tests/installsh.test: Likewise.
4426 * tests/symlink.test: Likewise.
4427 * tests/symlink2.test: Likewise.
4428 * tests/symlink3.test: Likewise.
4430 2001-03-05 Pavel Roskin <proski@gnu.org>
4432 * noinstdir.test: New test.
4433 * tests/Makefile.am (TESTS): Add noinstdir.test.
4434 (XFAIL_TESTS): Likewise.
4436 2001-03-05 Akim Demaille <akim@epita.fr>
4438 * automake.in (&handle_options): Change the RE so that the third
4439 part of the versions always exist.
4440 (&file_contents): Don't pass uninitialized values to &transform.
4442 2001-03-05 Akim Demaille <akim@epita.fr>
4444 * automake.in (&file_contents): Require a hash as second argument.
4447 2001-03-05 Akim Demaille <akim@epita.fr>
4449 Always use hashes with &file_contents.
4451 * automake.in (&handle_texinfo): texibuild.am does not need
4453 texinfos.am wants only TEXICLEANS.
4454 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4456 * texinfos.am: Adjust.
4458 2001-03-05 Akim Demaille <akim@epita.fr>
4460 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4461 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4462 (&am_install_var): Forget about `-clean'.
4463 Transform ?INSTALL?.
4464 Always output the *.am file.
4465 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4466 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4467 Remove, merged into the corresponding *.am file.
4468 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4471 2001-03-05 Pavel Roskin <proski@gnu.org>
4473 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4475 2001-03-05 Akim Demaille <akim@epita.fr>
4477 If OBJEXT and EXEEXT are not set, provide a default value, and use
4478 them unconditionally.
4480 * automake.in (&generate_makefile): Provide default values for
4482 (&get_object_extension, &finish_languages)
4483 (&handle_single_transform_list, &handle_programs, &add_depend2)
4484 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4485 them, they are defined.
4486 * compile.am, depend2.am, program.am, progs.am: Likewise.
4487 * remake-hdr.am: Fix a typo.
4488 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4489 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4490 * tests/suffix2.test: Adjust.
4492 2001-03-05 Akim Demaille <akim@epita.fr>
4494 * automake.in (&file_contents): Map MAINTAINER-MODE to
4495 @MAINTAINER_MODE_TRUE@ or nothing.
4496 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4499 2001-03-05 Akim Demaille <akim@epita.fr>
4501 * automake.in (&do_one_merge_target): Remove, was only called from...
4502 (&handle_merge_targets): here for `all'.
4505 2001-03-05 Akim Demaille <akim@epita.fr>
4507 Make the installation/uninstallation of Info pages follow the
4508 regular am/recursive scheme.
4510 * automake.in (%required_targets, %dependencies): Add
4512 (%dependencies): Add install-info, install-info-am, and
4514 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4515 reversed BTW. Does anybody use the option `no-installinfo'?
4516 (&handle_merge_targets): Let the handling of info related targets
4518 (&handle_factored_dependencies): this.
4519 * subdirs.am: Use ?INSTALL-INFO?.
4520 * texinfos.am: Define the install-info, uninstall-info and
4521 uninstall-info-am targets.
4523 2001-03-05 Akim Demaille <akim@epita.fr>
4525 * automake.in (%required_targets, %dependencies): Add dvi, info,
4527 (@info, @dvi): Remove.
4528 (&handle_texinfo, &handle_merge_targets): Adjust.
4529 (&handle_factored_dependencies): Required targets are phony.
4530 * texinfos.am: Build info, dvi, and the corresponding -am or
4533 2001-03-05 Akim Demaille <akim@epita.fr>
4535 * automake.in (&am_install_var): Remove $cygxform, unused.
4537 2001-03-05 Akim Demaille <akim@epita.fr>
4539 * automake.in (&file_contents): Transform LIBTOOL.
4540 (&am_install_var): Remove $ltxform.
4541 * ltlib.am, progs.am: Adjust.
4543 2001-03-05 Akim Demaille <akim@epita.fr>
4545 * automake.in: Require AC_PROG_INSTALL in...
4546 (&scan_autoconf_files): here.
4548 2001-03-05 Akim Demaille <akim@epita.fr>
4550 * configure.am: New file.
4551 * automake.in (&file_contents): Transform CONFIGURE-AC.
4552 (&handle_texinfo, &handle_configure): Don't transform
4554 (&handle_configure): Use `configure.am'.
4555 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4556 MAINTAINER-MODE and CONFIGURE-AC.
4558 2001-03-05 Akim Demaille <akim@epita.fr>
4560 * automake.in (&pretty_print_internal): Don't output useless
4562 (define_pretty_variable): Don't issue the space after the `=' sign
4563 to avoid trailing spaces in Makefile.ins.
4565 2001-03-05 Akim Demaille <akim@epita.fr>
4567 * automake.in (&generate_makefile): Invoke &initialize_per_input
4568 *before* setting $am_file_name and $in_file_name.
4570 2001-03-05 Akim Demaille <akim@epita.fr>
4572 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4573 Globals, initialized...
4574 (&initialize_per_input): here.
4576 2001-03-05 Akim Demaille <akim@epita.fr>
4578 * automake.in ($am_relative_dir): Global.
4579 (&initialize_per_input): Init it.
4580 (%make_list, @make_input_list): My them from
4581 (&scan_autoconf_files): here.
4582 (&require_file_internal): Mying changes.
4584 2001-03-05 Akim Demaille <akim@epita.fr>
4586 * automake.in (%am_vars, @var_list, %def_type): Globals.
4587 (&initialize_per_input): Initialize them.
4588 (&read_main_am_file): Don't local them.
4589 (&get_object_extension): $objext is private.
4590 (&handle_single_transform_list): $lang is.
4591 (&handle_ltlibraries): $libname_rx is.
4592 (&scan_autoconf_config_files): How about actually paying attention
4593 to your arguments, instead of working on $_? (this is no Perl
4594 variable, it's a Perl variable followed by a question mark).
4595 (&file_contents): $contents and $separator are private.
4596 (&am_install_var): Declare @condvals, not $condvals.
4599 2001-03-05 Akim Demaille <akim@epita.fr>
4601 * automake.in (&initialize_per_input): Move to the top.
4602 Precede with the `my' list of its variables.
4604 2001-03-05 Akim Demaille <akim@epita.fr>
4606 * automake.in ($am_file): Use vars.
4607 ($am_file_name, $in_file_name): Private to &generate_makefile.
4609 2001-03-05 Akim Demaille <akim@epita.fr>
4611 * automake.in: Preparation for `use strict': Move the
4612 initialization of the constants to the top, from...
4613 (&initialize_global_constants): here.
4615 2001-03-05 Akim Demaille <akim@epita.fr>
4617 * automake.in (&handle_single_transform_list, &add_depend2): Let
4618 $lang_specific_files{$lang} be a list instead of a string.
4620 2001-03-05 Akim Demaille <akim@epita.fr>
4622 Let's make it run ten times faster...
4624 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4626 (&file_contents): Let `$command' remove the Automake commands, and
4627 normalize the series of `\n'.
4628 Slurp the file and apply $command in a single step.
4629 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4630 is already normalized to be handled by &transform.
4632 2001-03-05 Tom Tromey <tromey@redhat.com>
4634 * automake.in (register_language): Add entry for `-pure'.
4635 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4636 (finish_languages): Use `-pure' field of language map.
4638 2001-03-03 Tom Tromey <tromey@redhat.com>
4640 * tests/yaccvpath.test: No need to remove dummy files.
4641 * tests/subobj3.test: No need to remove dummy files.
4642 * tests/pr9.test: No need to remove dummy files.
4643 * tests/pr87.test: No need to remove dummy files.
4644 * tests/pr19.test: No need to remove dummy files.
4645 * tests/install2.test: No need to remove dummy files.
4646 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4649 2001-02-27 Pavel Roskin <proski@gnu.org>
4651 * tests/yaccvpath.test: Add a delay to make parse.c really out
4652 of date. Detect the problem earlier, after `make distdir'. Drop
4653 dependency on flex. Always use the `-y' flag for bison. Comment
4655 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4657 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4659 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4661 2001-02-28 Akim Demaille <akim@epita.fr>
4663 * automake.in (&add_depend2): Transform `GENERIC'.
4664 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4665 addition was broken by the `@ -> %' patch.
4666 * depend2.am: Adjust to use ?GENERIC?.
4668 2001-02-28 Akim Demaille <akim@epita.fr>
4670 * Makefile.am (maintainer-check): `undef $/' is OK.
4672 2001-02-28 Akim Demaille <akim@epita.fr>
4674 * automake.in (&handle_configure): Fortunately, $top_reldir,
4675 the definition of which was highly suspicious, was unused.
4677 2001-02-27 Akim Demaille <akim@epita.fr>
4679 * automake.in (%exec_dir_p): Move to the top so that it is visible
4682 2001-02-27 Pavel Roskin <proski@gnu.org>
4684 * tests/yaccvpath.test: Prevent automake from looking into ..
4685 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4687 2001-02-27 Akim Demaille <akim@epita.fr>
4689 * automake.in (%exec_dir_p): Pulled out from...
4690 (&am_primary_prefixes): here.
4692 2001-02-27 Akim Demaille <akim@epita.fr>
4694 * automake.in (&usage): Display $0, not $me.
4696 2001-02-27 Akim Demaille <akim@epita.fr>
4698 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4699 * automake.in (&handle_clean): Don't escape what's given to
4702 2001-02-27 Akim Demaille <akim@epita.fr>
4704 Distinguish automake substitutions from config.status
4707 * automake.in (&add_depend2): Transform AMDEP.
4708 (&handle_clean): Transform MCFILES and MFILES.
4709 (&file_contents): Transform MAINTAINER_MODE.
4710 (&transform, &am_install_var): Use `%', not `@'.
4711 Adjust all the *.am files.
4712 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4713 * depend2.am: Display the double dependency on both ?AMDEP? and
4716 2001-02-27 Tom Tromey <tromey@redhat.com>
4718 * distdir.am (distcheck): Fixed new code.
4720 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4721 Only configure once.
4723 * distdir.am (distcheck): Print error message if distclean failed
4726 2001-02-27 Pavel Roskin <proski@gnu.org>
4728 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4730 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4732 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4733 * tests/yaccvpath.test: New file.
4735 2001-02-26 Akim Demaille <akim@epita.fr>
4737 * automake.in (&am_install_var): Recognize whether predefined
4738 directories are `data' or `exec'.
4739 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4741 * tests/instdata2.test: Update.
4743 2001-02-26 Akim Demaille <akim@epita.fr>
4745 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4746 necessarily in infodir.
4748 2001-02-26 Akim Demaille <akim@epita.fr>
4750 * automake.in ($am_file): Be `local', as my'd variables used in
4751 `foreach' loops are always private to the loop.
4753 2001-02-26 Pavel Roskin <proski@gnu.org>
4755 * Makefile.am: Add install.am.
4757 2001-02-26 Akim Demaille <akim@epita.fr>
4759 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4760 routines, otherwise the elements to compare are passed in @_
4761 instead of $a and $b.
4763 2001-02-26 Akim Demaille <akim@epita.fr>
4765 * automake.in (%required_targets): `installcheck-am' is needed.
4767 2001-02-26 Akim Demaille <akim@epita.fr>
4769 * automake.in (&transform_cond): Merge into...
4773 2001-02-26 Akim Demaille <akim@epita.fr>
4775 * automake.in (&handle_dist): Use &transform instead of dedicated
4777 But be sure to always do it.
4778 * distdir.am: Adjust.
4780 2001-02-26 Akim Demaille <akim@epita.fr>
4782 * automake.in: Use File::Basename.
4783 (&dirname, &basename): Remove.
4785 2001-02-26 Akim Demaille <akim@epita.fr>
4787 * automake.in ($me): New.
4789 (&usage): Display your full name.
4791 2001-02-26 Akim Demaille <akim@epita.fr>
4793 * automake.texi (Invoking Automake): Remove dead options.
4795 2001-02-26 Akim Demaille <akim@epita.fr>
4797 * automake.in (&scan_texinfo_file): Also compute the list of files
4799 Handle local errors.
4800 (&handle_texinfo): Use it.
4802 2001-02-26 Akim Demaille <akim@epita.fr>
4804 * automake.in: Don't pass arguments to...
4805 (&parse_arguments): Work on @ARGV.
4807 Add support for `-f'.
4811 2001-02-26 Akim Demaille <akim@epita.fr>
4813 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4814 handle installcheck and installcheck-am.
4815 * install.am: Do it.
4817 2001-02-26 Akim Demaille <akim@epita.fr>
4819 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4820 handle install and install-am.
4821 * install.am: Do it.
4823 2001-02-26 Akim Demaille <akim@epita.fr>
4825 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4826 work on targets handled by %dependencies.
4827 (&handle_factored_dependencies): Do it.
4828 * install.am: Install install-exec, install-data and uninstall's
4831 2001-02-26 Akim Demaille <akim@epita.fr>
4833 * automake.in (&handle_merge_targets): Move `install-strip' from
4835 * install.am: to here.
4837 2001-02-26 Akim Demaille <akim@epita.fr>
4839 * automake.in (@installdirs): Remove.
4840 (&file_contents): Be able to grow Automake macros with `+='.
4841 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4842 files define _am_installdirs.
4843 (&handle_installdirs): Remove the code, just output `install.am'.
4845 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4846 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4848 2001-02-26 Akim Demaille <akim@epita.fr>
4850 * tests/instdata2.test (libexec_DATA): Exercise more
4853 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4855 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4857 2001-02-25 Tom Tromey <tromey@redhat.com>
4859 * tests/instdata2.test: Added `sbin_DATA' check.
4861 * tests/Makefile.am (TESTS): Added subdircond.test.
4862 * tests/subdircond.test: New file.
4863 * automake.in (handle_gettext): Don't fail if SUBDIRS
4864 conditionally defined.
4866 * automake.in: Use IO::File.
4867 (generate_makefile): Use IO::File.
4868 (scan_texinfo_file): Likewise.
4869 (handle_aclocal_m4): Likewise.
4870 (scan_autoconf_traces): Likewise.
4871 (scan_one_autoconf_file): Likewise.
4872 (read_am_file): Likewise.
4873 (file_contents): Likewise.
4876 2001-02-25 Akim Demaille <akim@epita.fr>
4878 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4880 2001-02-25 Akim Demaille <akim@epita.fr>
4882 * automake.in (&transform): Also call &transform_cond on your
4884 (&handle_dist): Adjust.
4885 (&handle_factored_dependencies): Uniq dependencies.
4887 2001-02-25 Akim Demaille <akim@epita.fr>
4889 * automake.in (&handle_gettext): Simplify redundant `if'.
4890 Used &variable_value, don't read %contents directly.
4892 2001-02-25 Akim Demaille <akim@epita.fr>
4894 * automake.in ($install_recursive): Remove, replaced with calls to
4895 `&variable_defined ('SUBDIRS')'.
4896 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4897 (&file_contents): now does.
4899 2001-02-25 Akim Demaille <akim@epita.fr>
4901 * automake.in (&handle_man_pages): $found is dead.
4903 2001-02-25 Akim Demaille <akim@epita.fr>
4905 Internally just store the conditionals as space separated lists of
4906 CONDITIONS (instead of @CONDITIONS@).
4908 * automake.in (&conditional_true_when, &variable_conditions_sub):
4909 Split conditions at spaces.
4910 (&handle_dependencies, &variable_conditions_permutations): Don't
4911 put @ around conditions.
4912 (&variable_conditions_cmp): There are no @ to strip.
4913 (&make_condition): New.
4914 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4916 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4917 Join @conditional_stack with spaces.
4918 (&read_main_am_file): Adjust the output of variables.
4919 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4920 true' and no longer `@TEST@TRUE = @TEST@true'.
4921 (&variable_conditions_cmp): Rename as...
4922 (&by_condition): this.
4923 Sort in a human pleasant order.
4924 Use it everywhere a human can see conditions.
4925 (&variable_conditions_reduce): Don't sort conditions, that's
4927 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4929 2001-02-25 Akim Demaille <akim@epita.fr>
4931 * automake.in: `my' the globals.
4933 2001-02-25 Akim Demaille <akim@epita.fr>
4935 * automake.in (&initialize_per_input): %targets_conditionals is
4937 (&read_am_file): When slurping a rule, set the target related
4938 variable, and no variable related variable.
4939 (&file_contents): Likewise.
4940 * tests/vartar.test, tests/ctarget1.test: New.
4942 2001-02-25 Akim Demaille <akim@epita.fr>
4944 * automake.in (&variable_defined, &variable_value_as_list_worker):
4945 If $VAR is effectively a variable, don't die if it's also a
4947 Plus some formatting changes.
4949 2001-02-25 Akim Demaille <akim@epita.fr>
4951 * automake.in: Mying changes.
4952 * Makefile.am (maintainer-check): Check the stability of the
4953 number of uses of `local'.
4955 2001-02-25 Akim Demaille <akim@epita.fr>
4957 * automake.in: Mying changes.
4959 2001-02-25 Akim Demaille <akim@epita.fr>
4961 * automake.in: Mying changes.
4963 2001-02-25 Akim Demaille <akim@epita.fr>
4965 * automake.in: Mying changes.
4966 (&handle_tags): Fix a bug uncovered by the previous mying changes:
4967 transform CONFIG into $config, not $xform.
4969 2001-02-25 Akim Demaille <akim@epita.fr>
4971 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4972 Don't deal with install-data-am, install-exec-am and unstall-am.
4973 (&initialize_per_input): Add them to %dependencies.
4974 Remove %exec_dir_p since the *.am files are now in charge of it.
4975 Remove @uninstall, @install_data, @install_exec.
4976 (&handle_merge_targets): Adjust to these removals.
4977 (&file_contents): Also &transform_cond for --no-installman and
4979 (&do_one_merge_target): Add some magic to install hooks on
4980 %dependencies' targets.
4981 (%required_targets): New.
4982 (&handle_factored_dependencies): Output required targets.
4983 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4984 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4985 * texinfos.am: Declare your dependencies on install-data-am,
4986 install-exec-am and uninstall-am.
4987 * tests/instdata2.test (incldata_HEADERS): New test.
4989 2001-02-24 Tom Tromey <tromey@redhat.com>
4991 * Makefile.am (amfiles): Added texibuild.am.
4992 * texibuild.am: New file.
4993 * tests/Makefile.am (TESTS): Added texinfo9.test.
4994 * tests/texinfo9.test: New file.
4995 * automake.in (handle_texinfo): Keep track of suffixes used. Give
4996 error if suffix unrecognized. Removed extraneous newline.
4998 2001-02-23 Akim Demaille <akim@epita.fr>
5000 * automake.in (&am_install_var): Don't hook on the clean targets
5002 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
5003 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
5006 2001-02-23 Akim Demaille <akim@epita.fr>
5008 * automake.in: Promote local `my' over `local'.
5010 2001-02-23 Akim Demaille <akim@epita.fr>
5012 * automake.in: Formatting and mying changes.
5014 2001-02-23 Akim Demaille <akim@epita.fr>
5016 * automake.in: Formatting and mying changes.
5018 2001-02-23 Akim Demaille <akim@epita.fr>
5020 * automake.in (&handle_man_pages): Let install-man and
5021 uninstall-man be handled by the dependency tracker.
5022 (&initialize_per_input): Let %dependencies track them.
5023 * mans.am: Add the needed hooks with the proper dependencies.
5025 2001-02-22 Pavel Roskin <proski@gnu.org>
5027 * tests/target-cflags.test: Don't use subshell to configure in
5028 subdirectory. Typo fix - run `./foo', not `/foo'.
5030 2001-02-22 Akim Demaille <akim@epita.fr>
5032 * automake.in: Formatting and mying changes.
5034 2001-02-21 Tom Tromey <tromey@redhat.com>
5036 * automake.in (handle_dist): Introduce new variable to avoid extra
5037 keys in %dist_dirs. Fixes distdir.test.
5039 * automake.in (handle_texinfo): Only remove suffixes we can
5042 * tests/distdir.test: Check to make sure directory isn't made in
5045 * automake.in (handle_dist): Do nothing in Cygnus mode.
5047 2001-02-21 Pavel Roskin <proski@gnu.org>
5049 * header-vars.am: Remove tabs before variable definitions.
5051 2001-02-21 Akim Demaille <akim@epita.fr>
5053 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5056 2001-02-21 Akim Demaille <akim@epita.fr>
5058 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5059 numeric value as required by Perl 5.6.
5061 2001-02-21 Akim Demaille <akim@epita.fr>
5063 * dist-vars.am: Remove, merge into...
5065 * automake.in (dirname, basename, backname): Move to the top of
5066 the file so that prototypes are checked,
5067 Use them without `&'.
5068 (&handle_dist): Adjust.
5070 2001-02-21 Akim Demaille <akim@epita.fr>
5072 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5073 Use a uniform naming scheme.
5074 ("e_cond_val, &unquote_cond_val): Delete, dead code.
5075 (&read_am_file): Fix conditional definition of backslash continued
5078 2001-02-21 Akim Demaille <akim@epita.fr>
5080 Change the handling of conditionals: instead of using an ad-hoc
5081 encoding to store a hash in a string, use hashes.
5083 * automake.in (&conditional_dump): New.
5084 (&check_ambiguous_conditional, &variable_defined)
5085 (&variable_conditions_sub, &variable_value_as_list_worker)
5086 (&define_variable, read_am_file, &read_main_am_file): Be sure to
5087 handle `$conditional{$vars}' as a hash instead of a plain string.
5089 2001-02-21 Akim Demaille <akim@epita.fr>
5091 * automake.in (&conditional_true_when): Modernize, simplify.
5092 Warning: `$comp' is now private (my), while it used to be
5093 `inherited' from a `local' elsewhere in the code. AFAICT it was
5094 wrong, but some dirty side effect might show up.
5095 (&conditionals_true_when): New.
5096 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5098 2001-02-21 Akim Demaille <akim@epita.fr>
5100 * automake.in ($top_builddir): Remove, used in one place.
5101 (&define_standard_variables): Adjust.
5102 Move the definition of triplet variables into...
5103 * header-vars.am: here.
5105 2001-02-21 Akim Demaille <akim@epita.fr>
5107 * automake.in (&initialize_global_constants): Don't define $USAGE.
5108 (&usage): Handle the former content of $USAGE.
5109 Don't pretend autoconf cares about Makefile.in.
5110 Classify the options.
5111 (&handle_tests): Formatting and mying changes.
5113 2001-02-21 Akim Demaille <akim@epita.fr>
5115 * automake.in (&handle_tests_dejagnu): Move the definition of a
5116 default `site.exp' into...
5117 * dejagnu.am (site.exp): here.
5118 Use DOS compliant file names.
5120 2001-02-21 Akim Demaille <akim@epita.fr>
5122 * automake.in (&dist_cmp): New.
5123 (&handle_dist): Use it.
5124 Promote `my' over `local'.
5126 2001-02-21 Akim Demaille <akim@epita.fr>
5128 * dist.am: Remove, merge into...
5129 * distdir.am: here. Use the neat sed snippet for banners.
5130 BTW, distcheck is phony.
5131 * automake.in (&handle_dist_worker): Remove, merge into...
5132 (&handle_dist): this.
5133 (&file_contents): Strip leading new lines.
5134 Be sure to end comments with new lines.
5136 2001-02-21 Akim Demaille <akim@epita.fr>
5138 * distdir.am (GZIP_ENV): Define.
5139 * automake.in (&handle_dist): Don't.
5141 (&handle_dist_worker, &am_install_var): Use it.
5143 2001-02-21 Akim Demaille <akim@epita.fr>
5145 * distdir.am (distdir): Handle the DIST-TARGETS.
5146 * automake.in (&handle_dist_worker): Don't.
5148 2001-02-21 Akim Demaille <akim@epita.fr>
5150 * automake.in (&file_contents): Transform the global options (such
5152 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5154 2001-02-21 Akim Demaille <akim@epita.fr>
5156 * distdir.am (distdir): Be sure to have permissive rights on its
5158 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5160 And BTW, all these guys are phony.
5161 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5162 output distributions.
5163 (&handle_dist): As its name doesn't indicate, don't.
5164 (&initialize_global_constants): Don't define variables which
5165 content is now handled by distdir.am.
5166 But register `dist-all' as a factored target.
5167 (&handle_factored_dependencies): Don't output empty targets.
5169 2001-02-20 Tom Tromey <tromey@redhat.com>
5171 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5174 2001-02-18 Tom Tromey <tromey@redhat.com>
5176 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5177 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5178 (AM_PROG_STRIP): Commented out.
5180 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5182 * depcomp (gcc3): Protect against the compiler deleting
5183 the dependency output file.
5185 2001-02-17 Tom Tromey <tromey@redhat.com>
5187 * automake.in (handle_merge_targets): Use double quotes around
5188 setting of INSTALL_STRIP_PROGRAM.
5189 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5190 to absolute path at runtime.
5191 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5193 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5195 * m4/strip.m4: New file.
5196 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5197 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5198 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5199 * automake.in (handle_merge_targets): In the install-strip rule,
5200 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5201 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5202 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5203 don't use INSTALL_STRIP_FLAG any longer.
5205 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5207 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5210 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5212 * automake.in (unquote_m4_arg): New function.
5213 (scan_one_configure_file): Call unquote_m4_arg on
5214 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5217 2001-02-15 Tom Tromey <tromey@redhat.com>
5219 * config.guess, config.sub: New versions from FSF.
5221 * Makefile.am (WGET): New macro.
5222 (FETCHFILES): New macro.
5223 (fetch): New target.
5225 * tests/subobj3.test: Exit with status 77 if gcc not found.
5226 * tests/pr9.test: Exit with status 77 if gzip not found.
5227 * tests/pr87.test: Exit with status 77 if gcc not found.
5228 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5229 * tests/install2.test: Exit with status 77 if gzip not found.
5230 * tests/exsource.test: Exit with status 77 if GNU make not found.
5231 * tests/ansi3.test: Exit with status 77 if gcc not found.
5233 * tests/target-cflags.test: Require GNU make. Exit with status 77
5234 if gcc or make not found. Fixes PR automake/121.
5236 * configure.in: Require Perl 5.005.
5237 * automake.in: Require 5.005.
5239 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5240 Fixes PR automake/122.
5242 2001-02-14 Tom Tromey <tromey@redhat.com>
5244 * automake.in (add_depend2): Only emit a given object rule once.
5245 Fixes specflags6.test.
5247 2001-02-14 Richard Boulton <richard@tartarus.org>
5249 * tests/specflags6.test: New file.
5251 2001-02-14 Tom Tromey <tromey@redhat.com>
5253 * automake.texi (A Shared Library): Mention -module.
5255 2001-02-13 Tom Tromey <tromey@redhat.com>
5257 * automake.in (do_one_merge_target): Always register $name and
5260 * automake.in (do_one_merge_target): Register `all' as phony
5263 * configure.in: Updated to 1.4e for cvs.
5265 2001-02-12 Tom Tromey <tromey@redhat.com>
5267 * configure.in: Updated to 1.4d and released.
5269 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5270 names through autoconf.
5272 Fix for subdirbuiltsources.test:
5273 * automake.in (initialize_per_input): [all_target] Initialize to
5275 (handle_merge_targets): Use all-redirect target to handle built
5277 (do_one_merge_target): Don't generate all-redirect rule.
5279 2001-02-11 Peter Muir <iyhi@yahoo.com>
5281 * tests/subdirbuiltsources.test: New file.
5282 * tests/Makefile.am (TESTS): Added new file.
5284 2001-02-10 Tom Tromey <tromey@redhat.com>
5286 * tests/condlib.test: New file.
5287 * tests/Makefile.am (TESTS): Added new file.
5289 2001-02-10 Lars J. Aas <larsa@sim.no>
5291 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5292 (&canonicalize): New. Includes '@' in canonical range.
5293 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5294 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5296 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5298 * automake.in (handle_configure): Revert part of
5299 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5300 set CONFIG_COMMANDS explicitly.
5302 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5304 * depcomp (gcc3): Propagate exit code.
5306 2001-02-09 Lars J. Aas <larsa@sim.no>
5308 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5310 2001-02-09 Tom Tromey <tromey@redhat.com>
5312 Clean up maintainer-check warnings:
5313 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5315 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5317 2001-02-09 Akim Demaille <akim@epita.fr>
5319 * automake.in (&file_contents): Remove a dead branch.
5321 2001-02-09 Akim Demaille <akim@epita.fr>
5323 * automake.in (&transform): Use `my', not `local'.
5324 (&transform_cond): New.
5325 (&get_object_extension, &handle_texinfo, &handle_tags)
5326 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5327 (&handle_tests_dejagnu): Use it.
5328 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5329 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5331 2001-02-09 Akim Demaille <akim@epita.fr>
5333 * automake.in: Various formatting changes, and modernization of
5336 (&handle_configure, define_standard_variables): Use it.
5338 2001-02-08 Tom Tromey <tromey@redhat.com>
5340 * automake.in (file_contents): Only add $actions if any are
5341 found. Fixes new failure in pr87.test.
5343 2001-02-08 Pavel Roskin <proski@gnu.org>
5345 * tests/pr87.test: Check foo/Makfile.in after it is created.
5347 2001-02-08 Tom Tromey <tromey@redhat.com>
5349 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5350 Report from Lars J. Aas.
5352 2001-02-07 Lars J. Aas <larsa@sim.no>
5354 * lisp.am (install-@DIR@LISP): Removed extra space.
5355 * header.am (install-@DIR@HEADERS): Removed extra space.
5356 * data.am (install-@DIR@DATA): Removed extra space.
5358 2001-02-07 Tom Tromey <tromey@redhat.com>
5360 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5362 * automake.in (handle_dependencies): Use _am_include, not
5364 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5365 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5367 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5369 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5371 * automake.in (handle_configure): Handle case where output file is
5372 in subdir with no Makefile of its own. Fixes remake3.test,
5375 2001-02-06 Pavel Roskin <proski@gnu.org>
5377 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5379 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5380 * tests/exsource.test: Likewise.
5382 2001-02-06 Derek Price <derek.price@openavenue.com>
5384 * automake.in (handle_configure): Fix syntax error.
5386 2001-02-06 Akim Demaille <akim@epita.fr>
5388 * subdirs.am: This file is the exception: clean recursive targets
5389 are called by the clean targets, not the clean-am targets.
5390 Otherwise we have a circular dependency: clean -> clean-am ->
5391 clean-recursive -> clean.
5392 * automake.in (handle_clean): Bind `-local' targets to `-am'
5393 targets, not top targets.
5394 Don't declare -recursive dependencies of the clean targets:
5395 `subdirs.am' did it. Less hard coded knowledge, transfered
5399 2001-02-06 Akim Demaille <akim@epita.fr>
5401 Monstro unsplitable patch.
5403 The aim is to remove hard coded knowledge about clean targets from
5404 automake.in, leaving them in the *.am files.
5405 In addition to the mechanic needed to factor some dependencies, it
5406 appears some rules (most notably distclean and maintainer-clean)
5407 need factored actions. So first, be ready to catch factored
5410 * automake.in (&file_contents): For the time being, use an extended
5411 $RULE_PATTERN which is able to match any kind of rules, with or
5412 without dependency, with or without actions.
5413 Handle all the rules uniformly, storing in %actions the factored
5415 (&flatten, &target_cmp): New.
5416 (&handle_factored_dependencies): Output the %actions.
5417 No longer special case `clean'.
5418 Output the rules in alphabetical order, but keeping `.PHONY' last.
5420 Now we must not use &push_phony_cleaners, which is doing all sort
5421 of magic to push a bit of everything in all the clean targets.
5422 The biggest problem being that, making a Cartesian product, it
5423 requires many useless targets. The `*.am' file know better.
5424 But first, register the new factored rules.
5426 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5427 maintainer-clean, distclean and their `*-am' counterpart in
5429 Initialize %actions.
5430 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5431 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5432 (handle_emacs_lisp, handle_python): Don't play with
5433 &push_phony_cleaners nor &depend and `clean'.
5434 * texinfos.am, texi-vers.am, tags-clean.am:
5435 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5436 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5437 * clean-kr.am, clean-hdr.am: Do it.
5438 Whenever a target is empty, just remove it, it will no longer be
5441 There is still some magic about clean to hard code. But really,
5442 that's the end of &do_one_clean_target.
5444 * automake.in (&do_one_clean_target): Kaboom out.
5445 (&handle_clean): Rewrite the magic code.
5446 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5448 (&push_phony_cleaners): Kaboom too.
5450 2001-02-06 Akim Demaille <akim@epita.fr>
5452 * automake.in (do_one_clean_target): Don't hard code knowledge
5453 about libtool, and maintainer-clean.
5454 * clean.am, libtool.am: Handle these.
5456 2001-02-05 Akim Demaille <akim@epita.fr>
5458 * automake.in (handle_texinfo): No longer hard code the clean
5460 (texinfos.am): Include them.
5462 2001-02-05 Akim Demaille <akim@epita.fr>
5464 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5465 (maintainer-check): Don't be silent when you find a problem, and
5466 actually, even specify the locations.
5467 Also check that @_ is assigned to arrays.
5469 2001-02-05 Akim Demaille <akim@epita.fr>
5471 * m4/regex.m4: Use AC_LIBSOURCES.
5472 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5475 2001-02-04 Tom Tromey <tromey@redhat.com>
5477 * m4/Makefile.am (m4data_DATA): Added make.m4.
5478 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5480 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5481 Copy depcomp to subdir.
5482 * m4/make.m4: New file.
5484 2001-02-04 Pavel Roskin <proski@gnu.org>
5486 * automake.in (handle_dist_worker): Remove a line that is now
5489 2001-02-04 Kevin Ryde <user42@zip.com.au>
5491 * automake.in (handle_configure): Call config.status with empty
5492 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5494 2001-02-04 Tom Tromey <tromey@redhat.com>
5496 * depcomp (ddashmd): Removed case.
5497 (sgi): Handle failure exit correctly
5498 (aix): Likewise. Also, add dummy `.h' targets.
5500 2001-02-04 Akim Demaille <akim@epita.fr>
5502 * distdir.am (distdir): New file, extracted from...
5503 * automake.in (handle_dist_worker): here.
5506 2001-02-04 Akim Demaille <akim@epita.fr>
5508 * automake.in (@clean): Remove, replaced by...
5509 ($dependencies{'clean'}): this.
5510 Use `&depend' instead of push'ing into @clean.
5511 (handle_factored_dependencies): For the time being, skip 'clean'.
5512 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5513 always `clean', and `@clean'.
5515 2001-02-04 Akim Demaille <akim@epita.fr>
5517 * automake.in (%dependencies): Don't be initialize globally for
5518 all the files, but in...
5519 (&initialize_per_input): here.
5521 (@phony): Replace all occurrences with the corresponding &depend
5524 2001-02-03 Tom Tromey <tromey@redhat.com>
5526 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5527 * header-vars.am (INSTALL_HEADER): New macro.
5529 * automake.texi (Rebuilding): New node.
5533 Copyright 2001 Free Software Foundation, Inc.
5535 This file is part of GNU Automake.
5537 GNU Automake is free software; you can redistribute it and/or modify
5538 it under the terms of the GNU General Public License as published by
5539 the Free Software Foundation; either version 2, or (at your option)
5542 GNU Automake is distributed in the hope that it will be useful,
5543 but WITHOUT ANY WARRANTY; without even the implied warranty of
5544 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5545 GNU General Public License for more details.
5547 You should have received a copy of the GNU General Public License
5548 along with autoconf; see the file COPYING. If not, write to
5549 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5550 Boston, MA 02111-1307, USA.