1 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
4 test suite. Suggest `sleep 2' instead.
5 * tests/confsub.test: Use `sleep 2'.
7 2002-04-04 Paul Eggert <eggert@twinsun.com>
10 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
11 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
12 MAKEFLAGS contains '$(...)'.
14 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
16 * tests/specflags8.test: Typo.
18 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
20 * tests/specflags6.test: Run aclocal.
21 * tests/Makefile.am (TESTS): Add specflags6.test.
23 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
25 * tests/specflags7.test, tests/specflags8.test: New files.
26 * tests/Makefile.am (TESTS): Add them.
27 (XFAIL_TESTS): Add specflags8.test.
29 2002-03-29 Tom Tromey <tromey@redhat.com>
31 * automake.in (check_typos): Examine AM_LDFLAGS.
32 Fixes PR automake/311.
35 * lib/am/libtool.am (clean-libtool): Use LTRMS.
36 * automake.in (handle_single_transform_list): When processing a
37 libtool object, clean the ordinary object and register the
39 (libtool_clean_directories): New global.
40 (initialize_per_input): Initialize it.
41 (generate_makefile): Call handle_libtool later.
42 (handle_libtool): Handle libtool_clean_directories.
43 * tests/subobj9.test: New file.
44 * tests/Makefile.am (TESTS): Added subobj9.test.
46 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
48 * tests/extra6.test, tests/subdir5.test: Require GNU make.
50 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
52 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
54 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
56 * tests/extra7.test: New file.
57 * tests/Makefile.am: Add it.
58 * lib/am/distdir.an (distdir): When a distribuable directory
59 exists both in `.' and $(srcdir), merge both directories. This
60 works around a failure of extra6.test on Tru64 reported by
63 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
65 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
67 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
69 * Makefile.am (maintainer-check): Catch occurrences of
70 `$MAKE foo=bar' in the testsuite. Suggest using
71 `foo=bar $MAKE -e' instead.
72 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
73 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
74 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
75 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
77 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
79 Fix for PR automake/310:
80 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
81 so it never appears as a plain word.
83 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
85 * lib/depcomp (tru64): Correctly compute `base'.
87 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
89 * tests/pr211.test: s/requires/required/, otherwise the test fails
90 if libtool is not installed.
92 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
94 * tests/dirname.test: Don't use $SHELL when calling ./configure.
96 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
98 * tests/dirname.test: Use --quiet to fix failure on installations
100 Reported by Nicolas Joly.
102 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
104 * Makefile.am (maintainer-check): Check for misuses of make,
105 autoconf, automake, aclocal, and perl in the testsuite. Suggest
106 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
107 * tests/confsub.test: Use $AUTOCONF and $MAKE.
108 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
109 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
110 tests/pr224.test, tests/pr287.test, tests/strip.test,
111 tests/yacc8.test: Use $MAKE.
113 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
115 Add support for two-dot versions.
117 * tests/version5.test: New file.
118 * tests/Makefile.am (TESTS): Add it.
119 * automake.in (version_split, version_compare): New functions.
120 (version_check): Rewrite using version_split and version_compare.
121 (process_option_list): Adjust regex.
123 2002-03-18 Richard Boulton <richard@tartarus.org>
125 Fix for PR automake/306:
126 * automake.texi (Generalities): Document +=.
127 (Conditionals): Document limitations of += with conditionals.
129 2002-03-17 Tom Tromey <tromey@redhat.com>
131 Fix for PR automake/295:
132 * automake.texi (Invoking Automake): Deprecate --output-dir.
133 * automake.in (usage): Don't document --output-dir.
134 (output_directory): Don't initialize.
135 (parse_arguments): Deprecate --output-dir.
137 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
138 Fixes PR automake/304.
140 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
142 * tests/dirforbid.test: Workaround for NetBSD sh bug.
143 Fixes PR automake/305.
145 2002-03-11 Richard Boulton <richard@tartarus.org>
147 * automake.in (check_typos): Allow variables with reserved
148 suffices (such as _LDFLAGS) and prefixes which aren't
149 recognised if the variable is defined in configure.ac.
152 2002-03-11 Richard Boulton <richard@tartarus.org>
154 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
155 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
156 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
158 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
160 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
163 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
165 Fix for PR automake/303:
166 * automake.in (version_check): Move the error message ...
167 (process_option_list): ... here, so we can distinguish between
168 global and local options.
170 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
172 * tests/pr300-lib.test, tests/pr300-ltlib.test,
173 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
174 Autoconf doesn't complain about Makefile being output twice.
176 2002-03-06 Tom Tromey <tromey@redhat.com>
178 * configure.in: Upped version to 1.6a.
180 2002-03-05 Tom Tromey <tromey@redhat.com>
182 * configure.in: Released 1.6.
184 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
186 Fix for PR automake/300:
187 * tests/pr300-lib.test, tests/pr300-ltlib.test,
188 tests/pr300-prog.test: New files.
189 * tests/Makefile.am (TESTS): Add them.
190 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
191 compute the directory.
192 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
193 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
194 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
195 (uninstall-%DIR%LIBRARIES): Honor nobase_.
196 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
197 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
198 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
199 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
200 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
201 (uninstall-%DIR%PROGRAMS): Honor nobase_.
202 See also the fix for nobase.test on 2001-11-09.
204 2002-03-05 Tom Tromey <tromey@redhat.com>
206 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
208 2002-03-05 Pavel Roskin <proski@gnu.org>
210 * tests/yacc8.test: Add a command between "test" and "cd" to
211 work around a bug in bash-2.05.
213 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
215 Fix for PR automake/294:
216 * tests/dirforbid.test: New file.
217 * tests/Makefile.am (TESTS): Add it.
218 * automake.in (standard_prefix): New hash.
219 (am_primary_prefixes): Forbid standard_prefixes which are not
221 * automake.texi (Uniform): Remove FIXME.
223 2002-03-05 Jim Meyering <meyering@lucent.com>
225 * automake.in (@common_files): Add config.rpath.
227 2002-03-05 Kevin Ryde <user42@zip.com.au>
230 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
231 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
234 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
236 * automake.in (scan_one_autoconf_file): Declare
237 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
238 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
239 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
240 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
241 of s/// in the sed invocation, to support filenames containing
243 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
244 * tests/lex5.test, tests/yacc8.test: New files.
245 * tests/Makefile.am (TESTS): Add them.
247 2002-02-23 Per Bothner <per@bothner.com>
249 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
252 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
254 * tests/make.test: Revert the grep logic to work around a bug
255 in NetBSD sh (see NetBSD Problem Report #11542).
256 Reported by Patrick Welche.
258 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
260 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
261 to try and prevent a non-lisp emacs from starting in interactive
263 * automake.texi: Document this change.
265 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
267 * automake.texi (Macros): Split into ...
268 (Public Macros, Private Macros): ... these.
270 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
272 * tests/insthook.test: Use sed instead of "tail +X".
274 2002-02-18 Paul Eggert <eggert@twinsun.com>
276 * lib/depcomp: Don't use "tail +3"; it's not portable to
277 POSIX 1003.1-2001 hosts.
279 2002-02-18 Jim Meyering <meyering@lucent.com>
281 * tests/cond12.test: Use sed 1q, not `head -n 1'.
282 The latter is not portable to some old systems.
283 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
284 Use `sed 1q' instead.
285 * tests/insthook.test: Likewise.
287 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
289 * automake.in (handle_lib_objects_cond): Tell the user to put
290 global linker flags in AM_LDFLAGS, not LDFLAGS.
292 * automake.texi (General Operation): AC_SUBST'ed variables
293 override Automake's variables.
294 (Uniform): More words and @refs.
295 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
296 (etags): More explanations about the first example.
297 (Invoking Automake): Mention autoreconf. More @refs.
298 (Requirements): Mention AC_CONFIG_FILES.
299 (Optional): AC_CHECK_TOOL will no longer install config.sub and
300 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
301 (Invoking aclocal): aclocal no longer warn about duplicates.
302 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
303 (Extending aclocal): Suggest using the output of
304 `aclocal --print-ac-dir` to install third-party macros.
305 (Alternative): Specify ordering of dist_, nodist_, and nobase_
307 (A Program): Mention scripts. The global LDADD variable is not
308 meant to hold link flags, suggest using AM_LDFLAGS instead.
309 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
310 _LIBADD and _LDADD are subject to the same restriction wrt to
312 (Program and Library Variables) <maude_DEPENDECIES>: Is also
313 derived from maude_LIBADD.
314 (Program variables): Define AM_LDFLAGS.
315 (Dependencies): Passing the no-dependencies option to
316 AM_INIT_AUTOMAKE is prefered.
317 (Scripts): Explain why automake is magically cleaned.
318 Mention noinst_SCRIPTS and check_SCRIPTS.
319 (Data): Use dist_ in Automake's example.
320 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
321 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
323 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
325 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
326 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
327 of asking the maintainer to do it manually.
328 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
329 Automake/XFile.pm: New upstream versions.
331 2002-02-02 Tom Tromey <tromey@redhat.com>
333 * automake.texi (Macros): Warn about upgrading.
335 2002-02-01 Tom Tromey <tromey@redhat.com>
337 Change per GNU coding standards:
338 * aclocal.in (parse_arguments): Only mention most recent year in
340 * automake.in (version): Only mention most recent year.
342 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
344 * automake.texi (API versioning): New Node.
345 (Extending): Use $(DESTDIR) in examples.
347 2002-01-28 Akim Demaille <akim@epita.fr>
349 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
350 Respect the --help layout.
352 2002-01-27 Tom Tromey <tromey@redhat.com>
354 * configure.in: Bumped to 1.5e.
356 * lib/am/yacc.am: Use `rm -f'.
358 * configure.in: Released 1.5d.
360 * lib/config.guess: New version from FSF.
362 * Makefile.am (uninstall-hook): New target.
364 2002-01-24 Akim Demaille <akim@epita.fr>
366 * lib/install-sh: Update, from Autoconf.
368 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
370 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
371 as AC_CANONICAL_HOST (the former does not require the latter since
373 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
374 * automake.texi (Requirements): Do not require STRIP to be
377 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
379 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
380 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
381 * tests/pr224.test: Make sure .deps subdirectories are
384 2002-01-22 Tom Tromey <tromey@redhat.com>
386 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
387 no-dependencies option is set.
388 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
389 no-dependencies option is set. Don't call AM_DEP_TRACK or
392 2002-01-22 Pavel Roskin <proski@gnu.org>
394 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
397 2002-01-22 Akim Demaille <akim@epita.fr>
399 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
402 2002-01-21 Tom Tromey <tromey@redhat.com>
404 * Makefile.am (fetch): Don't fetch ansi2knr.
406 * automake.texi (Macros): Updated for new variable names.
407 (Program and Library Variables): Likewise.
408 (Assembly Support): Likewise.
409 * m4/as.m4: Use CCAS and CCASFLAGS.
410 * automake.in (asm): Use CCAS and CCASFLAGS.
412 2002-01-21 Akim Demaille <akim@epita.fr>
414 * automake.in (&parse_arguments): Use a more GNUish error message
417 2002-01-20 Tom Tromey <tromey@redhat.com>
419 Fix for PR automake/231:
420 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
421 * m4/depend.m4: Document `GCJ'.
424 * tests/Makefile.am (TESTS): Added pr224.test.
425 * tests/pr224.test: New file.
426 * lib/depcomp: Fixed computation of depfile.
427 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
428 * automake.in (handle_single_transform_list): Only reject `..'
429 component for Java. Put dependencies in directory near object.
430 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
432 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
434 * tests/defs: Export AUTOMAKE and ACLOCAL.
436 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
438 Fix for PR automake/204:
439 * tests/pr204.test: New file.
440 * tests/Makefile.am (TESTS): Add it.
441 * automake.in (handle_single_transform_list): Don't distribute
442 sources derived from non-distributed sources.
444 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
446 Fix for PR automake/229:
447 * tests/pr229.test: New file.
448 * tests/Makefile.am (TESTS): Add it.
449 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
450 AC_EMXOS2, and AC_MINGW32.
452 2002-01-18 Tom Tromey <tromey@redhat.com>
454 * tests/cond7.test: Fix test bug exposed by copyright update.
457 * automake.in (lang_c_rewrite): Don't prepend directory to base if
458 directory is `.'. Also, properly compute de_ansi_files entry in
460 * tests/Makefile.am (TESTS): Added ansi7.test.
461 * tests/ansi7.test: New file.
463 * aclocal.in (parse_arguments): Added 2002.
464 (write_aclocal): Likewise.
465 (parse_arguments): Updated my email address.
466 * automake.in (gen_copyright): Added 2002.
467 (version): Likewise. Also, changed my email address.
469 * configure.in (APIVERSION): Refined definition.
471 2002-01-18 Tom Tromey <tromey@redhat.com>
474 * lib/missing: Accept versioned aclocal.
475 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
477 2002-01-17 Pavel Roskin <proski@gnu.org>
479 * m4/Makefile.am (m4datadir): Use APIVERSION.
481 2002-01-16 Tom Tromey <tromey@redhat.com>
483 * Makefile.am (install-exec-hook): Use APIVERSION.
484 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
485 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
487 * automake.in (perllibdir): Use APIVERSION.
489 * aclocal.in (perllibdir): Use APIVERSION.
490 (APIVERSION): New global.
491 (parse_arguments): Use APIVERSION.
492 * configure.in (APIVERSION): New subst.
493 (pkgvdatadir): Use APIVERSION.
495 2002-01-15 Tom Tromey <tromey@redhat.com>
498 * lib/missing: Match against `automake*' to pick up versioned
500 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
501 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
503 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
504 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
506 (scriptdir): Use pkgvdatadir.
507 (installcheck-local): Likewise.
508 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
509 * automake.in (perllibdir): Added VERSION.
511 * aclocal.in (parse_arguments): Search versioned directory. Don't
512 push unversioned directory unless it exists.
513 (perllibdir): Added VERSION.
514 (default_acdir): New global.
515 * m4/Makefile.am (m4datadir): Added $(VERSION).
516 * Makefile.am (install-exec-hook): New target.
517 * configure.in (ACLOCAL): Search build directory.
518 (pkgvdatadir): New subst.
520 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
522 * lib/config.sub, lib/config.guess: New versions from FSF.
524 2002-01-13 Tom Tromey <tromey@redhat.com>
527 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
529 (lang_c_finish): Likewise. Also, use directory information from
532 2002-01-13 Kevin Ryde <user42@zip.com.au>
535 * tests/Makefile.am (TESTS): Added ansi6.test.
536 * tests/ansi6.test: New file.
538 2002-01-13 Tom Tromey <tromey@redhat.com>
541 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
543 * tests/Makefile.am (TESTS): Added pr287.test.
544 * tests/pr287.test: New file.
546 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
548 * lib/am/distdir.am (distdir): Handle subdirectories.
549 * tests/extra6.test: New file.
550 * tests/Makefile.am (TESTS): Add it.
552 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
554 * tests/extra2.test: Run $ACLOCAL.
556 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
558 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
559 AM_INIT_AUTOMAKE arguments when using the old-style call.
560 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
561 Suggested by Pavel Roskin.
563 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
565 * test/nodefine.test, test/nodefine2.test: Check that no-define
566 works, not the contrary...
567 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
568 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
571 2002-01-12 Jim Meyering <meyering@lucent.com>
573 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
574 * tests/libobj11.test: New file.
575 * tests/Makefile.am (TESTS): Add libobj11.test.
577 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
579 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
581 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
583 * automake.in (file_contents_internal): Introduce two variables,
584 $is_rule and $discard_rules to track rules spanning across multiple
585 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
586 where only the first paragraph of such a multi-paragraph rule was
587 discarded; but it leaves many similar latent bugs (see the FIXMEs).
589 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
592 * tests/error.test: Use some macro names which are not defined by
595 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
597 * automake.texi (Complete, Macros, Options): Document the new style
598 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
599 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
600 AC_INIT if they are available there. Support a new call form
601 where the only argument is an optional space-separated list of
603 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
604 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
605 _AM_IF_OPTION): New functions.
606 * automake.in (AC_INIT_PATTERN): New variable.
607 (global_options_line): Remove, use $seen_init_automake instead.
608 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
609 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
610 Remove the AM_AUTOMAKE_OPTIONS handling.
611 * configure.in: Modernize.
612 * tests/defs (configure.in): Modernize. One third of the tests
613 still overwrite the default configure.in and use an old
614 AM_INIT_AUTOMAKE call, so that makes testing for both.
615 * tests/nodefine.test, tests/nodefine2.test: New files.
616 * tests/Makefile.am (TESTS): Add them.
618 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
620 * automake.in (define_configure_variable): Propagate line numbers.
622 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
624 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
626 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
628 * configure.in: Run the Autoconf test in a subdirectory, then
629 erase this directory.
631 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
633 * configure.in (AUTOMAKE): Create m4/amversion.m4.
634 * m4/amversion.in: New file.
635 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
636 (dist_m4data_DATA): ... this.
637 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
638 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
639 AM_SET_CURRENT_AUTOMAKE_VERSION.
640 * automake.in (seen_automake_version): New variable.
641 (scan_autoconf_traces, scan_one_autoconf_file,
642 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
643 when the version used in aclocal.m4 differs from Automake's.
644 * tests/defs (ACLOCAL): Look in ../m4 too.
645 * tests/installsh.test (ACLOCAL): Likewise.
646 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
648 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
650 * automake.in (handle_languages): Emit an automake
651 internal variable 'am__depfiles_maybe'.
652 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
654 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
657 2002-01-06 Tom Tromey <tromey@redhat.com>
659 * automake.texi (Tags): Document new variables.
660 * lib/am/tags.am (ETAGS): New macro.
661 (ETAGSFLAGS): Likewise.
664 2002-01-04 Tom Tromey <tromey@redhat.com>
666 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
668 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
670 * automake.in (read_am_file): Thinko in "comment following
671 trailing backslash" detection.
672 * tests/comment5.test: Test for this too.
674 2002-01-02 Tom Tromey <tromey@redhat.com>
676 * automake.texi (Extending): Added index for uninstall-hook.
678 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
680 Fix for PR automake/278:
681 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
682 with versions such as '2.2c1'. Also, use `int' instead of the
683 obsoleted `string.atoi'.
684 Reported by Enrico Scholz.
686 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
688 Fix for PR automake/280:
689 * automake.in (read_am_file): Warn about trailing backslashes
691 * tests/comment5.test: New file.
692 * tests/Makefile.am (TESTS): Add comment5.test.
693 Reported by Enrico Scholz.
695 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
697 * tests/comment4.test: New file.
698 * tests/Makefile.am (TESTS): Add comment4.test.
700 Fix for comment4.test:
701 * automake.in (read_am_file): Output leading comments only when
702 encountering white lines.
704 2002-01-01 Tom Tromey <tromey@redhat.com>
707 * tests/Makefile.am (TESTS): Added strip.test.
708 * tests/strip.test: New file.
710 * automake.texi (Extending): Mention uninstall-hook.
712 * automake.in (handle_factored_dependencies): Allow
715 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
717 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
718 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
719 This fixes a bug introduced on 2001-01-28.
720 Reported by Jared Davis.
722 2001-12-31 Tom Tromey <tromey@redhat.com>
724 * automake.texi (Extending): Document installcheck-local. Added
725 installdirs-local index entry.
726 (Tests): Document installcheck-local.
728 * automake.in (handle_single_transform_list): Indentation fix.
730 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
732 * automake.in (common_files): Add COPYING.DOC.
733 Suggested by Karl Berry.
735 2001-12-30 Tom Tromey <tromey@redhat.com>
737 * automake.in (define_configure_variable): Define a user macro,
738 not an automake macro.
739 * tests/Makefile.am (TESTS): Added ar.test.
740 * tests/ar.test: New file.
743 * automake.in (object_compilation_map): New global.
744 (initialize_per_input): Initialize it.
745 (COMPILE_LIBTOOL): New constant.
746 (COMPILE_ORDINARY): Likewise.
747 * tests/Makefile.am (TESTS): Added pr211.test.
748 * tests/pr211.test: New file.
751 * configure.in: Use AM_AUTOMAKE_OPTIONS.
752 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
753 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
754 (Options): Mention AM_AUTOMAKE_OPTIONS.
755 * automake.in (global_options): New global.
756 (global_options_line): Likewise.
757 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
758 (scan_one_autoconf_file): Likewise.
759 (process_option_list): New function.
760 (handle_options): Use it. Also, handle global options.
761 * m4/Makefile.am (m4data_DATA): Added options.m4.
762 * m4/options.m4: New file.
764 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
766 (?!SUBDIRS?installdirs): Likewise.
767 * automake.in (handle_installdirs): Handle installdirs-local.
768 * automake.texi (Extending): Mention installdirs.
769 * tests/Makefile.am (TESTS): Added installdir.test.
770 * tests/installdir.test: New file.
772 2001-12-30 Akim Demaille <akim@epita.fr>
774 * lib/am/yacc.am: Also rename the possible y.output file.
775 Remove the trailing y.tab.h.
777 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
779 * automake.texi (Install): Remove mention of nonexistent
782 2001-12-30 Alan Modra <amodra@bigpond.net.au>
784 * automake.in (generate_makefile): Unlink output file before
785 opening so that any hard links are not changed.
787 2001-12-30 Tom Tromey <tromey@redhat.com>
789 * tests/pr220.test: Use `required' to pick up gcc.
792 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
794 * tests/Makefile.am (TESTS): Added pr243.test.
795 * tests/pr243.test: New file.
798 * tests/Makefile.am (TESTS): Added pr220.test.
799 * tests/pr220.test: New file.
800 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
801 fail if conditional was never run.
804 * lib/depcomp (tru64): Correctly handle libtool case.
805 From doreille@smr.ch.
807 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
809 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
810 Reported by Yann Droneaud.
812 2001-12-29 Tom Tromey <tromey@redhat.com>
815 * tests/Makefile.am (TESTS): Added pr266.test.
816 * tests/pr266.test: New file.
817 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
818 non-standard name for makefile.
821 * automake.in (conditional_ambiguous_p): New sub.
822 (handle_lib_objects_cond): Use it.
823 (check_ambiguous_conditional): Use it.
824 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
825 * tests/pr279.test: New file.
826 * tests/pr279-2.test: New file.
828 2001-12-26 Tom Tromey <tromey@redhat.com>
831 * tests/Makefile.am (TESTS): Added nodist2.test.
832 * tests/nodist2.test: New file
834 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
836 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
838 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
840 * configure.in: Test for Autoconf >= 2.52.
841 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
842 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
843 tests/cond4.test, tests/cond9.test, tests/cond16.test,
844 tests/cond18.test, tests/cond19.test, tests/cond20.test,
845 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
846 tests/depend2.test, tests/dirname.test, tests/distname.test,
847 tests/extra5.test, tests/install2.test, tests/lex3.test,
848 tests/make.test, tests/nobase.test, tests/pr9.test,
849 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
850 tests/subdirbuiltsources.test, tests/subobj3.test,
851 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
852 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
853 tests/yaccvpath.test: Do not use $needs_autoconf.
855 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
857 * configure.in: Bump version to 1.5c.
859 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
861 * configure.in: Bump version to 1.5b.
863 * lib/config.sub, lib/config.guess: New versions from FSF.
865 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
867 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
869 * automake.in (check_gnu_standards, check_gnits_standards): Pass
870 "$am_file.am" as WHERE argument to require_file.
872 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
874 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
875 in loop until we find one the satisfies the user supplied version.
876 Add python2 to the list of known interpreters. Don't use
877 changequote. Cache the calculation of PYTHON_VERSION and
879 (AM_PYTHON_CHECK_VERSION): New function, extracted from
880 AM_PATH_PYTHON and modernized.
881 * m4/runlog.m4: New file.
882 * m4/Makefile.am (m4data_DATA): Add it.
884 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
886 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
887 tests/nobase.test, tests/stamph2.test,
888 tests/subdirbuiltsources.test: Require Autoconf.
890 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
892 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
893 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
894 Suggested by Merijn de Jonge.
896 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
898 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
899 like other ID dependencies.
900 Suggested by Christian Cornelssen.
902 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
904 * automake.in (handle_dist): Distribute common files which
905 do not exist but are target of a Makefile rule.
906 * automake.texi (Dist): Update.
907 * test/builtcommon3.test: New file.
908 * test/Makefile.am (TESTS): Add distcommon3.test.
910 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
912 * automake.in (macro_define): Fix misuse of chomp introduced on
915 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
917 * automake.in (append_comments): New. Extracted from
918 read_am_file. Match '\n' with a regexp, don't use substr (the
919 perlport man page says '\n' is not always one byte wide).
920 (read_am_file): Use it. Always chomp $_.
921 (file_contents_internal): Use append_comments.
922 (macro_define): Don't treat the trailing '\n' with substr, use
925 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
927 * tests/defs: Turn on shell traces when VERBOSE=x.
929 2001-11-26 Tom Tromey <tromey@redhat.com>
931 * automake.texi (Assembly Support): Mention .s and .S as only
934 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
936 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
939 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
941 * tests/lex3.test: Require GNU Make.
943 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
945 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
948 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
950 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
951 in $(srcdir), like other TAGS dependencies.
952 Suggested by Christian Cornelssen.
954 2001-11-26 Akim Demaille <akim@epita.fr>
956 * automake.in (¯o_define): Use $where when reporting an error,
957 not the place where the macro was first defined since (i) if this
958 is the first definition, then obviously it was not defined before,
959 and (ii) anyway, the error is with the new definition, not the
962 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
964 * lib/am/distdir.am (distcheck): Call distcleancheck.
965 (distcleancheck_listfiles, distcleancheck): New, extracted from
967 * automake.texi (Checking the distribution): Document
968 distcleancheck_listfiles and distcleancheck.
970 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
972 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
973 foreach invocation, otherwise Perl5.005_03 complains about a
974 syntax error. Reported by Yann Droneaud.
976 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
978 * automake.in (scan_texinfo_file): Suppress FIXME about strange
981 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
983 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
984 gettext.m4 if required.
986 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
988 * automake.in (define_objects_from_sources,
989 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
990 the equivalant substitution.
992 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
994 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
995 set of accepted characters in extensions.
996 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
998 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
1000 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1002 * automake.texi (Suffixes): Don't require SUFFIXES, but document
1003 its use for the "extreme" cases.
1005 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1007 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
1008 to match suffix rules for known extensions, or call
1009 accept_extensions on suffixe rules for unknown extensions.
1010 (var_SUFFIXES_trigger): New function.
1011 (macro_define): Call var_VAR_trigger when $VAR is updated.
1012 * tests/suffix6.test, tests/suffix7.test: New files.
1013 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
1015 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1017 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
1019 (handle_single_transform_list, lang_yacc_target_hook): Use
1020 KNOWN_EXTENSIONS_PATTERN.
1021 (accept_extension): New function.
1022 (register_language): Call it.
1024 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1026 At every place where an "$extension" is used, include the leading
1027 dot in the extension, don't hardcode it when building the filename.
1028 That will make any support for a dot-less extension easier to add.
1030 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
1032 ("main"): Prepend a '.' to the supported extensions of all
1033 languages (e.g. 'c' becomes '.c').
1034 (handle_languages, handle_single_transform_list,
1035 handle_lib_objects_cond, handle_headers, derive_suffix,
1036 rule_define): Do not add a dot
1037 before extensions, and include dots in matching groups.
1038 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
1039 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
1040 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
1041 (%EXT%%DERIVED-EXT%): ... this.
1042 * lib/am/yacc.am: Likewise.
1044 2001-11-12 Akim Demaille <akim@epita.fr>
1046 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
1047 Use `"#"' and `"\""', which
1048 Autoconf mode prefers over `'#'' and `'"''.
1049 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
1050 Rely on AC_MSG 2.50's quotation.
1052 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1054 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
1056 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1058 * lib/am/distdir.am (distdir): Also look for directory in build
1059 directory first. (See 2001-05-14.)
1060 * tests/Makefile.am (TESTS): Add extra5.test.
1061 * tests/extra5.test: New file.
1064 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1066 Fix for distcommon2.test:
1067 * automake.in (automake_needs_to_reprocess_all_files): New
1069 ("main"): Process all Makefiles a second time if
1070 $automake_needs_to_reprocess_all_files is set.
1071 (maybe_push_required_file): Return 1 or 0 whether the file is
1073 (require_file_internal): Set $automake_needs_to_reprocess_all_files
1074 if an added file can't be pushed.
1076 * test/distcommon2.test: New file.
1077 * test/Makefile.am (TESTS): Add distcommon2.test.
1080 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1082 * automake.in (exec_dir_p): Remove. Replace by...
1083 (EXEC_DIR_PATTERN):... this.
1084 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
1086 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1088 Fix for nobase.test:
1089 * lib/am/header-vars.am (install_sh_DATA): New.
1090 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
1091 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
1092 of $(INSTALL_DATA) for nobase_ targets.
1093 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
1094 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
1095 * tests/nobase.test (configure.in): Append AC_OUTPUT.
1096 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
1098 2001-11-08 Akim Demaille <akim@epita.fr>
1100 * automake.texi: Remove references to stamp-h.in, which no longer
1102 * tests/stamph2.test: Formatting change.
1104 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1106 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
1107 Don't use -Wno-error.
1109 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1111 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
1112 * tests/suffix5.test ($AUTOMAKE): Likewise.
1114 2001-11-07 Akim Demaille <akim@epita.fr>
1116 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
1118 Reported by Jim Meyering.
1120 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1122 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
1124 2001-11-05 Paul Eggert <eggert@twinsun.com>
1126 * lib/am/distdir.am (am__remove_distdir):
1127 New macro. Do not change permission of non-directories.
1128 Change only user permission, as there's no point to changing group
1129 or other permission.
1130 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
1133 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1135 * lib/am/python.am: Cleanup the cleaning section.
1136 * automake.texi (Python): Remove documentation for PYCFILES
1137 and PYOFILES. Update the first paragraphes.
1139 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1141 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1142 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1143 Adjust usage everywhere.
1145 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1147 * automake.in (libtool_files, libtool_sometimes, common_files,
1148 common_sometimes, config_aux_path): Use qw to simplify definition.
1149 (scan_texinfo_file) <clean_suffixes, predefined_index,
1150 hidden_index>: Likewise.
1151 (scan_autoconf_traces) <traced>: Likewise.
1152 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1155 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1157 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1158 derive_suffix. Don't use an hardcoded 'o' for object extensions.
1159 (derive_suffix): Accept $OBJ as a second argument, don't
1161 * tests/suffix5.test: New test.
1162 * tests/Makefile.am (TESTS): Add suffix5.test.
1163 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1165 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1167 * automake.in (handle_single_transform_list): Don't call
1168 $lang->target_hook for undefinied langages.
1169 * tests/suffix4.test: New test.
1170 * tests/Makefile.am (TESTS): Add suffix4.test.
1171 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1173 2001-11-05 Akim Demaille <akim@epita.fr>
1175 * automake.in (@common_sometimes, &handle_configure): No longer
1177 * lib/am/remake-hdr.am: Adjust.
1178 * tests/confh.test: There is no stamp.hin.
1180 2001-11-01 Akim Demaille <akim@epita.fr>
1182 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1183 `#line' and multiple inclusion guards.
1184 * lib/ylwrap: Remove debugging code.
1185 (input_dir, input_rx): Move where used.
1186 Use the output file name in `#line'.
1188 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1190 * automake.in (transform): Update documentation.
1192 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1194 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1195 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1197 2001-10-30 Akim Demaille <akim@epita.fr>
1199 * automake.in (&create): Reinstall.
1201 2001-10-30 Akim Demaille <akim@epita.fr>
1203 * automake.in (&append_exeext): Use macro_delete.
1205 2001-10-30 Akim Demaille <akim@epita.fr>
1207 * automake.in ($verbose): Remove, inherited from
1209 (&variable_delete): Rename as...
1210 (¯o_delete): this, for consistency.
1211 (&variable_assert): New.
1212 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1215 2001-10-29 Akim Demaille <akim@epita.fr>
1217 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1218 cluttering configure's stdout.
1220 2001-10-28 Akim Demaille <akim@epita.fr>
1222 * automake.in: Various formatting changes.
1223 (create): Remove, unused.
1225 2001-10-28 Akim Demaille <akim@epita.fr>
1227 * automake.in (&append_exeext): New.
1228 (&am_primary_prefixes): Use it.
1230 2001-10-28 Akim Demaille <akim@epita.fr>
1232 * automake.in (am_primary_prefixes): Now, in accordance with its
1233 comment, return the list of prefixes actually used, not all the
1234 possible prefixes for a primary.
1235 (&handle_libraries, &handle_ltlibraries, &handle_java)
1236 (&am_install_var): Adjust.
1237 * Makefile.am (maintainer-check): Allow `local $_;'.
1239 2001-10-28 Akim Demaille <akim@epita.fr>
1241 * automake.in: Various formatting changes.
1242 (&variable_defined): Second argument is optional.
1244 2001-10-28 Akim Demaille <akim@epita.fr>
1246 * automake.in (&am_primary_prefixes): Now returns a list, not a
1248 (&handle_libraries, &handle_ltlibraries, &handle_java)
1249 (&am_install_var): Adjust.
1251 2001-10-28 Akim Demaille <akim@epita.fr>
1253 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1255 (@libtool_files, @libtool_sometimes): these.
1256 ($libtool_location): Remove, completely replaced by $seen_libtool.
1257 (&require_file_internal): Do not run libtoolize, that's
1260 2001-10-28 Akim Demaille <akim@epita.fr>
1262 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1263 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1264 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1265 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1266 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1267 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1268 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1269 * tests/libobj8.test, tests/output.test, tests/output2.test,
1270 * tests/output3.test, tests/output4.test, tests/output5.test,
1271 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1272 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1273 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1274 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1277 2001-10-28 Akim Demaille <akim@epita.fr>
1279 * automake.in (&scan_autoconf_traces): Use eq for equality.
1281 Remove dead comment.
1282 (&initialize_per_input): Don't initialize several times the same
1285 2001-10-28 Akim Demaille <akim@epita.fr>
1287 * automake.in (scan_one_autoconf_file): When using %generalize, be
1288 sure to replace only words. AC_FUNC_OBSTACK was matching
1291 2001-10-26 Akim Demaille <akim@epita.fr>
1293 * tests/stamph2.test: Strengthen.
1294 * tests/confh2.test, tests/confh3.test: Remove.
1295 These are bad tests: they don't check the effects, but some
1296 internal details in Makefile.
1297 And they are covered by stamph2.test.
1299 2001-10-26 Akim Demaille <akim@epita.fr>
1301 Now that stamp-h's are created by config.status, we don't need to
1302 handle them in Makefile's.
1304 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1305 * m4/header.m4 (_AM_STAMP): New.
1306 (_AM_CONFIG_HEADER): Use it.
1308 2001-10-26 Akim Demaille <akim@epita.fr>
1310 * automake.in (&generate_makefile, &handle_texinfo_helper)
1311 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1312 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1313 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1314 `join (' ', @list)' into `"@list"'.
1316 2001-10-26 Akim Demaille <akim@epita.fr>
1318 * automake.in (@config_fullnames, @config_names): Remove.
1319 (@config_headers): Now contains the actual spec used in
1321 (&split_config_file_spec): New.
1322 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1323 (&scan_one_autoconf_file): Adjust.
1324 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1327 2001-10-26 Akim Demaille <akim@epita.fr>
1329 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1330 (AM_CONFIG_HEADER): Use it.
1332 2001-10-26 Akim Demaille <akim@epita.fr>
1334 * automake.in (&handle_configure): Use the config.status 2.50
1335 invocation syntax for config files and headers.
1336 autoheader needs the name of the file to create, not from what it
1337 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1339 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1340 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1342 Strengthen: Use the non-default config.hin source.
1343 Strengthen: Make sure config.h is properly updated when config.hin
1346 2001-10-26 Akim Demaille <akim@epita.fr>
1348 * automake.in (&handle_configure): Seeing Automake files in
1349 @other_input_files is a programming error, not merely something to
1351 Factor slightly the code.
1353 2001-10-26 Akim Demaille <akim@epita.fr>
1355 * automake.in ($canonical_location): New.
1357 (&require_config_file, $line_error): Remove.
1359 2001-10-24 Akim Demaille <akim@epita.fr>
1361 * automake.in: Use &verbose.
1362 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1365 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1367 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1368 Have the basename step optional and use %NDIR% instead of %DIR% in
1369 filenames in order to support 'nobase_'.
1371 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1373 * automake.in (handle_languages, handle_single_transform_list,
1374 lang_c_rewrite): Use require_conf_file instead of
1375 require_config_file to require depcomp or compile from
1376 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1377 mistakenly reverted.)
1379 2001-10-24 Akim Demaille <akim@epita.fr>
1381 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1384 2001-10-24 Akim Demaille <akim@epita.fr>
1386 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1387 appear in Makefile.in in the clean rule.
1389 * tests/cxxansi.test: Adjust.
1391 2001-10-24 Akim Demaille <akim@epita.fr>
1393 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1394 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1396 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1397 (&conf_error, &file_warning): these.
1398 (&file_warning): Fix the prototype and argument handling.
1399 (&am_line_warning): Remove, unused.
1401 Also, repair the misapplication of previous patches.
1403 2001-10-21 Akim Demaille <akim@epita.fr>
1405 * automake.in ($ac_output_location): Replace with...
1406 ($ac_config_files_location): this.
1407 (&scan_autoconf_traces): We don't need $file and $line, $here is
1409 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1410 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1412 2001-10-21 Akim Demaille <akim@epita.fr>
1414 * automake.in (&require_file_with_macro): Use &require_file.
1415 (&read_am_file): Move the definition of $here at its proper place.
1417 2001-10-21 Akim Demaille <akim@epita.fr>
1419 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1420 ($libtool_location, $pythondir_location): these.
1421 (&require_conf_file_with_line, &require_conf_file_with_line):
1423 (&require_file): Don't forget $where.
1424 (&require_conf_file): Ahem... Fix the name.
1425 (&require_config_file): Invoke &require_conf_file, not yourself.
1426 (&am_line_error): Fix the default am_file_error invocation.
1428 2001-10-21 Akim Demaille <akim@epita.fr>
1430 * automake.in ($seen_lispdir): Replace with...
1431 ($am_lispdir_location): this.
1432 (&require_conf_file): New.
1433 (&require_config_file, &require_conf_file_with_line,
1434 (&require_conf_file_with_conf_line): Use it.
1435 (&require_conf_file_with_macro): New.
1437 2001-10-21 Akim Demaille <akim@epita.fr>
1439 * automake.in ($config_header_line, $ac_output_line)
1440 ($ac_gettext_line, $package_version_line): Replace with...
1441 ($config_header_location, $ac_output_location)
1442 ($ac_gettext_location, $package_version_location): these.
1443 (&require_file_with_conf_line, &require_file_with_line): Remove,
1446 2001-10-21 Akim Demaille <akim@epita.fr>
1448 * automake.in (&require_file_internal): Instead of $file and $line,
1449 take $where as first argument.
1451 (&require_file_with_macro): New.
1452 Use it where internal black magic was used to recover the location
1453 of a macro definition.
1455 2001-10-21 Akim Demaille <akim@epita.fr>
1457 * automake.in (&read_am_file): Define and use `$here'.
1458 Avoid using am_line_error.
1460 2001-10-21 Akim Demaille <akim@epita.fr>
1462 * automake.in (&am_target_error): New.
1463 Use it where appropriate instead of...
1464 (&am_line_error): this.
1465 Using it for a target is a croak error.
1467 2001-10-21 Akim Demaille <akim@epita.fr>
1469 * automake.in (&am_macro_error): New.
1470 Use it where appropriate instead of...
1471 (&am_line_error): this.
1472 Using it for a macro is a croak error.
1474 2001-10-21 Akim Demaille <akim@epita.fr>
1476 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1477 AC_OUTPUT a Makefile.
1479 2001-10-21 Akim Demaille <akim@epita.fr>
1481 * automake.in (%var_line): Rename as...
1482 (%var_location): this.
1483 Use it consistently as the location where the macro is defined,
1484 file and line when possible, otherwise just file.
1485 (&read_am_file): Rules have their own location tracking, don't
1486 pollute %var_location.
1488 2001-10-21 Akim Demaille <akim@epita.fr>
1490 * automake.in (am_line_error): Clarify.
1492 2001-10-21 Akim Demaille <akim@epita.fr>
1494 * automake.in (&am_print_error): Set $exit_status since all your
1496 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1498 (&am_conf_line_error, &am_conf_line_warning): Remove.
1499 Adjust callers to use &am_file_error and...
1500 (&am_file_warning): new.
1502 2001-10-21 Akim Demaille <akim@epita.fr>
1504 * m4/regex.m4: Use AC_LIBOBJ.
1505 Require 2.50, and use AC_LIBSOURCES freely.
1506 * tests/asm.tests: Formatting changes.
1507 Exercise AM_PROG_AS.
1509 2001-10-21 Akim Demaille <akim@epita.fr>
1511 * tests/install.test: This test is an empty shell, do not run
1513 * tests/Makefile.am (TESTS): Don't run it.
1514 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1516 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1518 * tests/obsolete2.test: Remove, merged into...
1519 * tests/obsolete.test: here.
1520 Both aclocal and automake should complain.
1522 2001-10-21 Akim Demaille <akim@epita.fr>
1524 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1525 for symbols which cannot be Make macro names.
1526 (scan_one_autoconf_file): `$here' is new.
1527 Use it consistently instead of `1' to remember a token was seen.
1529 2001-10-21 Akim Demaille <akim@epita.fr>
1531 * tests/subdircond.test: Requires gettext.
1532 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1533 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1534 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1535 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1536 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1537 Produce valid configure.in, use aclocal appropriately, declare
1538 when libtool is required.
1540 2001-10-21 Akim Demaille <akim@epita.fr>
1542 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1543 * automake.texi (Macros, Yacc and Lex): Adjust.
1544 * automake.in ($seen_decl_yytext): Rename as...
1545 ($seen_prog_lex): this.
1546 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1547 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1549 2001-10-21 Akim Demaille <akim@epita.fr>
1551 * automake.in (&scan_autoconf_traces): Add support for
1552 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1554 2001-10-21 Akim Demaille <akim@epita.fr>
1556 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1557 libtool is required.
1558 * tests/lex.test: Run AC_INIT once.
1559 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1560 Libtool is required.
1561 * tests/header.test: Built a correct configure.in.
1562 * tests/defun2.test (configure.in): Be a bit respectful with
1563 Autoconf, close the macro invocations.
1564 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1567 * automake.in (scan_autoconf_traces): Add support for
1568 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1569 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1570 * tests/condincl.test (target): Better pattern, to avoid matching
1571 the definition of `target_alias' which is now properly discovered
1572 as an AC_SUBST by traces.
1573 * cond4.test: Better grep pattern: After all, why shouldn't
1574 TWO_FALSE be AC_SUBST properly.
1575 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1577 2001-10-20 Kevin Ryde <user42@zip.com.au>
1579 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1580 actually using ansi2knr.
1582 * automake.in (handle_configure): Always put a number on $stamp_name,
1583 to match AM_CONFIG_HEADER.
1585 2001-10-20 Tom Tromey <tromey@redhat.com>
1587 * tests/Makefile.am (TESTS): Added condd.test.
1588 (XFAIL_TESTS): Added condd.test.
1589 * tests/condd.test: New file.
1591 2001-10-20 Akim Demaille <akim@epita.fr>
1593 * automake.in (&scan_autoconf_traces): Add support for
1594 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1596 * tests/alpha.test (configure.in): Automake wants a Makefile.
1598 2001-10-20 Akim Demaille <akim@epita.fr>
1600 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1601 separator between trace arguments, in particular not `:' as it is
1602 within AC_CONFIG_FILES's $1.
1604 2001-10-20 Akim Demaille <akim@epita.fr>
1606 * tests/alpha.test (configure.in): Create, don't append. A single
1609 2001-10-20 Akim Demaille <akim@epita.fr>
1611 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1612 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1613 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1614 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1615 * tests/badline.test, tests/block.test, tests/canon2.test,
1616 * tests/check.test, tests/checkall.test, tests/clean.test,
1617 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1618 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1619 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1620 * tests/comment.test, tests/comment3.test, tests/cond.test,
1621 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1622 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1623 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1624 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1625 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1626 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1627 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1628 * tests/else.test, tests/empty.test, tests/exdir.test,
1629 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1630 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1631 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1632 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1633 * tests/include.test, tests/info.test, tests/insh.test,
1634 * tests/insh2.test, tests/install.test, tests/installsh.test,
1635 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1636 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1637 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1638 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1639 * tests/man.test, tests/mclean.test, tests/mdate.test,
1640 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1641 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1642 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1643 * tests/outdir.test, tests/output.test, tests/output2.test,
1644 * tests/output3.test, tests/output4.test, tests/output5.test,
1645 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1646 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1647 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1648 * tests/primary.test, tests/proginst.test, tests/python.test,
1649 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1650 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1651 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1652 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1653 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1654 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1655 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1656 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1657 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1658 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1659 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1660 * tests/version.test, tests/version2.test, tests/version3.test,
1661 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1662 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1664 2001-10-20 Akim Demaille <akim@epita.fr>
1666 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1667 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1668 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1669 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1670 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1671 * tests/confh3.test, tests/confh4.test, tests/config.test,
1672 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1673 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1674 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1675 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1676 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1677 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1678 * tests/output.test, tests/output2.test, tests/output3.test,
1679 * tests/output4.test, tests/output5.test, tests/package.test,
1680 * tests/parse.test, tests/pr2.test, tests/remake.test,
1681 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1682 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1683 * tests/subdir4.test, tests/subdirbuiltsources.test,
1684 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1685 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1686 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1687 since AM_INIT_AUTOMAKE requires them.
1689 2001-10-20 Akim Demaille <akim@epita.fr>
1691 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1693 Don't run AC_ARG_PROGRAM another time, it is required by
1695 * tests/aclocal.test: Work on the default configure.in
1696 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1697 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1699 Be realistic in testing: AC_INIT is required for Autoconf.
1700 Broken so called optimized tests break trace handling.
1702 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1703 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1704 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1705 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1706 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1707 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1708 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1709 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1710 * tests/confh4.test, tests/config.test, tests/confsub.test,
1711 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1712 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1713 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1714 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1715 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1716 * tests/libobj9.test, tests/output.test, tests/output2.test,
1717 * tests/output3.test, tests/output4.test, tests/parse.test,
1718 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1719 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1720 * tests/req.test, tests/scripts.test, tests/subdir.test,
1721 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1722 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1723 * tests/version2.test: Add AC_INIT in `configure.in'.
1725 2001-10-20 Akim Demaille <akim@epita.fr>
1727 * automake.in (&scan_autoconf_traces): Add support for
1728 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1729 Let @args have a more natural M4 correspondence: $1 is args[1], no
1731 (&scan_autoconf_files): Using autoconf traces is no longer a
1732 complement of the previous ad hoc scheme: use either.
1734 2001-10-20 Akim Demaille <akim@epita.fr>
1736 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1737 factors dedicated $libsources assignments.
1739 2001-10-20 Akim Demaille <akim@epita.fr>
1741 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1742 Remove, since Autoconf 2.52 has them.
1743 * automake.in, aclocal.in, automake.texi: Adjust.
1745 2001-10-19 Akim Demaille <akim@epita.fr>
1747 * automake.in (&read_main_am_file): s/generated automatically/
1749 Insert @configure_input@, since 2.50 no longer output this
1750 automatically for Makefiles.
1752 2001-10-19 Kevin Ryde <user42@zip.com.au>
1754 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1755 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1757 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1759 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1760 * tests/nobase.test: New file. Based on a bug report
1761 from Martin Frydl <martin@idoox.com>.
1763 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1765 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1766 this with $nodir_name only. Use $nodir_name where appropriate.
1768 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1770 * automake.in (handle_languages, handle_single_transform_list,
1771 lang_c_rewrite): Use require_conf_file instead of
1772 require_config_file to require depcomp or compile from Makefile.am.
1773 (require_aux_file_with_line): New function, adapted from
1774 require_conf_gile_with_line.
1775 (require_conf_file_with_line, require_conf_file_with_conf_line):
1776 Simplify using require_aux_file_with_line.
1777 (require_config_file): Simplify using require_conf_file_with_conf_line.
1778 (require_conf_file): New function.
1780 2001-10-15 Akim Demaille <akim@epita.fr>
1782 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1783 normally, what is wrong is that automake outputs a variable
1784 definition for it, hence...
1785 * automake.in (scan_one_autoconf_file): don't.
1787 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1789 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1790 Use AC_CONFIG_COMMANDS.
1791 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1793 2001-10-15 Akim Demaille <akim@epita.fr>
1795 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1797 2001-10-15 Akim Demaille <akim@epita.fr>
1799 * automake.in (&variable_conditions): Be deterministic and Perl
1800 version independent: sort the result.
1801 (&variable_output, &variable_pretty_output): Sort all the @conds,
1802 not only when defaulted.
1803 * tests/cond3.test: Adjust.
1805 2001-10-15 Akim Demaille <akim@epita.fr>
1807 * automake.in: Formatting changes.
1809 2001-10-15 Akim Demaille <akim@epita.fr>
1811 * aclocal.in: Use Automake::General and Automake::XFile.
1812 Use find_configure_ac.
1813 Output the Emacs tags for Autoconf mode selection.
1815 2001-10-10 Akim Demaille <akim@epita.fr>
1817 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1820 2001-10-09 Akim Demaille <akim@epita.fr>
1822 Do not use Autoconf internals.
1824 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1825 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1826 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1827 macro in GNU M4 1.5.
1829 2001-10-08 Akim Demaille <akim@epita.fr>
1831 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1834 2001-10-05 Akim Demaille <akim@epita.fr>
1836 * automake.in (scan_autoconf_files): Use find_configure_ac from
1839 2001-10-02 Akim Demaille <akim@epita.fr>
1841 * lib/Automake/Struct.pm: Update from Autoconf.
1842 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1844 * automake.in: Use them.
1845 (&uniq, $me): Remove, as they are provided by Automake::General.
1847 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1849 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1850 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1851 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1852 * lib/am/distdir.am (distcheck): Likewise.
1853 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1854 using cd so we don't have to fiddle with CDPATH.
1855 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1856 DOSish path separator.
1858 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1860 * lib/am/python.am (install-%DIR%PYTHON,
1861 uninstall-%DIR%PYTHON): Strip path of source file.
1862 (clean-python): Comment out.
1864 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1866 * automake.in (handle_python): Use require_conf_file_with_conf_line
1867 instead of require_file_with_conf_line, so that elisp-comp and
1868 py-compile are installed in the aux-directory.
1869 (handle_emacs_lisp): Likewise. Define elisp_comp.
1870 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1872 2001-10-01 Akim Demaille <akim@epita.fr>
1874 * lib/am/distdir.am (distcheck): Report the trailing files.
1875 Run `dist-gzip', not `dist', as it may leave other distribution
1878 2001-09-29 Paul Eggert <eggert@twinsun.com>
1880 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1881 bugs when making file names with unusual characters. Quote chmod
1882 arg "$dirmode", in case it contains white space.
1884 Incorporate the following change from autoconf mkinstalldirs:
1886 1999-04-10 Ben Elliston <bje@cygnus.com>
1888 Add `-m' flag to specify the mode of a newly created
1889 directory. Add command line usage and `-h', `--help' options.
1890 Contributed by Jeff Garzik.
1892 2001-09-27 Akim Demaille <akim@epita.fr>
1894 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1896 2001-09-27 Akim Demaille <akim@epita.fr>
1898 * lib/am/distdir.am (dist): Rename as...
1900 (dist): Additional name for dist-all.
1901 * automake.texi (Options, Dist): Adjust.
1903 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1905 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1906 * automake.in (obsolete_macros): Likewise.
1907 (seen_objext): Remove (unused).
1908 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1909 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1910 PATH_SEPARATOR): New variables.
1911 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1913 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1915 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1916 neutralize CDPATH for us.
1917 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1918 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1921 2001-09-22 Akim Demaille <akim@epita.fr>
1923 * configure.in, NEWS: Bump to 1.5a.
1926 2001-09-22 Paul Eggert <eggert@twinsun.com>
1928 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1929 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1930 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1931 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1932 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1933 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1934 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1935 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1936 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1937 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1939 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1940 which has a copyright notice.
1942 * m4/strtod.m4: Correct the dates on the copyright notice.
1944 2001-09-17 Akim Demaille <akim@epita.fr>
1946 * lib/missing (autom4te): New.
1947 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1950 2001-08-27 Tom Tromey <tromey@redhat.com>
1952 * automake.texi (A Shared Library): Clarify installation
1954 (Install): Typo. From Adrian Bunk.
1956 2001-08-27 Tom Tromey <tromey@redhat.com>
1958 * automake.texi (Macros): Typo fix.
1959 From Christian Cornelssen
1961 2001-08-27 Tom Tromey <tromey@redhat.com>
1963 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1964 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1965 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1966 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1967 tests/substref.test: Clear CFLAGS.
1969 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1970 From Alexey Mahotkin.
1972 2001-08-27 Tom Tromey <tromey@redhat.com>
1974 * tests/yacc7.test: Use test -f, not test -e.
1976 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1978 * automake.texi (etags): Typo fix.
1980 2001-08-27 Guido Draheim <guidod@gmx.de>
1982 * automake.in : restrict ansi2knr option to be a filepath
1984 2001-08-23 Richard Boulton <richard@tartarus.org>
1986 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1988 2001-08-22 Tom Tromey <tromey@redhat.com>
1990 * automake.texi (Conditionals): Mention that conditionals must
1991 always be invoked. For PR automake/220.
1993 2001-08-22 Richard Boulton <richard@tartarus.org>
1994 Tom Tromey <tromey@redhat.com>
1996 * automake.in (lang_yacc_target_hook): Make header file depend on
1997 .c file, not .y file.
1998 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1999 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
2000 * tests/yacc7.test: New file.
2001 * tests/Makefile.am (TESTS): Added yacc7.test.
2003 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
2005 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
2007 2001-08-18 Tom Tromey <tromey@redhat.com>
2009 * automake.texi (Dist): Mention dist-all.
2011 2001-08-18 Tom Tromey <tromey@redhat.com>
2013 * tests/cond3.test: Use portable sed expression.
2014 From Richard Boulton.
2016 2001-08-13 Richard Boulton <richard@tartarus.org>
2018 * automake.in (handle_source_transform): Call
2019 define_objects_from_sources() instead of calling
2020 variable_value_as_list(), handle_single_transform_list() and
2021 define_pretty_variable() directly.
2022 (handle_single_transform_list): Add $topparent parameter, used for
2023 error messages. Improved error message.
2024 (define_objects_from_sources): New function.
2025 (subobjname): New function.
2026 (variable_conditions_recursive): New name for variable conditions.
2027 (variable_value_as_list_recursive): New name for variable_value_as_list.
2028 (variable_value_as_list_worker): Renamed to ...
2029 (variable_value_as_list_recursive_worker): ... this.
2030 (variable_conditions_sub): Renamed to ...
2031 (variable_conditions_recursive_sub): ... this.
2032 (variable_conditions): Rewritten: now doesn't recurse subvariables.
2033 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
2034 (substfroms): New global.
2035 (substtos): New global.
2036 (substnums): New global.
2037 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
2038 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
2039 * tests/sourcesub2.test: New test.
2040 * tests/Makefile.am (TEST): Added sourcesub2.test.
2042 2001-08-11 Tom Tromey <tromey@redhat.com>
2044 * configure.in: Upped to 1.4s.
2046 2001-08-09 Richard Boulton <richard@tartarus.org>
2048 * automake.in (handle_single_transform_list): Use new global,
2049 `%linkers_used', to store the linkers used, rather than an internal
2050 variable. Enables correct linker to be calculated across a group
2051 of calls to &handle_single_transform_list. Return only list of
2052 objects, since linker to be used is now externally determined.
2053 (handle_source_transform): adapted for new calling conventions of
2054 handle_single_transform_list. Calls resolve_linker() on a set of
2055 all the linkers used for any prefix, rather than for each prefix in
2057 (linkers_used): New global.
2058 * tests/link_dist.test: New test.
2059 * tests/Makefile.am (TESTS): Added link_dist.test.
2061 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
2063 Dissociate testsuite 'make' invocations from outer 'make'.
2064 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
2065 environment variables.
2066 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
2068 * tests/substref.test: Likewise.
2070 2001-08-08 Richard Boulton <richard@tartarus.org>
2072 * tests/cond18.test: New file.
2073 * tests/cond19.test: New file.
2074 * tests/cond20.test: New file.
2075 * tests/cond4.test: Updated to check the generated _OBJECTS more
2077 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
2080 2001-08-08 Richard Boulton <richard@tartarus.org>
2082 * automake.in (file_contents_internal): if a rule is conditionally
2083 defined, define the standard automake definition for it for those
2084 conditions which are not conditionally defined.
2085 (invert_conditions): New function: invert a list of conditionals.
2087 * tests/cond14.test: New file.
2088 * tests/cond15.test: New file.
2089 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
2091 2001-08-05 Tom Tromey <tromey@redhat.com>
2093 * tests/Makefile.am (TESTS): Added dejagnu2.test.
2094 * tests/dejagnu2.test: New file.
2095 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
2096 * automake.in (handle_scripts): Removed dead code.
2097 (handle_tests_dejagnu): Don't handle site.exp generation
2100 2001-08-04 Richard Boulton <richard@tartarus.org>
2102 * tests/cond17.test: New file: test for being able to define an
2103 object to be generated in different ways according to a
2105 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
2106 (TESTS): Added cond17.test.
2108 2001-08-02 Richard Boulton <richard@tartarus.org>
2110 * automake.in (variable_conditions_sub): Handle variable
2111 substitution refs when computing conditions based on subvariable
2112 conditions. Fixes substitution refs of system variables when sub
2113 variable is conditional.
2114 (SUBST_REF_PATTERN): New global.
2115 * tests/cond16.test: New file: regression test for variable
2117 * test/Makefile.am (TESTS): Added cond16.test.
2119 2001-08-03 Tom Tromey <tromey@redhat.com>
2121 * tests/substref.test: Require GNU make; backed out previous
2124 * tests/substref.test: Handle entering/leaving directory
2127 2001-08-03 Richard Boulton <richard@tartarus.org>
2129 * automake.in (value_to_list): Check for whether $from is defined,
2130 rather than whether it is true, so that empty $froms are allowed in
2131 substitution reference patterns.
2133 * tests/substref.test: New file: test behavior of substitution
2134 references when the $from side of the substitution is empty.
2135 * tests/Makefile.am (TESTS): Added substref.test.
2137 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2139 * m4/install-sh.m4: New file.
2140 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2141 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2142 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
2143 for install.sh any longer, always use install-sh, don't even
2144 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
2145 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2147 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2149 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
2151 * automake.texi (EXEEXT): Clarify.
2153 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2155 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2157 * m4/auxdir.m4: More comments.
2159 2001-07-31 Richard Boulton <richard@tartarus.org>
2160 Raja R Harinath <harinath@cs.umn.edu>
2162 * automake.in (variable_conditions_sub): Remove @parent_conds
2163 argument. This was old logic - duplicate or impossible
2164 conditionals are removed later by &variable_conditions_reduce().
2165 Fixes tests/cond13.test.
2166 (conditionals_true_when): Removed.
2167 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2169 2001-07-31 Tom Tromey <tromey@redhat.com>
2171 * tests/Makefile.am (TESTS): Added cond13.test.
2172 (XFAIL_TESTS): Likewise.
2173 * tests/cond13.test: New file.
2175 * configure.in: Upped to version 1.4k.
2177 * configure.in: Released 1.4j.
2179 * lib/config.guess: Updated from master sources.
2180 * lib/config.sub: Likewise.
2182 2001-07-30 Tom Tromey <tromey@redhat.com>
2184 * automake.texi (A Program): Typo. Added subsections and more
2185 text about conditional compilation.
2186 (A Shared Library): Moved earlier.
2187 (Program variables): Updated LINK text. Added AM_CFLAGS.
2188 (C++ Support): Added AM_CXXFLAGS.
2189 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2192 * tests/Makefile.am (TESTS): Added aclibobj.test.
2193 * tests/aclibobj.test: New file.
2194 * automake.in (handle_lib_objects_cond): Avoid undefined variable
2196 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2198 * automake.texi (Dist): Mention other distribution types.
2201 2001-07-29 Tom Tromey <tromey@redhat.com>
2203 * automake.texi (Program and Library Variables): Texinfo fix.
2204 From Alexey Mahotkin.
2206 2001-07-28 Tom Tromey <tromey@redhat.com>
2208 * automake.texi (Strictness): Mention Cygnus mode.
2210 (Uniform): Likewise.
2211 (Canonicalization): Likewise.
2212 (Install): Add `nobase_' to example; typo fix.
2214 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
2216 (Options): Texinfo fixes; some text updates.
2219 2001-07-27 Tom Tromey <tromey@redhat.com>
2221 * automake.texi (Invoking Automake): Document --Werror and
2224 2001-07-26 Tom Tromey <tromey@redhat.com>
2226 * tests/nolink.test: Added no-exeext.
2228 * automake.in (check_variable_defined_unconditionally): Don't call
2231 * automake.texi (Optional): Don't mention ALL_LINGUAS.
2232 (gettext): Likewise.
2233 * automake.in (seen_linguas, all_linguas, all_linguas_line):
2235 (handle_gettext): Don't do any checking of the languages.
2236 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2238 * automake.in (am_print_error): New function.
2240 (am_file_error): Likewise.
2241 (am_line_error): Likewise.
2242 (am_conf_error): Likewise.
2243 (am_conf_line_error): Likewise.
2245 * automake.texi (Options): Document no-exeext.
2246 * automake.in (handle_options): Recognize no-exeext.
2247 (rule_define): Handle no-exeext.
2248 * tests/Makefile.am (TESTS): Added new file.
2249 * tests/exeext2.test: New file.
2251 * automake.in (make_input_list): Removed.
2252 (scan_autoconf_config_files): Don't add to make_input_list.
2253 (scan_one_autoconf_file): Don't use make_input_list.
2254 (scan_autoconf_files): Use make_list, not make_input_list.
2255 (scan_autoconf_files): Likewise.
2257 * automake.in (seen_exeext): Removed.
2258 (generate_makefile): Don't define EXEEXT or OBJEXT.
2259 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2260 (am_install_var): Don't check $seen_exeext.
2261 (handle_programs): Likewise.
2262 (rule_define): Allow x to override x$(EXEEXT), for now.
2263 (file_contents_internal): Only define rule if rule_define allows
2265 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2267 2001-07-25 Tom Tromey <tromey@redhat.com>
2270 * tests/pr9.test: Require GNU make.
2271 * tests/dirname.test: Don't use `-u'.
2273 2001-07-22 Tom Tromey <tromey@redhat.com>
2275 * tests/Makefile.am (TESTS): Added auxdir2.test.
2276 (XFAIL_TESTS): Likewise.
2277 * tests/auxdir2.test: New file.
2279 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2280 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2282 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2283 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2284 holds `.'. Don't add $(EXEEXT) if program name already has it.
2285 (handle_programs): Don't add $(EXEEXT) if user already did.
2286 (make_paragraphs): Don't compute EXEEXT.
2288 * tests/Makefile.am (TESTS): Added exeext.test.
2289 (XFAIL_TESTS): Likewise.
2290 * tests/exeext.test: New file.
2292 2001-07-22 Tom Tromey <tromey@redhat.com>
2294 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2295 `prog.exe' on Cygwin with libtool. From Robert Collins.
2297 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2299 * tests/dirname.test: Explicitly use $SHELL to run the
2300 script; this avoids failures on DJGPP.
2301 * tests/install2.test: Skip if 'chmod 000' doesn't make
2304 2001-07-21 Tom Tromey <tromey@redhat.com>
2306 * tests/libtool2.test: Check for libtoolize.
2308 * tests/Makefile.am (TESTS): Added substtarg.test.
2309 (XFAIL_TESTS): Likewise.
2310 * tests/substtarg.test: New file.
2312 * automake.in (handle_dist): Handle case where aux dir doesn't
2313 have a Makefile. Fixes depdist.test.
2314 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2315 * tests/depdist.test: Look for config/depcomp.
2317 * tests/Makefile.am (TESTS): Added depdist.test.
2318 (XFAIL_TESTS): Likewise.
2319 * tests/depdist.test: New file. From Eric Magnien.
2321 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2322 AC_PROG_CC_C_O does require AC_PROG_CC.
2325 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2327 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2328 output is suitable for make.
2330 * automake.texi (Macros): Document AM_PROG_AS.
2331 (Assembly Support): New node.
2332 * m4/Makefile.am (m4data_DATA): Added as.m4.
2333 * m4/as.m4: New file.
2335 * automake.texi (Tags): Added uref to global tags.
2337 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2339 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2340 instead of hardcoding '.deps'.
2341 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2343 2001-07-20 Derek Price <dprice@collab.net>
2345 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2347 * tests/dirname.test: New test.
2348 * tests/stamph2.test: New test.
2349 * tests/Makefile.am: Add new tests.
2350 * tests/Makefile.in: Regenerated.
2352 2001-07-19 Tom Tromey <tromey@redhat.com>
2354 * automake.texi (Tags): Document GTAGS_ARGS.
2355 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2357 2001-07-19 Tom Tromey <tromey@redhat.com>
2358 Alexandre Duret-Lutz <duret_g@epita.fr>
2360 Fix for ccnoco.test, subobj8.test:
2361 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2362 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2364 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2365 Use AM_AUX_DIR_EXPAND.
2366 * lib/compile: Handle case where `-o' argument is the name of an
2367 executable, not an object file.
2368 * m4/auxdir.m4: New file, from...
2369 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2370 * automake.in (handle_single_transform_list, lang_c_rewrite):
2371 Require compile using `require_config_file'.
2373 2001-07-19 Tom Tromey <tromey@redhat.com>
2375 * automake.texi (Program and Library Variables): Added X example
2378 2001-07-19 Tom Tromey <tromey@redhat.com>
2380 * automake.texi (Distributing): Updated to reflect new license.
2382 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2384 * automake.in (require_build_directory): New function, extracted
2386 (handle_single_transform_list): ... here.
2387 (require_build_directory_maybe): New function.
2388 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2389 require_build_directory_maybe() to ensure the subdirectory
2390 in which a target may lie will exist when the target is created.
2391 (handle_libraries, handle_ltlibraries): Use basename before
2392 checking library name.
2393 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2394 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2395 * lib/am/program.am (%PROGRAM%): Likewise.
2397 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2399 * m4/missing.m4: Reword comment.
2401 2001-07-18 Pavel Roskin <proski@gnu.org>
2403 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2404 * tests/gcj.test: Likewise.
2405 * tests/gcj2.test: Likewise.
2406 * tests/gcj3.test: Likewise.
2408 2001-07-18 Tom Tromey <tromey@redhat.com>
2410 * lib/compile: Change how lockdir is computed. If linking or
2411 compiling without `-o', just run the compiler.
2413 * tests/Makefile.am (TESTS): Added ccnoco.test.
2414 (XFAIL_TESTS): Likewise.
2415 * tests/ccnoco.test: New file.
2417 2001-07-17 Tom Tromey <tromey@redhat.com>
2419 * lib/ylwrap: Added special exception.
2420 * lib/py-compile: Added license.
2421 * lib/mdate-sh: Added special exception.
2422 * lib/elisp-comp: Added special exception.
2423 * lib/compile: Added special exception.
2424 * lib/depcomp: Added special exception.
2426 Report from Motoyuki Kasahara:
2427 * tests/make.test: Use am__include.
2428 * tests/exsource.test: Use am__include.
2429 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2430 * automake.in (handle_languages): Use am__include and am__quote.
2432 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2433 * m4/init.m4: Updated callers.
2435 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2437 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2438 * aclocal.in (scan_configure, add_file): Handle the full macro
2439 name even if it contains numbers, such as I18N.
2441 2001-07-16 Tom Tromey <tromey@redhat.com>
2443 * automake.texi (Dependencies): Link to dependency tracking page.
2444 (Data): Mention dist_.
2445 (Clean): Mention clean heuristics.
2446 (Install): Mention nobase_.
2448 * automake.texi (Program and Library Variables): Document _LINK.
2450 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2452 * automake.in (handle_libraries): Allow libraries to lie in
2453 a subdirectory by constraining only the basename to start
2454 with 'lib', not the whole path.
2456 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2458 * tests/subobj8.test: New file.
2459 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2461 2001-07-16 Tom Tromey <tromey@redhat.com>
2463 Fix for PR automake/212:
2464 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2465 (uninstall-%DIR%LISP): Likewise.
2467 2001-07-15 Tom Tromey <tromey@redhat.com>
2469 * automake.in (usage): Rewrote code to handle columnization.
2470 From Alexey Mahotkin and Maxim Sinev.
2472 Report from Ralf Corsepius:
2473 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2474 (SUFFIX_RULE_PATTERN): Likewise.
2475 * tests/Makefile.am (TESTS): Added cxx.test.
2476 * tests/cxx.test: New file.
2478 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2479 From Shigio Yamaguchi.
2481 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2483 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2484 remain after "make uninstall".
2486 2001-07-14 Tom Tromey <tromey@redhat.com>
2488 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2490 * lib/missing (makeinfo): Redirect stdout and stderr outside
2491 subshell. From Alexandre Oliva.
2493 2001-07-14 Akim Demaille <akim@epita.fr>
2495 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2496 `\b(foo|bar)\b' is what we want.
2497 * aclocal.in: Likewise.
2499 2001-07-14 Akim Demaille <akim@epita.fr>
2501 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2503 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2504 actually modified to require AM_DEPENDENCIES.
2505 Rename `confdir' as `conftest.dir' so that the configure trap
2508 2001-07-04 Tom Tromey <tromey@redhat.com>
2510 Fix for nolink.test:
2511 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2512 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2513 * automake.in (am_install_var): Only rewrite PROGRAMS if
2515 (make_paragraphs): Always define %EXEEXT%.
2517 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2519 * tests/nolink.test: New file.
2520 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2522 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2524 * automake.in (scan_texinfo_file): Add the second argument to
2525 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2526 itself may not be used directly.
2528 2001-07-04 Tom Tromey <tromey@redhat.com>
2531 * lib/missing (makeinfo): Use subshell, not explicit sh
2534 * automake.texi (Headers): Mention that we prefer uninstalled
2535 headers in _SOURCES.
2536 (ANSI): Mention cross-compilation limitation.
2538 2001-07-03 Tom Tromey <tromey@redhat.com>
2540 * configure.in: Upped to 1.4i.
2542 * configure.in: Released 1.4h.
2544 * lib/config.guess, lib/config.sub: Updated.
2546 2001-07-02 Tom Tromey <tromey@redhat.com>
2548 Fix for libtool2.test:
2549 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2550 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2551 * automake.in (generate_makefile): Call handle_libtool
2553 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2555 * tests/libtool2.test: Look for `.lo' files to be removed.
2557 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2559 * tests/Makefile.am (TESTS): Removed dup.test.
2560 * tests/dup.test: Removed.
2561 * aclocal.in (scan_file): Don't give error for duplicate macro.
2563 2001-07-01 Tom Tromey <tromey@redhat.com>
2565 * automake.texi (Program and Library Variables): Document
2566 subdir-objects. Document fact that per-object flags override AM_
2568 (Options): Likewise.
2569 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2570 (Multilibs): New node.
2571 (Macros): Documented missing macros.
2572 (Auxiliary Programs): New node.
2574 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2575 mode, then simply fail.
2577 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2579 * lib/ylwrap: Improve support for DOS paths (and paths
2580 containing backslashes in general).
2582 2001-07-01 Tom Tromey <tromey@redhat.com>
2584 * lib/missing: Added special exception to license.
2587 * lib/missing: Updated. Added comment explaining configure.ac
2590 * lib/depcomp: Reorder arguments to gcc3.
2591 From Per Oyvind Hvidsten.
2593 * tests/Makefile.am (TESTS): Added libtool2.test.
2594 * tests/libtool2.test: New file.
2596 * automake.texi (Program and Library Variables): Added example for
2599 2001-06-29 Tom Tromey <tromey@redhat.com>
2601 * tests/cond11.test: Use `=', not `=='.
2602 * tests/cond12.test: Look for automake in build directory, not
2605 2001-06-29 Richard Boulton <richard@tartarus.org>
2607 * automake.in (conditionals_true_when): Pass first parameters by
2608 reference, avoiding bug which put all parameters in @CONDS instead
2609 of @WHENS. Report by Kalle Olavi Niemitalo.
2610 Take a single WHEN instead of an array of WHENS.
2611 Remove FIXME; can't now have an empty @WHENS.
2612 (conditional_is_redundant): New sub.
2613 (variable_conditions_reduce): Check whether each condition is
2614 implied by any of the other conditions (other those already
2615 discarded), rather than checking only against those already
2616 considered (and kept). Also, fix sense of check: was keeping
2617 tautologous terms instead of discarding them. Use
2618 conditional_is_redundant instead of conditionals_true_when.
2619 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2620 * tests/cond11.test: New file.
2621 * tests/cond12.test: New file.
2623 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2625 * automake.in (saw_sources_p): Work even if there are more
2626 than one header files, and more than of one type of header.
2627 * tests/Makefile.am (TESTS): Added new file.
2628 * tests/depend4.test: New file.
2630 2001-06-28 Tom Tromey <tromey@redhat.com>
2632 * lib/am/libs.am (RANLIB): Don't define.
2634 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2636 * automake.in (am_install_var): Assign 1 to $first on
2639 2001-06-23 Tom Tromey <tromey@redhat.com>
2642 * lib/ylwrap: Changed usage.
2643 * lib/am/yacc.am: Rewrote to use new substitutions.
2644 * lib/am/lex.am: Likewise.
2645 * automake.in (handle_languages): Skip files whose language
2646 doesn't have a compiler. Handle `define_flag' attribute.
2647 Changed '$' to "\$" to aid Emacs fontification.
2648 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2649 `_target_hook' and `define_flag'.
2650 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2651 and `compiler' attributes. Removed `linker', `derived_autodep',
2652 and `ansi' attributes. Added `define_flag'.
2653 (yacc, yaccxx): Added `_target_hook'.
2654 (saw_extension): Count number of times extension seen.
2655 (count_files_for_language): New sub.
2656 (saw_sources_p): Use it.
2657 (handle_single_transform_list): Allow language rewrite function
2658 to return a new source extension. Call target_hook.
2659 (yacc_sources, lex_sources): Removed.
2660 (initialize_per_input): Don't initialize yacc_sources or
2662 (lang_yacc_rewrite): Rewrote.
2663 (lang_yaccxx_rewrite): Likewise.
2664 (lang_lex_rewrite): Likewise.
2665 (lang_lexxx_rewrite): Likewise.
2666 (output_yacc_build_rule): Removed.
2667 (output_lex_build_rule): Removed.
2668 (lang_yacc_finish): Removed build rule generation.
2669 (lang_lex_finish): Likewise.
2670 (DASH_D_PATTERN): New global.
2671 (lang_yacc_target_hook): New function.
2672 (_target_hook): New function.
2673 (register_language): Default `define_flag'.
2674 * tests/yacc5.test: Updated test.
2675 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2676 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2677 for all YFLAGS variables.
2679 2001-06-20 Tom Tromey <tromey@redhat.com>
2681 * tests/yacc5.test: Check for per-executable YFLAGS.
2683 2001-06-19 Tom Tromey <tromey@redhat.com>
2685 * tests/Makefile.am (TESTS): Added yacc5.test.
2686 * tests/yacc5.test: New file.
2688 2001-06-17 Tom Tromey <tromey@redhat.com>
2690 * automake.in (require_file_internal): Check for already-required
2691 file after searching for it, and only if it is not found. Don't
2692 use `readlink' when checking for dangling symlink. Work if
2693 --force-missing specified.
2694 * tests/acoutput2.test: Also test --force-missing.
2696 Fix for libtool.test:
2697 * automake.in (generate_makefile): Call handle_libtool.
2698 (handle_libtool): New sub.
2699 (handle_compile): Don't read `libtool' file.
2701 * tests/acoutput2.test: New file.
2702 * tests/Makefile.am (TESTS): Added acoutput2.test.
2704 2001-06-15 Tom Tromey <tromey@redhat.com>
2706 * tests/Makefile.am (TESTS): Added libtool.test.
2707 * tests/libtool.test: New file.
2709 2001-06-14 Tom Tromey <tromey@redhat.com>
2711 Fix some lisp bugs reported by Bruno Haible:
2712 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2714 (install-%DIR%LISP): Handle case where lispdir is not defined.
2715 (uninstall-%DIR%LISP): Likewise.
2716 (.el.elc): Added `else' clause.
2718 Fix for bug reported by Steve M. Robbins:
2719 * automake.in (handle_single_transform_list): When building a file
2720 from a subdirectory, continue to use `AM_' prefix.
2721 * tests/Makefile.am (TESTS): Added subobj7.test.
2722 * tests/subobj7.test: New file.
2724 * lib/am/configure.am ($(top_builddir)/config.status): Added
2725 $(top_builddir) prefix to work around problems with some vendor
2726 makes. From Nicolas Joly.
2728 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2729 top_srcdir. From Tim Van Holder.
2730 * tests/Makefile.am (TESTS): Added yacc6.test.
2731 * tests/yacc6.test: New file.
2733 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2735 * tests/defs, tests/installsh.test: Properly support
2738 2001-06-14 Tom Tromey <tromey@redhat.com>
2740 * tests/Makefile.am (TESTS): Added mdate4.test.
2741 * tests/mdate4.test: New file.
2743 * aclocal.in (scan_m4_files): Removed unused variable.
2745 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2747 * aclocal.in (scan_m4_files): Tweak the building of &search so
2748 that multiple macro names can be found on the same line. Ensure
2749 we match whole macro name, not only substrings.
2751 2001-06-12 Tom Tromey <tromey@redhat.com>
2753 * automake.texi (ANSI): Minor clarification.
2754 (Other GNU Tools): Don't mention Guile.
2756 (Java Support): Mention file extensions.
2757 (Man pages): Mention dist_. Don't mention info pages.
2759 2001-06-11 Tom Tromey <tromey@redhat.com>
2761 * automake.texi (Program variables): Document AM_CPPFLAGS.
2763 (Java Support): Document AM_GCJFLAGS.
2764 (Support for Other Languages): Removed `fixme'; added link to
2765 suffix rule handling.
2767 * automake.texi (Program and Library Variables): Document _LIBADD,
2768 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2770 2001-06-11 Kevin Dalley <kevind@rahul.net>
2772 * missing: Support configure.ac.
2774 2001-06-08 Tom Tromey <tromey@redhat.com>
2776 * tests/version4.test: New file.
2777 * automake.in (version_check): New sub.
2778 (handle_options): Use it.
2779 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2780 (TESTS): Added version4.test.
2781 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2782 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2784 2001-06-04 Kevin Dalley <kevind@rahul.net>
2786 * lib/am/dejagnu.am (site.exp): Fix typo.
2788 2001-06-02 Tom Tromey <tromey@redhat.com>
2790 * automake.in (variable_conditions_sub): Move parent-only code
2792 (variable_conditions): ... to here.
2793 (variable_conditions_sub): Include this variable's conditions in
2794 the resulting condition list.
2795 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2797 2001-06-01 Tom Tromey <tromey@redhat.com>
2799 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2801 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2803 2001-05-31 Tom Tromey <tromey@redhat.com>
2805 * automake.texi (Alternative): New node.
2806 (Macros): Use new name for gcc.
2807 (Java Support): Likewise.
2808 (Dependencies): Rewrote.
2809 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2812 * automake.texi (Top level): Removed erroneous spaces. Documented
2815 2001-05-29 Tom Tromey <tromey@redhat.com>
2817 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2819 * automake.texi (Include): Rewrote.
2820 (Suffixes): Remove Java example.
2821 (Java): Added more explanation. Document variables.
2822 (Uniform): Mention JAVA as a primary.
2823 (Python): Updated for new Python support.
2824 (Sources): Added a weak example.
2826 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2828 * automake.texi (A Program): Mention `check' prefix.
2829 (Program and Library Variables): New node.
2830 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2832 (etags): Mention per-program flags.
2833 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2836 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2839 2001-05-28 Tom Tromey <tromey@redhat.com>
2841 * m4/Makefile.am (MAINT_CHARSET): Removed.
2842 * Makefile.am (MAINT_CHARSET): Removed.
2843 * automake.in (maint_charset, dist_charset): Removed.
2844 (local_maint_charset): Removed.
2845 (initialize_per_input): Don't use maint_charset.
2846 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2848 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2850 (.%SUFFIX%.dvi): Likewise.
2851 (.%SUFFIX%): Likewise.
2853 2001-05-27 Tom Tromey <tromey@redhat.com>
2855 * automake.in (handle_multilib): Only add multilib support code at
2857 * lib/am/multilib.am: Handle invocation of *-multi targets
2858 differently for SUBDIRS and non-SUBDIRS Makefiles.
2859 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2860 Only add multilib code when the Makefile in question is actually
2863 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2865 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2867 * automake.in (handle_single_transform_list): Skip unknown
2870 2001-05-25 Tom Tromey <tromey@redhat.com>
2872 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2874 2001-05-24 Tom Tromey <tromey@redhat.com>
2876 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2877 directory in some situations.
2879 * automake.in (generate_makefile): Better explanation for ansi2knr
2882 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2884 * automake.in (handle_languages): Skip unknown extensions.
2885 (derive_suffix): Check whether $extension_map{$source_ext}
2886 is undefined, not empty.
2888 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2890 * automake.in (read_am_file): Ignore trailing backslash on
2893 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2895 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2897 2001-05-21 Akim Demaille <akim@epita.fr>
2899 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2900 multiple times'' warning.
2902 2001-05-20 Tom Tromey <tromey@redhat.com>
2904 * configure.in: Updated to 1.4g.
2906 * configure.in: Updated to 1.4f.
2908 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2910 * lib/ansi2knr.c: New version.
2912 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2915 2001-05-19 Tom Tromey <tromey@redhat.com>
2917 * config.guess, config.sub: New versions from FSF.
2919 * Makefile.am (fetch): Compare against files in srcdir.
2921 For for ansi2knr report from Harlan Stenn:
2922 * automake.in (generate_makefile): Run handle_compile before
2925 2001-05-18 Tom Tromey <tromey@redhat.com>
2927 * automake.in: Reverted erroneous checkin.
2929 2001-05-18 Akim Demaille <akim@epita.fr>
2931 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2932 to missing `install-info'.
2934 2001-05-17 Tom Tromey <tromey@redhat.com>
2936 * automake.in (lang_c_finish): Use `rm -f'.
2938 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2939 * tests/Makefile.am (TESTS): Added new file.
2940 * tests/ansi5.test: New file.
2942 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2944 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2946 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2947 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2948 * automake.texi (Requirements): Document the use of the STRIP
2949 variable in cross-compilation environments.
2951 2001-05-17 Tom Tromey <tromey@redhat.com>
2953 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2954 to no dependency tracking.
2955 * tests/Makefile.am (TESTS): Added depcomp2.test.
2956 * tests/depcomp2.test: New file. From Pavel Roskin.
2958 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2960 * lib/depcomp (tru64): New dependency tracking mode.
2962 Fix for PR automake/159:
2963 * lib/depcomp (aix): Rewrote.
2966 Fix for PR automake/174:
2967 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2968 * automake.in (read_am_file): Warn if `#' is at start of rule.
2970 2001-05-16 Tom Tromey <tromey@redhat.com>
2972 For PR automake/174:
2973 * tests/Makefile.am (TESTS): Added comment3.test.
2974 (XFAIL_TESTS): Likewise.
2975 * tests/comment3.test: New file.
2977 Fix for PR automake/175:
2978 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2979 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2980 `Leaving directory' messages.
2982 For PR automake/175:
2983 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2984 * tests/make.test: Run test with `make -w'.
2986 * tests/Makefile.am (TESTS): Removed maintclean.test.
2987 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2989 * lib/am/configure.am (maintainer-clean-am): Removed.
2990 (maintainer-clean-conf): Removed.
2991 * tests/maintclean.test: Removed.
2993 2001-05-15 Tom Tromey <tromey@redhat.com>
2995 Fix for PR automake/177:
2996 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2997 automake or aclocal.
2999 Fix for maintclean.test:
3000 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
3001 * lib/am/clean.am (distclean-generic): Don't remove config.cache
3003 (distclean, maintainer-clean): Moved to...
3004 * lib/am/configure.am: ... here.
3005 (distclean): Remove config.cache and config.log.
3006 (maintainer-clean): Removed.
3007 (maintainer-clean-conf): New target.
3008 (maintainer-clean-am): New target.
3010 * tests/Makefile.am (TESTS): Added maintclean.test.
3011 (XFAIL_TESTS): Likewise.
3012 * tests/maintclean.test: New file.
3014 Fixes PR automake/175:
3015 * tests/target-cflags.test: Use $needs_gnu_make.
3016 * tests/exsource.test: Use $needs_gnu_make.
3017 * tests/make.test: Require GNU make.
3018 * tests/defs (needs_gnu_make): Compute.
3020 2001-05-14 Tom Tromey <tromey@redhat.com>
3022 * lib/ylwrap: Fixed quoting on regular expression. Fixes
3025 Fix for texinfo10.test.
3026 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
3027 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
3028 * automake.in (handle_texinfo_helper): New sub.
3029 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
3030 * tests/texinfo10.test: Added more cases.
3032 Fix for yaccvpath.test:
3033 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
3034 * lib/am/distdir.am (distdir): Always look for file in build
3036 * lib/ylwrap: Quote the `#line' regular expression.
3037 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
3038 change; don't run sed on the generated file.
3039 * tests/yaccvpath.test: Create new parser in srcdir. Added test
3040 to make sure parser will be rebuilt at dist time.
3042 2001-05-13 Pavel Roskin <proski@gnu.org>
3044 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
3045 beginning with `##'.
3046 * automake.texi (General Operation): Document it.
3048 2001-05-13 Tom Tromey <tromey@redhat.com>
3050 Reported by Rainer Orth:
3051 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
3053 * tests/Makefile.am (TESTS): Added distname.test.
3054 * tests/distname.test: New file.
3056 * Makefile.am (dist_pkgdata_DATA): Removed.
3058 * tests/defs: Find files to copy in lib/.
3059 * automake.in (perllibdir): Set to Automake directory.
3060 * ansi2knr.c, ansi2knr.1: Removed.
3061 * Makefile.am (dist_am_DATA): Removed.
3063 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
3065 (scriptdir): Removed.
3066 (dist_script_DATA): Likewise.
3067 (install-data-hook): Likewise.
3068 (installcheck-local): Likewise.
3069 (TAGS_FILES): Removed amfiles.
3070 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
3071 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
3072 point it to the right directory.
3073 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
3074 compile.am, configure.am, data.am, dejagnu.am, depend.am,
3075 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
3076 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
3077 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
3078 mans.am, multilib.am, program.am, progs.am, python.am,
3079 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
3080 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
3081 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
3082 (AUTOMAKE): Use --libdir, not --amdir.
3083 Ues AC_CONFIG_AUX_DIR.
3084 * lib/Makefile.am (SUBDIRS): Added `am'.
3085 (scriptdir): New macro.
3086 (dist_script_DATA): Likewise.
3087 (dist_pkgdata_DATA): Likewise.
3088 (install-data-hook): New target.
3089 (installcheck-local): Likewise.
3090 * lib/am/Makefile.in: New file.
3091 * lib/am/Makefile.am: Removed everything except amdir and
3094 2001-05-13 Akim Demaille <akim@epita.fr>
3096 * automake.in ($pkgdata_dir): Rename as...
3098 ($am_dir): Remove, replace its uses with $libdir.
3099 (&parse_arguments): Replace --amdir with --libdir.
3100 * automake.texi (Invoking Automake): Document --libdir, not
3102 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
3104 2001-05-13 Tom Tromey <tromey@redhat.com>
3106 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
3108 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
3109 Correctly look at AMDEP_TRUE, not AMDEP.
3111 Report from Robert Boehne:
3112 * tests/Makefile.am (TESTS): Added depend2.test.
3113 * tests/depend2.test: New file.
3115 2001-05-13 James Henstridge <james@daa.com.au>
3117 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
3118 Point pythondir at site-packages directory. Rename
3119 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
3120 pyexecdir. Removed package/module argument. Removed
3121 PYTHON_SITE_INSTALL. Added version checking.
3123 2001-05-14 Jim Meyering <meyering@lucent.com>
3125 * automake.in (macro_define): Change one remaining use of
3126 `variable_dump' to `macro_dump'.
3128 2001-05-13 Tom Tromey <tromey@redhat.com>
3130 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
3133 2001-05-13 Akim Demaille <akim@epita.fr>
3135 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
3136 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
3137 (&am_primary_prefixes): Use `map' rather than `grep'.
3139 2001-05-13 Akim Demaille <akim@epita.fr>
3141 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3143 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3144 (&lang_asm_finish): Remove, set asm's finisher to C's one.
3146 2001-05-13 Akim Demaille <akim@epita.fr>
3148 * lang-compile.am: New file, loaded once per language.
3149 * depend2.am: Move definitions loaded once per language in the
3150 aforementioned file.
3151 * automake.in (&handle_languages): Load it.
3152 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3153 handled by lang-compile.am.
3155 2001-05-13 Tom Tromey <tromey@redhat.com>
3157 * tests/Makefile.am (TESTS): Added python.test.
3158 * tests/python.test: New file.
3159 * automake.in (handle_languages): Use
3160 config_aux_dir_set_in_configure_in.
3161 (handle_python): Correctly mention AM_PATH_PYTHON. Use
3162 py-compile, not py_comp. Define py_compile macro.
3164 2001-05-13 Derek Price <dprice@openavenue.com>
3166 * automake.in (require_file_with_conf_line,
3167 require_file_with_line, require_file): Pass a @require_file_path
3168 of $relative_dir instead of '.' to require_file_internal so that
3169 all the special casing of '.' can be removed elsewhere.
3170 (require_config_file, require_conf_file_with_line,
3171 require_conf_file_with_conf_line): Remove special casing for '.'
3172 and make sure $config_aux_dir is maintained properly.
3173 (require_file_internal): Remove special casing of '.' and set
3174 @require_file_path when missing files are added.
3175 (maybe_push_required_file): Remove special casing of '.'
3176 (handle_dependencies): Remove a workaround for a bug now fixed
3177 and remove $config_aux_dir special casing.
3178 (handle_configure): Remove special casing for $config_aux_dir
3179 (handle_python): Ditto.
3180 (yacc_lex_finish_helper): Change $config_aux_dir switch to
3181 switch on the value of $config_aux_dir_set_in_configure_in.
3182 (handle_texinfo): Ditto.
3183 (scan_one_configure_file): Set $config_aux_dir and
3184 $config_aux_dir_set_in_configure_in properly so special casing
3185 on the value of $config_aux_dir can be removed elsewhere.
3186 * tests/depcomp.test: New file.
3187 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3188 first subdir containing a C file.
3189 * tests/libobj2.test: Ditto.
3190 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3192 2001-05-12 Tom Tromey <tromey@redhat.com>
3194 * tests/gcj.test: Updated for gcj dependency tracking.
3195 * tests/gcj2.test: Likewise.
3197 Fixes PR automake/169.
3198 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
3200 * automake.in (java): Added autodep entry.
3201 * tests/Makefile.am (TESTS): Added gcj3.test.
3202 * tests/gcj3.test: New file.
3204 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
3206 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3207 stop at the first '='.
3208 * tests/Makefile.am (TESTS): Added vars.test.
3209 * tests/vars.test: New file.
3211 2001-05-12 Akim Demaille <akim@epita.fr>
3213 * automake.in (&handle_single_transform_list): Simplify
3214 computation of $object and $this_obj_ext.
3215 * tests/lex3.test: Merge into...
3216 * tests/lex.test: here.
3217 * tests/pr19.test: Improve and rename as...
3218 * tests/lex3.test: this.
3220 2001-05-09 Tom Tromey <tromey@redhat.com>
3222 * automake.in (read_am_file): Correctly compute $saw_bk.
3223 (scan_autoconf_files): Ensure configure_dist_common is always
3225 * tests/defs (AUTOMAKE): Added --Werror.
3227 2001-05-09 Pavel Roskin <proski@gnu.org>
3229 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3232 2001-05-09 Tom Tromey <tromey@redhat.com>
3234 * tests/werror.test: Use `rm -f'.
3236 2001-05-09 Akim Demaille <akim@epita.fr>
3238 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3240 2001-05-09 Akim Demaille <akim@epita.fr>
3242 * automake.in: Remove some code left from bad patches.
3243 (&handle_dependency): Remove, for the same reason.
3245 2001-05-09 Akim Demaille <akim@epita.fr>
3247 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3248 (&handle_tests_dejagnu, &define_standard_variables): Don't.
3249 (&define_standard_variables): Don't transform %top_builddir% since...
3250 * header-vars.am: Use %TOPDIR% instead.
3252 2001-05-09 Akim Demaille <akim@epita.fr>
3254 * automake.in (@objects): Remove, unused.
3255 Remove all the code related to it, and to former `$(OBJECTS)'.
3257 2001-05-08 Tom Tromey <tromey@redhat.com>
3260 * ylwrap: Handle arguments to program. Remove old code that tried
3261 to avoid absolute paths and add new code to do it in all cases.
3262 Removed ancient logic that tried to deal with relative path.
3263 * tests/Makefile.am (TESTS): Added yacc4.test.
3264 * tests/yacc4.test: New file.
3266 Fix for PR automake/149 and werror.test:
3267 * automake.in (require_file_internal): Use am_line_warning or
3268 am_conf_line_warning when suppressing error.
3269 (am_line_warning): New sub.
3270 (am_conf_line_warning): Save and restore warning signal.
3271 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3273 Fix for PR automake/36:
3274 * tests/Makefile.am (TESTS): Added asm.test.
3275 * tests/asm.test: New file.
3276 * automake.in (asm): Use ASFLAGS and AS.
3277 (lang_asm_finish): New sub.
3279 * automake.in (read_am_file): Removed debugging code.
3281 For PR automake/149:
3282 * tests/Makefile.am (TESTS): Added werror.test.
3283 (XFAIL_TESTS): Likewise.
3284 * tests/werror.test: New file.
3286 * automake.in (conditional_true_when): Don't return if we see
3289 * tests/objc.test: Removed.
3290 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3293 * automake.in (subst): New sub.
3294 (handle_languages): Use it.
3295 (output_lex_build_rule): Likewise; also use _am_quote.
3296 (check_libobjs_sources): Likewise.
3297 (make_paragraphs): Use subst.
3299 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3302 * automake.in (file_contents_internal): Prototype now `$$%'.
3303 (register_language): Prototype now `%'.
3305 Fixes test subobj6.test and PR automake/160:
3306 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3307 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3308 (distclean-compile): Added DISTRMS.
3309 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3310 `mostlyclean' use; added test for non-subdir case.
3311 * automake.in (compile_clean_files): New global.
3312 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3313 (initialize_per_input): Initialize compile_clean_files.
3314 (handle_single_transform_list): Set compile_clean_files entries.
3315 (handle_compile): Handle compilation cleanups.
3317 2001-05-08 Lars J. Aas <larsa@sim.no>
3319 * automake.texi (Canonicalizing Automake macros): Document not
3320 canonicalizing strudels (@) anymore.
3322 2001-05-08 Akim Demaille <akim@epita.fr>
3324 * distdir.am (dist-all): Build all the flavors using a single
3327 2001-05-08 Akim Demaille <akim@epita.fr>
3329 * automake.in (&file_contents_internal): Apply the @cond_stack to
3330 the rules and assignments.
3331 Don't rely on `$.' as it's biased by &make_paragraphs.
3332 Don't remove backslashes in variable values.
3334 2001-05-08 Akim Demaille <akim@epita.fr>
3336 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3337 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3338 ($MACRO_PATTERN): Just catch the name of a macro.
3339 ($BOGUS_MACRO_PATTERN): Remove.
3340 ($ASSIGNMENT_PATTERN): New.
3341 (&file_contents_internal, &make_paragraphs): Adjust.
3342 (¯o_define): Catch bad macro names.
3343 (&cond_stack_endif): Better error message.
3344 (&file_contents_internal): Don't remove backslashes in variable
3346 (¯o_define): Do it for `+=' user variables.
3347 (&define_standard_variables): Use `undef' instead of a dummy
3349 (&make_paragraph): Be sure not to chop the trail of hash only
3350 lines: adjust the `##' regexp.
3351 (&rule_define): Fix a bug: don't read $1 but $target.
3352 * tests/condincl.test: Strengthen.
3354 2001-05-08 Akim Demaille <akim@epita.fr>
3356 * automake.in (Language): Add attributes `Name' and `config_vars'.
3357 (&finish): Work properly if there is no _finish.
3358 (Automake): Register language Names and AC_SUBST dependencies.
3359 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3360 (&handle_languages): Once per language, invoke
3361 `define_linker_variables', and check its config_vars.
3362 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3363 (&lang_java_finish): Remove.
3364 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3366 2001-05-08 Akim Demaille <akim@epita.fr>
3368 * automake.in (&file_contents_internal): Accept $IS_AM.
3369 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3371 2001-05-08 Akim Demaille <akim@epita.fr>
3373 * automake.in (am_install_var): Use `next' instead of `if' on the
3376 2001-05-08 Akim Demaille <akim@epita.fr>
3378 * automake.in (Language): Add attributes `lder' and `ld'.
3379 (®ister_language): Specify for cxx, objc, f77, gcj.
3380 (&define_linker_variable): New.
3381 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3382 (&lang_java_finish): Adjust.
3383 (&libtool_compiler): Remove.
3385 2001-05-08 Akim Demaille <akim@epita.fr>
3387 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3388 argument, as you don't use it.
3390 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3393 (&handle_programs): Don't mess with %lex_sources, as you don't use
3396 2001-05-08 Akim Demaille <akim@epita.fr>
3398 * automake.in (Language): Add attribute `link'.
3399 (®ister_language): Specify for cxx, objc, f77, gcj.
3400 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3401 (&lang_java_finish): Adjust.
3403 2001-05-08 Akim Demaille <akim@epita.fr>
3405 * automake.in (&define_compiler_variables): Use only $LANG as
3407 (&handle_languages): Adjust.
3409 2001-05-08 Akim Demaille <akim@epita.fr>
3411 * automake.in (&define_program_variable): Remove.
3412 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3414 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3415 * texinfos.am: Do it.
3417 2001-05-08 Akim Demaille <akim@epita.fr>
3419 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3421 * dejagnu.am: Do it.
3422 (site.exp): Use `if'.
3424 2001-05-08 Akim Demaille <akim@epita.fr>
3426 * automake.in: Formatting changes.
3427 (variable_dump, variables_dump): Rename as...
3428 (macro_dump, macros_dump): these.
3430 2001-05-08 Akim Demaille <akim@epita.fr>
3432 Support `if !COND', `else COND', `end COND'.
3434 * automake.texi (Conditionals): Document it.
3435 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3436 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3437 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3438 a leading `!' before the condition.
3439 (&handle_options): Use `\d'.
3440 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3441 (&read_am_file, &file_contents_internal): Use them.
3442 (&transform): No longer substitute `%!COND%', forcing the use of
3444 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3446 2001-05-08 Akim Demaille <akim@epita.fr>
3448 Uniform handling of per-object compilation rules.
3449 Note: Automake is repaired.
3451 * automake.in (&handle_languages): Output per object rules for all
3452 the objects, not only for those which language supports dependency
3454 Fix Automake: when outputting per-object rules, use `-o' if the
3455 language has no `output_flag', as it's really needed.
3456 (&handle_single_transform_list): Instead of special casing files
3457 which need per object rules but which language don't support
3458 dependency tracking, keep them in the queue for processing by
3459 `&handle_languages'.
3461 2001-05-08 Akim Demaille <akim@epita.fr>
3463 * automake.in (&handle_languages): `ext-compile.am' and
3464 `depend2.am' are now equivalent for generic rules: output only the
3466 * ext-compile.am: Remove.
3468 2001-05-08 Akim Demaille <akim@epita.fr>
3470 Note: This patch breaks Automake. Repaired within two patches.
3472 * automake.in (Language): Replace the attribute `output_arg' with
3473 `compile_flag' and `output_flag'.
3474 (Automake): Adjust language registrations.
3475 (&handle_languages): Transform `-c' and `-o' for both suffix and
3476 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3478 (&handle_single_transform_list): Adjust to `compile_flag' and
3480 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3482 2001-05-08 Akim Demaille <akim@epita.fr>
3484 * automake.in (&handle_languages): Don't transform %COMPILER%.
3485 Use `$lang->compiler' instead of `$pfx' to transform generic
3486 %COMPILE% and %LTCOMPILE%.
3487 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3488 of %COMPILER% and $<.
3490 2001-05-07 Akim Demaille <akim@epita.fr>
3492 * automake.in (&handle_languages): Use the same `%transform' for
3493 both `depend2.am' and `ext-compile.am'.
3494 Delay the definition of `$flag' so it is right before the first use,
3495 and rename as `$flags'.
3497 2001-05-07 Akim Demaille <akim@epita.fr>
3499 * automake.in (&handle_languages): Compute `$ltoutarg' and
3500 `$outarg' independently of dependency code.
3501 There is no use looping on a language's possible extensions since
3502 we loop over used extensions.
3503 Therefore, there is no use for a local `%transform'.
3505 2001-05-07 Akim Demaille <akim@epita.fr>
3507 * automake.in (&handle_languages): Don't use $comp.
3509 2001-05-07 Akim Demaille <akim@epita.fr>
3511 * automake.in (&handle_languages): Merge the two loops over
3512 %extension_seen/%languages into one and group code to be run once
3513 per language together.
3515 2001-05-07 Akim Demaille <akim@epita.fr>
3517 * automake.in (&handle_languages): Move the `if
3518 ($use_dependencies)' block so that loops over extensions and
3519 languages are next to each other.
3521 2001-05-07 Akim Demaille <akim@epita.fr>
3523 * automake.in (&depend2): Remove, merged into...
3524 (&handle_languages): here.
3526 2001-05-07 Akim Demaille <akim@epita.fr>
3528 * automake.in (&finish_languages): Rename as...
3529 (&handle_languages): this.
3530 Include the body of...
3531 (&handle_dependency): this.
3534 2001-05-06 Tom Tromey <tromey@redhat.com>
3537 * tests/Makefile.am (TESTS): Add subdir5.test.
3538 (XFAIL_TESTS): Likewise.
3539 * tests/subdir5.test: New file.
3541 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3542 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3544 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3546 (handle_options): Handle fork identifier in version number.
3548 * automake.texi (Dist): Document distcheck-hook.
3550 * tests/confh4.test: Update to reflect DEFS change.
3551 For PR automake/132.
3553 Fix for PR automake/132:
3554 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3556 (java): Remove INCLUDES and DEFS from compilation.
3557 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3558 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3559 (DEFAULT_INCLUDES): New macro.
3561 * automake.in (usage): Re-align explanatory text.
3562 Fixes PR automake/148.
3564 * automake.texi (Uniform): Don't use @PROGRAMS@.
3565 Fixes PR automake/154.
3567 For PR automake/160:
3568 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3569 (XFAIL_TESTS): Add subobj6.test.
3570 * tests/subobj6.test: New file.
3572 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3573 (Top level): Don't mention `flat'.
3574 (Extending): Likewise.
3575 (User Variables): New node.
3577 * distdir.am (distdir): Make subdirectory for each file.
3578 Fixes test subobj5.test.
3580 * tests/Makefile.am (TESTS): Add new file.
3581 (XFAIL_TESTS): Likewise.
3582 * tests/texinfo10.test: New file.
3584 2001-05-05 Pavel Roskin <proski@gnu.org>
3586 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3587 in the same way as @defcodeindex and @syncodeindex respectively.
3589 2001-05-05 Tom Tromey <tromey@redhat.com>
3591 * mans.am (install-man%SECTION%): Minor cleanup.
3592 (uninstall-man%SECTION%): Likewise.
3594 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3595 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3597 (uninstall-man%SECTION%): Likewise.
3598 * automake.in (handle_man_pages): Handle dist_ and nodist_
3601 * automake.texi (Future): Removed.
3603 (Hello): Don't mention `deep'.
3604 (Top level): Likewise.
3606 * automake.in (conditional_true_when): Use a hash, not index().
3607 Also, a TRUE component always results in a true return.
3608 Fixes test cond10.test. For PR automake/164.
3609 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3611 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3613 For PR automake/164:
3614 * tests/Makefile.am (TESTS): Added new file.
3615 (XFAIL_TESTS): Likewise.
3616 * tests/cond10.test: New file.
3618 2001-05-05 Tom Tromey <tromey@redhat.com>
3620 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3622 (install-info-am): Likewise.
3624 2001-05-05 Pavel Roskin <proski@gnu.org>
3626 * automake.in (scan_texinfo_file): Don't push undefined values
3629 2001-05-05 Richard Boulton <richard@tartarus.org>
3631 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3634 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3636 * automake.in (required_targets): Added uninstall-am.
3638 2001-05-05 Tom Tromey <tromey@redhat.com>
3640 Fix bug reported by Robert Boehne:
3641 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3643 (handle_dependencies): Likewise.
3644 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3645 substitution. Correct diff now has 30 lines. Look for space
3646 after losing `undef'.
3648 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3650 * m4/sanity.m4: Remove the temp file before possible error exits.
3652 2001-05-04 Akim Demaille <akim@epita.fr>
3654 * configure.in: Set perllibdir.
3657 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3659 * automake.in ($pkgdata_dir): New.
3660 (&require_file_internal): Use it.
3662 2001-05-03 Akim Demaille <akim@epita.fr>
3664 Case insensitive FS choke on Automake/ vs automake.
3665 Reported by Tim Van Holder.
3667 * Automake/: Move into...
3668 * lib/: this new directory.
3670 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3672 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3675 2001-04-30 Jim Meyering <meyering@lucent.com>
3677 * automake.in: Remove `/lib' from include directory.
3679 2001-04-27 Akim Demaille <akim@epita.fr>
3681 AM_INIT_AUTOMAKE is no longer optional.
3683 * automake.in ($seen_make_set, $seen_prog_install)
3684 ($seen_arg_prog): Remove.
3685 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3686 Remove related code.
3688 2001-04-27 Akim Demaille <akim@epita.fr>
3690 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3692 * tests/specflags3.test: here.
3694 2001-04-27 Akim Demaille <akim@epita.fr>
3696 * automake.in ($seen_path_xtra): Remove.
3697 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3698 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3700 2001-04-27 Akim Demaille <akim@epita.fr>
3702 * automake.in (&file_contents_internal): Declare it.
3704 2001-04-27 Akim Demaille <akim@epita.fr>
3706 * automake.in (&read_am_file, &file_contents_internal): Don't
3707 define macros when `FALSE', to avoid errors on doubly defined
3708 variables but under condition `FALSE'. In order to allow...
3709 (&am_install_var): When reading the associated file for the first
3710 time, enable `%?FIRST%'.
3711 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3712 * libs.am: Do it when `%?FIRST%'.
3714 2001-04-27 Akim Demaille <akim@epita.fr>
3716 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3717 * ansi2knr.am: Do it.
3718 Prefer `if %?FOO%' to `if %!FOO%'.
3720 2001-04-27 Akim Demaille <akim@epita.fr>
3722 * automake.in (®ister_language, &finish_languages): Use `pure'
3724 (®ister_language): Use %done properly with objects, not names.
3725 (&finish_languages): Replace `$non_c' with `$needs_c'.
3727 2001-04-27 Akim Demaille <akim@epita.fr>
3729 Unify LISP, PYTHON and JAVA primaries.
3731 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3732 return if there are no files, hook elisp-comp on the Autoconf
3733 macro, rely on lisp.am to define variables.
3734 (&handle_python, &handle_java): Likewise.
3735 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3736 `PYTHON' must be handled here, not in `&handle_python'.
3737 * java.am: Define needed variables and rules.
3739 2001-04-27 Akim Demaille <akim@epita.fr>
3741 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3743 * header.am: Include data.am.
3745 2001-04-27 Akim Demaille <akim@epita.fr>
3747 * automake.in (&am_install_var): Transform `PRIMARY'.
3748 * data.am: Equip with %PRIMARY%.
3750 2001-04-27 Akim Demaille <akim@epita.fr>
3752 * automake.in (@conditional_stack): Rename as...
3753 (@cond_stack): this.
3754 (&file_contents_internal): Support inclusion of files.
3756 2001-04-27 Akim Demaille <akim@epita.fr>
3758 * automake.in (&lang_extensions): Remove.
3759 (&add_depend2, &saw_sources_p): Adjust.
3760 * depend2.am: `%EXT%' no longer includes the dot.
3762 2001-04-27 Akim Demaille <akim@epita.fr>
3764 * automake.in (&finish_languages, &handle_single_transform_list)
3765 (&add_depend2, &handle_dependencies): No longer use the language
3766 name in `$lang'. Rename `$lang_obj' as `$lang'.
3768 2001-04-27 Akim Demaille <akim@epita.fr>
3770 * automake.in (®ister_language): Use `new Language' with a hash.
3772 2001-04-27 Akim Demaille <akim@epita.fr>
3774 * automake.in (®ister_language): Rename `output-arg' and
3775 `derived-autodep' as `output_arg' and `derived_autodep' to match
3776 the Language attribute.
3777 Set the defaults in %option instead of $lang.
3779 2001-04-27 Akim Demaille <akim@epita.fr>
3781 * Automake/: New directory.
3782 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3783 * automake.in (Language): Use Automake::Struct.
3784 * tests/defs: Adjust to find Struct.
3786 2001-04-23 Pavel Roskin <proski@gnu.org>
3788 * automake.in: Add forward declaration for register_language().
3789 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3792 2001-04-20 Akim Demaille <akim@epita.fr>
3794 * automake.in (%required_targets): Add `uninstall'.
3795 From Robert Collins.
3797 2001-04-12 Akim Demaille <akim@epita.fr>
3799 * automake.in (Language): Add attribute `name'.
3800 (®ister_language): The name of the language is now given in the
3802 No longer use `$lang' as the name of the language.
3803 Rename `$lang_obj' as `$lang'.
3805 2001-04-12 Akim Demaille <akim@epita.fr>
3807 * automake.in (Language): Add attribute `_finish'.
3810 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3811 (&lang_asm_finish): Remove.
3813 2001-04-12 Akim Demaille <akim@epita.fr>
3815 * automake.in (Language): Add attribute `extensions'.
3816 (Automake): Pass a hash to `®ister_language' instead of a
3817 list of pseudo assignments.
3818 (®ister_language): Adjust.
3819 (&finish_languages): Initialize `$ltoutarg'.
3821 2001-04-12 Akim Demaille <akim@epita.fr>
3823 * automake.in (Language): Add attribute `output_arg'.
3824 (%language_map): Remove.
3825 (®ister_language): Build only the object, and store in
3827 (&finish_languages, &handle_single_transform_list): Adjust.
3829 2001-04-12 Akim Demaille <akim@epita.fr>
3831 * automake.in (Language): Add attributes `flags', `compile' and
3833 (&finish_languages, &handle_single_transform_list, &handle_dist)
3834 (&add_depend2, ®ister_language): Use them and the `linker' and
3837 2001-04-12 Akim Demaille <akim@epita.fr>
3839 * automake.in (&handle_single_transform_list, &finish_languages)
3840 (&handle_dist, &handle_dependencies): Use the language object for
3841 autodep and derived-autodep too.
3843 2001-04-12 Akim Demaille <akim@epita.fr>
3845 * automake.in (¯o_define): Ignore Automake definition for
3846 ($var, $cond) if there is already a user definition for ($var, $cond).
3848 2001-04-12 Akim Demaille <akim@epita.fr>
3850 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3851 but also @deffn and so on which push data in indexes.
3852 Reported by Derek R. Price.
3854 2001-04-12 Akim Demaille <akim@epita.fr>
3856 * automake.in (Language): New package, temporarily in this file.
3858 (Automake): New package.
3860 (&handle_single_transform_list): Use the language object's `ansi'
3861 attribute instead of `$language_map{"$lang-ansi-p"}'.
3862 (®ister_language): Build and register the language too.
3864 2001-04-11 Tom Tromey <tromey@redhat.com>
3866 Fixes report from Larry Jones:
3867 * automake.in (handle_dependencies): Add `@_am_quote@' where
3869 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3871 2001-04-11 Akim Demaille <akim@epita.fr>
3873 * depend2.am: Fix the `if' condition for Libtool.
3874 Reported by Robert Boehne.
3876 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3878 * tests/subobj5.test: New file.
3880 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3882 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3883 * tests/Makefile.am (TESTS): Added make.test.
3884 * tests/make.test: New file.
3886 2001-04-10 Tom Tromey <tromey@redhat.com>
3888 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3890 2001-04-10 Derek R. Price <dprice@collab.net>
3892 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3894 2001-04-10 Akim Demaille <akim@epita.fr>
3896 * distdir.am: Add a missing backslash.
3898 2001-04-10 Akim Demaille <akim@epita.fr>
3900 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3902 Specify to the caller whether $regen_aclocal_m4.
3903 (&handle_configure): Adjust.
3904 Transform `REGEN-ACLOCAL-M4'.
3906 * configure.am: Use it.
3907 * tests/defs (me): New.
3908 * tests/confdeps.test: New.
3910 2001-04-09 Tom Tromey <tromey@redhat.com>
3912 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3913 Fixes report from Jim Meyering.
3915 2001-04-09 Akim Demaille <akim@epita.fr>
3917 * automake.in (&handle_configure): Don't bother with optimizing
3920 2001-04-09 Akim Demaille <akim@epita.fr>
3922 * tests/cond3.test (expected): Adjust.
3924 2001-04-09 Akim Demaille <akim@epita.fr>
3926 * automake.in (&handle_single_transform_list): Remove $xbase,
3928 (&handle_source_transform): All the variables have conditions now,
3930 (&variable_delete): Admit an argument @conds.
3932 2001-04-09 Akim Demaille <akim@epita.fr>
3934 * automake.in ($source_suffix_pattern): Remove, unused.
3935 %extension_map seems to have replaced it.
3937 2001-04-09 Akim Demaille <akim@epita.fr>
3939 * ext-compile.am: New file.
3940 * automake.in (&finish_languages): Output it.
3941 Require a C linker if there are several registered source suffixes.
3942 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3943 extensions, which are discovered in ext-compile.am.
3944 With the help from Robert Boehne.
3946 2001-04-09 Akim Demaille <akim@epita.fr>
3948 * automake.in (&handle_compile): Extract from...
3949 (&get_object_extension): here.
3950 (&read_am_file): Call it.
3951 ($included_generic_compile, $included_knr_compile)
3952 ($included_libtool_compile): Remove.
3953 ($get_object_extension_was_run): New.
3955 2001-04-09 Akim Demaille <akim@epita.fr>
3957 Use AM_CONDITIONAL and if/endif for AMDEP.
3959 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3960 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3961 to a configure time if/endif), or to `FALSE' (static removal of
3963 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3964 * depend2.am: Use if/endif.
3966 Adjust the 101 tests that use dependencies so that they
3967 properly invoke aclocal before automake. They need to `see'
3968 `AM_CONDITIONAL([AMDEP], ...)'.
3970 2001-04-09 Akim Demaille <akim@epita.fr>
3972 * tags.am: Fix missing leading tabs.
3974 2001-04-09 Akim Demaille <akim@epita.fr>
3976 * automake.in: Use simple quotes to define the _PATTERN variables
3977 to unobfuscate the regexps.
3978 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3980 2001-04-09 Akim Demaille <akim@epita.fr>
3982 * automake.in (&rule_define): When you discover a suffix rules,
3983 register the extensions for .SUFFIXES.
3984 (&handle_texinfo): Don't register the suffixes.
3985 (&get_object_extension): Don't register suffixes, let them be
3986 discovered in depend2.am.
3987 (&handle_emacs_lisp): Depend on your lisp.am.
3988 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3990 2001-04-09 Akim Demaille <akim@epita.fr>
3992 * subdirs.am: Don't define info related recursive targets.
3995 2001-04-09 Akim Demaille <akim@epita.fr>
3997 * subdirs.am (RECURSIVE_TARGETS): New variable.
3999 * automake.in (&handle_subdirs): Output it.
4000 (&file_contents_internal): Support value spread on several lines.
4002 2001-04-09 Akim Demaille <akim@epita.fr>
4004 * automake.in (&handle_man_pages): Rely on mans.am to define
4005 man%SECTION%dir and MANS.
4008 2001-04-09 Akim Demaille <akim@epita.fr>
4010 * automake.in (&variable_dump): Use %var_type properly.
4011 (¯o_define): Enforce better overriding rules.
4012 Handle the special case that used to handle...
4013 (&define_pretty_variable): this.
4015 The variables you define are owned by Automake.
4016 (&generate_makefile): PRE_INSTALL and co must not be defined *by
4018 (&variable_defined): Now independent of the owner.
4019 (&variable_output, &variable_pretty_output): Adjust to %var_type.
4021 2001-04-09 Akim Demaille <akim@epita.fr>
4023 * automake.in (%var_was_plus_eq): Rename as...
4025 (%def_type): Remove.
4026 (¯o_define): %var_type may now hold `', `+', or `:'.
4027 (%conditional, %am_vars, %content_lines): Rename as...
4028 (%var_value, %var_comment, %var_line): these.
4030 2001-04-09 Akim Demaille <akim@epita.fr>
4032 * automake.in (&variable_output): Admit a list of @CONDS.
4033 (&variable_pretty_output): New.
4034 (&define_pretty_variable): Use it.
4035 (&read_am_file, &file_contents_internal): Prepend a separator to
4036 $am_vars only if there is none yet.
4037 (&file_contents_internal): Rename $separator as $spacing to
4038 harmonize with &read_am_file.
4040 2001-04-09 Akim Demaille <akim@epita.fr>
4042 * automake.in (&am_install_var): Transform DIST, and let the *.am
4043 files handle DIST_COMMON.
4044 * data.am, header.am, java.am, list.am, python.am, script.am: Set
4047 2001-04-09 Akim Demaille <akim@epita.fr>
4049 * automake.in (%dist_common): Remove.
4050 (%configure_dist_common): Replace with...
4051 ($configure_dist_common): this.
4052 (&generate_makefile): Read the user file before using
4053 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
4054 that no variable is defined before it is run.
4055 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
4056 (&dist_cmp): Rename as...
4057 (&for_dist_common): this.
4058 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
4060 Adjust to $configure_dist_common.
4061 * configure.am, texi-vers.am: Set DIST_COMMON.
4063 2001-04-09 Akim Demaille <akim@epita.fr>
4065 * automake.in (&handle_aclocal_m4): Rename as...
4066 (&scan_aclocal_m4): this.
4067 Return the list of aclocal.m4 dependencies.
4068 (&handle_configure): Invoke it, and use it when loading...
4069 * configure.am: Template the rules to recreate aclocal.m4.
4071 2001-04-09 Akim Demaille <akim@epita.fr>
4073 * automake.in (&get_object_extension): Use ansi2knr.am.
4074 * clean-kr.am, kr-extra.am: Remove, merged into...
4075 * ansi2knr.am: this new file.
4077 2001-04-09 Akim Demaille <akim@epita.fr>
4079 * automake.in (&transform): Fix an incredible bug which was
4080 breaking the if/endif system.
4081 ($ELSE_PATTERN): Admit an optional argument.
4083 2001-04-09 Akim Demaille <akim@epita.fr>
4085 * comp-vars.am: Remove, merged into...
4087 * automake.in (&get_object_extension): Adjust.
4089 2001-04-09 Akim Demaille <akim@epita.fr>
4091 * remake.am: Merge into...
4092 * configure.am: ... here.
4093 * automake.in (&handle_configure): Adjust.
4095 2001-04-09 Akim Demaille <akim@epita.fr>
4097 * automake.in (&output_lex_build_rule): Output this...
4100 2001-04-09 Akim Demaille <akim@epita.fr>
4102 * automake.in (&condition_negate): New.
4103 (&variable_conditions_permutations): Use it.
4104 (&read_am_file, &file_contents): Use it on `else' clauses to
4106 (&output_yacc_build_rule): Output this...
4107 * yacc.am: New file.
4109 2001-04-09 Akim Demaille <akim@epita.fr>
4111 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
4112 (&handle_dist): Don't.
4113 (&handle_clean): Don't handle config.status here, let...
4114 * clean.am: ... do it.
4115 * distdir.am: Adjust.
4117 2001-04-09 Akim Demaille <akim@epita.fr>
4119 * automake.in: Use strict vars and subs.
4120 Declare `%require_file_found'.
4121 (&handle_source_transform, &make_paragraphs): Declare my variables.
4123 2001-04-09 Akim Demaille <akim@epita.fr>
4125 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4126 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
4127 * java.am (_am_installdirs): Be sure to set it.
4129 2001-04-09 Akim Demaille <akim@epita.fr>
4131 * automake.in (&make_condition): Return '#' when FALSE.
4132 (&conditional_string): Return FALSE, not '#' in the corresponding
4134 (&file_contents_internal): Adjust.
4135 (&check_variable_defined_unconditional): Dump the guilty variable.
4137 2001-04-09 Akim Demaille <akim@epita.fr>
4139 * distdir.am: Use and abuse of if/endif.
4140 * scripts.am: Using if/endif with variables is fine.
4142 2001-04-09 Akim Demaille <akim@epita.fr>
4144 * automake.in (&make_paragraphs): Extract from &file_contents.
4145 Make it more robust than the previous RE based scheme.
4146 (&file_contents): Use it.
4148 2001-04-09 Akim Demaille <akim@epita.fr>
4150 * automake.in (&make_paragraphs): Extract from &file_contents.
4151 Make it more robust than the previous RE based scheme.
4152 (&file_contents): Use it.
4154 2001-04-09 Akim Demaille <akim@epita.fr>
4156 * tests/yacc2.test: Don't define several times a variable, as
4159 2001-04-09 Akim Demaille <akim@epita.fr>
4161 * automake.in (&handle_source_transform): Fix pr72: don't define
4162 $linker if there are no @files.
4164 2001-04-09 Akim Demaille <akim@epita.fr>
4166 Avoid reading twice header-vars.am as now macro_define
4169 * automake.in (&define_standard_variables): Don't output the
4171 (&read_main_am_file): Output first user variables, then Automake
4173 Don't call twice &define_standard_variables.
4174 Save variable comments in $am_vars.
4175 (&variable_output): New.
4176 (&file_contents_internal): New.
4177 Save variable comments in $am_vars.
4178 (&file_contents): Use it.
4180 2001-04-09 Akim Demaille <akim@epita.fr>
4182 * automake.in (¯o_define): The user is allowed to override
4183 a value if it was set by Automake, or if it was found in AC_SUBST.
4185 2001-04-09 Akim Demaille <akim@epita.fr>
4187 * automake.in (&handle_source_transform): Better locality of the
4189 Use `next' to skip nonexistent variables.
4191 2001-04-09 Akim Demaille <akim@epita.fr>
4193 * automake.in (&variable_dump): If a variable is undefined, say
4195 (&check_ambiguous_conditional): Give finer error messages.
4196 (¯o_define): Check that a `+=' variable is not set with `='.
4197 Check for ambiguous definitions each time you _set_ (even with `+=')
4199 (&read_main_am_file): Perform a deep copy of %conditional.
4201 2001-04-09 Akim Demaille <akim@epita.fr>
4203 * automake.in (&variable_defined): Some callers, e.g.,
4204 &am_primary_prefixes, really want to know if the variable is
4205 defined for any condition, not `TRUE' by default.
4206 (&am_primary_prefixes): Give a more precise error message.
4208 2001-04-09 Akim Demaille <akim@epita.fr>
4210 (&variable_conditions): Don't include `FALSE' in the result.
4212 2001-04-09 Akim Demaille <akim@epita.fr>
4214 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4215 (&variable_conditions): Don't include `FALSE' in the result.
4217 2001-04-09 Akim Demaille <akim@epita.fr>
4219 * tests/defs, tests/depend3.test: Remove useless code.
4221 2001-04-09 Akim Demaille <akim@epita.fr>
4223 * automake.in (&handle_source_transform): Use
4224 &variable_conditions, don't read $conditional{$var}.
4225 (&variable_conditions_sub): When the call is the top level call,
4226 generate all the permutations of the conditions.
4228 2001-04-09 Akim Demaille <akim@epita.fr>
4230 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4231 that it does not get noticed twice by automake, which now
4232 complains for multiple definitions.
4233 * tests/vartar.test: s/INSTALL/install/g, automake now complains
4234 because we defined INSTALL.
4236 2001-04-09 Akim Demaille <akim@epita.fr>
4238 * automake.in (&generate_makefile) Use macro_define to define
4239 SOURCES and OBJECTS.
4240 (&variable_defined): Don't check for $conditional{VAR}{COND} as
4241 this would make perl create $condition{VAR}, which we don't want.
4243 2001-04-09 Akim Demaille <akim@epita.fr>
4245 * automake.in (&variable_defined, &define_pretty_variable):
4246 Simplify code which used to handle the cases where not all
4247 variables were in %conditional.
4248 (&define_variable): Use &define_pretty_variable.
4249 (&variable_conditions_sub, &variable_value_as_list_worker)
4250 (&variable_value_as_list, &rule_define): Simplify syntax.
4251 (&read_main_am_file): Dump the guilty predefined variables.
4253 2001-04-09 Akim Demaille <akim@epita.fr>
4255 * automake.in (&variable_conditions_sub)
4256 (&variable_value_as_list_worker): Remove dead code which used to
4257 handle the cases where not all variables were in %conditional.
4259 2001-04-09 Akim Demaille <akim@epita.fr>
4261 * automake.in (&handle_source_transform, &read_main_am_file):
4262 Simplify loops which were split in two parts, conditional vs
4263 unconditional variables.
4265 2001-04-09 Akim Demaille <akim@epita.fr>
4267 Handle unconditional values of variables as conditioned by
4270 * automake.in (%contents): Remove.
4271 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4272 (&read_am_file, &variable_defined, &variable_conditions_sub)
4273 (&variable_value, &variable_value_as_list_worker)
4274 (&variable_value_as_list, &define_pretty_variable)
4275 (&read_main_am_file): Use
4276 $conditional, not %contents.
4277 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4278 (&variable_conditionally_defined): New.
4279 (&handle_dist): Use it.
4280 (&check_ambiguous_conditional): When multiply defined, specify
4281 under which condition.
4282 (¯o_define): Use it.
4283 (&variable_delete): New.
4284 (&read_am_file): Use it.
4285 (&am_install_var): Simplify, as all the variables are in
4288 2001-04-07 Tom Tromey <tromey@redhat.com>
4290 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4292 * tests/man.test: New file.
4294 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4296 * depcomp (gcc3): Invert test condition.
4298 2001-04-07 Tom Tromey <tromey@redhat.com>
4300 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4301 statement. Report from Larry Jones.
4303 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4305 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4307 2001-04-01 Tom Tromey <tromey@redhat.com>
4309 * java.am (.PHONY clean-am): Removed trailing ":".
4310 From Per Bothner. Fixes PR automake/139.
4312 2001-03-28 Akim Demaille <akim@epita.fr>
4314 * program.am: Fix a stupid typo: now *all* (not none) the programs
4316 Reported by Robert Boehne.
4318 2001-03-23 Akim Demaille <akim@epita.fr>
4320 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4323 2001-03-23 Akim Demaille <akim@epita.fr>
4325 * automake.in (&variable_conditionally_defined): Rename as...
4326 (&check_variable_unconditionally_defined): this.
4327 (&variable_dump): Fix the output.
4328 (&variable_defined, ¯o_define): Since conditions are
4329 canonicalized, don't use a loop to look for a condition: read the
4331 (¯o_define, &rule_define, &read_am_file, &file_contents):
4332 Rename $cond_string as $cond.
4333 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4334 discovered via AC_SUBST, they now trigger a `defined twice' error.
4336 2001-03-23 Akim Demaille <akim@epita.fr>
4338 * automake.in (&handle_footer, &handle_installdirs)
4339 (&read_main_am_file): Don't read %contents directly, use
4342 2001-03-23 Akim Demaille <akim@epita.fr>
4344 * automake.in (&read_am_file): Define the variables in a single
4346 Factor the $saw_bk code.
4348 2001-03-23 Akim Demaille <akim@epita.fr>
4350 * automake.in (&read_am_file): Keep $cond_string up to date.
4352 2001-03-23 Akim Demaille <akim@epita.fr>
4354 * automake.in (&define_variable): Use ¯o_define.
4356 2001-03-23 Akim Demaille <akim@epita.fr>
4358 * automake.in (¯o_define): Don't lose the location if we
4359 redefine a variable.
4360 Don't push all the variables in @var_list, let...
4361 (&read_am_file, &file_contents): ... do it.
4362 (&define_pretty_variable): Use macro_define.
4363 (&am_install_var): Delete the value of variables being redefined
4364 to pacify ¯o_define which checks that variables are not
4367 2001-03-23 Akim Demaille <akim@epita.fr>
4369 * automake.in (&conditional_dump): Rename as...
4370 (&variables_dump): this. Use...
4371 (&variable_dump): this new sub.
4373 2001-03-23 Akim Demaille <akim@epita.fr>
4375 * automake.in (&file_contents): Maintain $cond_string sync with
4377 Output rules only if not under `FALSE'.
4378 Define variables under $cond_string.
4379 * scripts.am: For the time being if/endif does not work properly
4382 2001-03-23 Akim Demaille <akim@epita.fr>
4384 * automake.in (IF_PATTERN): Unobfuscate the parens.
4385 (ENDIF_PATTERN): Allow a condition to be specified.
4386 (&file_contents): Use a @cond_stack.
4387 (&transform): At least for an easy transition, also transform
4388 %?FOO% and %!FOO%, as suggested by Lars.
4389 * scripts.am: First test bed for static if/endif use.
4391 2001-03-23 Akim Demaille <akim@epita.fr>
4393 * automake.in (&file_contents): Use rule_define.
4395 2001-03-23 Akim Demaille <akim@epita.fr>
4397 * automake.in (¯o_define): Don't rely on $1.
4398 Initialize the variable.
4399 Set its Automakism only if not defined or if given to the user.
4400 When concatenating values, insert a separator only if the value
4402 (&read_am_file): When dumping the @var_list, skip Automake
4404 (&file_contents): Use macro_define.
4406 2001-03-23 Akim Demaille <akim@epita.fr>
4408 * automake.in (&rule_define): Extract from...
4409 (&read_am_file): here.
4411 2001-03-23 Akim Demaille <akim@epita.fr>
4413 * automake.in (¯o_define, &read_am_file): More work for the
4414 former from the latter. Reorganize the latter.
4416 2001-03-23 Akim Demaille <akim@epita.fr>
4418 * automake.in (¯o_define): Extract from...
4419 (&read_am_file): here.
4421 2001-03-23 Akim Demaille <akim@epita.fr>
4423 * automake.in (%am_var_defs): Replace with...
4425 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4426 (&file_contents, am_primary_&prefixes): Adjust.
4427 (&variable_defined, &define_variable): The actual semantics is
4429 (&read_main_am_file): Assert the var is user defined when
4430 outputting @var_list.
4432 2001-03-23 Akim Demaille <akim@epita.fr>
4434 * automake.in (read_am_file): TRUE and FALSE are predefined
4436 (&by_condition): Adjust.
4437 (&conditional_string): Recognize `TRUE' and `FALSE'.
4438 (&make_condition): Use it.
4439 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4440 * automake.texi (Conditionals): Adjust.
4441 * tests/cond9.test: s/FALSE/WRONG/.
4443 2001-03-12 Pavel Roskin <proski@gnu.org>
4445 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4448 2001-03-12 Akim Demaille <akim@epita.fr>
4450 * automake.in (&variable_conditions_permutations): Separate the
4452 * tests/cond3.test: Improve the sed expression.
4454 2001-03-09 Pavel Roskin <proski@gnu.org>
4456 * Makefile.am (maintainer-check): Scan all *.am files and tests
4457 for invocations of `rm' without `-f'.
4458 * tests/mclean.test: Adjusted to prevent triggering the above
4461 2001-03-09 Tom Tromey <tromey@redhat.com>
4463 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4464 maintainer-check failure.
4466 2001-03-09 Akim Demaille <akim@epita.fr>
4468 * tests/cond3.test: Strengthen.
4470 2001-03-09 Akim Demaille <akim@epita.fr>
4472 * automake.in (&conditional_string): Produce a unique string
4473 characterizing a condition stack.
4474 (&conditional_same): Remove, comparing two strings is now enough.
4475 (&variable_defined): Adjust.
4476 (&read_am_file): Use conditional_string.
4478 2001-03-08 Akim Demaille <akim@epita.fr>
4480 * automake.in: Use -w.
4481 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4482 (&parse_arguments): Support --Werror and --Wno-error as a
4483 temporary hack until --warning/-W is properly implemented.
4484 (&handle_single_transform_list): Prototype.
4485 Be sure to define $directory.
4486 Use `exists' instead of testing the value of a maybe undefined
4488 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4489 (&handle_factored_dependencies): Use defined values.
4490 (&scan_one_autoconf_file): Save $_.
4491 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4492 Run automake with --Wno-error.
4494 2001-03-07 Akim Demaille <akim@epita.fr>
4496 * automake.in (&handle_all): Use an array instead of a scalar for
4498 Get rid of all-redirect: let `all' be that target.
4500 2001-03-07 Akim Demaille <akim@epita.fr>
4502 * automake.in (&handle_merge_targets): Ventilate its non `all'
4503 related content into...
4504 (&generate_makefile): here.
4505 (&handle_merge_targets): Rename as...
4506 (&handle_all): this.
4507 Remove a useless `if': `@all' is obviously not empty, since it
4508 contains at least the `basename ($makefile)' which has just been
4511 2001-03-07 Akim Demaille <akim@epita.fr>
4513 * automake.in, aclocal.in: Backquote is inert in double quotes.
4515 2001-03-06 Akim Demaille <akim@epita.fr>
4517 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4520 2001-03-06 Pavel Roskin <proski@gnu.org>
4522 * java.am: Use `rm -f' instead of `rm'.
4524 2001-03-06 Akim Demaille <akim@epita.fr>
4526 * automake.in (&push_dist_common): Simplify.
4528 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4530 * ltlib.am: Replaced spaces with tab.
4532 2001-03-06 Pavel Roskin <proski@gnu.org>
4534 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4537 2001-03-05 Pavel Roskin <proski@gnu.org>
4539 * header.am, scripts.am: Use ?INSTALL? in the install and
4542 2001-03-05 Pavel Roskin <proski@gnu.org>
4544 * tests/copy.test: Never use `rm' without `-f' - it may ask
4545 questions, notably for read-only files during `make distcheck'.
4546 * tests/insh.test: Likewise.
4547 * tests/installsh.test: Likewise.
4548 * tests/symlink.test: Likewise.
4549 * tests/symlink2.test: Likewise.
4550 * tests/symlink3.test: Likewise.
4552 2001-03-05 Pavel Roskin <proski@gnu.org>
4554 * noinstdir.test: New test.
4555 * tests/Makefile.am (TESTS): Add noinstdir.test.
4556 (XFAIL_TESTS): Likewise.
4558 2001-03-05 Akim Demaille <akim@epita.fr>
4560 * automake.in (&handle_options): Change the RE so that the third
4561 part of the versions always exist.
4562 (&file_contents): Don't pass uninitialized values to &transform.
4564 2001-03-05 Akim Demaille <akim@epita.fr>
4566 * automake.in (&file_contents): Require a hash as second argument.
4569 2001-03-05 Akim Demaille <akim@epita.fr>
4571 Always use hashes with &file_contents.
4573 * automake.in (&handle_texinfo): texibuild.am does not need
4575 texinfos.am wants only TEXICLEANS.
4576 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4578 * texinfos.am: Adjust.
4580 2001-03-05 Akim Demaille <akim@epita.fr>
4582 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4583 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4584 (&am_install_var): Forget about `-clean'.
4585 Transform ?INSTALL?.
4586 Always output the *.am file.
4587 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4588 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4589 Remove, merged into the corresponding *.am file.
4590 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4593 2001-03-05 Pavel Roskin <proski@gnu.org>
4595 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4597 2001-03-05 Akim Demaille <akim@epita.fr>
4599 If OBJEXT and EXEEXT are not set, provide a default value, and use
4600 them unconditionally.
4602 * automake.in (&generate_makefile): Provide default values for
4604 (&get_object_extension, &finish_languages)
4605 (&handle_single_transform_list, &handle_programs, &add_depend2)
4606 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4607 them, they are defined.
4608 * compile.am, depend2.am, program.am, progs.am: Likewise.
4609 * remake-hdr.am: Fix a typo.
4610 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4611 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4612 * tests/suffix2.test: Adjust.
4614 2001-03-05 Akim Demaille <akim@epita.fr>
4616 * automake.in (&file_contents): Map MAINTAINER-MODE to
4617 @MAINTAINER_MODE_TRUE@ or nothing.
4618 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4621 2001-03-05 Akim Demaille <akim@epita.fr>
4623 * automake.in (&do_one_merge_target): Remove, was only called from...
4624 (&handle_merge_targets): here for `all'.
4627 2001-03-05 Akim Demaille <akim@epita.fr>
4629 Make the installation/uninstallation of Info pages follow the
4630 regular am/recursive scheme.
4632 * automake.in (%required_targets, %dependencies): Add
4634 (%dependencies): Add install-info, install-info-am, and
4636 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4637 reversed BTW. Does anybody use the option `no-installinfo'?
4638 (&handle_merge_targets): Let the handling of info related targets
4640 (&handle_factored_dependencies): this.
4641 * subdirs.am: Use ?INSTALL-INFO?.
4642 * texinfos.am: Define the install-info, uninstall-info and
4643 uninstall-info-am targets.
4645 2001-03-05 Akim Demaille <akim@epita.fr>
4647 * automake.in (%required_targets, %dependencies): Add dvi, info,
4649 (@info, @dvi): Remove.
4650 (&handle_texinfo, &handle_merge_targets): Adjust.
4651 (&handle_factored_dependencies): Required targets are phony.
4652 * texinfos.am: Build info, dvi, and the corresponding -am or
4655 2001-03-05 Akim Demaille <akim@epita.fr>
4657 * automake.in (&am_install_var): Remove $cygxform, unused.
4659 2001-03-05 Akim Demaille <akim@epita.fr>
4661 * automake.in (&file_contents): Transform LIBTOOL.
4662 (&am_install_var): Remove $ltxform.
4663 * ltlib.am, progs.am: Adjust.
4665 2001-03-05 Akim Demaille <akim@epita.fr>
4667 * automake.in: Require AC_PROG_INSTALL in...
4668 (&scan_autoconf_files): here.
4670 2001-03-05 Akim Demaille <akim@epita.fr>
4672 * configure.am: New file.
4673 * automake.in (&file_contents): Transform CONFIGURE-AC.
4674 (&handle_texinfo, &handle_configure): Don't transform
4676 (&handle_configure): Use `configure.am'.
4677 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4678 MAINTAINER-MODE and CONFIGURE-AC.
4680 2001-03-05 Akim Demaille <akim@epita.fr>
4682 * automake.in (&pretty_print_internal): Don't output useless
4684 (define_pretty_variable): Don't issue the space after the `=' sign
4685 to avoid trailing spaces in Makefile.ins.
4687 2001-03-05 Akim Demaille <akim@epita.fr>
4689 * automake.in (&generate_makefile): Invoke &initialize_per_input
4690 *before* setting $am_file_name and $in_file_name.
4692 2001-03-05 Akim Demaille <akim@epita.fr>
4694 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4695 Globals, initialized...
4696 (&initialize_per_input): here.
4698 2001-03-05 Akim Demaille <akim@epita.fr>
4700 * automake.in ($am_relative_dir): Global.
4701 (&initialize_per_input): Init it.
4702 (%make_list, @make_input_list): My them from
4703 (&scan_autoconf_files): here.
4704 (&require_file_internal): Mying changes.
4706 2001-03-05 Akim Demaille <akim@epita.fr>
4708 * automake.in (%am_vars, @var_list, %def_type): Globals.
4709 (&initialize_per_input): Initialize them.
4710 (&read_main_am_file): Don't local them.
4711 (&get_object_extension): $objext is private.
4712 (&handle_single_transform_list): $lang is.
4713 (&handle_ltlibraries): $libname_rx is.
4714 (&scan_autoconf_config_files): How about actually paying attention
4715 to your arguments, instead of working on $_? (this is no Perl
4716 variable, it's a Perl variable followed by a question mark).
4717 (&file_contents): $contents and $separator are private.
4718 (&am_install_var): Declare @condvals, not $condvals.
4721 2001-03-05 Akim Demaille <akim@epita.fr>
4723 * automake.in (&initialize_per_input): Move to the top.
4724 Precede with the `my' list of its variables.
4726 2001-03-05 Akim Demaille <akim@epita.fr>
4728 * automake.in ($am_file): Use vars.
4729 ($am_file_name, $in_file_name): Private to &generate_makefile.
4731 2001-03-05 Akim Demaille <akim@epita.fr>
4733 * automake.in: Preparation for `use strict': Move the
4734 initialization of the constants to the top, from...
4735 (&initialize_global_constants): here.
4737 2001-03-05 Akim Demaille <akim@epita.fr>
4739 * automake.in (&handle_single_transform_list, &add_depend2): Let
4740 $lang_specific_files{$lang} be a list instead of a string.
4742 2001-03-05 Akim Demaille <akim@epita.fr>
4744 Let's make it run ten times faster...
4746 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4748 (&file_contents): Let `$command' remove the Automake commands, and
4749 normalize the series of `\n'.
4750 Slurp the file and apply $command in a single step.
4751 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4752 is already normalized to be handled by &transform.
4754 2001-03-05 Tom Tromey <tromey@redhat.com>
4756 * automake.in (register_language): Add entry for `-pure'.
4757 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4758 (finish_languages): Use `-pure' field of language map.
4760 2001-03-03 Tom Tromey <tromey@redhat.com>
4762 * tests/yaccvpath.test: No need to remove dummy files.
4763 * tests/subobj3.test: No need to remove dummy files.
4764 * tests/pr9.test: No need to remove dummy files.
4765 * tests/pr87.test: No need to remove dummy files.
4766 * tests/pr19.test: No need to remove dummy files.
4767 * tests/install2.test: No need to remove dummy files.
4768 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4771 2001-02-27 Pavel Roskin <proski@gnu.org>
4773 * tests/yaccvpath.test: Add a delay to make parse.c really out
4774 of date. Detect the problem earlier, after `make distdir'. Drop
4775 dependency on flex. Always use the `-y' flag for bison. Comment
4777 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4779 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4781 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4783 2001-02-28 Akim Demaille <akim@epita.fr>
4785 * automake.in (&add_depend2): Transform `GENERIC'.
4786 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4787 addition was broken by the `@ -> %' patch.
4788 * depend2.am: Adjust to use ?GENERIC?.
4790 2001-02-28 Akim Demaille <akim@epita.fr>
4792 * Makefile.am (maintainer-check): `undef $/' is OK.
4794 2001-02-28 Akim Demaille <akim@epita.fr>
4796 * automake.in (&handle_configure): Fortunately, $top_reldir,
4797 the definition of which was highly suspicious, was unused.
4799 2001-02-27 Akim Demaille <akim@epita.fr>
4801 * automake.in (%exec_dir_p): Move to the top so that it is visible
4804 2001-02-27 Pavel Roskin <proski@gnu.org>
4806 * tests/yaccvpath.test: Prevent automake from looking into ..
4807 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4809 2001-02-27 Akim Demaille <akim@epita.fr>
4811 * automake.in (%exec_dir_p): Pulled out from...
4812 (&am_primary_prefixes): here.
4814 2001-02-27 Akim Demaille <akim@epita.fr>
4816 * automake.in (&usage): Display $0, not $me.
4818 2001-02-27 Akim Demaille <akim@epita.fr>
4820 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4821 * automake.in (&handle_clean): Don't escape what's given to
4824 2001-02-27 Akim Demaille <akim@epita.fr>
4826 Distinguish automake substitutions from config.status
4829 * automake.in (&add_depend2): Transform AMDEP.
4830 (&handle_clean): Transform MCFILES and MFILES.
4831 (&file_contents): Transform MAINTAINER_MODE.
4832 (&transform, &am_install_var): Use `%', not `@'.
4833 Adjust all the *.am files.
4834 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4835 * depend2.am: Display the double dependency on both ?AMDEP? and
4838 2001-02-27 Tom Tromey <tromey@redhat.com>
4840 * distdir.am (distcheck): Fixed new code.
4842 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4843 Only configure once.
4845 * distdir.am (distcheck): Print error message if distclean failed
4848 2001-02-27 Pavel Roskin <proski@gnu.org>
4850 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4852 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4854 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4855 * tests/yaccvpath.test: New file.
4857 2001-02-26 Akim Demaille <akim@epita.fr>
4859 * automake.in (&am_install_var): Recognize whether predefined
4860 directories are `data' or `exec'.
4861 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4863 * tests/instdata2.test: Update.
4865 2001-02-26 Akim Demaille <akim@epita.fr>
4867 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4868 necessarily in infodir.
4870 2001-02-26 Akim Demaille <akim@epita.fr>
4872 * automake.in ($am_file): Be `local', as my'd variables used in
4873 `foreach' loops are always private to the loop.
4875 2001-02-26 Pavel Roskin <proski@gnu.org>
4877 * Makefile.am: Add install.am.
4879 2001-02-26 Akim Demaille <akim@epita.fr>
4881 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4882 routines, otherwise the elements to compare are passed in @_
4883 instead of $a and $b.
4885 2001-02-26 Akim Demaille <akim@epita.fr>
4887 * automake.in (%required_targets): `installcheck-am' is needed.
4889 2001-02-26 Akim Demaille <akim@epita.fr>
4891 * automake.in (&transform_cond): Merge into...
4895 2001-02-26 Akim Demaille <akim@epita.fr>
4897 * automake.in (&handle_dist): Use &transform instead of dedicated
4899 But be sure to always do it.
4900 * distdir.am: Adjust.
4902 2001-02-26 Akim Demaille <akim@epita.fr>
4904 * automake.in: Use File::Basename.
4905 (&dirname, &basename): Remove.
4907 2001-02-26 Akim Demaille <akim@epita.fr>
4909 * automake.in ($me): New.
4911 (&usage): Display your full name.
4913 2001-02-26 Akim Demaille <akim@epita.fr>
4915 * automake.texi (Invoking Automake): Remove dead options.
4917 2001-02-26 Akim Demaille <akim@epita.fr>
4919 * automake.in (&scan_texinfo_file): Also compute the list of files
4921 Handle local errors.
4922 (&handle_texinfo): Use it.
4924 2001-02-26 Akim Demaille <akim@epita.fr>
4926 * automake.in: Don't pass arguments to...
4927 (&parse_arguments): Work on @ARGV.
4929 Add support for `-f'.
4933 2001-02-26 Akim Demaille <akim@epita.fr>
4935 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4936 handle installcheck and installcheck-am.
4937 * install.am: Do it.
4939 2001-02-26 Akim Demaille <akim@epita.fr>
4941 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4942 handle install and install-am.
4943 * install.am: Do it.
4945 2001-02-26 Akim Demaille <akim@epita.fr>
4947 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4948 work on targets handled by %dependencies.
4949 (&handle_factored_dependencies): Do it.
4950 * install.am: Install install-exec, install-data and uninstall's
4953 2001-02-26 Akim Demaille <akim@epita.fr>
4955 * automake.in (&handle_merge_targets): Move `install-strip' from
4957 * install.am: to here.
4959 2001-02-26 Akim Demaille <akim@epita.fr>
4961 * automake.in (@installdirs): Remove.
4962 (&file_contents): Be able to grow Automake macros with `+='.
4963 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4964 files define _am_installdirs.
4965 (&handle_installdirs): Remove the code, just output `install.am'.
4967 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4968 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4970 2001-02-26 Akim Demaille <akim@epita.fr>
4972 * tests/instdata2.test (libexec_DATA): Exercise more
4975 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4977 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4979 2001-02-25 Tom Tromey <tromey@redhat.com>
4981 * tests/instdata2.test: Added `sbin_DATA' check.
4983 * tests/Makefile.am (TESTS): Added subdircond.test.
4984 * tests/subdircond.test: New file.
4985 * automake.in (handle_gettext): Don't fail if SUBDIRS
4986 conditionally defined.
4988 * automake.in: Use IO::File.
4989 (generate_makefile): Use IO::File.
4990 (scan_texinfo_file): Likewise.
4991 (handle_aclocal_m4): Likewise.
4992 (scan_autoconf_traces): Likewise.
4993 (scan_one_autoconf_file): Likewise.
4994 (read_am_file): Likewise.
4995 (file_contents): Likewise.
4998 2001-02-25 Akim Demaille <akim@epita.fr>
5000 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
5002 2001-02-25 Akim Demaille <akim@epita.fr>
5004 * automake.in (&transform): Also call &transform_cond on your
5006 (&handle_dist): Adjust.
5007 (&handle_factored_dependencies): Uniq dependencies.
5009 2001-02-25 Akim Demaille <akim@epita.fr>
5011 * automake.in (&handle_gettext): Simplify redundant `if'.
5012 Used &variable_value, don't read %contents directly.
5014 2001-02-25 Akim Demaille <akim@epita.fr>
5016 * automake.in ($install_recursive): Remove, replaced with calls to
5017 `&variable_defined ('SUBDIRS')'.
5018 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
5019 (&file_contents): now does.
5021 2001-02-25 Akim Demaille <akim@epita.fr>
5023 * automake.in (&handle_man_pages): $found is dead.
5025 2001-02-25 Akim Demaille <akim@epita.fr>
5027 Internally just store the conditionals as space separated lists of
5028 CONDITIONS (instead of @CONDITIONS@).
5030 * automake.in (&conditional_true_when, &variable_conditions_sub):
5031 Split conditions at spaces.
5032 (&handle_dependencies, &variable_conditions_permutations): Don't
5033 put @ around conditions.
5034 (&variable_conditions_cmp): There are no @ to strip.
5035 (&make_condition): New.
5036 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
5038 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
5039 Join @conditional_stack with spaces.
5040 (&read_main_am_file): Adjust the output of variables.
5041 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
5042 true' and no longer `@TEST@TRUE = @TEST@true'.
5043 (&variable_conditions_cmp): Rename as...
5044 (&by_condition): this.
5045 Sort in a human pleasant order.
5046 Use it everywhere a human can see conditions.
5047 (&variable_conditions_reduce): Don't sort conditions, that's
5049 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
5051 2001-02-25 Akim Demaille <akim@epita.fr>
5053 * automake.in: `my' the globals.
5055 2001-02-25 Akim Demaille <akim@epita.fr>
5057 * automake.in (&initialize_per_input): %targets_conditionals is
5059 (&read_am_file): When slurping a rule, set the target related
5060 variable, and no variable related variable.
5061 (&file_contents): Likewise.
5062 * tests/vartar.test, tests/ctarget1.test: New.
5064 2001-02-25 Akim Demaille <akim@epita.fr>
5066 * automake.in (&variable_defined, &variable_value_as_list_worker):
5067 If $VAR is effectively a variable, don't die if it's also a
5069 Plus some formatting changes.
5071 2001-02-25 Akim Demaille <akim@epita.fr>
5073 * automake.in: Mying changes.
5074 * Makefile.am (maintainer-check): Check the stability of the
5075 number of uses of `local'.
5077 2001-02-25 Akim Demaille <akim@epita.fr>
5079 * automake.in: Mying changes.
5081 2001-02-25 Akim Demaille <akim@epita.fr>
5083 * automake.in: Mying changes.
5085 2001-02-25 Akim Demaille <akim@epita.fr>
5087 * automake.in: Mying changes.
5088 (&handle_tags): Fix a bug uncovered by the previous mying changes:
5089 transform CONFIG into $config, not $xform.
5091 2001-02-25 Akim Demaille <akim@epita.fr>
5093 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
5094 Don't deal with install-data-am, install-exec-am and unstall-am.
5095 (&initialize_per_input): Add them to %dependencies.
5096 Remove %exec_dir_p since the *.am files are now in charge of it.
5097 Remove @uninstall, @install_data, @install_exec.
5098 (&handle_merge_targets): Adjust to these removals.
5099 (&file_contents): Also &transform_cond for --no-installman and
5101 (&do_one_merge_target): Add some magic to install hooks on
5102 %dependencies' targets.
5103 (%required_targets): New.
5104 (&handle_factored_dependencies): Output required targets.
5105 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
5106 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
5107 * texinfos.am: Declare your dependencies on install-data-am,
5108 install-exec-am and uninstall-am.
5109 * tests/instdata2.test (incldata_HEADERS): New test.
5111 2001-02-24 Tom Tromey <tromey@redhat.com>
5113 * Makefile.am (amfiles): Added texibuild.am.
5114 * texibuild.am: New file.
5115 * tests/Makefile.am (TESTS): Added texinfo9.test.
5116 * tests/texinfo9.test: New file.
5117 * automake.in (handle_texinfo): Keep track of suffixes used. Give
5118 error if suffix unrecognized. Removed extraneous newline.
5120 2001-02-23 Akim Demaille <akim@epita.fr>
5122 * automake.in (&am_install_var): Don't hook on the clean targets
5124 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
5125 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
5128 2001-02-23 Akim Demaille <akim@epita.fr>
5130 * automake.in: Promote local `my' over `local'.
5132 2001-02-23 Akim Demaille <akim@epita.fr>
5134 * automake.in: Formatting and mying changes.
5136 2001-02-23 Akim Demaille <akim@epita.fr>
5138 * automake.in: Formatting and mying changes.
5140 2001-02-23 Akim Demaille <akim@epita.fr>
5142 * automake.in (&handle_man_pages): Let install-man and
5143 uninstall-man be handled by the dependency tracker.
5144 (&initialize_per_input): Let %dependencies track them.
5145 * mans.am: Add the needed hooks with the proper dependencies.
5147 2001-02-22 Pavel Roskin <proski@gnu.org>
5149 * tests/target-cflags.test: Don't use subshell to configure in
5150 subdirectory. Typo fix - run `./foo', not `/foo'.
5152 2001-02-22 Akim Demaille <akim@epita.fr>
5154 * automake.in: Formatting and mying changes.
5156 2001-02-21 Tom Tromey <tromey@redhat.com>
5158 * automake.in (handle_dist): Introduce new variable to avoid extra
5159 keys in %dist_dirs. Fixes distdir.test.
5161 * automake.in (handle_texinfo): Only remove suffixes we can
5164 * tests/distdir.test: Check to make sure directory isn't made in
5167 * automake.in (handle_dist): Do nothing in Cygnus mode.
5169 2001-02-21 Pavel Roskin <proski@gnu.org>
5171 * header-vars.am: Remove tabs before variable definitions.
5173 2001-02-21 Akim Demaille <akim@epita.fr>
5175 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5178 2001-02-21 Akim Demaille <akim@epita.fr>
5180 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5181 numeric value as required by Perl 5.6.
5183 2001-02-21 Akim Demaille <akim@epita.fr>
5185 * dist-vars.am: Remove, merge into...
5187 * automake.in (dirname, basename, backname): Move to the top of
5188 the file so that prototypes are checked,
5189 Use them without `&'.
5190 (&handle_dist): Adjust.
5192 2001-02-21 Akim Demaille <akim@epita.fr>
5194 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5195 Use a uniform naming scheme.
5196 ("e_cond_val, &unquote_cond_val): Delete, dead code.
5197 (&read_am_file): Fix conditional definition of backslash continued
5200 2001-02-21 Akim Demaille <akim@epita.fr>
5202 Change the handling of conditionals: instead of using an ad-hoc
5203 encoding to store a hash in a string, use hashes.
5205 * automake.in (&conditional_dump): New.
5206 (&check_ambiguous_conditional, &variable_defined)
5207 (&variable_conditions_sub, &variable_value_as_list_worker)
5208 (&define_variable, read_am_file, &read_main_am_file): Be sure to
5209 handle `$conditional{$vars}' as a hash instead of a plain string.
5211 2001-02-21 Akim Demaille <akim@epita.fr>
5213 * automake.in (&conditional_true_when): Modernize, simplify.
5214 Warning: `$comp' is now private (my), while it used to be
5215 `inherited' from a `local' elsewhere in the code. AFAICT it was
5216 wrong, but some dirty side effect might show up.
5217 (&conditionals_true_when): New.
5218 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5220 2001-02-21 Akim Demaille <akim@epita.fr>
5222 * automake.in ($top_builddir): Remove, used in one place.
5223 (&define_standard_variables): Adjust.
5224 Move the definition of triplet variables into...
5225 * header-vars.am: here.
5227 2001-02-21 Akim Demaille <akim@epita.fr>
5229 * automake.in (&initialize_global_constants): Don't define $USAGE.
5230 (&usage): Handle the former content of $USAGE.
5231 Don't pretend autoconf cares about Makefile.in.
5232 Classify the options.
5233 (&handle_tests): Formatting and mying changes.
5235 2001-02-21 Akim Demaille <akim@epita.fr>
5237 * automake.in (&handle_tests_dejagnu): Move the definition of a
5238 default `site.exp' into...
5239 * dejagnu.am (site.exp): here.
5240 Use DOS compliant file names.
5242 2001-02-21 Akim Demaille <akim@epita.fr>
5244 * automake.in (&dist_cmp): New.
5245 (&handle_dist): Use it.
5246 Promote `my' over `local'.
5248 2001-02-21 Akim Demaille <akim@epita.fr>
5250 * dist.am: Remove, merge into...
5251 * distdir.am: here. Use the neat sed snippet for banners.
5252 BTW, distcheck is phony.
5253 * automake.in (&handle_dist_worker): Remove, merge into...
5254 (&handle_dist): this.
5255 (&file_contents): Strip leading new lines.
5256 Be sure to end comments with new lines.
5258 2001-02-21 Akim Demaille <akim@epita.fr>
5260 * distdir.am (GZIP_ENV): Define.
5261 * automake.in (&handle_dist): Don't.
5263 (&handle_dist_worker, &am_install_var): Use it.
5265 2001-02-21 Akim Demaille <akim@epita.fr>
5267 * distdir.am (distdir): Handle the DIST-TARGETS.
5268 * automake.in (&handle_dist_worker): Don't.
5270 2001-02-21 Akim Demaille <akim@epita.fr>
5272 * automake.in (&file_contents): Transform the global options (such
5274 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5276 2001-02-21 Akim Demaille <akim@epita.fr>
5278 * distdir.am (distdir): Be sure to have permissive rights on its
5280 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5282 And BTW, all these guys are phony.
5283 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5284 output distributions.
5285 (&handle_dist): As its name doesn't indicate, don't.
5286 (&initialize_global_constants): Don't define variables which
5287 content is now handled by distdir.am.
5288 But register `dist-all' as a factored target.
5289 (&handle_factored_dependencies): Don't output empty targets.
5291 2001-02-20 Tom Tromey <tromey@redhat.com>
5293 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5296 2001-02-18 Tom Tromey <tromey@redhat.com>
5298 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5299 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5300 (AM_PROG_STRIP): Commented out.
5302 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5304 * depcomp (gcc3): Protect against the compiler deleting
5305 the dependency output file.
5307 2001-02-17 Tom Tromey <tromey@redhat.com>
5309 * automake.in (handle_merge_targets): Use double quotes around
5310 setting of INSTALL_STRIP_PROGRAM.
5311 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5312 to absolute path at runtime.
5313 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5315 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5317 * m4/strip.m4: New file.
5318 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5319 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5320 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5321 * automake.in (handle_merge_targets): In the install-strip rule,
5322 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5323 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5324 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5325 don't use INSTALL_STRIP_FLAG any longer.
5327 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5329 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5332 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5334 * automake.in (unquote_m4_arg): New function.
5335 (scan_one_configure_file): Call unquote_m4_arg on
5336 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5339 2001-02-15 Tom Tromey <tromey@redhat.com>
5341 * config.guess, config.sub: New versions from FSF.
5343 * Makefile.am (WGET): New macro.
5344 (FETCHFILES): New macro.
5345 (fetch): New target.
5347 * tests/subobj3.test: Exit with status 77 if gcc not found.
5348 * tests/pr9.test: Exit with status 77 if gzip not found.
5349 * tests/pr87.test: Exit with status 77 if gcc not found.
5350 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5351 * tests/install2.test: Exit with status 77 if gzip not found.
5352 * tests/exsource.test: Exit with status 77 if GNU make not found.
5353 * tests/ansi3.test: Exit with status 77 if gcc not found.
5355 * tests/target-cflags.test: Require GNU make. Exit with status 77
5356 if gcc or make not found. Fixes PR automake/121.
5358 * configure.in: Require Perl 5.005.
5359 * automake.in: Require 5.005.
5361 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5362 Fixes PR automake/122.
5364 2001-02-14 Tom Tromey <tromey@redhat.com>
5366 * automake.in (add_depend2): Only emit a given object rule once.
5367 Fixes specflags6.test.
5369 2001-02-14 Richard Boulton <richard@tartarus.org>
5371 * tests/specflags6.test: New file.
5373 2001-02-14 Tom Tromey <tromey@redhat.com>
5375 * automake.texi (A Shared Library): Mention -module.
5377 2001-02-13 Tom Tromey <tromey@redhat.com>
5379 * automake.in (do_one_merge_target): Always register $name and
5382 * automake.in (do_one_merge_target): Register `all' as phony
5385 * configure.in: Updated to 1.4e for cvs.
5387 2001-02-12 Tom Tromey <tromey@redhat.com>
5389 * configure.in: Updated to 1.4d and released.
5391 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5392 names through autoconf.
5394 Fix for subdirbuiltsources.test:
5395 * automake.in (initialize_per_input): [all_target] Initialize to
5397 (handle_merge_targets): Use all-redirect target to handle built
5399 (do_one_merge_target): Don't generate all-redirect rule.
5401 2001-02-11 Peter Muir <iyhi@yahoo.com>
5403 * tests/subdirbuiltsources.test: New file.
5404 * tests/Makefile.am (TESTS): Added new file.
5406 2001-02-10 Tom Tromey <tromey@redhat.com>
5408 * tests/condlib.test: New file.
5409 * tests/Makefile.am (TESTS): Added new file.
5411 2001-02-10 Lars J. Aas <larsa@sim.no>
5413 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5414 (&canonicalize): New. Includes '@' in canonical range.
5415 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5416 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5418 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5420 * automake.in (handle_configure): Revert part of
5421 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5422 set CONFIG_COMMANDS explicitly.
5424 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5426 * depcomp (gcc3): Propagate exit code.
5428 2001-02-09 Lars J. Aas <larsa@sim.no>
5430 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5432 2001-02-09 Tom Tromey <tromey@redhat.com>
5434 Clean up maintainer-check warnings:
5435 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5437 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5439 2001-02-09 Akim Demaille <akim@epita.fr>
5441 * automake.in (&file_contents): Remove a dead branch.
5443 2001-02-09 Akim Demaille <akim@epita.fr>
5445 * automake.in (&transform): Use `my', not `local'.
5446 (&transform_cond): New.
5447 (&get_object_extension, &handle_texinfo, &handle_tags)
5448 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5449 (&handle_tests_dejagnu): Use it.
5450 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5451 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5453 2001-02-09 Akim Demaille <akim@epita.fr>
5455 * automake.in: Various formatting changes, and modernization of
5458 (&handle_configure, define_standard_variables): Use it.
5460 2001-02-08 Tom Tromey <tromey@redhat.com>
5462 * automake.in (file_contents): Only add $actions if any are
5463 found. Fixes new failure in pr87.test.
5465 2001-02-08 Pavel Roskin <proski@gnu.org>
5467 * tests/pr87.test: Check foo/Makfile.in after it is created.
5469 2001-02-08 Tom Tromey <tromey@redhat.com>
5471 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5472 Report from Lars J. Aas.
5474 2001-02-07 Lars J. Aas <larsa@sim.no>
5476 * lisp.am (install-@DIR@LISP): Removed extra space.
5477 * header.am (install-@DIR@HEADERS): Removed extra space.
5478 * data.am (install-@DIR@DATA): Removed extra space.
5480 2001-02-07 Tom Tromey <tromey@redhat.com>
5482 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5484 * automake.in (handle_dependencies): Use _am_include, not
5486 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5487 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5489 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5491 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5493 * automake.in (handle_configure): Handle case where output file is
5494 in subdir with no Makefile of its own. Fixes remake3.test,
5497 2001-02-06 Pavel Roskin <proski@gnu.org>
5499 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5501 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5502 * tests/exsource.test: Likewise.
5504 2001-02-06 Derek Price <derek.price@openavenue.com>
5506 * automake.in (handle_configure): Fix syntax error.
5508 2001-02-06 Akim Demaille <akim@epita.fr>
5510 * subdirs.am: This file is the exception: clean recursive targets
5511 are called by the clean targets, not the clean-am targets.
5512 Otherwise we have a circular dependency: clean -> clean-am ->
5513 clean-recursive -> clean.
5514 * automake.in (handle_clean): Bind `-local' targets to `-am'
5515 targets, not top targets.
5516 Don't declare -recursive dependencies of the clean targets:
5517 `subdirs.am' did it. Less hard coded knowledge, transfered
5521 2001-02-06 Akim Demaille <akim@epita.fr>
5523 Monstro unsplitable patch.
5525 The aim is to remove hard coded knowledge about clean targets from
5526 automake.in, leaving them in the *.am files.
5527 In addition to the mechanic needed to factor some dependencies, it
5528 appears some rules (most notably distclean and maintainer-clean)
5529 need factored actions. So first, be ready to catch factored
5532 * automake.in (&file_contents): For the time being, use an extended
5533 $RULE_PATTERN which is able to match any kind of rules, with or
5534 without dependency, with or without actions.
5535 Handle all the rules uniformly, storing in %actions the factored
5537 (&flatten, &target_cmp): New.
5538 (&handle_factored_dependencies): Output the %actions.
5539 No longer special case `clean'.
5540 Output the rules in alphabetical order, but keeping `.PHONY' last.
5542 Now we must not use &push_phony_cleaners, which is doing all sort
5543 of magic to push a bit of everything in all the clean targets.
5544 The biggest problem being that, making a Cartesian product, it
5545 requires many useless targets. The `*.am' file know better.
5546 But first, register the new factored rules.
5548 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5549 maintainer-clean, distclean and their `*-am' counterpart in
5551 Initialize %actions.
5552 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5553 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5554 (handle_emacs_lisp, handle_python): Don't play with
5555 &push_phony_cleaners nor &depend and `clean'.
5556 * texinfos.am, texi-vers.am, tags-clean.am:
5557 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5558 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5559 * clean-kr.am, clean-hdr.am: Do it.
5560 Whenever a target is empty, just remove it, it will no longer be
5563 There is still some magic about clean to hard code. But really,
5564 that's the end of &do_one_clean_target.
5566 * automake.in (&do_one_clean_target): Kaboom out.
5567 (&handle_clean): Rewrite the magic code.
5568 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5570 (&push_phony_cleaners): Kaboom too.
5572 2001-02-06 Akim Demaille <akim@epita.fr>
5574 * automake.in (do_one_clean_target): Don't hard code knowledge
5575 about libtool, and maintainer-clean.
5576 * clean.am, libtool.am: Handle these.
5578 2001-02-05 Akim Demaille <akim@epita.fr>
5580 * automake.in (handle_texinfo): No longer hard code the clean
5582 (texinfos.am): Include them.
5584 2001-02-05 Akim Demaille <akim@epita.fr>
5586 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5587 (maintainer-check): Don't be silent when you find a problem, and
5588 actually, even specify the locations.
5589 Also check that @_ is assigned to arrays.
5591 2001-02-05 Akim Demaille <akim@epita.fr>
5593 * m4/regex.m4: Use AC_LIBSOURCES.
5594 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5597 2001-02-04 Tom Tromey <tromey@redhat.com>
5599 * m4/Makefile.am (m4data_DATA): Added make.m4.
5600 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5602 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5603 Copy depcomp to subdir.
5604 * m4/make.m4: New file.
5606 2001-02-04 Pavel Roskin <proski@gnu.org>
5608 * automake.in (handle_dist_worker): Remove a line that is now
5611 2001-02-04 Kevin Ryde <user42@zip.com.au>
5613 * automake.in (handle_configure): Call config.status with empty
5614 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5616 2001-02-04 Tom Tromey <tromey@redhat.com>
5618 * depcomp (ddashmd): Removed case.
5619 (sgi): Handle failure exit correctly
5620 (aix): Likewise. Also, add dummy `.h' targets.
5622 2001-02-04 Akim Demaille <akim@epita.fr>
5624 * distdir.am (distdir): New file, extracted from...
5625 * automake.in (handle_dist_worker): here.
5628 2001-02-04 Akim Demaille <akim@epita.fr>
5630 * automake.in (@clean): Remove, replaced by...
5631 ($dependencies{'clean'}): this.
5632 Use `&depend' instead of push'ing into @clean.
5633 (handle_factored_dependencies): For the time being, skip 'clean'.
5634 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5635 always `clean', and `@clean'.
5637 2001-02-04 Akim Demaille <akim@epita.fr>
5639 * automake.in (%dependencies): Don't be initialize globally for
5640 all the files, but in...
5641 (&initialize_per_input): here.
5643 (@phony): Replace all occurrences with the corresponding &depend
5646 2001-02-03 Tom Tromey <tromey@redhat.com>
5648 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5649 * header-vars.am (INSTALL_HEADER): New macro.
5651 * automake.texi (Rebuilding): New node.
5655 Copyright 2001 Free Software Foundation, Inc.
5657 This file is part of GNU Automake.
5659 GNU Automake is free software; you can redistribute it and/or modify
5660 it under the terms of the GNU General Public License as published by
5661 the Free Software Foundation; either version 2, or (at your option)
5664 GNU Automake is distributed in the hope that it will be useful,
5665 but WITHOUT ANY WARRANTY; without even the implied warranty of
5666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5667 GNU General Public License for more details.
5669 You should have received a copy of the GNU General Public License
5670 along with autoconf; see the file COPYING. If not, write to
5671 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5672 Boston, MA 02111-1307, USA.