1 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
3 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
4 to try and prevent a non-lisp emacs from starting in interactive
6 * automake.texi: Document this change.
8 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
10 * automake.texi (Macros): Split into ...
11 (Public Macros, Private Macros): ... these.
13 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
15 * tests/insthook.test: Use sed instead of "tail +X".
17 2002-02-18 Paul Eggert <eggert@twinsun.com>
19 * lib/depcomp: Don't use "tail +3"; it's not portable to
20 POSIX 1003.1-2001 hosts.
22 2002-02-18 Jim Meyering <meyering@lucent.com>
24 * tests/cond12.test: Use sed 1q, not `head -n 1'.
25 The latter is not portable to some old systems.
26 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
28 * tests/insthook.test: Likewise.
30 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
32 * automake.in (handle_lib_objects_cond): Tell the user to put
33 global linker flags in AM_LDFLAGS, not LDFLAGS.
35 * automake.texi (General Operation): AC_SUBST'ed variables
36 override Automake's variables.
37 (Uniform): More words and @refs.
38 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
39 (etags): More explanations about the first example.
40 (Invoking Automake): Mention autoreconf. More @refs.
41 (Requirements): Mention AC_CONFIG_FILES.
42 (Optional): AC_CHECK_TOOL will no longer install config.sub and
43 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
44 (Invoking aclocal): aclocal no longer warn about duplicates.
45 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
46 (Extending aclocal): Suggest using the output of
47 `aclocal --print-ac-dir` to install third-party macros.
48 (Alternative): Specify ordering of dist_, nodist_, and nobase_
50 (A Program): Mention scripts. The global LDADD variable is not
51 meant to hold link flags, suggest using AM_LDFLAGS instead.
52 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
53 _LIBADD and _LDADD are subject to the same restriction wrt to
55 (Program and Library Variables) <maude_DEPENDECIES>: Is also
56 derived from maude_LIBADD.
57 (Program variables): Define AM_LDFLAGS.
58 (Dependencies): Passing the no-dependencies option to
59 AM_INIT_AUTOMAKE is prefered.
60 (Scripts): Explain why automake is magically cleaned.
61 Mention noinst_SCRIPTS and check_SCRIPTS.
62 (Data): Use dist_ in Automake's example.
63 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
64 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
66 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
68 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
69 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
70 of asking the maintainer to do it manually.
71 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
72 Automake/XFile.pm: New upstream versions.
74 2002-02-02 Tom Tromey <tromey@redhat.com>
76 * automake.texi (Macros): Warn about upgrading.
78 2002-02-01 Tom Tromey <tromey@redhat.com>
80 Change per GNU coding standards:
81 * aclocal.in (parse_arguments): Only mention most recent year in
83 * automake.in (version): Only mention most recent year.
85 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
87 * automake.texi (API versioning): New Node.
88 (Extending): Use $(DESTDIR) in examples.
90 2002-01-28 Akim Demaille <akim@epita.fr>
92 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
93 Respect the --help layout.
95 2002-01-27 Tom Tromey <tromey@redhat.com>
97 * configure.in: Bumped to 1.5e.
99 * lib/am/yacc.am: Use `rm -f'.
101 * configure.in: Released 1.5d.
103 * lib/config.guess: New version from FSF.
105 * Makefile.am (uninstall-hook): New target.
107 2002-01-24 Akim Demaille <akim@epita.fr>
109 * lib/install-sh: Update, from Autoconf.
111 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
113 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
114 as AC_CANONICAL_HOST (the former does not require the latter since
116 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
117 * automake.texi (Requirements): Do not require STRIP to be
120 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
122 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
123 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
124 * tests/pr224.test: Make sure .deps subdirectories are
127 2002-01-22 Tom Tromey <tromey@redhat.com>
129 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
130 no-dependencies option is set.
131 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
132 no-dependencies option is set. Don't call AM_DEP_TRACK or
135 2002-01-22 Pavel Roskin <proski@gnu.org>
137 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
140 2002-01-22 Akim Demaille <akim@epita.fr>
142 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
145 2002-01-21 Tom Tromey <tromey@redhat.com>
147 * Makefile.am (fetch): Don't fetch ansi2knr.
149 * automake.texi (Macros): Updated for new variable names.
150 (Program and Library Variables): Likewise.
151 (Assembly Support): Likewise.
152 * m4/as.m4: Use CCAS and CCASFLAGS.
153 * automake.in (asm): Use CCAS and CCASFLAGS.
155 2002-01-21 Akim Demaille <akim@epita.fr>
157 * automake.in (&parse_arguments): Use a more GNUish error message
160 2002-01-20 Tom Tromey <tromey@redhat.com>
162 Fix for PR automake/231:
163 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
164 * m4/depend.m4: Document `GCJ'.
167 * tests/Makefile.am (TESTS): Added pr224.test.
168 * tests/pr224.test: New file.
169 * lib/depcomp: Fixed computation of depfile.
170 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
171 * automake.in (handle_single_transform_list): Only reject `..'
172 component for Java. Put dependencies in directory near object.
173 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
175 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
177 * tests/defs: Export AUTOMAKE and ACLOCAL.
179 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
181 Fix for PR automake/204:
182 * tests/pr204.test: New file.
183 * tests/Makefile.am (TESTS): Add it.
184 * automake.in (handle_single_transform_list): Don't distribute
185 sources derived from non-distributed sources.
187 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
189 Fix for PR automake/229:
190 * tests/pr229.test: New file.
191 * tests/Makefile.am (TESTS): Add it.
192 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
193 AC_EMXOS2, and AC_MINGW32.
195 2002-01-18 Tom Tromey <tromey@redhat.com>
197 * tests/cond7.test: Fix test bug exposed by copyright update.
200 * automake.in (lang_c_rewrite): Don't prepend directory to base if
201 directory is `.'. Also, properly compute de_ansi_files entry in
203 * tests/Makefile.am (TESTS): Added ansi7.test.
204 * tests/ansi7.test: New file.
206 * aclocal.in (parse_arguments): Added 2002.
207 (write_aclocal): Likewise.
208 (parse_arguments): Updated my email address.
209 * automake.in (gen_copyright): Added 2002.
210 (version): Likewise. Also, changed my email address.
212 * configure.in (APIVERSION): Refined definition.
214 2002-01-18 Tom Tromey <tromey@redhat.com>
217 * lib/missing: Accept versioned aclocal.
218 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
220 2002-01-17 Pavel Roskin <proski@gnu.org>
222 * m4/Makefile.am (m4datadir): Use APIVERSION.
224 2002-01-16 Tom Tromey <tromey@redhat.com>
226 * Makefile.am (install-exec-hook): Use APIVERSION.
227 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
228 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
230 * automake.in (perllibdir): Use APIVERSION.
232 * aclocal.in (perllibdir): Use APIVERSION.
233 (APIVERSION): New global.
234 (parse_arguments): Use APIVERSION.
235 * configure.in (APIVERSION): New subst.
236 (pkgvdatadir): Use APIVERSION.
238 2002-01-15 Tom Tromey <tromey@redhat.com>
241 * lib/missing: Match against `automake*' to pick up versioned
243 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
244 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
246 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
247 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
249 (scriptdir): Use pkgvdatadir.
250 (installcheck-local): Likewise.
251 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
252 * automake.in (perllibdir): Added VERSION.
254 * aclocal.in (parse_arguments): Search versioned directory. Don't
255 push unversioned directory unless it exists.
256 (perllibdir): Added VERSION.
257 (default_acdir): New global.
258 * m4/Makefile.am (m4datadir): Added $(VERSION).
259 * Makefile.am (install-exec-hook): New target.
260 * configure.in (ACLOCAL): Search build directory.
261 (pkgvdatadir): New subst.
263 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
265 * lib/config.sub, lib/config.guess: New versions from FSF.
267 2002-01-13 Tom Tromey <tromey@redhat.com>
270 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
272 (lang_c_finish): Likewise. Also, use directory information from
275 2002-01-13 Kevin Ryde <user42@zip.com.au>
278 * tests/Makefile.am (TESTS): Added ansi6.test.
279 * tests/ansi6.test: New file.
281 2002-01-13 Tom Tromey <tromey@redhat.com>
284 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
286 * tests/Makefile.am (TESTS): Added pr287.test.
287 * tests/pr287.test: New file.
289 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
291 * lib/am/distdir.am (distdir): Handle subdirectories.
292 * tests/extra6.test: New file.
293 * tests/Makefile.am (TESTS): Add it.
295 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
297 * tests/extra2.test: Run $ACLOCAL.
299 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
301 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
302 AM_INIT_AUTOMAKE arguments when using the old-style call.
303 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
304 Suggested by Pavel Roskin.
306 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
308 * test/nodefine.test, test/nodefine2.test: Check that no-define
309 works, not the contrary...
310 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
311 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
314 2002-01-12 Jim Meyering <meyering@lucent.com>
316 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
317 * tests/libobj11.test: New file.
318 * tests/Makefile.am (TESTS): Add libobj11.test.
320 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
322 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
324 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
326 * automake.in (file_contents_internal): Introduce two variables,
327 $is_rule and $discard_rules to track rules spanning across multiple
328 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
329 where only the first paragraph of such a multi-paragraph rule was
330 discarded; but it leaves many similar latent bugs (see the FIXMEs).
332 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
334 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
335 * tests/error.test: Use some macro names which are not defined by
338 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
340 * automake.texi (Complete, Macros, Options): Document the new style
341 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
342 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
343 AC_INIT if they are available there. Support a new call form
344 where the only argument is an optional space-separated list of
346 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
347 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
348 _AM_IF_OPTION): New functions.
349 * automake.in (AC_INIT_PATTERN): New variable.
350 (global_options_line): Remove, use $seen_init_automake instead.
351 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
352 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
353 Remove the AM_AUTOMAKE_OPTIONS handling.
354 * configure.in: Modernize.
355 * tests/defs (configure.in): Modernize. One third of the tests
356 still overwrite the default configure.in and use an old
357 AM_INIT_AUTOMAKE call, so that makes testing for both.
358 * tests/nodefine.test, tests/nodefine2.test: New files.
359 * tests/Makefile.am (TESTS): Add them.
361 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
363 * automake.in (define_configure_variable): Propagate line numbers.
365 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
367 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
369 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
371 * configure.in: Run the Autoconf test in a subdirectory, then
372 erase this directory.
374 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
376 * configure.in (AUTOMAKE): Create m4/amversion.m4.
377 * m4/amversion.in: New file.
378 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
379 (dist_m4data_DATA): ... this.
380 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
381 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
382 AM_SET_CURRENT_AUTOMAKE_VERSION.
383 * automake.in (seen_automake_version): New variable.
384 (scan_autoconf_traces, scan_one_autoconf_file,
385 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
386 when the version used in aclocal.m4 differs from Automake's.
387 * tests/defs (ACLOCAL): Look in ../m4 too.
388 * tests/installsh.test (ACLOCAL): Likewise.
389 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
391 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
393 * automake.in (handle_languages): Emit an automake
394 internal variable 'am__depfiles_maybe'.
395 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
397 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
400 2002-01-06 Tom Tromey <tromey@redhat.com>
402 * automake.texi (Tags): Document new variables.
403 * lib/am/tags.am (ETAGS): New macro.
404 (ETAGSFLAGS): Likewise.
407 2002-01-04 Tom Tromey <tromey@redhat.com>
409 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
411 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
413 * automake.in (read_am_file): Thinko in "comment following
414 trailing backslash" detection.
415 * tests/comment5.test: Test for this too.
417 2002-01-02 Tom Tromey <tromey@redhat.com>
419 * automake.texi (Extending): Added index for uninstall-hook.
421 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
423 Fix for PR automake/278:
424 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
425 with versions such as '2.2c1'. Also, use `int' instead of the
426 obsoleted `string.atoi'.
427 Reported by Enrico Scholz.
429 2001-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
431 Fix for PR automake/280:
432 * automake.in (read_am_file): Warn about trailing backslashes
434 * tests/comment5.test: New file.
435 * tests/Makefile.am (TESTS): Add comment5.test.
436 Reported by Enrico Scholz.
438 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
440 * tests/comment4.test: New file.
441 * tests/Makefile.am (TESTS): Add comment4.test.
443 Fix for comment4.test:
444 * automake.in (read_am_file): Output leading comments only when
445 encountering white lines.
447 2002-01-01 Tom Tromey <tromey@redhat.com>
450 * tests/Makefile.am (TESTS): Added strip.test.
451 * tests/strip.test: New file.
453 * automake.texi (Extending): Mention uninstall-hook.
455 * automake.in (handle_factored_dependencies): Allow
458 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
460 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
461 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
462 This fixes a bug introduced on 2001-01-28.
463 Reported by Jared Davis.
465 2001-12-31 Tom Tromey <tromey@redhat.com>
467 * automake.texi (Extending): Document installcheck-local. Added
468 installdirs-local index entry.
469 (Tests): Document installcheck-local.
471 * automake.in (handle_single_transform_list): Indentation fix.
473 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
475 * automake.in (common_files): Add COPYING.DOC.
476 Suggested by Karl Berry.
478 2001-12-30 Tom Tromey <tromey@redhat.com>
480 * automake.in (define_configure_variable): Define a user macro,
481 not an automake macro.
482 * tests/Makefile.am (TESTS): Added ar.test.
483 * tests/ar.test: New file.
486 * automake.in (object_compilation_map): New global.
487 (initialize_per_input): Initialize it.
488 (COMPILE_LIBTOOL): New constant.
489 (COMPILE_ORDINARY): Likewise.
490 * tests/Makefile.am (TESTS): Added pr211.test.
491 * tests/pr211.test: New file.
494 * configure.in: Use AM_AUTOMAKE_OPTIONS.
495 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
496 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
497 (Options): Mention AM_AUTOMAKE_OPTIONS.
498 * automake.in (global_options): New global.
499 (global_options_line): Likewise.
500 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
501 (scan_one_autoconf_file): Likewise.
502 (process_option_list): New function.
503 (handle_options): Use it. Also, handle global options.
504 * m4/Makefile.am (m4data_DATA): Added options.m4.
505 * m4/options.m4: New file.
507 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
509 (?!SUBDIRS?installdirs): Likewise.
510 * automake.in (handle_installdirs): Handle installdirs-local.
511 * automake.texi (Extending): Mention installdirs.
512 * tests/Makefile.am (TESTS): Added installdir.test.
513 * tests/installdir.test: New file.
515 2001-12-30 Akim Demaille <akim@epita.fr>
517 * lib/am/yacc.am: Also rename the possible y.output file.
518 Remove the trailing y.tab.h.
520 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
522 * automake.texi (Install): Remove mention of nonexistent
525 2001-12-30 Alan Modra <amodra@bigpond.net.au>
527 * automake.in (generate_makefile): Unlink output file before
528 opening so that any hard links are not changed.
530 2001-12-30 Tom Tromey <tromey@redhat.com>
532 * tests/pr220.test: Use `required' to pick up gcc.
535 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
537 * tests/Makefile.am (TESTS): Added pr243.test.
538 * tests/pr243.test: New file.
541 * tests/Makefile.am (TESTS): Added pr220.test.
542 * tests/pr220.test: New file.
543 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
544 fail if conditional was never run.
547 * lib/depcomp (tru64): Correctly handle libtool case.
548 From doreille@smr.ch.
550 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
552 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
553 Reported by Yann Droneaud.
555 2001-12-29 Tom Tromey <tromey@redhat.com>
558 * tests/Makefile.am (TESTS): Added pr266.test.
559 * tests/pr266.test: New file.
560 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
561 non-standard name for makefile.
564 * automake.in (conditional_ambiguous_p): New sub.
565 (handle_lib_objects_cond): Use it.
566 (check_ambiguous_conditional): Use it.
567 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
568 * tests/pr279.test: New file.
569 * tests/pr279-2.test: New file.
571 2001-12-26 Tom Tromey <tromey@redhat.com>
574 * tests/Makefile.am (TESTS): Added nodist2.test.
575 * tests/nodist2.test: New file
577 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
579 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
581 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
583 * configure.in: Test for Autoconf >= 2.52.
584 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
585 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
586 tests/cond4.test, tests/cond9.test, tests/cond16.test,
587 tests/cond18.test, tests/cond19.test, tests/cond20.test,
588 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
589 tests/depend2.test, tests/dirname.test, tests/distname.test,
590 tests/extra5.test, tests/install2.test, tests/lex3.test,
591 tests/make.test, tests/nobase.test, tests/pr9.test,
592 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
593 tests/subdirbuiltsources.test, tests/subobj3.test,
594 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
595 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
596 tests/yaccvpath.test: Do not use $needs_autoconf.
598 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
600 * configure.in: Bump version to 1.5c.
602 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
604 * configure.in: Bump version to 1.5b.
606 * lib/config.sub, lib/config.guess: New versions from FSF.
608 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
610 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
612 * automake.in (check_gnu_standards, check_gnits_standards): Pass
613 "$am_file.am" as WHERE argument to require_file.
615 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
617 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
618 in loop until we find one the satisfies the user supplied version.
619 Add python2 to the list of known interpreters. Don't use
620 changequote. Cache the calculation of PYTHON_VERSION and
622 (AM_PYTHON_CHECK_VERSION): New function, extracted from
623 AM_PATH_PYTHON and modernized.
624 * m4/runlog.m4: New file.
625 * m4/Makefile.am (m4data_DATA): Add it.
627 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
629 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
630 tests/nobase.test, tests/stamph2.test,
631 tests/subdirbuiltsources.test: Require Autoconf.
633 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
635 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
636 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
637 Suggested by Merijn de Jonge.
639 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
641 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
642 like other ID dependencies.
643 Suggested by Christian Cornelssen.
645 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
647 * automake.in (handle_dist): Distribute common files which
648 do not exist but are target of a Makefile rule.
649 * automake.texi (Dist): Update.
650 * test/builtcommon3.test: New file.
651 * test/Makefile.am (TESTS): Add distcommon3.test.
653 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
655 * automake.in (macro_define): Fix misuse of chomp introduced on
658 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
660 * automake.in (append_comments): New. Extracted from
661 read_am_file. Match '\n' with a regexp, don't use substr (the
662 perlport man page says '\n' is not always one byte wide).
663 (read_am_file): Use it. Always chomp $_.
664 (file_contents_internal): Use append_comments.
665 (macro_define): Don't treat the trailing '\n' with substr, use
668 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
670 * tests/defs: Turn on shell traces when VERBOSE=x.
672 2001-11-26 Tom Tromey <tromey@redhat.com>
674 * automake.texi (Assembly Support): Mention .s and .S as only
677 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
679 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
682 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
684 * tests/lex3.test: Require GNU Make.
686 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
688 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
691 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
693 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
694 in $(srcdir), like other TAGS dependencies.
695 Suggested by Christian Cornelssen.
697 2001-11-26 Akim Demaille <akim@epita.fr>
699 * automake.in (¯o_define): Use $where when reporting an error,
700 not the place where the macro was first defined since (i) if this
701 is the first definition, then obviously it was not defined before,
702 and (ii) anyway, the error is with the new definition, not the
705 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
707 * lib/am/distdir.am (distcheck): Call distcleancheck.
708 (distcleancheck_listfiles, distcleancheck): New, extracted from
710 * automake.texi (Checking the distribution): Document
711 distcleancheck_listfiles and distcleancheck.
713 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
715 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
716 foreach invocation, otherwise Perl5.005_03 complains about a
717 syntax error. Reported by Yann Droneaud.
719 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
721 * automake.in (scan_texinfo_file): Suppress FIXME about strange
724 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
726 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
727 gettext.m4 if required.
729 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
731 * automake.in (define_objects_from_sources,
732 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
733 the equivalant substitution.
735 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
737 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
738 set of accepted characters in extensions.
739 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
741 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
743 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
745 * automake.texi (Suffixes): Don't require SUFFIXES, but document
746 its use for the "extreme" cases.
748 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
750 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
751 to match suffix rules for known extensions, or call
752 accept_extensions on suffixe rules for unknown extensions.
753 (var_SUFFIXES_trigger): New function.
754 (macro_define): Call var_VAR_trigger when $VAR is updated.
755 * tests/suffix6.test, tests/suffix7.test: New files.
756 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
758 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
760 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
762 (handle_single_transform_list, lang_yacc_target_hook): Use
763 KNOWN_EXTENSIONS_PATTERN.
764 (accept_extension): New function.
765 (register_language): Call it.
767 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
769 At every place where an "$extension" is used, include the leading
770 dot in the extension, don't hardcode it when building the filename.
771 That will make any support for a dot-less extension easier to add.
773 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
775 ("main"): Prepend a '.' to the supported extensions of all
776 languages (e.g. 'c' becomes '.c').
777 (handle_languages, handle_single_transform_list,
778 handle_lib_objects_cond, handle_headers, derive_suffix,
779 rule_define): Do not add a dot
780 before extensions, and include dots in matching groups.
781 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
782 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
783 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
784 (%EXT%%DERIVED-EXT%): ... this.
785 * lib/am/yacc.am: Likewise.
787 2001-11-12 Akim Demaille <akim@epita.fr>
789 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
790 Use `"#"' and `"\""', which
791 Autoconf mode prefers over `'#'' and `'"''.
792 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
793 Rely on AC_MSG 2.50's quotation.
795 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
797 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
799 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
801 * lib/am/distdir.am (distdir): Also look for directory in build
802 directory first. (See 2001-05-14.)
803 * tests/Makefile.am (TESTS): Add extra5.test.
804 * tests/extra5.test: New file.
807 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
809 Fix for distcommon2.test:
810 * automake.in (automake_needs_to_reprocess_all_files): New
812 ("main"): Process all Makefiles a second time if
813 $automake_needs_to_reprocess_all_files is set.
814 (maybe_push_required_file): Return 1 or 0 whether the file is
816 (require_file_internal): Set $automake_needs_to_reprocess_all_files
817 if an added file can't be pushed.
819 * test/distcommon2.test: New file.
820 * test/Makefile.am (TESTS): Add distcommon2.test.
823 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
825 * automake.in (exec_dir_p): Remove. Replace by...
826 (EXEC_DIR_PATTERN):... this.
827 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
829 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
832 * lib/am/header-vars.am (install_sh_DATA): New.
833 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
834 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
835 of $(INSTALL_DATA) for nobase_ targets.
836 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
837 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
838 * tests/nobase.test (configure.in): Append AC_OUTPUT.
839 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
841 2001-11-08 Akim Demaille <akim@epita.fr>
843 * automake.texi: Remove references to stamp-h.in, which no longer
845 * tests/stamph2.test: Formatting change.
847 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
849 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
850 Don't use -Wno-error.
852 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
854 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
855 * tests/suffix5.test ($AUTOMAKE): Likewise.
857 2001-11-07 Akim Demaille <akim@epita.fr>
859 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
861 Reported by Jim Meyering.
863 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
865 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
867 2001-11-05 Paul Eggert <eggert@twinsun.com>
869 * lib/am/distdir.am (am__remove_distdir):
870 New macro. Do not change permission of non-directories.
871 Change only user permission, as there's no point to changing group
873 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
876 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
878 * lib/am/python.am: Cleanup the cleaning section.
879 * automake.texi (Python): Remove documentation for PYCFILES
880 and PYOFILES. Update the first paragraphes.
882 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
884 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
885 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
886 Adjust usage everywhere.
888 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
890 * automake.in (libtool_files, libtool_sometimes, common_files,
891 common_sometimes, config_aux_path): Use qw to simplify definition.
892 (scan_texinfo_file) <clean_suffixes, predefined_index,
893 hidden_index>: Likewise.
894 (scan_autoconf_traces) <traced>: Likewise.
895 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
898 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
900 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
901 derive_suffix. Don't use an hardcoded 'o' for object extensions.
902 (derive_suffix): Accept $OBJ as a second argument, don't
904 * tests/suffix5.test: New test.
905 * tests/Makefile.am (TESTS): Add suffix5.test.
906 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
908 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
910 * automake.in (handle_single_transform_list): Don't call
911 $lang->target_hook for undefinied langages.
912 * tests/suffix4.test: New test.
913 * tests/Makefile.am (TESTS): Add suffix4.test.
914 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
916 2001-11-05 Akim Demaille <akim@epita.fr>
918 * automake.in (@common_sometimes, &handle_configure): No longer
920 * lib/am/remake-hdr.am: Adjust.
921 * tests/confh.test: There is no stamp.hin.
923 2001-11-01 Akim Demaille <akim@epita.fr>
925 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
926 `#line' and multiple inclusion guards.
927 * lib/ylwrap: Remove debugging code.
928 (input_dir, input_rx): Move where used.
929 Use the output file name in `#line'.
931 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
933 * automake.in (transform): Update documentation.
935 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
937 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
938 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
940 2001-10-30 Akim Demaille <akim@epita.fr>
942 * automake.in (&create): Reinstall.
944 2001-10-30 Akim Demaille <akim@epita.fr>
946 * automake.in (&append_exeext): Use macro_delete.
948 2001-10-30 Akim Demaille <akim@epita.fr>
950 * automake.in ($verbose): Remove, inherited from
952 (&variable_delete): Rename as...
953 (¯o_delete): this, for consistency.
954 (&variable_assert): New.
955 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
958 2001-10-29 Akim Demaille <akim@epita.fr>
960 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
961 cluttering configure's stdout.
963 2001-10-28 Akim Demaille <akim@epita.fr>
965 * automake.in: Various formatting changes.
966 (create): Remove, unused.
968 2001-10-28 Akim Demaille <akim@epita.fr>
970 * automake.in (&append_exeext): New.
971 (&am_primary_prefixes): Use it.
973 2001-10-28 Akim Demaille <akim@epita.fr>
975 * automake.in (am_primary_prefixes): Now, in accordance with its
976 comment, return the list of prefixes actually used, not all the
977 possible prefixes for a primary.
978 (&handle_libraries, &handle_ltlibraries, &handle_java)
979 (&am_install_var): Adjust.
980 * Makefile.am (maintainer-check): Allow `local $_;'.
982 2001-10-28 Akim Demaille <akim@epita.fr>
984 * automake.in: Various formatting changes.
985 (&variable_defined): Second argument is optional.
987 2001-10-28 Akim Demaille <akim@epita.fr>
989 * automake.in (&am_primary_prefixes): Now returns a list, not a
991 (&handle_libraries, &handle_ltlibraries, &handle_java)
992 (&am_install_var): Adjust.
994 2001-10-28 Akim Demaille <akim@epita.fr>
996 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
998 (@libtool_files, @libtool_sometimes): these.
999 ($libtool_location): Remove, completely replaced by $seen_libtool.
1000 (&require_file_internal): Do not run libtoolize, that's
1003 2001-10-28 Akim Demaille <akim@epita.fr>
1005 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1006 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1007 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1008 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1009 * tests/conf2.test, tests/config.test, tests/depcomp.test,
1010 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1011 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1012 * tests/libobj8.test, tests/output.test, tests/output2.test,
1013 * tests/output3.test, tests/output4.test, tests/output5.test,
1014 * tests/pr2.test, tests/remake.test, tests/remake2.test,
1015 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1016 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1017 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1020 2001-10-28 Akim Demaille <akim@epita.fr>
1022 * automake.in (&scan_autoconf_traces): Use eq for equality.
1024 Remove dead comment.
1025 (&initialize_per_input): Don't initialize several times the same
1028 2001-10-28 Akim Demaille <akim@epita.fr>
1030 * automake.in (scan_one_autoconf_file): When using %generalize, be
1031 sure to replace only words. AC_FUNC_OBSTACK was matching
1034 2001-10-26 Akim Demaille <akim@epita.fr>
1036 * tests/stamph2.test: Strengthen.
1037 * tests/confh2.test, tests/confh3.test: Remove.
1038 These are bad tests: they don't check the effects, but some
1039 internal details in Makefile.
1040 And they are covered by stamph2.test.
1042 2001-10-26 Akim Demaille <akim@epita.fr>
1044 Now that stamp-h's are created by config.status, we don't need to
1045 handle them in Makefile's.
1047 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1048 * m4/header.m4 (_AM_STAMP): New.
1049 (_AM_CONFIG_HEADER): Use it.
1051 2001-10-26 Akim Demaille <akim@epita.fr>
1053 * automake.in (&generate_makefile, &handle_texinfo_helper)
1054 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1055 (&define_pretty_variable, &read_am_file, &file_contents_internal)
1056 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1057 `join (' ', @list)' into `"@list"'.
1059 2001-10-26 Akim Demaille <akim@epita.fr>
1061 * automake.in (@config_fullnames, @config_names): Remove.
1062 (@config_headers): Now contains the actual spec used in
1064 (&split_config_file_spec): New.
1065 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1066 (&scan_one_autoconf_file): Adjust.
1067 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1070 2001-10-26 Akim Demaille <akim@epita.fr>
1072 * m4/header.m4 (_AM_CONFIG_HEADER): New.
1073 (AM_CONFIG_HEADER): Use it.
1075 2001-10-26 Akim Demaille <akim@epita.fr>
1077 * automake.in (&handle_configure): Use the config.status 2.50
1078 invocation syntax for config files and headers.
1079 autoheader needs the name of the file to create, not from what it
1080 must be created, hence CONFIG_HEADER_FULL is $one_name, not
1082 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1083 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1085 Strengthen: Use the non-default config.hin source.
1086 Strengthen: Make sure config.h is properly updated when config.hin
1089 2001-10-26 Akim Demaille <akim@epita.fr>
1091 * automake.in (&handle_configure): Seeing Automake files in
1092 @other_input_files is a programming error, not merely something to
1094 Factor slightly the code.
1096 2001-10-26 Akim Demaille <akim@epita.fr>
1098 * automake.in ($canonical_location): New.
1100 (&require_config_file, $line_error): Remove.
1102 2001-10-24 Akim Demaille <akim@epita.fr>
1104 * automake.in: Use &verbose.
1105 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1108 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1110 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1111 Have the basename step optional and use %NDIR% instead of %DIR% in
1112 filenames in order to support 'nobase_'.
1114 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1116 * automake.in (handle_languages, handle_single_transform_list,
1117 lang_c_rewrite): Use require_conf_file instead of
1118 require_config_file to require depcomp or compile from
1119 Makefile.am. (This is a part of my patch of 2001-10-15 which got
1120 mistakenly reverted.)
1122 2001-10-24 Akim Demaille <akim@epita.fr>
1124 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1127 2001-10-24 Akim Demaille <akim@epita.fr>
1129 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1130 appear in Makefile.in in the clean rule.
1132 * tests/cxxansi.test: Adjust.
1134 2001-10-24 Akim Demaille <akim@epita.fr>
1136 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1137 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1139 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
1140 (&conf_error, &file_warning): these.
1141 (&file_warning): Fix the prototype and argument handling.
1142 (&am_line_warning): Remove, unused.
1144 Also, repair the misapplication of previous patches.
1146 2001-10-21 Akim Demaille <akim@epita.fr>
1148 * automake.in ($ac_output_location): Replace with...
1149 ($ac_config_files_location): this.
1150 (&scan_autoconf_traces): We don't need $file and $line, $here is
1152 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1153 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1155 2001-10-21 Akim Demaille <akim@epita.fr>
1157 * automake.in (&require_file_with_macro): Use &require_file.
1158 (&read_am_file): Move the definition of $here at its proper place.
1160 2001-10-21 Akim Demaille <akim@epita.fr>
1162 * automake.in ($libtool_line, $seen_pythondir): Replace with...
1163 ($libtool_location, $pythondir_location): these.
1164 (&require_conf_file_with_line, &require_conf_file_with_line):
1166 (&require_file): Don't forget $where.
1167 (&require_conf_file): Ahem... Fix the name.
1168 (&require_config_file): Invoke &require_conf_file, not yourself.
1169 (&am_line_error): Fix the default am_file_error invocation.
1171 2001-10-21 Akim Demaille <akim@epita.fr>
1173 * automake.in ($seen_lispdir): Replace with...
1174 ($am_lispdir_location): this.
1175 (&require_conf_file): New.
1176 (&require_config_file, &require_conf_file_with_line,
1177 (&require_conf_file_with_conf_line): Use it.
1178 (&require_conf_file_with_macro): New.
1180 2001-10-21 Akim Demaille <akim@epita.fr>
1182 * automake.in ($config_header_line, $ac_output_line)
1183 ($ac_gettext_line, $package_version_line): Replace with...
1184 ($config_header_location, $ac_output_location)
1185 ($ac_gettext_location, $package_version_location): these.
1186 (&require_file_with_conf_line, &require_file_with_line): Remove,
1189 2001-10-21 Akim Demaille <akim@epita.fr>
1191 * automake.in (&require_file_internal): Instead of $file and $line,
1192 take $where as first argument.
1194 (&require_file_with_macro): New.
1195 Use it where internal black magic was used to recover the location
1196 of a macro definition.
1198 2001-10-21 Akim Demaille <akim@epita.fr>
1200 * automake.in (&read_am_file): Define and use `$here'.
1201 Avoid using am_line_error.
1203 2001-10-21 Akim Demaille <akim@epita.fr>
1205 * automake.in (&am_target_error): New.
1206 Use it where appropriate instead of...
1207 (&am_line_error): this.
1208 Using it for a target is a croak error.
1210 2001-10-21 Akim Demaille <akim@epita.fr>
1212 * automake.in (&am_macro_error): New.
1213 Use it where appropriate instead of...
1214 (&am_line_error): this.
1215 Using it for a macro is a croak error.
1217 2001-10-21 Akim Demaille <akim@epita.fr>
1219 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1220 AC_OUTPUT a Makefile.
1222 2001-10-21 Akim Demaille <akim@epita.fr>
1224 * automake.in (%var_line): Rename as...
1225 (%var_location): this.
1226 Use it consistently as the location where the macro is defined,
1227 file and line when possible, otherwise just file.
1228 (&read_am_file): Rules have their own location tracking, don't
1229 pollute %var_location.
1231 2001-10-21 Akim Demaille <akim@epita.fr>
1233 * automake.in (am_line_error): Clarify.
1235 2001-10-21 Akim Demaille <akim@epita.fr>
1237 * automake.in (&am_print_error): Set $exit_status since all your
1239 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1241 (&am_conf_line_error, &am_conf_line_warning): Remove.
1242 Adjust callers to use &am_file_error and...
1243 (&am_file_warning): new.
1245 2001-10-21 Akim Demaille <akim@epita.fr>
1247 * m4/regex.m4: Use AC_LIBOBJ.
1248 Require 2.50, and use AC_LIBSOURCES freely.
1249 * tests/asm.tests: Formatting changes.
1250 Exercise AM_PROG_AS.
1252 2001-10-21 Akim Demaille <akim@epita.fr>
1254 * tests/install.test: This test is an empty shell, do not run
1256 * tests/Makefile.am (TESTS): Don't run it.
1257 * tests/defs (ACLOCAL): When using gettext, pass in the installed
1259 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1261 * tests/obsolete2.test: Remove, merged into...
1262 * tests/obsolete.test: here.
1263 Both aclocal and automake should complain.
1265 2001-10-21 Akim Demaille <akim@epita.fr>
1267 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1268 for symbols which cannot be Make macro names.
1269 (scan_one_autoconf_file): `$here' is new.
1270 Use it consistently instead of `1' to remember a token was seen.
1272 2001-10-21 Akim Demaille <akim@epita.fr>
1274 * tests/subdircond.test: Requires gettext.
1275 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1276 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1277 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1278 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1279 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1280 Produce valid configure.in, use aclocal appropriately, declare
1281 when libtool is required.
1283 2001-10-21 Akim Demaille <akim@epita.fr>
1285 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1286 * automake.texi (Macros, Yacc and Lex): Adjust.
1287 * automake.in ($seen_decl_yytext): Rename as...
1288 ($seen_prog_lex): this.
1289 (&scan_autoconf_traces): Add AC_PROG_LEX support.
1290 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1292 2001-10-21 Akim Demaille <akim@epita.fr>
1294 * automake.in (&scan_autoconf_traces): Add support for
1295 AM_PATH_LISPDIR and AM_PATH_PYTHON.
1297 2001-10-21 Akim Demaille <akim@epita.fr>
1299 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1300 libtool is required.
1301 * tests/lex.test: Run AC_INIT once.
1302 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1303 Libtool is required.
1304 * tests/header.test: Built a correct configure.in.
1305 * tests/defun2.test (configure.in): Be a bit respectful with
1306 Autoconf, close the macro invocations.
1307 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1310 * automake.in (scan_autoconf_traces): Add support for
1311 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1312 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1313 * tests/condincl.test (target): Better pattern, to avoid matching
1314 the definition of `target_alias' which is now properly discovered
1315 as an AC_SUBST by traces.
1316 * cond4.test: Better grep pattern: After all, why shouldn't
1317 TWO_FALSE be AC_SUBST properly.
1318 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1320 2001-10-20 Kevin Ryde <user42@zip.com.au>
1322 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1323 actually using ansi2knr.
1325 * automake.in (handle_configure): Always put a number on $stamp_name,
1326 to match AM_CONFIG_HEADER.
1328 2001-10-20 Tom Tromey <tromey@redhat.com>
1330 * tests/Makefile.am (TESTS): Added condd.test.
1331 (XFAIL_TESTS): Added condd.test.
1332 * tests/condd.test: New file.
1334 2001-10-20 Akim Demaille <akim@epita.fr>
1336 * automake.in (&scan_autoconf_traces): Add support for
1337 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1339 * tests/alpha.test (configure.in): Automake wants a Makefile.
1341 2001-10-20 Akim Demaille <akim@epita.fr>
1343 * automake.in (scan_autoconf_traces): Use an unlikely to be used
1344 separator between trace arguments, in particular not `:' as it is
1345 within AC_CONFIG_FILES's $1.
1347 2001-10-20 Akim Demaille <akim@epita.fr>
1349 * tests/alpha.test (configure.in): Create, don't append. A single
1352 2001-10-20 Akim Demaille <akim@epita.fr>
1354 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1355 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1356 * tests/alpha.test, tests/ansi.test, tests/asm.test,
1357 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1358 * tests/badline.test, tests/block.test, tests/canon2.test,
1359 * tests/check.test, tests/checkall.test, tests/clean.test,
1360 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1361 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1362 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1363 * tests/comment.test, tests/comment3.test, tests/cond.test,
1364 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1365 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1366 * tests/condman2.test, tests/confdist.test, tests/confh.test,
1367 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1368 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1369 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1370 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1371 * tests/else.test, tests/empty.test, tests/exdir.test,
1372 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1373 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1374 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1375 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1376 * tests/include.test, tests/info.test, tests/insh.test,
1377 * tests/insh2.test, tests/install.test, tests/installsh.test,
1378 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1379 * tests/insthook.test, tests/instman.test, tests/instman2.test,
1380 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1381 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1382 * tests/man.test, tests/mclean.test, tests/mdate.test,
1383 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1384 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1385 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1386 * tests/outdir.test, tests/output.test, tests/output2.test,
1387 * tests/output3.test, tests/output4.test, tests/output5.test,
1388 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1389 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1390 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1391 * tests/primary.test, tests/proginst.test, tests/python.test,
1392 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1393 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1394 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1395 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1396 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1397 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1398 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1399 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1400 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1401 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1402 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1403 * tests/version.test, tests/version2.test, tests/version3.test,
1404 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1405 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1407 2001-10-20 Akim Demaille <akim@epita.fr>
1409 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1410 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1411 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1412 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1413 * tests/conf2.test, tests/confh.test, tests/confh2.test,
1414 * tests/confh3.test, tests/confh4.test, tests/config.test,
1415 * tests/confsub.test, tests/depend3.test, tests/discover.test,
1416 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1417 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1418 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1419 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1420 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1421 * tests/output.test, tests/output2.test, tests/output3.test,
1422 * tests/output4.test, tests/output5.test, tests/package.test,
1423 * tests/parse.test, tests/pr2.test, tests/remake.test,
1424 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1425 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1426 * tests/subdir4.test, tests/subdirbuiltsources.test,
1427 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1428 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1429 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1430 since AM_INIT_AUTOMAKE requires them.
1432 2001-10-20 Akim Demaille <akim@epita.fr>
1434 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1436 Don't run AC_ARG_PROGRAM another time, it is required by
1438 * tests/aclocal.test: Work on the default configure.in
1439 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1440 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1442 Be realistic in testing: AC_INIT is required for Autoconf.
1443 Broken so called optimized tests break trace handling.
1445 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1446 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1447 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1448 * tests/colon.test, tests/colon2.test, tests/colon3.test,
1449 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1450 * tests/colon7.test, tests/cond.test, tests/cond2.test,
1451 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1452 * tests/confh.test, tests/confh2.test, tests/confh3.test,
1453 * tests/confh4.test, tests/config.test, tests/confsub.test,
1454 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1455 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1456 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1457 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1458 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1459 * tests/libobj9.test, tests/output.test, tests/output2.test,
1460 * tests/output3.test, tests/output4.test, tests/parse.test,
1461 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1462 * tests/remake.test, tests/remake2.test, tests/remake3.test,
1463 * tests/req.test, tests/scripts.test, tests/subdir.test,
1464 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1465 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1466 * tests/version2.test: Add AC_INIT in `configure.in'.
1468 2001-10-20 Akim Demaille <akim@epita.fr>
1470 * automake.in (&scan_autoconf_traces): Add support for
1471 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1472 Let @args have a more natural M4 correspondence: $1 is args[1], no
1474 (&scan_autoconf_files): Using autoconf traces is no longer a
1475 complement of the previous ad hoc scheme: use either.
1477 2001-10-20 Akim Demaille <akim@epita.fr>
1479 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1480 factors dedicated $libsources assignments.
1482 2001-10-20 Akim Demaille <akim@epita.fr>
1484 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1485 Remove, since Autoconf 2.52 has them.
1486 * automake.in, aclocal.in, automake.texi: Adjust.
1488 2001-10-19 Akim Demaille <akim@epita.fr>
1490 * automake.in (&read_main_am_file): s/generated automatically/
1492 Insert @configure_input@, since 2.50 no longer output this
1493 automatically for Makefiles.
1495 2001-10-19 Kevin Ryde <user42@zip.com.au>
1497 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1498 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1500 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1502 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1503 * tests/nobase.test: New file. Based on a bug report
1504 from Martin Frydl <martin@idoox.com>.
1506 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1508 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1509 this with $nodir_name only. Use $nodir_name where appropriate.
1511 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1513 * automake.in (handle_languages, handle_single_transform_list,
1514 lang_c_rewrite): Use require_conf_file instead of
1515 require_config_file to require depcomp or compile from Makefile.am.
1516 (require_aux_file_with_line): New function, adapted from
1517 require_conf_gile_with_line.
1518 (require_conf_file_with_line, require_conf_file_with_conf_line):
1519 Simplify using require_aux_file_with_line.
1520 (require_config_file): Simplify using require_conf_file_with_conf_line.
1521 (require_conf_file): New function.
1523 2001-10-15 Akim Demaille <akim@epita.fr>
1525 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1526 normally, what is wrong is that automake outputs a variable
1527 definition for it, hence...
1528 * automake.in (scan_one_autoconf_file): don't.
1530 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1532 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1533 Use AC_CONFIG_COMMANDS.
1534 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1536 2001-10-15 Akim Demaille <akim@epita.fr>
1538 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1540 2001-10-15 Akim Demaille <akim@epita.fr>
1542 * automake.in (&variable_conditions): Be deterministic and Perl
1543 version independent: sort the result.
1544 (&variable_output, &variable_pretty_output): Sort all the @conds,
1545 not only when defaulted.
1546 * tests/cond3.test: Adjust.
1548 2001-10-15 Akim Demaille <akim@epita.fr>
1550 * automake.in: Formatting changes.
1552 2001-10-15 Akim Demaille <akim@epita.fr>
1554 * aclocal.in: Use Automake::General and Automake::XFile.
1555 Use find_configure_ac.
1556 Output the Emacs tags for Autoconf mode selection.
1558 2001-10-10 Akim Demaille <akim@epita.fr>
1560 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1563 2001-10-09 Akim Demaille <akim@epita.fr>
1565 Do not use Autoconf internals.
1567 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1568 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1569 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1570 macro in GNU M4 1.5.
1572 2001-10-08 Akim Demaille <akim@epita.fr>
1574 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1577 2001-10-05 Akim Demaille <akim@epita.fr>
1579 * automake.in (scan_autoconf_files): Use find_configure_ac from
1582 2001-10-02 Akim Demaille <akim@epita.fr>
1584 * lib/Automake/Struct.pm: Update from Autoconf.
1585 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1587 * automake.in: Use them.
1588 (&uniq, $me): Remove, as they are provided by Automake::General.
1590 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1592 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1593 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1594 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1595 * lib/am/distdir.am (distcheck): Likewise.
1596 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1597 using cd so we don't have to fiddle with CDPATH.
1598 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1599 DOSish path separator.
1601 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1603 * lib/am/python.am (install-%DIR%PYTHON,
1604 uninstall-%DIR%PYTHON): Strip path of source file.
1605 (clean-python): Comment out.
1607 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1609 * automake.in (handle_python): Use require_conf_file_with_conf_line
1610 instead of require_file_with_conf_line, so that elisp-comp and
1611 py-compile are installed in the aux-directory.
1612 (handle_emacs_lisp): Likewise. Define elisp_comp.
1613 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1615 2001-10-01 Akim Demaille <akim@epita.fr>
1617 * lib/am/distdir.am (distcheck): Report the trailing files.
1618 Run `dist-gzip', not `dist', as it may leave other distribution
1621 2001-09-29 Paul Eggert <eggert@twinsun.com>
1623 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1624 bugs when making file names with unusual characters. Quote chmod
1625 arg "$dirmode", in case it contains white space.
1627 Incorporate the following change from autoconf mkinstalldirs:
1629 1999-04-10 Ben Elliston <bje@cygnus.com>
1631 Add `-m' flag to specify the mode of a newly created
1632 directory. Add command line usage and `-h', `--help' options.
1633 Contributed by Jeff Garzik.
1635 2001-09-27 Akim Demaille <akim@epita.fr>
1637 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1639 2001-09-27 Akim Demaille <akim@epita.fr>
1641 * lib/am/distdir.am (dist): Rename as...
1643 (dist): Additional name for dist-all.
1644 * automake.texi (Options, Dist): Adjust.
1646 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1648 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1649 * automake.in (obsolete_macros): Likewise.
1650 (seen_objext): Remove (unused).
1651 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1652 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1653 PATH_SEPARATOR): New variables.
1654 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1656 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1658 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1659 neutralize CDPATH for us.
1660 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1661 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1664 2001-09-22 Akim Demaille <akim@epita.fr>
1666 * configure.in, NEWS: Bump to 1.5a.
1669 2001-09-22 Paul Eggert <eggert@twinsun.com>
1671 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1672 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1673 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1674 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1675 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1676 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1677 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1678 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1679 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1680 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1682 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1683 which has a copyright notice.
1685 * m4/strtod.m4: Correct the dates on the copyright notice.
1687 2001-09-17 Akim Demaille <akim@epita.fr>
1689 * lib/missing (autom4te): New.
1690 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1693 2001-08-27 Tom Tromey <tromey@redhat.com>
1695 * automake.texi (A Shared Library): Clarify installation
1697 (Install): Typo. From Adrian Bunk.
1699 2001-08-27 Tom Tromey <tromey@redhat.com>
1701 * automake.texi (Macros): Typo fix.
1702 From Christian Cornelssen
1704 2001-08-27 Tom Tromey <tromey@redhat.com>
1706 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1707 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1708 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1709 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1710 tests/substref.test: Clear CFLAGS.
1712 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1713 From Alexey Mahotkin.
1715 2001-08-27 Tom Tromey <tromey@redhat.com>
1717 * tests/yacc7.test: Use test -f, not test -e.
1719 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1721 * automake.texi (etags): Typo fix.
1723 2001-08-27 Guido Draheim <guidod@gmx.de>
1725 * automake.in : restrict ansi2knr option to be a filepath
1727 2001-08-23 Richard Boulton <richard@tartarus.org>
1729 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1731 2001-08-22 Tom Tromey <tromey@redhat.com>
1733 * automake.texi (Conditionals): Mention that conditionals must
1734 always be invoked. For PR automake/220.
1736 2001-08-22 Richard Boulton <richard@tartarus.org>
1737 Tom Tromey <tromey@redhat.com>
1739 * automake.in (lang_yacc_target_hook): Make header file depend on
1740 .c file, not .y file.
1741 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1742 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1743 * tests/yacc7.test: New file.
1744 * tests/Makefile.am (TESTS): Added yacc7.test.
1746 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1748 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1750 2001-08-18 Tom Tromey <tromey@redhat.com>
1752 * automake.texi (Dist): Mention dist-all.
1754 2001-08-18 Tom Tromey <tromey@redhat.com>
1756 * tests/cond3.test: Use portable sed expression.
1757 From Richard Boulton.
1759 2001-08-13 Richard Boulton <richard@tartarus.org>
1761 * automake.in (handle_source_transform): Call
1762 define_objects_from_sources() instead of calling
1763 variable_value_as_list(), handle_single_transform_list() and
1764 define_pretty_variable() directly.
1765 (handle_single_transform_list): Add $topparent parameter, used for
1766 error messages. Improved error message.
1767 (define_objects_from_sources): New function.
1768 (subobjname): New function.
1769 (variable_conditions_recursive): New name for variable conditions.
1770 (variable_value_as_list_recursive): New name for variable_value_as_list.
1771 (variable_value_as_list_worker): Renamed to ...
1772 (variable_value_as_list_recursive_worker): ... this.
1773 (variable_conditions_sub): Renamed to ...
1774 (variable_conditions_recursive_sub): ... this.
1775 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1776 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1777 (substfroms): New global.
1778 (substtos): New global.
1779 (substnums): New global.
1780 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1781 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1782 * tests/sourcesub2.test: New test.
1783 * tests/Makefile.am (TEST): Added sourcesub2.test.
1785 2001-08-11 Tom Tromey <tromey@redhat.com>
1787 * configure.in: Upped to 1.4s.
1789 2001-08-09 Richard Boulton <richard@tartarus.org>
1791 * automake.in (handle_single_transform_list): Use new global,
1792 `%linkers_used', to store the linkers used, rather than an internal
1793 variable. Enables correct linker to be calculated across a group
1794 of calls to &handle_single_transform_list. Return only list of
1795 objects, since linker to be used is now externally determined.
1796 (handle_source_transform): adapted for new calling conventions of
1797 handle_single_transform_list. Calls resolve_linker() on a set of
1798 all the linkers used for any prefix, rather than for each prefix in
1800 (linkers_used): New global.
1801 * tests/link_dist.test: New test.
1802 * tests/Makefile.am (TESTS): Added link_dist.test.
1804 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1806 Dissociate testsuite 'make' invocations from outer 'make'.
1807 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1808 environment variables.
1809 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1811 * tests/substref.test: Likewise.
1813 2001-08-08 Richard Boulton <richard@tartarus.org>
1815 * tests/cond18.test: New file.
1816 * tests/cond19.test: New file.
1817 * tests/cond20.test: New file.
1818 * tests/cond4.test: Updated to check the generated _OBJECTS more
1820 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1823 2001-08-08 Richard Boulton <richard@tartarus.org>
1825 * automake.in (file_contents_internal): if a rule is conditionally
1826 defined, define the standard automake definition for it for those
1827 conditions which are not conditionally defined.
1828 (invert_conditions): New function: invert a list of conditionals.
1830 * tests/cond14.test: New file.
1831 * tests/cond15.test: New file.
1832 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1834 2001-08-05 Tom Tromey <tromey@redhat.com>
1836 * tests/Makefile.am (TESTS): Added dejagnu2.test.
1837 * tests/dejagnu2.test: New file.
1838 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1839 * automake.in (handle_scripts): Removed dead code.
1840 (handle_tests_dejagnu): Don't handle site.exp generation
1843 2001-08-04 Richard Boulton <richard@tartarus.org>
1845 * tests/cond17.test: New file: test for being able to define an
1846 object to be generated in different ways according to a
1848 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1849 (TESTS): Added cond17.test.
1851 2001-08-02 Richard Boulton <richard@tartarus.org>
1853 * automake.in (variable_conditions_sub): Handle variable
1854 substitution refs when computing conditions based on subvariable
1855 conditions. Fixes substitution refs of system variables when sub
1856 variable is conditional.
1857 (SUBST_REF_PATTERN): New global.
1858 * tests/cond16.test: New file: regression test for variable
1860 * test/Makefile.am (TESTS): Added cond16.test.
1862 2001-08-03 Tom Tromey <tromey@redhat.com>
1864 * tests/substref.test: Require GNU make; backed out previous
1867 * tests/substref.test: Handle entering/leaving directory
1870 2001-08-03 Richard Boulton <richard@tartarus.org>
1872 * automake.in (value_to_list): Check for whether $from is defined,
1873 rather than whether it is true, so that empty $froms are allowed in
1874 substitution reference patterns.
1876 * tests/substref.test: New file: test behavior of substitution
1877 references when the $from side of the substitution is empty.
1878 * tests/Makefile.am (TESTS): Added substref.test.
1880 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
1882 * m4/install-sh.m4: New file.
1883 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
1884 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
1885 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
1886 for install.sh any longer, always use install-sh, don't even
1887 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
1888 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
1890 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
1892 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
1894 * automake.texi (EXEEXT): Clarify.
1896 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1898 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
1900 * m4/auxdir.m4: More comments.
1902 2001-07-31 Richard Boulton <richard@tartarus.org>
1903 Raja R Harinath <harinath@cs.umn.edu>
1905 * automake.in (variable_conditions_sub): Remove @parent_conds
1906 argument. This was old logic - duplicate or impossible
1907 conditionals are removed later by &variable_conditions_reduce().
1908 Fixes tests/cond13.test.
1909 (conditionals_true_when): Removed.
1910 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
1912 2001-07-31 Tom Tromey <tromey@redhat.com>
1914 * tests/Makefile.am (TESTS): Added cond13.test.
1915 (XFAIL_TESTS): Likewise.
1916 * tests/cond13.test: New file.
1918 * configure.in: Upped to version 1.4k.
1920 * configure.in: Released 1.4j.
1922 * lib/config.guess: Updated from master sources.
1923 * lib/config.sub: Likewise.
1925 2001-07-30 Tom Tromey <tromey@redhat.com>
1927 * automake.texi (A Program): Typo. Added subsections and more
1928 text about conditional compilation.
1929 (A Shared Library): Moved earlier.
1930 (Program variables): Updated LINK text. Added AM_CFLAGS.
1931 (C++ Support): Added AM_CXXFLAGS.
1932 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
1935 * tests/Makefile.am (TESTS): Added aclibobj.test.
1936 * tests/aclibobj.test: New file.
1937 * automake.in (handle_lib_objects_cond): Avoid undefined variable
1939 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
1941 * automake.texi (Dist): Mention other distribution types.
1944 2001-07-29 Tom Tromey <tromey@redhat.com>
1946 * automake.texi (Program and Library Variables): Texinfo fix.
1947 From Alexey Mahotkin.
1949 2001-07-28 Tom Tromey <tromey@redhat.com>
1951 * automake.texi (Strictness): Mention Cygnus mode.
1953 (Uniform): Likewise.
1954 (Canonicalization): Likewise.
1955 (Install): Add `nobase_' to example; typo fix.
1957 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
1959 (Options): Texinfo fixes; some text updates.
1962 2001-07-27 Tom Tromey <tromey@redhat.com>
1964 * automake.texi (Invoking Automake): Document --Werror and
1967 2001-07-26 Tom Tromey <tromey@redhat.com>
1969 * tests/nolink.test: Added no-exeext.
1971 * automake.in (check_variable_defined_unconditionally): Don't call
1974 * automake.texi (Optional): Don't mention ALL_LINGUAS.
1975 (gettext): Likewise.
1976 * automake.in (seen_linguas, all_linguas, all_linguas_line):
1978 (handle_gettext): Don't do any checking of the languages.
1979 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
1981 * automake.in (am_print_error): New function.
1983 (am_file_error): Likewise.
1984 (am_line_error): Likewise.
1985 (am_conf_error): Likewise.
1986 (am_conf_line_error): Likewise.
1988 * automake.texi (Options): Document no-exeext.
1989 * automake.in (handle_options): Recognize no-exeext.
1990 (rule_define): Handle no-exeext.
1991 * tests/Makefile.am (TESTS): Added new file.
1992 * tests/exeext2.test: New file.
1994 * automake.in (make_input_list): Removed.
1995 (scan_autoconf_config_files): Don't add to make_input_list.
1996 (scan_one_autoconf_file): Don't use make_input_list.
1997 (scan_autoconf_files): Use make_list, not make_input_list.
1998 (scan_autoconf_files): Likewise.
2000 * automake.in (seen_exeext): Removed.
2001 (generate_makefile): Don't define EXEEXT or OBJEXT.
2002 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2003 (am_install_var): Don't check $seen_exeext.
2004 (handle_programs): Likewise.
2005 (rule_define): Allow x to override x$(EXEEXT), for now.
2006 (file_contents_internal): Only define rule if rule_define allows
2008 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2010 2001-07-25 Tom Tromey <tromey@redhat.com>
2013 * tests/pr9.test: Require GNU make.
2014 * tests/dirname.test: Don't use `-u'.
2016 2001-07-22 Tom Tromey <tromey@redhat.com>
2018 * tests/Makefile.am (TESTS): Added auxdir2.test.
2019 (XFAIL_TESTS): Likewise.
2020 * tests/auxdir2.test: New file.
2022 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2023 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2025 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2026 * automake.in (am_install_var): Add $(EXEEXT) even if program name
2027 holds `.'. Don't add $(EXEEXT) if program name already has it.
2028 (handle_programs): Don't add $(EXEEXT) if user already did.
2029 (make_paragraphs): Don't compute EXEEXT.
2031 * tests/Makefile.am (TESTS): Added exeext.test.
2032 (XFAIL_TESTS): Likewise.
2033 * tests/exeext.test: New file.
2035 2001-07-22 Tom Tromey <tromey@redhat.com>
2037 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2038 `prog.exe' on Cygwin with libtool. From Robert Collins.
2040 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2042 * tests/dirname.test: Explicitly use $SHELL to run the
2043 script; this avoids failures on DJGPP.
2044 * tests/install2.test: Skip if 'chmod 000' doesn't make
2047 2001-07-21 Tom Tromey <tromey@redhat.com>
2049 * tests/libtool2.test: Check for libtoolize.
2051 * tests/Makefile.am (TESTS): Added substtarg.test.
2052 (XFAIL_TESTS): Likewise.
2053 * tests/substtarg.test: New file.
2055 * automake.in (handle_dist): Handle case where aux dir doesn't
2056 have a Makefile. Fixes depdist.test.
2057 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2058 * tests/depdist.test: Look for config/depcomp.
2060 * tests/Makefile.am (TESTS): Added depdist.test.
2061 (XFAIL_TESTS): Likewise.
2062 * tests/depdist.test: New file. From Eric Magnien.
2064 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2065 AC_PROG_CC_C_O does require AC_PROG_CC.
2068 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2070 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2071 output is suitable for make.
2073 * automake.texi (Macros): Document AM_PROG_AS.
2074 (Assembly Support): New node.
2075 * m4/Makefile.am (m4data_DATA): Added as.m4.
2076 * m4/as.m4: New file.
2078 * automake.texi (Tags): Added uref to global tags.
2080 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
2082 * automake.in (handle_single_transform_list): Use $(DEPDIR)
2083 instead of hardcoding '.deps'.
2084 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2086 2001-07-20 Derek Price <dprice@collab.net>
2088 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2090 * tests/dirname.test: New test.
2091 * tests/stamph2.test: New test.
2092 * tests/Makefile.am: Add new tests.
2093 * tests/Makefile.in: Regenerated.
2095 2001-07-19 Tom Tromey <tromey@redhat.com>
2097 * automake.texi (Tags): Document GTAGS_ARGS.
2098 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
2100 2001-07-19 Tom Tromey <tromey@redhat.com>
2101 Alexandre Duret-Lutz <duret_g@epita.fr>
2103 Fix for ccnoco.test, subobj8.test:
2104 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2105 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2107 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2108 Use AM_AUX_DIR_EXPAND.
2109 * lib/compile: Handle case where `-o' argument is the name of an
2110 executable, not an object file.
2111 * m4/auxdir.m4: New file, from...
2112 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
2113 * automake.in (handle_single_transform_list, lang_c_rewrite):
2114 Require compile using `require_config_file'.
2116 2001-07-19 Tom Tromey <tromey@redhat.com>
2118 * automake.texi (Program and Library Variables): Added X example
2121 2001-07-19 Tom Tromey <tromey@redhat.com>
2123 * automake.texi (Distributing): Updated to reflect new license.
2125 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2127 * automake.in (require_build_directory): New function, extracted
2129 (handle_single_transform_list): ... here.
2130 (require_build_directory_maybe): New function.
2131 (handle_prograns, handle_libraries, handle_ltlibraries): Call
2132 require_build_directory_maybe() to ensure the subdirectory
2133 in which a target may lie will exist when the target is created.
2134 (handle_libraries, handle_ltlibraries): Use basename before
2135 checking library name.
2136 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2137 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2138 * lib/am/program.am (%PROGRAM%): Likewise.
2140 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
2142 * m4/missing.m4: Reword comment.
2144 2001-07-18 Pavel Roskin <proski@gnu.org>
2146 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2147 * tests/gcj.test: Likewise.
2148 * tests/gcj2.test: Likewise.
2149 * tests/gcj3.test: Likewise.
2151 2001-07-18 Tom Tromey <tromey@redhat.com>
2153 * lib/compile: Change how lockdir is computed. If linking or
2154 compiling without `-o', just run the compiler.
2156 * tests/Makefile.am (TESTS): Added ccnoco.test.
2157 (XFAIL_TESTS): Likewise.
2158 * tests/ccnoco.test: New file.
2160 2001-07-17 Tom Tromey <tromey@redhat.com>
2162 * lib/ylwrap: Added special exception.
2163 * lib/py-compile: Added license.
2164 * lib/mdate-sh: Added special exception.
2165 * lib/elisp-comp: Added special exception.
2166 * lib/compile: Added special exception.
2167 * lib/depcomp: Added special exception.
2169 Report from Motoyuki Kasahara:
2170 * tests/make.test: Use am__include.
2171 * tests/exsource.test: Use am__include.
2172 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2173 * automake.in (handle_languages): Use am__include and am__quote.
2175 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2176 * m4/init.m4: Updated callers.
2178 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2180 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2181 * aclocal.in (scan_configure, add_file): Handle the full macro
2182 name even if it contains numbers, such as I18N.
2184 2001-07-16 Tom Tromey <tromey@redhat.com>
2186 * automake.texi (Dependencies): Link to dependency tracking page.
2187 (Data): Mention dist_.
2188 (Clean): Mention clean heuristics.
2189 (Install): Mention nobase_.
2191 * automake.texi (Program and Library Variables): Document _LINK.
2193 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2195 * automake.in (handle_libraries): Allow libraries to lie in
2196 a subdirectory by constraining only the basename to start
2197 with 'lib', not the whole path.
2199 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2201 * tests/subobj8.test: New file.
2202 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2204 2001-07-16 Tom Tromey <tromey@redhat.com>
2206 Fix for PR automake/212:
2207 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2208 (uninstall-%DIR%LISP): Likewise.
2210 2001-07-15 Tom Tromey <tromey@redhat.com>
2212 * automake.in (usage): Rewrote code to handle columnization.
2213 From Alexey Mahotkin and Maxim Sinev.
2215 Report from Ralf Corsepius:
2216 * automake.in (TARGET_PATTERN): Add `+' as valid character.
2217 (SUFFIX_RULE_PATTERN): Likewise.
2218 * tests/Makefile.am (TESTS): Added cxx.test.
2219 * tests/cxx.test: New file.
2221 * lib/am/tags.am (distclean-tags): Remove files for gtags.
2222 From Shigio Yamaguchi.
2224 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
2226 * lib/am/distdir.am (distcheck): Emit diagnostic when files
2227 remain after "make uninstall".
2229 2001-07-14 Tom Tromey <tromey@redhat.com>
2231 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
2233 * lib/missing (makeinfo): Redirect stdout and stderr outside
2234 subshell. From Alexandre Oliva.
2236 2001-07-14 Akim Demaille <akim@epita.fr>
2238 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2239 `\b(foo|bar)\b' is what we want.
2240 * aclocal.in: Likewise.
2242 2001-07-14 Akim Demaille <akim@epita.fr>
2244 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2246 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2247 actually modified to require AM_DEPENDENCIES.
2248 Rename `confdir' as `conftest.dir' so that the configure trap
2251 2001-07-04 Tom Tromey <tromey@redhat.com>
2253 Fix for nolink.test:
2254 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2255 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2256 * automake.in (am_install_var): Only rewrite PROGRAMS if
2258 (make_paragraphs): Always define %EXEEXT%.
2260 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2262 * tests/nolink.test: New file.
2263 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2265 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
2267 * automake.in (scan_texinfo_file): Add the second argument to
2268 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2269 itself may not be used directly.
2271 2001-07-04 Tom Tromey <tromey@redhat.com>
2274 * lib/missing (makeinfo): Use subshell, not explicit sh
2277 * automake.texi (Headers): Mention that we prefer uninstalled
2278 headers in _SOURCES.
2279 (ANSI): Mention cross-compilation limitation.
2281 2001-07-03 Tom Tromey <tromey@redhat.com>
2283 * configure.in: Upped to 1.4i.
2285 * configure.in: Released 1.4h.
2287 * lib/config.guess, lib/config.sub: Updated.
2289 2001-07-02 Tom Tromey <tromey@redhat.com>
2291 Fix for libtool2.test:
2292 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2293 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2294 * automake.in (generate_makefile): Call handle_libtool
2296 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2298 * tests/libtool2.test: Look for `.lo' files to be removed.
2300 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2302 * tests/Makefile.am (TESTS): Removed dup.test.
2303 * tests/dup.test: Removed.
2304 * aclocal.in (scan_file): Don't give error for duplicate macro.
2306 2001-07-01 Tom Tromey <tromey@redhat.com>
2308 * automake.texi (Program and Library Variables): Document
2309 subdir-objects. Document fact that per-object flags override AM_
2311 (Options): Likewise.
2312 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2313 (Multilibs): New node.
2314 (Macros): Documented missing macros.
2315 (Auxiliary Programs): New node.
2317 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2318 mode, then simply fail.
2320 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
2322 * lib/ylwrap: Improve support for DOS paths (and paths
2323 containing backslashes in general).
2325 2001-07-01 Tom Tromey <tromey@redhat.com>
2327 * lib/missing: Added special exception to license.
2330 * lib/missing: Updated. Added comment explaining configure.ac
2333 * lib/depcomp: Reorder arguments to gcc3.
2334 From Per Oyvind Hvidsten.
2336 * tests/Makefile.am (TESTS): Added libtool2.test.
2337 * tests/libtool2.test: New file.
2339 * automake.texi (Program and Library Variables): Added example for
2342 2001-06-29 Tom Tromey <tromey@redhat.com>
2344 * tests/cond11.test: Use `=', not `=='.
2345 * tests/cond12.test: Look for automake in build directory, not
2348 2001-06-29 Richard Boulton <richard@tartarus.org>
2350 * automake.in (conditionals_true_when): Pass first parameters by
2351 reference, avoiding bug which put all parameters in @CONDS instead
2352 of @WHENS. Report by Kalle Olavi Niemitalo.
2353 Take a single WHEN instead of an array of WHENS.
2354 Remove FIXME; can't now have an empty @WHENS.
2355 (conditional_is_redundant): New sub.
2356 (variable_conditions_reduce): Check whether each condition is
2357 implied by any of the other conditions (other those already
2358 discarded), rather than checking only against those already
2359 considered (and kept). Also, fix sense of check: was keeping
2360 tautologous terms instead of discarding them. Use
2361 conditional_is_redundant instead of conditionals_true_when.
2362 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2363 * tests/cond11.test: New file.
2364 * tests/cond12.test: New file.
2366 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
2368 * automake.in (saw_sources_p): Work even if there are more
2369 than one header files, and more than of one type of header.
2370 * tests/Makefile.am (TESTS): Added new file.
2371 * tests/depend4.test: New file.
2373 2001-06-28 Tom Tromey <tromey@redhat.com>
2375 * lib/am/libs.am (RANLIB): Don't define.
2377 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2379 * automake.in (am_install_var): Assign 1 to $first on
2382 2001-06-23 Tom Tromey <tromey@redhat.com>
2385 * lib/ylwrap: Changed usage.
2386 * lib/am/yacc.am: Rewrote to use new substitutions.
2387 * lib/am/lex.am: Likewise.
2388 * automake.in (handle_languages): Skip files whose language
2389 doesn't have a compiler. Handle `define_flag' attribute.
2390 Changed '$' to "\$" to aid Emacs fontification.
2391 (struct): Added `rule_file'. Removed `derived_autodep'. Added
2392 `_target_hook' and `define_flag'.
2393 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2394 and `compiler' attributes. Removed `linker', `derived_autodep',
2395 and `ansi' attributes. Added `define_flag'.
2396 (yacc, yaccxx): Added `_target_hook'.
2397 (saw_extension): Count number of times extension seen.
2398 (count_files_for_language): New sub.
2399 (saw_sources_p): Use it.
2400 (handle_single_transform_list): Allow language rewrite function
2401 to return a new source extension. Call target_hook.
2402 (yacc_sources, lex_sources): Removed.
2403 (initialize_per_input): Don't initialize yacc_sources or
2405 (lang_yacc_rewrite): Rewrote.
2406 (lang_yaccxx_rewrite): Likewise.
2407 (lang_lex_rewrite): Likewise.
2408 (lang_lexxx_rewrite): Likewise.
2409 (output_yacc_build_rule): Removed.
2410 (output_lex_build_rule): Removed.
2411 (lang_yacc_finish): Removed build rule generation.
2412 (lang_lex_finish): Likewise.
2413 (DASH_D_PATTERN): New global.
2414 (lang_yacc_target_hook): New function.
2415 (_target_hook): New function.
2416 (register_language): Default `define_flag'.
2417 * tests/yacc5.test: Updated test.
2418 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2419 * tests/yacc3.test: Remove bogus `make' invocation. Added test
2420 for all YFLAGS variables.
2422 2001-06-20 Tom Tromey <tromey@redhat.com>
2424 * tests/yacc5.test: Check for per-executable YFLAGS.
2426 2001-06-19 Tom Tromey <tromey@redhat.com>
2428 * tests/Makefile.am (TESTS): Added yacc5.test.
2429 * tests/yacc5.test: New file.
2431 2001-06-17 Tom Tromey <tromey@redhat.com>
2433 * automake.in (require_file_internal): Check for already-required
2434 file after searching for it, and only if it is not found. Don't
2435 use `readlink' when checking for dangling symlink. Work if
2436 --force-missing specified.
2437 * tests/acoutput2.test: Also test --force-missing.
2439 Fix for libtool.test:
2440 * automake.in (generate_makefile): Call handle_libtool.
2441 (handle_libtool): New sub.
2442 (handle_compile): Don't read `libtool' file.
2444 * tests/acoutput2.test: New file.
2445 * tests/Makefile.am (TESTS): Added acoutput2.test.
2447 2001-06-15 Tom Tromey <tromey@redhat.com>
2449 * tests/Makefile.am (TESTS): Added libtool.test.
2450 * tests/libtool.test: New file.
2452 2001-06-14 Tom Tromey <tromey@redhat.com>
2454 Fix some lisp bugs reported by Bruno Haible:
2455 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2457 (install-%DIR%LISP): Handle case where lispdir is not defined.
2458 (uninstall-%DIR%LISP): Likewise.
2459 (.el.elc): Added `else' clause.
2461 Fix for bug reported by Steve M. Robbins:
2462 * automake.in (handle_single_transform_list): When building a file
2463 from a subdirectory, continue to use `AM_' prefix.
2464 * tests/Makefile.am (TESTS): Added subobj7.test.
2465 * tests/subobj7.test: New file.
2467 * lib/am/configure.am ($(top_builddir)/config.status): Added
2468 $(top_builddir) prefix to work around problems with some vendor
2469 makes. From Nicolas Joly.
2471 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2472 top_srcdir. From Tim Van Holder.
2473 * tests/Makefile.am (TESTS): Added yacc6.test.
2474 * tests/yacc6.test: New file.
2476 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2478 * tests/defs, tests/installsh.test: Properly support
2481 2001-06-14 Tom Tromey <tromey@redhat.com>
2483 * tests/Makefile.am (TESTS): Added mdate4.test.
2484 * tests/mdate4.test: New file.
2486 * aclocal.in (scan_m4_files): Removed unused variable.
2488 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2490 * aclocal.in (scan_m4_files): Tweak the building of &search so
2491 that multiple macro names can be found on the same line. Ensure
2492 we match whole macro name, not only substrings.
2494 2001-06-12 Tom Tromey <tromey@redhat.com>
2496 * automake.texi (ANSI): Minor clarification.
2497 (Other GNU Tools): Don't mention Guile.
2499 (Java Support): Mention file extensions.
2500 (Man pages): Mention dist_. Don't mention info pages.
2502 2001-06-11 Tom Tromey <tromey@redhat.com>
2504 * automake.texi (Program variables): Document AM_CPPFLAGS.
2506 (Java Support): Document AM_GCJFLAGS.
2507 (Support for Other Languages): Removed `fixme'; added link to
2508 suffix rule handling.
2510 * automake.texi (Program and Library Variables): Document _LIBADD,
2511 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2513 2001-06-11 Kevin Dalley <kevind@rahul.net>
2515 * missing: Support configure.ac.
2517 2001-06-08 Tom Tromey <tromey@redhat.com>
2519 * tests/version4.test: New file.
2520 * automake.in (version_check): New sub.
2521 (handle_options): Use it.
2522 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2523 (TESTS): Added version4.test.
2524 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2525 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2527 2001-06-04 Kevin Dalley <kevind@rahul.net>
2529 * lib/am/dejagnu.am (site.exp): Fix typo.
2531 2001-06-02 Tom Tromey <tromey@redhat.com>
2533 * automake.in (variable_conditions_sub): Move parent-only code
2535 (variable_conditions): ... to here.
2536 (variable_conditions_sub): Include this variable's conditions in
2537 the resulting condition list.
2538 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2540 2001-06-01 Tom Tromey <tromey@redhat.com>
2542 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2544 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2546 2001-05-31 Tom Tromey <tromey@redhat.com>
2548 * automake.texi (Alternative): New node.
2549 (Macros): Use new name for gcc.
2550 (Java Support): Likewise.
2551 (Dependencies): Rewrote.
2552 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2555 * automake.texi (Top level): Removed erroneous spaces. Documented
2558 2001-05-29 Tom Tromey <tromey@redhat.com>
2560 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2562 * automake.texi (Include): Rewrote.
2563 (Suffixes): Remove Java example.
2564 (Java): Added more explanation. Document variables.
2565 (Uniform): Mention JAVA as a primary.
2566 (Python): Updated for new Python support.
2567 (Sources): Added a weak example.
2569 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2571 * automake.texi (A Program): Mention `check' prefix.
2572 (Program and Library Variables): New node.
2573 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2575 (etags): Mention per-program flags.
2576 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2579 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2582 2001-05-28 Tom Tromey <tromey@redhat.com>
2584 * m4/Makefile.am (MAINT_CHARSET): Removed.
2585 * Makefile.am (MAINT_CHARSET): Removed.
2586 * automake.in (maint_charset, dist_charset): Removed.
2587 (local_maint_charset): Removed.
2588 (initialize_per_input): Don't use maint_charset.
2589 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2591 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2593 (.%SUFFIX%.dvi): Likewise.
2594 (.%SUFFIX%): Likewise.
2596 2001-05-27 Tom Tromey <tromey@redhat.com>
2598 * automake.in (handle_multilib): Only add multilib support code at
2600 * lib/am/multilib.am: Handle invocation of *-multi targets
2601 differently for SUBDIRS and non-SUBDIRS Makefiles.
2602 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2603 Only add multilib code when the Makefile in question is actually
2606 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2608 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2610 * automake.in (handle_single_transform_list): Skip unknown
2613 2001-05-25 Tom Tromey <tromey@redhat.com>
2615 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2617 2001-05-24 Tom Tromey <tromey@redhat.com>
2619 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2620 directory in some situations.
2622 * automake.in (generate_makefile): Better explanation for ansi2knr
2625 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2627 * automake.in (handle_languages): Skip unknown extensions.
2628 (derive_suffix): Check whether $extension_map{$source_ext}
2629 is undefined, not empty.
2631 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2633 * automake.in (read_am_file): Ignore trailing backslash on
2636 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2638 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2640 2001-05-21 Akim Demaille <akim@epita.fr>
2642 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2643 multiple times'' warning.
2645 2001-05-20 Tom Tromey <tromey@redhat.com>
2647 * configure.in: Updated to 1.4g.
2649 * configure.in: Updated to 1.4f.
2651 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2653 * lib/ansi2knr.c: New version.
2655 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2658 2001-05-19 Tom Tromey <tromey@redhat.com>
2660 * config.guess, config.sub: New versions from FSF.
2662 * Makefile.am (fetch): Compare against files in srcdir.
2664 For for ansi2knr report from Harlan Stenn:
2665 * automake.in (generate_makefile): Run handle_compile before
2668 2001-05-18 Tom Tromey <tromey@redhat.com>
2670 * automake.in: Reverted erroneous checkin.
2672 2001-05-18 Akim Demaille <akim@epita.fr>
2674 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2675 to missing `install-info'.
2677 2001-05-17 Tom Tromey <tromey@redhat.com>
2679 * automake.in (lang_c_finish): Use `rm -f'.
2681 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2682 * tests/Makefile.am (TESTS): Added new file.
2683 * tests/ansi5.test: New file.
2685 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2687 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2689 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2690 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2691 * automake.texi (Requirements): Document the use of the STRIP
2692 variable in cross-compilation environments.
2694 2001-05-17 Tom Tromey <tromey@redhat.com>
2696 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2697 to no dependency tracking.
2698 * tests/Makefile.am (TESTS): Added depcomp2.test.
2699 * tests/depcomp2.test: New file. From Pavel Roskin.
2701 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2703 * lib/depcomp (tru64): New dependency tracking mode.
2705 Fix for PR automake/159:
2706 * lib/depcomp (aix): Rewrote.
2709 Fix for PR automake/174:
2710 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2711 * automake.in (read_am_file): Warn if `#' is at start of rule.
2713 2001-05-16 Tom Tromey <tromey@redhat.com>
2715 For PR automake/174:
2716 * tests/Makefile.am (TESTS): Added comment3.test.
2717 (XFAIL_TESTS): Likewise.
2718 * tests/comment3.test: New file.
2720 Fix for PR automake/175:
2721 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2722 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2723 `Leaving directory' messages.
2725 For PR automake/175:
2726 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2727 * tests/make.test: Run test with `make -w'.
2729 * tests/Makefile.am (TESTS): Removed maintclean.test.
2730 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2732 * lib/am/configure.am (maintainer-clean-am): Removed.
2733 (maintainer-clean-conf): Removed.
2734 * tests/maintclean.test: Removed.
2736 2001-05-15 Tom Tromey <tromey@redhat.com>
2738 Fix for PR automake/177:
2739 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2740 automake or aclocal.
2742 Fix for maintclean.test:
2743 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2744 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2746 (distclean, maintainer-clean): Moved to...
2747 * lib/am/configure.am: ... here.
2748 (distclean): Remove config.cache and config.log.
2749 (maintainer-clean): Removed.
2750 (maintainer-clean-conf): New target.
2751 (maintainer-clean-am): New target.
2753 * tests/Makefile.am (TESTS): Added maintclean.test.
2754 (XFAIL_TESTS): Likewise.
2755 * tests/maintclean.test: New file.
2757 Fixes PR automake/175:
2758 * tests/target-cflags.test: Use $needs_gnu_make.
2759 * tests/exsource.test: Use $needs_gnu_make.
2760 * tests/make.test: Require GNU make.
2761 * tests/defs (needs_gnu_make): Compute.
2763 2001-05-14 Tom Tromey <tromey@redhat.com>
2765 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2768 Fix for texinfo10.test.
2769 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2770 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2771 * automake.in (handle_texinfo_helper): New sub.
2772 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2773 * tests/texinfo10.test: Added more cases.
2775 Fix for yaccvpath.test:
2776 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2777 * lib/am/distdir.am (distdir): Always look for file in build
2779 * lib/ylwrap: Quote the `#line' regular expression.
2780 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2781 change; don't run sed on the generated file.
2782 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2783 to make sure parser will be rebuilt at dist time.
2785 2001-05-13 Pavel Roskin <proski@gnu.org>
2787 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2788 beginning with `##'.
2789 * automake.texi (General Operation): Document it.
2791 2001-05-13 Tom Tromey <tromey@redhat.com>
2793 Reported by Rainer Orth:
2794 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2796 * tests/Makefile.am (TESTS): Added distname.test.
2797 * tests/distname.test: New file.
2799 * Makefile.am (dist_pkgdata_DATA): Removed.
2801 * tests/defs: Find files to copy in lib/.
2802 * automake.in (perllibdir): Set to Automake directory.
2803 * ansi2knr.c, ansi2knr.1: Removed.
2804 * Makefile.am (dist_am_DATA): Removed.
2806 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2808 (scriptdir): Removed.
2809 (dist_script_DATA): Likewise.
2810 (install-data-hook): Likewise.
2811 (installcheck-local): Likewise.
2812 (TAGS_FILES): Removed amfiles.
2813 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2814 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2815 point it to the right directory.
2816 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2817 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2818 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2819 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2820 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2821 mans.am, multilib.am, program.am, progs.am, python.am,
2822 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2823 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2824 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2825 (AUTOMAKE): Use --libdir, not --amdir.
2826 Ues AC_CONFIG_AUX_DIR.
2827 * lib/Makefile.am (SUBDIRS): Added `am'.
2828 (scriptdir): New macro.
2829 (dist_script_DATA): Likewise.
2830 (dist_pkgdata_DATA): Likewise.
2831 (install-data-hook): New target.
2832 (installcheck-local): Likewise.
2833 * lib/am/Makefile.in: New file.
2834 * lib/am/Makefile.am: Removed everything except amdir and
2837 2001-05-13 Akim Demaille <akim@epita.fr>
2839 * automake.in ($pkgdata_dir): Rename as...
2841 ($am_dir): Remove, replace its uses with $libdir.
2842 (&parse_arguments): Replace --amdir with --libdir.
2843 * automake.texi (Invoking Automake): Document --libdir, not
2845 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2847 2001-05-13 Tom Tromey <tromey@redhat.com>
2849 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2851 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2852 Correctly look at AMDEP_TRUE, not AMDEP.
2854 Report from Robert Boehne:
2855 * tests/Makefile.am (TESTS): Added depend2.test.
2856 * tests/depend2.test: New file.
2858 2001-05-13 James Henstridge <james@daa.com.au>
2860 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2861 Point pythondir at site-packages directory. Rename
2862 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
2863 pyexecdir. Removed package/module argument. Removed
2864 PYTHON_SITE_INSTALL. Added version checking.
2866 2001-05-14 Jim Meyering <meyering@lucent.com>
2868 * automake.in (macro_define): Change one remaining use of
2869 `variable_dump' to `macro_dump'.
2871 2001-05-13 Tom Tromey <tromey@redhat.com>
2873 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
2876 2001-05-13 Akim Demaille <akim@epita.fr>
2878 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
2879 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
2880 (&am_primary_prefixes): Use `map' rather than `grep'.
2882 2001-05-13 Akim Demaille <akim@epita.fr>
2884 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
2886 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
2887 (&lang_asm_finish): Remove, set asm's finisher to C's one.
2889 2001-05-13 Akim Demaille <akim@epita.fr>
2891 * lang-compile.am: New file, loaded once per language.
2892 * depend2.am: Move definitions loaded once per language in the
2893 aforementioned file.
2894 * automake.in (&handle_languages): Load it.
2895 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
2896 handled by lang-compile.am.
2898 2001-05-13 Tom Tromey <tromey@redhat.com>
2900 * tests/Makefile.am (TESTS): Added python.test.
2901 * tests/python.test: New file.
2902 * automake.in (handle_languages): Use
2903 config_aux_dir_set_in_configure_in.
2904 (handle_python): Correctly mention AM_PATH_PYTHON. Use
2905 py-compile, not py_comp. Define py_compile macro.
2907 2001-05-13 Derek Price <dprice@openavenue.com>
2909 * automake.in (require_file_with_conf_line,
2910 require_file_with_line, require_file): Pass a @require_file_path
2911 of $relative_dir instead of '.' to require_file_internal so that
2912 all the special casing of '.' can be removed elsewhere.
2913 (require_config_file, require_conf_file_with_line,
2914 require_conf_file_with_conf_line): Remove special casing for '.'
2915 and make sure $config_aux_dir is maintained properly.
2916 (require_file_internal): Remove special casing of '.' and set
2917 @require_file_path when missing files are added.
2918 (maybe_push_required_file): Remove special casing of '.'
2919 (handle_dependencies): Remove a workaround for a bug now fixed
2920 and remove $config_aux_dir special casing.
2921 (handle_configure): Remove special casing for $config_aux_dir
2922 (handle_python): Ditto.
2923 (yacc_lex_finish_helper): Change $config_aux_dir switch to
2924 switch on the value of $config_aux_dir_set_in_configure_in.
2925 (handle_texinfo): Ditto.
2926 (scan_one_configure_file): Set $config_aux_dir and
2927 $config_aux_dir_set_in_configure_in properly so special casing
2928 on the value of $config_aux_dir can be removed elsewhere.
2929 * tests/depcomp.test: New file.
2930 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
2931 first subdir containing a C file.
2932 * tests/libobj2.test: Ditto.
2933 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
2935 2001-05-12 Tom Tromey <tromey@redhat.com>
2937 * tests/gcj.test: Updated for gcj dependency tracking.
2938 * tests/gcj2.test: Likewise.
2940 Fixes PR automake/169.
2941 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
2943 * automake.in (java): Added autodep entry.
2944 * tests/Makefile.am (TESTS): Added gcj3.test.
2945 * tests/gcj3.test: New file.
2947 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
2949 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
2950 stop at the first '='.
2951 * tests/Makefile.am (TESTS): Added vars.test.
2952 * tests/vars.test: New file.
2954 2001-05-12 Akim Demaille <akim@epita.fr>
2956 * automake.in (&handle_single_transform_list): Simplify
2957 computation of $object and $this_obj_ext.
2958 * tests/lex3.test: Merge into...
2959 * tests/lex.test: here.
2960 * tests/pr19.test: Improve and rename as...
2961 * tests/lex3.test: this.
2963 2001-05-09 Tom Tromey <tromey@redhat.com>
2965 * automake.in (read_am_file): Correctly compute $saw_bk.
2966 (scan_autoconf_files): Ensure configure_dist_common is always
2968 * tests/defs (AUTOMAKE): Added --Werror.
2970 2001-05-09 Pavel Roskin <proski@gnu.org>
2972 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
2975 2001-05-09 Tom Tromey <tromey@redhat.com>
2977 * tests/werror.test: Use `rm -f'.
2979 2001-05-09 Akim Demaille <akim@epita.fr>
2981 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
2983 2001-05-09 Akim Demaille <akim@epita.fr>
2985 * automake.in: Remove some code left from bad patches.
2986 (&handle_dependency): Remove, for the same reason.
2988 2001-05-09 Akim Demaille <akim@epita.fr>
2990 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
2991 (&handle_tests_dejagnu, &define_standard_variables): Don't.
2992 (&define_standard_variables): Don't transform %top_builddir% since...
2993 * header-vars.am: Use %TOPDIR% instead.
2995 2001-05-09 Akim Demaille <akim@epita.fr>
2997 * automake.in (@objects): Remove, unused.
2998 Remove all the code related to it, and to former `$(OBJECTS)'.
3000 2001-05-08 Tom Tromey <tromey@redhat.com>
3003 * ylwrap: Handle arguments to program. Remove old code that tried
3004 to avoid absolute paths and add new code to do it in all cases.
3005 Removed ancient logic that tried to deal with relative path.
3006 * tests/Makefile.am (TESTS): Added yacc4.test.
3007 * tests/yacc4.test: New file.
3009 Fix for PR automake/149 and werror.test:
3010 * automake.in (require_file_internal): Use am_line_warning or
3011 am_conf_line_warning when suppressing error.
3012 (am_line_warning): New sub.
3013 (am_conf_line_warning): Save and restore warning signal.
3014 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3016 Fix for PR automake/36:
3017 * tests/Makefile.am (TESTS): Added asm.test.
3018 * tests/asm.test: New file.
3019 * automake.in (asm): Use ASFLAGS and AS.
3020 (lang_asm_finish): New sub.
3022 * automake.in (read_am_file): Removed debugging code.
3024 For PR automake/149:
3025 * tests/Makefile.am (TESTS): Added werror.test.
3026 (XFAIL_TESTS): Likewise.
3027 * tests/werror.test: New file.
3029 * automake.in (conditional_true_when): Don't return if we see
3032 * tests/objc.test: Removed.
3033 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3036 * automake.in (subst): New sub.
3037 (handle_languages): Use it.
3038 (output_lex_build_rule): Likewise; also use _am_quote.
3039 (check_libobjs_sources): Likewise.
3040 (make_paragraphs): Use subst.
3042 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3045 * automake.in (file_contents_internal): Prototype now `$$%'.
3046 (register_language): Prototype now `%'.
3048 Fixes test subobj6.test and PR automake/160:
3049 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3050 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3051 (distclean-compile): Added DISTRMS.
3052 * tests/subobj6.test (wish_SOURCES): Updated to reflect
3053 `mostlyclean' use; added test for non-subdir case.
3054 * automake.in (compile_clean_files): New global.
3055 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3056 (initialize_per_input): Initialize compile_clean_files.
3057 (handle_single_transform_list): Set compile_clean_files entries.
3058 (handle_compile): Handle compilation cleanups.
3060 2001-05-08 Lars J. Aas <larsa@sim.no>
3062 * automake.texi (Canonicalizing Automake macros): Document not
3063 canonicalizing strudels (@) anymore.
3065 2001-05-08 Akim Demaille <akim@epita.fr>
3067 * distdir.am (dist-all): Build all the flavors using a single
3070 2001-05-08 Akim Demaille <akim@epita.fr>
3072 * automake.in (&file_contents_internal): Apply the @cond_stack to
3073 the rules and assignments.
3074 Don't rely on `$.' as it's biased by &make_paragraphs.
3075 Don't remove backslashes in variable values.
3077 2001-05-08 Akim Demaille <akim@epita.fr>
3079 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3080 ($RULE_PATTERN): Use that from `&make_paragraphs'.
3081 ($MACRO_PATTERN): Just catch the name of a macro.
3082 ($BOGUS_MACRO_PATTERN): Remove.
3083 ($ASSIGNMENT_PATTERN): New.
3084 (&file_contents_internal, &make_paragraphs): Adjust.
3085 (¯o_define): Catch bad macro names.
3086 (&cond_stack_endif): Better error message.
3087 (&file_contents_internal): Don't remove backslashes in variable
3089 (¯o_define): Do it for `+=' user variables.
3090 (&define_standard_variables): Use `undef' instead of a dummy
3092 (&make_paragraph): Be sure not to chop the trail of hash only
3093 lines: adjust the `##' regexp.
3094 (&rule_define): Fix a bug: don't read $1 but $target.
3095 * tests/condincl.test: Strengthen.
3097 2001-05-08 Akim Demaille <akim@epita.fr>
3099 * automake.in (Language): Add attributes `Name' and `config_vars'.
3100 (&finish): Work properly if there is no _finish.
3101 (Automake): Register language Names and AC_SUBST dependencies.
3102 Register Fortran 77 variables upon which ratfor and ppf77 depend.
3103 (&handle_languages): Once per language, invoke
3104 `define_linker_variables', and check its config_vars.
3105 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3106 (&lang_java_finish): Remove.
3107 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3109 2001-05-08 Akim Demaille <akim@epita.fr>
3111 * automake.in (&file_contents_internal): Accept $IS_AM.
3112 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3114 2001-05-08 Akim Demaille <akim@epita.fr>
3116 * automake.in (am_install_var): Use `next' instead of `if' on the
3119 2001-05-08 Akim Demaille <akim@epita.fr>
3121 * automake.in (Language): Add attributes `lder' and `ld'.
3122 (®ister_language): Specify for cxx, objc, f77, gcj.
3123 (&define_linker_variable): New.
3124 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3125 (&lang_java_finish): Adjust.
3126 (&libtool_compiler): Remove.
3128 2001-05-08 Akim Demaille <akim@epita.fr>
3130 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3131 argument, as you don't use it.
3133 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3136 (&handle_programs): Don't mess with %lex_sources, as you don't use
3139 2001-05-08 Akim Demaille <akim@epita.fr>
3141 * automake.in (Language): Add attribute `link'.
3142 (®ister_language): Specify for cxx, objc, f77, gcj.
3143 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3144 (&lang_java_finish): Adjust.
3146 2001-05-08 Akim Demaille <akim@epita.fr>
3148 * automake.in (&define_compiler_variables): Use only $LANG as
3150 (&handle_languages): Adjust.
3152 2001-05-08 Akim Demaille <akim@epita.fr>
3154 * automake.in (&define_program_variable): Remove.
3155 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3157 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3158 * texinfos.am: Do it.
3160 2001-05-08 Akim Demaille <akim@epita.fr>
3162 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3164 * dejagnu.am: Do it.
3165 (site.exp): Use `if'.
3167 2001-05-08 Akim Demaille <akim@epita.fr>
3169 * automake.in: Formatting changes.
3170 (variable_dump, variables_dump): Rename as...
3171 (macro_dump, macros_dump): these.
3173 2001-05-08 Akim Demaille <akim@epita.fr>
3175 Support `if !COND', `else COND', `end COND'.
3177 * automake.texi (Conditionals): Document it.
3178 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3179 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3180 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3181 a leading `!' before the condition.
3182 (&handle_options): Use `\d'.
3183 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3184 (&read_am_file, &file_contents_internal): Use them.
3185 (&transform): No longer substitute `%!COND%', forcing the use of
3187 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3189 2001-05-08 Akim Demaille <akim@epita.fr>
3191 Uniform handling of per-object compilation rules.
3192 Note: Automake is repaired.
3194 * automake.in (&handle_languages): Output per object rules for all
3195 the objects, not only for those which language supports dependency
3197 Fix Automake: when outputting per-object rules, use `-o' if the
3198 language has no `output_flag', as it's really needed.
3199 (&handle_single_transform_list): Instead of special casing files
3200 which need per object rules but which language don't support
3201 dependency tracking, keep them in the queue for processing by
3202 `&handle_languages'.
3204 2001-05-08 Akim Demaille <akim@epita.fr>
3206 * automake.in (&handle_languages): `ext-compile.am' and
3207 `depend2.am' are now equivalent for generic rules: output only the
3209 * ext-compile.am: Remove.
3211 2001-05-08 Akim Demaille <akim@epita.fr>
3213 Note: This patch breaks Automake. Repaired within two patches.
3215 * automake.in (Language): Replace the attribute `output_arg' with
3216 `compile_flag' and `output_flag'.
3217 (Automake): Adjust language registrations.
3218 (&handle_languages): Transform `-c' and `-o' for both suffix and
3219 per object rules, instead of `OUTARG' and `LTOUTARG' only for
3221 (&handle_single_transform_list): Adjust to `compile_flag' and
3223 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3225 2001-05-08 Akim Demaille <akim@epita.fr>
3227 * automake.in (&handle_languages): Don't transform %COMPILER%.
3228 Use `$lang->compiler' instead of `$pfx' to transform generic
3229 %COMPILE% and %LTCOMPILE%.
3230 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3231 of %COMPILER% and $<.
3233 2001-05-07 Akim Demaille <akim@epita.fr>
3235 * automake.in (&handle_languages): Use the same `%transform' for
3236 both `depend2.am' and `ext-compile.am'.
3237 Delay the definition of `$flag' so it is right before the first use,
3238 and rename as `$flags'.
3240 2001-05-07 Akim Demaille <akim@epita.fr>
3242 * automake.in (&handle_languages): Compute `$ltoutarg' and
3243 `$outarg' independently of dependency code.
3244 There is no use looping on a language's possible extensions since
3245 we loop over used extensions.
3246 Therefore, there is no use for a local `%transform'.
3248 2001-05-07 Akim Demaille <akim@epita.fr>
3250 * automake.in (&handle_languages): Don't use $comp.
3252 2001-05-07 Akim Demaille <akim@epita.fr>
3254 * automake.in (&handle_languages): Merge the two loops over
3255 %extension_seen/%languages into one and group code to be run once
3256 per language together.
3258 2001-05-07 Akim Demaille <akim@epita.fr>
3260 * automake.in (&handle_languages): Move the `if
3261 ($use_dependencies)' block so that loops over extensions and
3262 languages are next to each other.
3264 2001-05-07 Akim Demaille <akim@epita.fr>
3266 * automake.in (&depend2): Remove, merged into...
3267 (&handle_languages): here.
3269 2001-05-07 Akim Demaille <akim@epita.fr>
3271 * automake.in (&finish_languages): Rename as...
3272 (&handle_languages): this.
3273 Include the body of...
3274 (&handle_dependency): this.
3277 2001-05-06 Tom Tromey <tromey@redhat.com>
3280 * tests/Makefile.am (TESTS): Add subdir5.test.
3281 (XFAIL_TESTS): Likewise.
3282 * tests/subdir5.test: New file.
3284 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3285 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3287 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
3289 (handle_options): Handle fork identifier in version number.
3291 * automake.texi (Dist): Document distcheck-hook.
3293 * tests/confh4.test: Update to reflect DEFS change.
3294 For PR automake/132.
3296 Fix for PR automake/132:
3297 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3299 (java): Remove INCLUDES and DEFS from compilation.
3300 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3301 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3302 (DEFAULT_INCLUDES): New macro.
3304 * automake.in (usage): Re-align explanatory text.
3305 Fixes PR automake/148.
3307 * automake.texi (Uniform): Don't use @PROGRAMS@.
3308 Fixes PR automake/154.
3310 For PR automake/160:
3311 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3312 (XFAIL_TESTS): Add subobj6.test.
3313 * tests/subobj6.test: New file.
3315 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3316 (Top level): Don't mention `flat'.
3317 (Extending): Likewise.
3318 (User Variables): New node.
3320 * distdir.am (distdir): Make subdirectory for each file.
3321 Fixes test subobj5.test.
3323 * tests/Makefile.am (TESTS): Add new file.
3324 (XFAIL_TESTS): Likewise.
3325 * tests/texinfo10.test: New file.
3327 2001-05-05 Pavel Roskin <proski@gnu.org>
3329 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3330 in the same way as @defcodeindex and @syncodeindex respectively.
3332 2001-05-05 Tom Tromey <tromey@redhat.com>
3334 * mans.am (install-man%SECTION%): Minor cleanup.
3335 (uninstall-man%SECTION%): Likewise.
3337 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3338 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3340 (uninstall-man%SECTION%): Likewise.
3341 * automake.in (handle_man_pages): Handle dist_ and nodist_
3344 * automake.texi (Future): Removed.
3346 (Hello): Don't mention `deep'.
3347 (Top level): Likewise.
3349 * automake.in (conditional_true_when): Use a hash, not index().
3350 Also, a TRUE component always results in a true return.
3351 Fixes test cond10.test. For PR automake/164.
3352 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3354 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
3356 For PR automake/164:
3357 * tests/Makefile.am (TESTS): Added new file.
3358 (XFAIL_TESTS): Likewise.
3359 * tests/cond10.test: New file.
3361 2001-05-05 Tom Tromey <tromey@redhat.com>
3363 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3365 (install-info-am): Likewise.
3367 2001-05-05 Pavel Roskin <proski@gnu.org>
3369 * automake.in (scan_texinfo_file): Don't push undefined values
3372 2001-05-05 Richard Boulton <richard@tartarus.org>
3374 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3377 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
3379 * automake.in (required_targets): Added uninstall-am.
3381 2001-05-05 Tom Tromey <tromey@redhat.com>
3383 Fix bug reported by Robert Boehne:
3384 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3386 (handle_dependencies): Likewise.
3387 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3388 substitution. Correct diff now has 30 lines. Look for space
3389 after losing `undef'.
3391 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
3393 * m4/sanity.m4: Remove the temp file before possible error exits.
3395 2001-05-04 Akim Demaille <akim@epita.fr>
3397 * configure.in: Set perllibdir.
3400 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3402 * automake.in ($pkgdata_dir): New.
3403 (&require_file_internal): Use it.
3405 2001-05-03 Akim Demaille <akim@epita.fr>
3407 Case insensitive FS choke on Automake/ vs automake.
3408 Reported by Tim Van Holder.
3410 * Automake/: Move into...
3411 * lib/: this new directory.
3413 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
3415 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3418 2001-04-30 Jim Meyering <meyering@lucent.com>
3420 * automake.in: Remove `/lib' from include directory.
3422 2001-04-27 Akim Demaille <akim@epita.fr>
3424 AM_INIT_AUTOMAKE is no longer optional.
3426 * automake.in ($seen_make_set, $seen_prog_install)
3427 ($seen_arg_prog): Remove.
3428 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3429 Remove related code.
3431 2001-04-27 Akim Demaille <akim@epita.fr>
3433 * tests/specflags4.test, tests/specflags5.test: Remove, merged
3435 * tests/specflags3.test: here.
3437 2001-04-27 Akim Demaille <akim@epita.fr>
3439 * automake.in ($seen_path_xtra): Remove.
3440 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3441 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3443 2001-04-27 Akim Demaille <akim@epita.fr>
3445 * automake.in (&file_contents_internal): Declare it.
3447 2001-04-27 Akim Demaille <akim@epita.fr>
3449 * automake.in (&read_am_file, &file_contents_internal): Don't
3450 define macros when `FALSE', to avoid errors on doubly defined
3451 variables but under condition `FALSE'. In order to allow...
3452 (&am_install_var): When reading the associated file for the first
3453 time, enable `%?FIRST%'.
3454 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3455 * libs.am: Do it when `%?FIRST%'.
3457 2001-04-27 Akim Demaille <akim@epita.fr>
3459 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3460 * ansi2knr.am: Do it.
3461 Prefer `if %?FOO%' to `if %!FOO%'.
3463 2001-04-27 Akim Demaille <akim@epita.fr>
3465 * automake.in (®ister_language, &finish_languages): Use `pure'
3467 (®ister_language): Use %done properly with objects, not names.
3468 (&finish_languages): Replace `$non_c' with `$needs_c'.
3470 2001-04-27 Akim Demaille <akim@epita.fr>
3472 Unify LISP, PYTHON and JAVA primaries.
3474 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3475 return if there are no files, hook elisp-comp on the Autoconf
3476 macro, rely on lisp.am to define variables.
3477 (&handle_python, &handle_java): Likewise.
3478 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3479 `PYTHON' must be handled here, not in `&handle_python'.
3480 * java.am: Define needed variables and rules.
3482 2001-04-27 Akim Demaille <akim@epita.fr>
3484 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3486 * header.am: Include data.am.
3488 2001-04-27 Akim Demaille <akim@epita.fr>
3490 * automake.in (&am_install_var): Transform `PRIMARY'.
3491 * data.am: Equip with %PRIMARY%.
3493 2001-04-27 Akim Demaille <akim@epita.fr>
3495 * automake.in (@conditional_stack): Rename as...
3496 (@cond_stack): this.
3497 (&file_contents_internal): Support inclusion of files.
3499 2001-04-27 Akim Demaille <akim@epita.fr>
3501 * automake.in (&lang_extensions): Remove.
3502 (&add_depend2, &saw_sources_p): Adjust.
3503 * depend2.am: `%EXT%' no longer includes the dot.
3505 2001-04-27 Akim Demaille <akim@epita.fr>
3507 * automake.in (&finish_languages, &handle_single_transform_list)
3508 (&add_depend2, &handle_dependencies): No longer use the language
3509 name in `$lang'. Rename `$lang_obj' as `$lang'.
3511 2001-04-27 Akim Demaille <akim@epita.fr>
3513 * automake.in (®ister_language): Use `new Language' with a hash.
3515 2001-04-27 Akim Demaille <akim@epita.fr>
3517 * automake.in (®ister_language): Rename `output-arg' and
3518 `derived-autodep' as `output_arg' and `derived_autodep' to match
3519 the Language attribute.
3520 Set the defaults in %option instead of $lang.
3522 2001-04-27 Akim Demaille <akim@epita.fr>
3524 * Automake/: New directory.
3525 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3526 * automake.in (Language): Use Automake::Struct.
3527 * tests/defs: Adjust to find Struct.
3529 2001-04-23 Pavel Roskin <proski@gnu.org>
3531 * automake.in: Add forward declaration for register_language().
3532 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3535 2001-04-20 Akim Demaille <akim@epita.fr>
3537 * automake.in (%required_targets): Add `uninstall'.
3538 From Robert Collins.
3540 2001-04-12 Akim Demaille <akim@epita.fr>
3542 * automake.in (Language): Add attribute `name'.
3543 (®ister_language): The name of the language is now given in the
3545 No longer use `$lang' as the name of the language.
3546 Rename `$lang_obj' as `$lang'.
3548 2001-04-12 Akim Demaille <akim@epita.fr>
3550 * automake.in (Language): Add attribute `_finish'.
3553 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3554 (&lang_asm_finish): Remove.
3556 2001-04-12 Akim Demaille <akim@epita.fr>
3558 * automake.in (Language): Add attribute `extensions'.
3559 (Automake): Pass a hash to `®ister_language' instead of a
3560 list of pseudo assignments.
3561 (®ister_language): Adjust.
3562 (&finish_languages): Initialize `$ltoutarg'.
3564 2001-04-12 Akim Demaille <akim@epita.fr>
3566 * automake.in (Language): Add attribute `output_arg'.
3567 (%language_map): Remove.
3568 (®ister_language): Build only the object, and store in
3570 (&finish_languages, &handle_single_transform_list): Adjust.
3572 2001-04-12 Akim Demaille <akim@epita.fr>
3574 * automake.in (Language): Add attributes `flags', `compile' and
3576 (&finish_languages, &handle_single_transform_list, &handle_dist)
3577 (&add_depend2, ®ister_language): Use them and the `linker' and
3580 2001-04-12 Akim Demaille <akim@epita.fr>
3582 * automake.in (&handle_single_transform_list, &finish_languages)
3583 (&handle_dist, &handle_dependencies): Use the language object for
3584 autodep and derived-autodep too.
3586 2001-04-12 Akim Demaille <akim@epita.fr>
3588 * automake.in (¯o_define): Ignore Automake definition for
3589 ($var, $cond) if there is already a user definition for ($var, $cond).
3591 2001-04-12 Akim Demaille <akim@epita.fr>
3593 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3594 but also @deffn and so on which push data in indexes.
3595 Reported by Derek R. Price.
3597 2001-04-12 Akim Demaille <akim@epita.fr>
3599 * automake.in (Language): New package, temporarily in this file.
3601 (Automake): New package.
3603 (&handle_single_transform_list): Use the language object's `ansi'
3604 attribute instead of `$language_map{"$lang-ansi-p"}'.
3605 (®ister_language): Build and register the language too.
3607 2001-04-11 Tom Tromey <tromey@redhat.com>
3609 Fixes report from Larry Jones:
3610 * automake.in (handle_dependencies): Add `@_am_quote@' where
3612 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3614 2001-04-11 Akim Demaille <akim@epita.fr>
3616 * depend2.am: Fix the `if' condition for Libtool.
3617 Reported by Robert Boehne.
3619 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3621 * tests/subobj5.test: New file.
3623 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3625 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3626 * tests/Makefile.am (TESTS): Added make.test.
3627 * tests/make.test: New file.
3629 2001-04-10 Tom Tromey <tromey@redhat.com>
3631 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3633 2001-04-10 Derek R. Price <dprice@collab.net>
3635 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3637 2001-04-10 Akim Demaille <akim@epita.fr>
3639 * distdir.am: Add a missing backslash.
3641 2001-04-10 Akim Demaille <akim@epita.fr>
3643 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3645 Specify to the caller whether $regen_aclocal_m4.
3646 (&handle_configure): Adjust.
3647 Transform `REGEN-ACLOCAL-M4'.
3649 * configure.am: Use it.
3650 * tests/defs (me): New.
3651 * tests/confdeps.test: New.
3653 2001-04-09 Tom Tromey <tromey@redhat.com>
3655 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3656 Fixes report from Jim Meyering.
3658 2001-04-09 Akim Demaille <akim@epita.fr>
3660 * automake.in (&handle_configure): Don't bother with optimizing
3663 2001-04-09 Akim Demaille <akim@epita.fr>
3665 * tests/cond3.test (expected): Adjust.
3667 2001-04-09 Akim Demaille <akim@epita.fr>
3669 * automake.in (&handle_single_transform_list): Remove $xbase,
3671 (&handle_source_transform): All the variables have conditions now,
3673 (&variable_delete): Admit an argument @conds.
3675 2001-04-09 Akim Demaille <akim@epita.fr>
3677 * automake.in ($source_suffix_pattern): Remove, unused.
3678 %extension_map seems to have replaced it.
3680 2001-04-09 Akim Demaille <akim@epita.fr>
3682 * ext-compile.am: New file.
3683 * automake.in (&finish_languages): Output it.
3684 Require a C linker if there are several registered source suffixes.
3685 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3686 extensions, which are discovered in ext-compile.am.
3687 With the help from Robert Boehne.
3689 2001-04-09 Akim Demaille <akim@epita.fr>
3691 * automake.in (&handle_compile): Extract from...
3692 (&get_object_extension): here.
3693 (&read_am_file): Call it.
3694 ($included_generic_compile, $included_knr_compile)
3695 ($included_libtool_compile): Remove.
3696 ($get_object_extension_was_run): New.
3698 2001-04-09 Akim Demaille <akim@epita.fr>
3700 Use AM_CONDITIONAL and if/endif for AMDEP.
3702 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3703 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3704 to a configure time if/endif), or to `FALSE' (static removal of
3706 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3707 * depend2.am: Use if/endif.
3709 Adjust the 101 tests that use dependencies so that they
3710 properly invoke aclocal before automake. They need to `see'
3711 `AM_CONDITIONAL([AMDEP], ...)'.
3713 2001-04-09 Akim Demaille <akim@epita.fr>
3715 * tags.am: Fix missing leading tabs.
3717 2001-04-09 Akim Demaille <akim@epita.fr>
3719 * automake.in: Use simple quotes to define the _PATTERN variables
3720 to unobfuscate the regexps.
3721 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3723 2001-04-09 Akim Demaille <akim@epita.fr>
3725 * automake.in (&rule_define): When you discover a suffix rules,
3726 register the extensions for .SUFFIXES.
3727 (&handle_texinfo): Don't register the suffixes.
3728 (&get_object_extension): Don't register suffixes, let them be
3729 discovered in depend2.am.
3730 (&handle_emacs_lisp): Depend on your lisp.am.
3731 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3733 2001-04-09 Akim Demaille <akim@epita.fr>
3735 * subdirs.am: Don't define info related recursive targets.
3738 2001-04-09 Akim Demaille <akim@epita.fr>
3740 * subdirs.am (RECURSIVE_TARGETS): New variable.
3742 * automake.in (&handle_subdirs): Output it.
3743 (&file_contents_internal): Support value spread on several lines.
3745 2001-04-09 Akim Demaille <akim@epita.fr>
3747 * automake.in (&handle_man_pages): Rely on mans.am to define
3748 man%SECTION%dir and MANS.
3751 2001-04-09 Akim Demaille <akim@epita.fr>
3753 * automake.in (&variable_dump): Use %var_type properly.
3754 (¯o_define): Enforce better overriding rules.
3755 Handle the special case that used to handle...
3756 (&define_pretty_variable): this.
3758 The variables you define are owned by Automake.
3759 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3761 (&variable_defined): Now independent of the owner.
3762 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3764 2001-04-09 Akim Demaille <akim@epita.fr>
3766 * automake.in (%var_was_plus_eq): Rename as...
3768 (%def_type): Remove.
3769 (¯o_define): %var_type may now hold `', `+', or `:'.
3770 (%conditional, %am_vars, %content_lines): Rename as...
3771 (%var_value, %var_comment, %var_line): these.
3773 2001-04-09 Akim Demaille <akim@epita.fr>
3775 * automake.in (&variable_output): Admit a list of @CONDS.
3776 (&variable_pretty_output): New.
3777 (&define_pretty_variable): Use it.
3778 (&read_am_file, &file_contents_internal): Prepend a separator to
3779 $am_vars only if there is none yet.
3780 (&file_contents_internal): Rename $separator as $spacing to
3781 harmonize with &read_am_file.
3783 2001-04-09 Akim Demaille <akim@epita.fr>
3785 * automake.in (&am_install_var): Transform DIST, and let the *.am
3786 files handle DIST_COMMON.
3787 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3790 2001-04-09 Akim Demaille <akim@epita.fr>
3792 * automake.in (%dist_common): Remove.
3793 (%configure_dist_common): Replace with...
3794 ($configure_dist_common): this.
3795 (&generate_makefile): Read the user file before using
3796 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3797 that no variable is defined before it is run.
3798 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3799 (&dist_cmp): Rename as...
3800 (&for_dist_common): this.
3801 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3803 Adjust to $configure_dist_common.
3804 * configure.am, texi-vers.am: Set DIST_COMMON.
3806 2001-04-09 Akim Demaille <akim@epita.fr>
3808 * automake.in (&handle_aclocal_m4): Rename as...
3809 (&scan_aclocal_m4): this.
3810 Return the list of aclocal.m4 dependencies.
3811 (&handle_configure): Invoke it, and use it when loading...
3812 * configure.am: Template the rules to recreate aclocal.m4.
3814 2001-04-09 Akim Demaille <akim@epita.fr>
3816 * automake.in (&get_object_extension): Use ansi2knr.am.
3817 * clean-kr.am, kr-extra.am: Remove, merged into...
3818 * ansi2knr.am: this new file.
3820 2001-04-09 Akim Demaille <akim@epita.fr>
3822 * automake.in (&transform): Fix an incredible bug which was
3823 breaking the if/endif system.
3824 ($ELSE_PATTERN): Admit an optional argument.
3826 2001-04-09 Akim Demaille <akim@epita.fr>
3828 * comp-vars.am: Remove, merged into...
3830 * automake.in (&get_object_extension): Adjust.
3832 2001-04-09 Akim Demaille <akim@epita.fr>
3834 * remake.am: Merge into...
3835 * configure.am: ... here.
3836 * automake.in (&handle_configure): Adjust.
3838 2001-04-09 Akim Demaille <akim@epita.fr>
3840 * automake.in (&output_lex_build_rule): Output this...
3843 2001-04-09 Akim Demaille <akim@epita.fr>
3845 * automake.in (&condition_negate): New.
3846 (&variable_conditions_permutations): Use it.
3847 (&read_am_file, &file_contents): Use it on `else' clauses to
3849 (&output_yacc_build_rule): Output this...
3850 * yacc.am: New file.
3852 2001-04-09 Akim Demaille <akim@epita.fr>
3854 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3855 (&handle_dist): Don't.
3856 (&handle_clean): Don't handle config.status here, let...
3857 * clean.am: ... do it.
3858 * distdir.am: Adjust.
3860 2001-04-09 Akim Demaille <akim@epita.fr>
3862 * automake.in: Use strict vars and subs.
3863 Declare `%require_file_found'.
3864 (&handle_source_transform, &make_paragraphs): Declare my variables.
3866 2001-04-09 Akim Demaille <akim@epita.fr>
3868 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3869 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
3870 * java.am (_am_installdirs): Be sure to set it.
3872 2001-04-09 Akim Demaille <akim@epita.fr>
3874 * automake.in (&make_condition): Return '#' when FALSE.
3875 (&conditional_string): Return FALSE, not '#' in the corresponding
3877 (&file_contents_internal): Adjust.
3878 (&check_variable_defined_unconditional): Dump the guilty variable.
3880 2001-04-09 Akim Demaille <akim@epita.fr>
3882 * distdir.am: Use and abuse of if/endif.
3883 * scripts.am: Using if/endif with variables is fine.
3885 2001-04-09 Akim Demaille <akim@epita.fr>
3887 * automake.in (&make_paragraphs): Extract from &file_contents.
3888 Make it more robust than the previous RE based scheme.
3889 (&file_contents): Use it.
3891 2001-04-09 Akim Demaille <akim@epita.fr>
3893 * automake.in (&make_paragraphs): Extract from &file_contents.
3894 Make it more robust than the previous RE based scheme.
3895 (&file_contents): Use it.
3897 2001-04-09 Akim Demaille <akim@epita.fr>
3899 * tests/yacc2.test: Don't define several times a variable, as
3902 2001-04-09 Akim Demaille <akim@epita.fr>
3904 * automake.in (&handle_source_transform): Fix pr72: don't define
3905 $linker if there are no @files.
3907 2001-04-09 Akim Demaille <akim@epita.fr>
3909 Avoid reading twice header-vars.am as now macro_define
3912 * automake.in (&define_standard_variables): Don't output the
3914 (&read_main_am_file): Output first user variables, then Automake
3916 Don't call twice &define_standard_variables.
3917 Save variable comments in $am_vars.
3918 (&variable_output): New.
3919 (&file_contents_internal): New.
3920 Save variable comments in $am_vars.
3921 (&file_contents): Use it.
3923 2001-04-09 Akim Demaille <akim@epita.fr>
3925 * automake.in (¯o_define): The user is allowed to override
3926 a value if it was set by Automake, or if it was found in AC_SUBST.
3928 2001-04-09 Akim Demaille <akim@epita.fr>
3930 * automake.in (&handle_source_transform): Better locality of the
3932 Use `next' to skip nonexistent variables.
3934 2001-04-09 Akim Demaille <akim@epita.fr>
3936 * automake.in (&variable_dump): If a variable is undefined, say
3938 (&check_ambiguous_conditional): Give finer error messages.
3939 (¯o_define): Check that a `+=' variable is not set with `='.
3940 Check for ambiguous definitions each time you _set_ (even with `+=')
3942 (&read_main_am_file): Perform a deep copy of %conditional.
3944 2001-04-09 Akim Demaille <akim@epita.fr>
3946 * automake.in (&variable_defined): Some callers, e.g.,
3947 &am_primary_prefixes, really want to know if the variable is
3948 defined for any condition, not `TRUE' by default.
3949 (&am_primary_prefixes): Give a more precise error message.
3951 2001-04-09 Akim Demaille <akim@epita.fr>
3953 (&variable_conditions): Don't include `FALSE' in the result.
3955 2001-04-09 Akim Demaille <akim@epita.fr>
3957 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
3958 (&variable_conditions): Don't include `FALSE' in the result.
3960 2001-04-09 Akim Demaille <akim@epita.fr>
3962 * tests/defs, tests/depend3.test: Remove useless code.
3964 2001-04-09 Akim Demaille <akim@epita.fr>
3966 * automake.in (&handle_source_transform): Use
3967 &variable_conditions, don't read $conditional{$var}.
3968 (&variable_conditions_sub): When the call is the top level call,
3969 generate all the permutations of the conditions.
3971 2001-04-09 Akim Demaille <akim@epita.fr>
3973 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
3974 that it does not get noticed twice by automake, which now
3975 complains for multiple definitions.
3976 * tests/vartar.test: s/INSTALL/install/g, automake now complains
3977 because we defined INSTALL.
3979 2001-04-09 Akim Demaille <akim@epita.fr>
3981 * automake.in (&generate_makefile) Use macro_define to define
3982 SOURCES and OBJECTS.
3983 (&variable_defined): Don't check for $conditional{VAR}{COND} as
3984 this would make perl create $condition{VAR}, which we don't want.
3986 2001-04-09 Akim Demaille <akim@epita.fr>
3988 * automake.in (&variable_defined, &define_pretty_variable):
3989 Simplify code which used to handle the cases where not all
3990 variables were in %conditional.
3991 (&define_variable): Use &define_pretty_variable.
3992 (&variable_conditions_sub, &variable_value_as_list_worker)
3993 (&variable_value_as_list, &rule_define): Simplify syntax.
3994 (&read_main_am_file): Dump the guilty predefined variables.
3996 2001-04-09 Akim Demaille <akim@epita.fr>
3998 * automake.in (&variable_conditions_sub)
3999 (&variable_value_as_list_worker): Remove dead code which used to
4000 handle the cases where not all variables were in %conditional.
4002 2001-04-09 Akim Demaille <akim@epita.fr>
4004 * automake.in (&handle_source_transform, &read_main_am_file):
4005 Simplify loops which were split in two parts, conditional vs
4006 unconditional variables.
4008 2001-04-09 Akim Demaille <akim@epita.fr>
4010 Handle unconditional values of variables as conditioned by
4013 * automake.in (%contents): Remove.
4014 (&generate_makefile, &handle_ltlibraries, ¯o_define)
4015 (&read_am_file, &variable_defined, &variable_conditions_sub)
4016 (&variable_value, &variable_value_as_list_worker)
4017 (&variable_value_as_list, &define_pretty_variable)
4018 (&read_main_am_file): Use
4019 $conditional, not %contents.
4020 (&variable_conditions_permutations): Don't return TRUE and FALSE.
4021 (&variable_conditionally_defined): New.
4022 (&handle_dist): Use it.
4023 (&check_ambiguous_conditional): When multiply defined, specify
4024 under which condition.
4025 (¯o_define): Use it.
4026 (&variable_delete): New.
4027 (&read_am_file): Use it.
4028 (&am_install_var): Simplify, as all the variables are in
4031 2001-04-07 Tom Tromey <tromey@redhat.com>
4033 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4035 * tests/man.test: New file.
4037 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4039 * depcomp (gcc3): Invert test condition.
4041 2001-04-07 Tom Tromey <tromey@redhat.com>
4043 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4044 statement. Report from Larry Jones.
4046 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
4048 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
4050 2001-04-01 Tom Tromey <tromey@redhat.com>
4052 * java.am (.PHONY clean-am): Removed trailing ":".
4053 From Per Bothner. Fixes PR automake/139.
4055 2001-03-28 Akim Demaille <akim@epita.fr>
4057 * program.am: Fix a stupid typo: now *all* (not none) the programs
4059 Reported by Robert Boehne.
4061 2001-03-23 Akim Demaille <akim@epita.fr>
4063 * automake.in (&read_am_file, &file_contents): Avoid name clashes
4066 2001-03-23 Akim Demaille <akim@epita.fr>
4068 * automake.in (&variable_conditionally_defined): Rename as...
4069 (&check_variable_unconditionally_defined): this.
4070 (&variable_dump): Fix the output.
4071 (&variable_defined, ¯o_define): Since conditions are
4072 canonicalized, don't use a loop to look for a condition: read the
4074 (¯o_define, &rule_define, &read_am_file, &file_contents):
4075 Rename $cond_string as $cond.
4076 * distdir.am (PACKAGE, VERSION): Remove; since they are already
4077 discovered via AC_SUBST, they now trigger a `defined twice' error.
4079 2001-03-23 Akim Demaille <akim@epita.fr>
4081 * automake.in (&handle_footer, &handle_installdirs)
4082 (&read_main_am_file): Don't read %contents directly, use
4085 2001-03-23 Akim Demaille <akim@epita.fr>
4087 * automake.in (&read_am_file): Define the variables in a single
4089 Factor the $saw_bk code.
4091 2001-03-23 Akim Demaille <akim@epita.fr>
4093 * automake.in (&read_am_file): Keep $cond_string up to date.
4095 2001-03-23 Akim Demaille <akim@epita.fr>
4097 * automake.in (&define_variable): Use ¯o_define.
4099 2001-03-23 Akim Demaille <akim@epita.fr>
4101 * automake.in (¯o_define): Don't lose the location if we
4102 redefine a variable.
4103 Don't push all the variables in @var_list, let...
4104 (&read_am_file, &file_contents): ... do it.
4105 (&define_pretty_variable): Use macro_define.
4106 (&am_install_var): Delete the value of variables being redefined
4107 to pacify ¯o_define which checks that variables are not
4110 2001-03-23 Akim Demaille <akim@epita.fr>
4112 * automake.in (&conditional_dump): Rename as...
4113 (&variables_dump): this. Use...
4114 (&variable_dump): this new sub.
4116 2001-03-23 Akim Demaille <akim@epita.fr>
4118 * automake.in (&file_contents): Maintain $cond_string sync with
4120 Output rules only if not under `FALSE'.
4121 Define variables under $cond_string.
4122 * scripts.am: For the time being if/endif does not work properly
4125 2001-03-23 Akim Demaille <akim@epita.fr>
4127 * automake.in (IF_PATTERN): Unobfuscate the parens.
4128 (ENDIF_PATTERN): Allow a condition to be specified.
4129 (&file_contents): Use a @cond_stack.
4130 (&transform): At least for an easy transition, also transform
4131 %?FOO% and %!FOO%, as suggested by Lars.
4132 * scripts.am: First test bed for static if/endif use.
4134 2001-03-23 Akim Demaille <akim@epita.fr>
4136 * automake.in (&file_contents): Use rule_define.
4138 2001-03-23 Akim Demaille <akim@epita.fr>
4140 * automake.in (¯o_define): Don't rely on $1.
4141 Initialize the variable.
4142 Set its Automakism only if not defined or if given to the user.
4143 When concatenating values, insert a separator only if the value
4145 (&read_am_file): When dumping the @var_list, skip Automake
4147 (&file_contents): Use macro_define.
4149 2001-03-23 Akim Demaille <akim@epita.fr>
4151 * automake.in (&rule_define): Extract from...
4152 (&read_am_file): here.
4154 2001-03-23 Akim Demaille <akim@epita.fr>
4156 * automake.in (¯o_define, &read_am_file): More work for the
4157 former from the latter. Reorganize the latter.
4159 2001-03-23 Akim Demaille <akim@epita.fr>
4161 * automake.in (¯o_define): Extract from...
4162 (&read_am_file): here.
4164 2001-03-23 Akim Demaille <akim@epita.fr>
4166 * automake.in (%am_var_defs): Replace with...
4168 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4169 (&file_contents, am_primary_&prefixes): Adjust.
4170 (&variable_defined, &define_variable): The actual semantics is
4172 (&read_main_am_file): Assert the var is user defined when
4173 outputting @var_list.
4175 2001-03-23 Akim Demaille <akim@epita.fr>
4177 * automake.in (read_am_file): TRUE and FALSE are predefined
4179 (&by_condition): Adjust.
4180 (&conditional_string): Recognize `TRUE' and `FALSE'.
4181 (&make_condition): Use it.
4182 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4183 * automake.texi (Conditionals): Adjust.
4184 * tests/cond9.test: s/FALSE/WRONG/.
4186 2001-03-12 Pavel Roskin <proski@gnu.org>
4188 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4191 2001-03-12 Akim Demaille <akim@epita.fr>
4193 * automake.in (&variable_conditions_permutations): Separate the
4195 * tests/cond3.test: Improve the sed expression.
4197 2001-03-09 Pavel Roskin <proski@gnu.org>
4199 * Makefile.am (maintainer-check): Scan all *.am files and tests
4200 for invocations of `rm' without `-f'.
4201 * tests/mclean.test: Adjusted to prevent triggering the above
4204 2001-03-09 Tom Tromey <tromey@redhat.com>
4206 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4207 maintainer-check failure.
4209 2001-03-09 Akim Demaille <akim@epita.fr>
4211 * tests/cond3.test: Strengthen.
4213 2001-03-09 Akim Demaille <akim@epita.fr>
4215 * automake.in (&conditional_string): Produce a unique string
4216 characterizing a condition stack.
4217 (&conditional_same): Remove, comparing two strings is now enough.
4218 (&variable_defined): Adjust.
4219 (&read_am_file): Use conditional_string.
4221 2001-03-08 Akim Demaille <akim@epita.fr>
4223 * automake.in: Use -w.
4224 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4225 (&parse_arguments): Support --Werror and --Wno-error as a
4226 temporary hack until --warning/-W is properly implemented.
4227 (&handle_single_transform_list): Prototype.
4228 Be sure to define $directory.
4229 Use `exists' instead of testing the value of a maybe undefined
4231 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4232 (&handle_factored_dependencies): Use defined values.
4233 (&scan_one_autoconf_file): Save $_.
4234 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4235 Run automake with --Wno-error.
4237 2001-03-07 Akim Demaille <akim@epita.fr>
4239 * automake.in (&handle_all): Use an array instead of a scalar for
4241 Get rid of all-redirect: let `all' be that target.
4243 2001-03-07 Akim Demaille <akim@epita.fr>
4245 * automake.in (&handle_merge_targets): Ventilate its non `all'
4246 related content into...
4247 (&generate_makefile): here.
4248 (&handle_merge_targets): Rename as...
4249 (&handle_all): this.
4250 Remove a useless `if': `@all' is obviously not empty, since it
4251 contains at least the `basename ($makefile)' which has just been
4254 2001-03-07 Akim Demaille <akim@epita.fr>
4256 * automake.in, aclocal.in: Backquote is inert in double quotes.
4258 2001-03-06 Akim Demaille <akim@epita.fr>
4260 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4263 2001-03-06 Pavel Roskin <proski@gnu.org>
4265 * java.am: Use `rm -f' instead of `rm'.
4267 2001-03-06 Akim Demaille <akim@epita.fr>
4269 * automake.in (&push_dist_common): Simplify.
4271 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4273 * ltlib.am: Replaced spaces with tab.
4275 2001-03-06 Pavel Roskin <proski@gnu.org>
4277 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4280 2001-03-05 Pavel Roskin <proski@gnu.org>
4282 * header.am, scripts.am: Use ?INSTALL? in the install and
4285 2001-03-05 Pavel Roskin <proski@gnu.org>
4287 * tests/copy.test: Never use `rm' without `-f' - it may ask
4288 questions, notably for read-only files during `make distcheck'.
4289 * tests/insh.test: Likewise.
4290 * tests/installsh.test: Likewise.
4291 * tests/symlink.test: Likewise.
4292 * tests/symlink2.test: Likewise.
4293 * tests/symlink3.test: Likewise.
4295 2001-03-05 Pavel Roskin <proski@gnu.org>
4297 * noinstdir.test: New test.
4298 * tests/Makefile.am (TESTS): Add noinstdir.test.
4299 (XFAIL_TESTS): Likewise.
4301 2001-03-05 Akim Demaille <akim@epita.fr>
4303 * automake.in (&handle_options): Change the RE so that the third
4304 part of the versions always exist.
4305 (&file_contents): Don't pass uninitialized values to &transform.
4307 2001-03-05 Akim Demaille <akim@epita.fr>
4309 * automake.in (&file_contents): Require a hash as second argument.
4312 2001-03-05 Akim Demaille <akim@epita.fr>
4314 Always use hashes with &file_contents.
4316 * automake.in (&handle_texinfo): texibuild.am does not need
4318 texinfos.am wants only TEXICLEANS.
4319 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4321 * texinfos.am: Adjust.
4323 2001-03-05 Akim Demaille <akim@epita.fr>
4325 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4326 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4327 (&am_install_var): Forget about `-clean'.
4328 Transform ?INSTALL?.
4329 Always output the *.am file.
4330 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4331 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4332 Remove, merged into the corresponding *.am file.
4333 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4336 2001-03-05 Pavel Roskin <proski@gnu.org>
4338 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4340 2001-03-05 Akim Demaille <akim@epita.fr>
4342 If OBJEXT and EXEEXT are not set, provide a default value, and use
4343 them unconditionally.
4345 * automake.in (&generate_makefile): Provide default values for
4347 (&get_object_extension, &finish_languages)
4348 (&handle_single_transform_list, &handle_programs, &add_depend2)
4349 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4350 them, they are defined.
4351 * compile.am, depend2.am, program.am, progs.am: Likewise.
4352 * remake-hdr.am: Fix a typo.
4353 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4354 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4355 * tests/suffix2.test: Adjust.
4357 2001-03-05 Akim Demaille <akim@epita.fr>
4359 * automake.in (&file_contents): Map MAINTAINER-MODE to
4360 @MAINTAINER_MODE_TRUE@ or nothing.
4361 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4364 2001-03-05 Akim Demaille <akim@epita.fr>
4366 * automake.in (&do_one_merge_target): Remove, was only called from...
4367 (&handle_merge_targets): here for `all'.
4370 2001-03-05 Akim Demaille <akim@epita.fr>
4372 Make the installation/uninstallation of Info pages follow the
4373 regular am/recursive scheme.
4375 * automake.in (%required_targets, %dependencies): Add
4377 (%dependencies): Add install-info, install-info-am, and
4379 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4380 reversed BTW. Does anybody use the option `no-installinfo'?
4381 (&handle_merge_targets): Let the handling of info related targets
4383 (&handle_factored_dependencies): this.
4384 * subdirs.am: Use ?INSTALL-INFO?.
4385 * texinfos.am: Define the install-info, uninstall-info and
4386 uninstall-info-am targets.
4388 2001-03-05 Akim Demaille <akim@epita.fr>
4390 * automake.in (%required_targets, %dependencies): Add dvi, info,
4392 (@info, @dvi): Remove.
4393 (&handle_texinfo, &handle_merge_targets): Adjust.
4394 (&handle_factored_dependencies): Required targets are phony.
4395 * texinfos.am: Build info, dvi, and the corresponding -am or
4398 2001-03-05 Akim Demaille <akim@epita.fr>
4400 * automake.in (&am_install_var): Remove $cygxform, unused.
4402 2001-03-05 Akim Demaille <akim@epita.fr>
4404 * automake.in (&file_contents): Transform LIBTOOL.
4405 (&am_install_var): Remove $ltxform.
4406 * ltlib.am, progs.am: Adjust.
4408 2001-03-05 Akim Demaille <akim@epita.fr>
4410 * automake.in: Require AC_PROG_INSTALL in...
4411 (&scan_autoconf_files): here.
4413 2001-03-05 Akim Demaille <akim@epita.fr>
4415 * configure.am: New file.
4416 * automake.in (&file_contents): Transform CONFIGURE-AC.
4417 (&handle_texinfo, &handle_configure): Don't transform
4419 (&handle_configure): Use `configure.am'.
4420 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4421 MAINTAINER-MODE and CONFIGURE-AC.
4423 2001-03-05 Akim Demaille <akim@epita.fr>
4425 * automake.in (&pretty_print_internal): Don't output useless
4427 (define_pretty_variable): Don't issue the space after the `=' sign
4428 to avoid trailing spaces in Makefile.ins.
4430 2001-03-05 Akim Demaille <akim@epita.fr>
4432 * automake.in (&generate_makefile): Invoke &initialize_per_input
4433 *before* setting $am_file_name and $in_file_name.
4435 2001-03-05 Akim Demaille <akim@epita.fr>
4437 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4438 Globals, initialized...
4439 (&initialize_per_input): here.
4441 2001-03-05 Akim Demaille <akim@epita.fr>
4443 * automake.in ($am_relative_dir): Global.
4444 (&initialize_per_input): Init it.
4445 (%make_list, @make_input_list): My them from
4446 (&scan_autoconf_files): here.
4447 (&require_file_internal): Mying changes.
4449 2001-03-05 Akim Demaille <akim@epita.fr>
4451 * automake.in (%am_vars, @var_list, %def_type): Globals.
4452 (&initialize_per_input): Initialize them.
4453 (&read_main_am_file): Don't local them.
4454 (&get_object_extension): $objext is private.
4455 (&handle_single_transform_list): $lang is.
4456 (&handle_ltlibraries): $libname_rx is.
4457 (&scan_autoconf_config_files): How about actually paying attention
4458 to your arguments, instead of working on $_? (this is no Perl
4459 variable, it's a Perl variable followed by a question mark).
4460 (&file_contents): $contents and $separator are private.
4461 (&am_install_var): Declare @condvals, not $condvals.
4464 2001-03-05 Akim Demaille <akim@epita.fr>
4466 * automake.in (&initialize_per_input): Move to the top.
4467 Precede with the `my' list of its variables.
4469 2001-03-05 Akim Demaille <akim@epita.fr>
4471 * automake.in ($am_file): Use vars.
4472 ($am_file_name, $in_file_name): Private to &generate_makefile.
4474 2001-03-05 Akim Demaille <akim@epita.fr>
4476 * automake.in: Preparation for `use strict': Move the
4477 initialization of the constants to the top, from...
4478 (&initialize_global_constants): here.
4480 2001-03-05 Akim Demaille <akim@epita.fr>
4482 * automake.in (&handle_single_transform_list, &add_depend2): Let
4483 $lang_specific_files{$lang} be a list instead of a string.
4485 2001-03-05 Akim Demaille <akim@epita.fr>
4487 Let's make it run ten times faster...
4489 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4491 (&file_contents): Let `$command' remove the Automake commands, and
4492 normalize the series of `\n'.
4493 Slurp the file and apply $command in a single step.
4494 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4495 is already normalized to be handled by &transform.
4497 2001-03-05 Tom Tromey <tromey@redhat.com>
4499 * automake.in (register_language): Add entry for `-pure'.
4500 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4501 (finish_languages): Use `-pure' field of language map.
4503 2001-03-03 Tom Tromey <tromey@redhat.com>
4505 * tests/yaccvpath.test: No need to remove dummy files.
4506 * tests/subobj3.test: No need to remove dummy files.
4507 * tests/pr9.test: No need to remove dummy files.
4508 * tests/pr87.test: No need to remove dummy files.
4509 * tests/pr19.test: No need to remove dummy files.
4510 * tests/install2.test: No need to remove dummy files.
4511 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4514 2001-02-27 Pavel Roskin <proski@gnu.org>
4516 * tests/yaccvpath.test: Add a delay to make parse.c really out
4517 of date. Detect the problem earlier, after `make distdir'. Drop
4518 dependency on flex. Always use the `-y' flag for bison. Comment
4520 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4522 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4524 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4526 2001-02-28 Akim Demaille <akim@epita.fr>
4528 * automake.in (&add_depend2): Transform `GENERIC'.
4529 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4530 addition was broken by the `@ -> %' patch.
4531 * depend2.am: Adjust to use ?GENERIC?.
4533 2001-02-28 Akim Demaille <akim@epita.fr>
4535 * Makefile.am (maintainer-check): `undef $/' is OK.
4537 2001-02-28 Akim Demaille <akim@epita.fr>
4539 * automake.in (&handle_configure): Fortunately, $top_reldir,
4540 the definition of which was highly suspicious, was unused.
4542 2001-02-27 Akim Demaille <akim@epita.fr>
4544 * automake.in (%exec_dir_p): Move to the top so that it is visible
4547 2001-02-27 Pavel Roskin <proski@gnu.org>
4549 * tests/yaccvpath.test: Prevent automake from looking into ..
4550 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4552 2001-02-27 Akim Demaille <akim@epita.fr>
4554 * automake.in (%exec_dir_p): Pulled out from...
4555 (&am_primary_prefixes): here.
4557 2001-02-27 Akim Demaille <akim@epita.fr>
4559 * automake.in (&usage): Display $0, not $me.
4561 2001-02-27 Akim Demaille <akim@epita.fr>
4563 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4564 * automake.in (&handle_clean): Don't escape what's given to
4567 2001-02-27 Akim Demaille <akim@epita.fr>
4569 Distinguish automake substitutions from config.status
4572 * automake.in (&add_depend2): Transform AMDEP.
4573 (&handle_clean): Transform MCFILES and MFILES.
4574 (&file_contents): Transform MAINTAINER_MODE.
4575 (&transform, &am_install_var): Use `%', not `@'.
4576 Adjust all the *.am files.
4577 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4578 * depend2.am: Display the double dependency on both ?AMDEP? and
4581 2001-02-27 Tom Tromey <tromey@redhat.com>
4583 * distdir.am (distcheck): Fixed new code.
4585 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4586 Only configure once.
4588 * distdir.am (distcheck): Print error message if distclean failed
4591 2001-02-27 Pavel Roskin <proski@gnu.org>
4593 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4595 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4597 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4598 * tests/yaccvpath.test: New file.
4600 2001-02-26 Akim Demaille <akim@epita.fr>
4602 * automake.in (&am_install_var): Recognize whether predefined
4603 directories are `data' or `exec'.
4604 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4606 * tests/instdata2.test: Update.
4608 2001-02-26 Akim Demaille <akim@epita.fr>
4610 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4611 necessarily in infodir.
4613 2001-02-26 Akim Demaille <akim@epita.fr>
4615 * automake.in ($am_file): Be `local', as my'd variables used in
4616 `foreach' loops are always private to the loop.
4618 2001-02-26 Pavel Roskin <proski@gnu.org>
4620 * Makefile.am: Add install.am.
4622 2001-02-26 Akim Demaille <akim@epita.fr>
4624 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4625 routines, otherwise the elements to compare are passed in @_
4626 instead of $a and $b.
4628 2001-02-26 Akim Demaille <akim@epita.fr>
4630 * automake.in (%required_targets): `installcheck-am' is needed.
4632 2001-02-26 Akim Demaille <akim@epita.fr>
4634 * automake.in (&transform_cond): Merge into...
4638 2001-02-26 Akim Demaille <akim@epita.fr>
4640 * automake.in (&handle_dist): Use &transform instead of dedicated
4642 But be sure to always do it.
4643 * distdir.am: Adjust.
4645 2001-02-26 Akim Demaille <akim@epita.fr>
4647 * automake.in: Use File::Basename.
4648 (&dirname, &basename): Remove.
4650 2001-02-26 Akim Demaille <akim@epita.fr>
4652 * automake.in ($me): New.
4654 (&usage): Display your full name.
4656 2001-02-26 Akim Demaille <akim@epita.fr>
4658 * automake.texi (Invoking Automake): Remove dead options.
4660 2001-02-26 Akim Demaille <akim@epita.fr>
4662 * automake.in (&scan_texinfo_file): Also compute the list of files
4664 Handle local errors.
4665 (&handle_texinfo): Use it.
4667 2001-02-26 Akim Demaille <akim@epita.fr>
4669 * automake.in: Don't pass arguments to...
4670 (&parse_arguments): Work on @ARGV.
4672 Add support for `-f'.
4676 2001-02-26 Akim Demaille <akim@epita.fr>
4678 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4679 handle installcheck and installcheck-am.
4680 * install.am: Do it.
4682 2001-02-26 Akim Demaille <akim@epita.fr>
4684 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4685 handle install and install-am.
4686 * install.am: Do it.
4688 2001-02-26 Akim Demaille <akim@epita.fr>
4690 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4691 work on targets handled by %dependencies.
4692 (&handle_factored_dependencies): Do it.
4693 * install.am: Install install-exec, install-data and uninstall's
4696 2001-02-26 Akim Demaille <akim@epita.fr>
4698 * automake.in (&handle_merge_targets): Move `install-strip' from
4700 * install.am: to here.
4702 2001-02-26 Akim Demaille <akim@epita.fr>
4704 * automake.in (@installdirs): Remove.
4705 (&file_contents): Be able to grow Automake macros with `+='.
4706 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4707 files define _am_installdirs.
4708 (&handle_installdirs): Remove the code, just output `install.am'.
4710 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4711 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4713 2001-02-26 Akim Demaille <akim@epita.fr>
4715 * tests/instdata2.test (libexec_DATA): Exercise more
4718 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4720 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4722 2001-02-25 Tom Tromey <tromey@redhat.com>
4724 * tests/instdata2.test: Added `sbin_DATA' check.
4726 * tests/Makefile.am (TESTS): Added subdircond.test.
4727 * tests/subdircond.test: New file.
4728 * automake.in (handle_gettext): Don't fail if SUBDIRS
4729 conditionally defined.
4731 * automake.in: Use IO::File.
4732 (generate_makefile): Use IO::File.
4733 (scan_texinfo_file): Likewise.
4734 (handle_aclocal_m4): Likewise.
4735 (scan_autoconf_traces): Likewise.
4736 (scan_one_autoconf_file): Likewise.
4737 (read_am_file): Likewise.
4738 (file_contents): Likewise.
4741 2001-02-25 Akim Demaille <akim@epita.fr>
4743 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4745 2001-02-25 Akim Demaille <akim@epita.fr>
4747 * automake.in (&transform): Also call &transform_cond on your
4749 (&handle_dist): Adjust.
4750 (&handle_factored_dependencies): Uniq dependencies.
4752 2001-02-25 Akim Demaille <akim@epita.fr>
4754 * automake.in (&handle_gettext): Simplify redundant `if'.
4755 Used &variable_value, don't read %contents directly.
4757 2001-02-25 Akim Demaille <akim@epita.fr>
4759 * automake.in ($install_recursive): Remove, replaced with calls to
4760 `&variable_defined ('SUBDIRS')'.
4761 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4762 (&file_contents): now does.
4764 2001-02-25 Akim Demaille <akim@epita.fr>
4766 * automake.in (&handle_man_pages): $found is dead.
4768 2001-02-25 Akim Demaille <akim@epita.fr>
4770 Internally just store the conditionals as space separated lists of
4771 CONDITIONS (instead of @CONDITIONS@).
4773 * automake.in (&conditional_true_when, &variable_conditions_sub):
4774 Split conditions at spaces.
4775 (&handle_dependencies, &variable_conditions_permutations): Don't
4776 put @ around conditions.
4777 (&variable_conditions_cmp): There are no @ to strip.
4778 (&make_condition): New.
4779 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4781 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4782 Join @conditional_stack with spaces.
4783 (&read_main_am_file): Adjust the output of variables.
4784 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4785 true' and no longer `@TEST@TRUE = @TEST@true'.
4786 (&variable_conditions_cmp): Rename as...
4787 (&by_condition): this.
4788 Sort in a human pleasant order.
4789 Use it everywhere a human can see conditions.
4790 (&variable_conditions_reduce): Don't sort conditions, that's
4792 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4794 2001-02-25 Akim Demaille <akim@epita.fr>
4796 * automake.in: `my' the globals.
4798 2001-02-25 Akim Demaille <akim@epita.fr>
4800 * automake.in (&initialize_per_input): %targets_conditionals is
4802 (&read_am_file): When slurping a rule, set the target related
4803 variable, and no variable related variable.
4804 (&file_contents): Likewise.
4805 * tests/vartar.test, tests/ctarget1.test: New.
4807 2001-02-25 Akim Demaille <akim@epita.fr>
4809 * automake.in (&variable_defined, &variable_value_as_list_worker):
4810 If $VAR is effectively a variable, don't die if it's also a
4812 Plus some formatting changes.
4814 2001-02-25 Akim Demaille <akim@epita.fr>
4816 * automake.in: Mying changes.
4817 * Makefile.am (maintainer-check): Check the stability of the
4818 number of uses of `local'.
4820 2001-02-25 Akim Demaille <akim@epita.fr>
4822 * automake.in: Mying changes.
4824 2001-02-25 Akim Demaille <akim@epita.fr>
4826 * automake.in: Mying changes.
4828 2001-02-25 Akim Demaille <akim@epita.fr>
4830 * automake.in: Mying changes.
4831 (&handle_tags): Fix a bug uncovered by the previous mying changes:
4832 transform CONFIG into $config, not $xform.
4834 2001-02-25 Akim Demaille <akim@epita.fr>
4836 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4837 Don't deal with install-data-am, install-exec-am and unstall-am.
4838 (&initialize_per_input): Add them to %dependencies.
4839 Remove %exec_dir_p since the *.am files are now in charge of it.
4840 Remove @uninstall, @install_data, @install_exec.
4841 (&handle_merge_targets): Adjust to these removals.
4842 (&file_contents): Also &transform_cond for --no-installman and
4844 (&do_one_merge_target): Add some magic to install hooks on
4845 %dependencies' targets.
4846 (%required_targets): New.
4847 (&handle_factored_dependencies): Output required targets.
4848 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4849 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4850 * texinfos.am: Declare your dependencies on install-data-am,
4851 install-exec-am and uninstall-am.
4852 * tests/instdata2.test (incldata_HEADERS): New test.
4854 2001-02-24 Tom Tromey <tromey@redhat.com>
4856 * Makefile.am (amfiles): Added texibuild.am.
4857 * texibuild.am: New file.
4858 * tests/Makefile.am (TESTS): Added texinfo9.test.
4859 * tests/texinfo9.test: New file.
4860 * automake.in (handle_texinfo): Keep track of suffixes used. Give
4861 error if suffix unrecognized. Removed extraneous newline.
4863 2001-02-23 Akim Demaille <akim@epita.fr>
4865 * automake.in (&am_install_var): Don't hook on the clean targets
4867 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4868 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4871 2001-02-23 Akim Demaille <akim@epita.fr>
4873 * automake.in: Promote local `my' over `local'.
4875 2001-02-23 Akim Demaille <akim@epita.fr>
4877 * automake.in: Formatting and mying changes.
4879 2001-02-23 Akim Demaille <akim@epita.fr>
4881 * automake.in: Formatting and mying changes.
4883 2001-02-23 Akim Demaille <akim@epita.fr>
4885 * automake.in (&handle_man_pages): Let install-man and
4886 uninstall-man be handled by the dependency tracker.
4887 (&initialize_per_input): Let %dependencies track them.
4888 * mans.am: Add the needed hooks with the proper dependencies.
4890 2001-02-22 Pavel Roskin <proski@gnu.org>
4892 * tests/target-cflags.test: Don't use subshell to configure in
4893 subdirectory. Typo fix - run `./foo', not `/foo'.
4895 2001-02-22 Akim Demaille <akim@epita.fr>
4897 * automake.in: Formatting and mying changes.
4899 2001-02-21 Tom Tromey <tromey@redhat.com>
4901 * automake.in (handle_dist): Introduce new variable to avoid extra
4902 keys in %dist_dirs. Fixes distdir.test.
4904 * automake.in (handle_texinfo): Only remove suffixes we can
4907 * tests/distdir.test: Check to make sure directory isn't made in
4910 * automake.in (handle_dist): Do nothing in Cygnus mode.
4912 2001-02-21 Pavel Roskin <proski@gnu.org>
4914 * header-vars.am: Remove tabs before variable definitions.
4916 2001-02-21 Akim Demaille <akim@epita.fr>
4918 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
4921 2001-02-21 Akim Demaille <akim@epita.fr>
4923 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
4924 numeric value as required by Perl 5.6.
4926 2001-02-21 Akim Demaille <akim@epita.fr>
4928 * dist-vars.am: Remove, merge into...
4930 * automake.in (dirname, basename, backname): Move to the top of
4931 the file so that prototypes are checked,
4932 Use them without `&'.
4933 (&handle_dist): Adjust.
4935 2001-02-21 Akim Demaille <akim@epita.fr>
4937 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
4938 Use a uniform naming scheme.
4939 ("e_cond_val, &unquote_cond_val): Delete, dead code.
4940 (&read_am_file): Fix conditional definition of backslash continued
4943 2001-02-21 Akim Demaille <akim@epita.fr>
4945 Change the handling of conditionals: instead of using an ad-hoc
4946 encoding to store a hash in a string, use hashes.
4948 * automake.in (&conditional_dump): New.
4949 (&check_ambiguous_conditional, &variable_defined)
4950 (&variable_conditions_sub, &variable_value_as_list_worker)
4951 (&define_variable, read_am_file, &read_main_am_file): Be sure to
4952 handle `$conditional{$vars}' as a hash instead of a plain string.
4954 2001-02-21 Akim Demaille <akim@epita.fr>
4956 * automake.in (&conditional_true_when): Modernize, simplify.
4957 Warning: `$comp' is now private (my), while it used to be
4958 `inherited' from a `local' elsewhere in the code. AFAICT it was
4959 wrong, but some dirty side effect might show up.
4960 (&conditionals_true_when): New.
4961 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
4963 2001-02-21 Akim Demaille <akim@epita.fr>
4965 * automake.in ($top_builddir): Remove, used in one place.
4966 (&define_standard_variables): Adjust.
4967 Move the definition of triplet variables into...
4968 * header-vars.am: here.
4970 2001-02-21 Akim Demaille <akim@epita.fr>
4972 * automake.in (&initialize_global_constants): Don't define $USAGE.
4973 (&usage): Handle the former content of $USAGE.
4974 Don't pretend autoconf cares about Makefile.in.
4975 Classify the options.
4976 (&handle_tests): Formatting and mying changes.
4978 2001-02-21 Akim Demaille <akim@epita.fr>
4980 * automake.in (&handle_tests_dejagnu): Move the definition of a
4981 default `site.exp' into...
4982 * dejagnu.am (site.exp): here.
4983 Use DOS compliant file names.
4985 2001-02-21 Akim Demaille <akim@epita.fr>
4987 * automake.in (&dist_cmp): New.
4988 (&handle_dist): Use it.
4989 Promote `my' over `local'.
4991 2001-02-21 Akim Demaille <akim@epita.fr>
4993 * dist.am: Remove, merge into...
4994 * distdir.am: here. Use the neat sed snippet for banners.
4995 BTW, distcheck is phony.
4996 * automake.in (&handle_dist_worker): Remove, merge into...
4997 (&handle_dist): this.
4998 (&file_contents): Strip leading new lines.
4999 Be sure to end comments with new lines.
5001 2001-02-21 Akim Demaille <akim@epita.fr>
5003 * distdir.am (GZIP_ENV): Define.
5004 * automake.in (&handle_dist): Don't.
5006 (&handle_dist_worker, &am_install_var): Use it.
5008 2001-02-21 Akim Demaille <akim@epita.fr>
5010 * distdir.am (distdir): Handle the DIST-TARGETS.
5011 * automake.in (&handle_dist_worker): Don't.
5013 2001-02-21 Akim Demaille <akim@epita.fr>
5015 * automake.in (&file_contents): Transform the global options (such
5017 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5019 2001-02-21 Akim Demaille <akim@epita.fr>
5021 * distdir.am (distdir): Be sure to have permissive rights on its
5023 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5025 And BTW, all these guys are phony.
5026 * automake.in (&handle_dist_worker): As its name doesn't indicate,
5027 output distributions.
5028 (&handle_dist): As its name doesn't indicate, don't.
5029 (&initialize_global_constants): Don't define variables which
5030 content is now handled by distdir.am.
5031 But register `dist-all' as a factored target.
5032 (&handle_factored_dependencies): Don't output empty targets.
5034 2001-02-20 Tom Tromey <tromey@redhat.com>
5036 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5039 2001-02-18 Tom Tromey <tromey@redhat.com>
5041 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5042 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5043 (AM_PROG_STRIP): Commented out.
5045 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
5047 * depcomp (gcc3): Protect against the compiler deleting
5048 the dependency output file.
5050 2001-02-17 Tom Tromey <tromey@redhat.com>
5052 * automake.in (handle_merge_targets): Use double quotes around
5053 setting of INSTALL_STRIP_PROGRAM.
5054 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5055 to absolute path at runtime.
5056 (AM_PROG_STRIP): Don't explicitly test $STRIP.
5058 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
5060 * m4/strip.m4: New file.
5061 * m4/Makefile.am (m4data_DATA): Add strip.m4.
5062 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5063 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5064 * automake.in (handle_merge_targets): In the install-strip rule,
5065 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5066 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5067 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5068 don't use INSTALL_STRIP_FLAG any longer.
5070 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5072 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5075 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
5077 * automake.in (unquote_m4_arg): New function.
5078 (scan_one_configure_file): Call unquote_m4_arg on
5079 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5082 2001-02-15 Tom Tromey <tromey@redhat.com>
5084 * config.guess, config.sub: New versions from FSF.
5086 * Makefile.am (WGET): New macro.
5087 (FETCHFILES): New macro.
5088 (fetch): New target.
5090 * tests/subobj3.test: Exit with status 77 if gcc not found.
5091 * tests/pr9.test: Exit with status 77 if gzip not found.
5092 * tests/pr87.test: Exit with status 77 if gcc not found.
5093 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5094 * tests/install2.test: Exit with status 77 if gzip not found.
5095 * tests/exsource.test: Exit with status 77 if GNU make not found.
5096 * tests/ansi3.test: Exit with status 77 if gcc not found.
5098 * tests/target-cflags.test: Require GNU make. Exit with status 77
5099 if gcc or make not found. Fixes PR automake/121.
5101 * configure.in: Require Perl 5.005.
5102 * automake.in: Require 5.005.
5104 * automake.texi (Top): Conditionalize on `nottex', not `info'.
5105 Fixes PR automake/122.
5107 2001-02-14 Tom Tromey <tromey@redhat.com>
5109 * automake.in (add_depend2): Only emit a given object rule once.
5110 Fixes specflags6.test.
5112 2001-02-14 Richard Boulton <richard@tartarus.org>
5114 * tests/specflags6.test: New file.
5116 2001-02-14 Tom Tromey <tromey@redhat.com>
5118 * automake.texi (A Shared Library): Mention -module.
5120 2001-02-13 Tom Tromey <tromey@redhat.com>
5122 * automake.in (do_one_merge_target): Always register $name and
5125 * automake.in (do_one_merge_target): Register `all' as phony
5128 * configure.in: Updated to 1.4e for cvs.
5130 2001-02-12 Tom Tromey <tromey@redhat.com>
5132 * configure.in: Updated to 1.4d and released.
5134 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5135 names through autoconf.
5137 Fix for subdirbuiltsources.test:
5138 * automake.in (initialize_per_input): [all_target] Initialize to
5140 (handle_merge_targets): Use all-redirect target to handle built
5142 (do_one_merge_target): Don't generate all-redirect rule.
5144 2001-02-11 Peter Muir <iyhi@yahoo.com>
5146 * tests/subdirbuiltsources.test: New file.
5147 * tests/Makefile.am (TESTS): Added new file.
5149 2001-02-10 Tom Tromey <tromey@redhat.com>
5151 * tests/condlib.test: New file.
5152 * tests/Makefile.am (TESTS): Added new file.
5154 2001-02-10 Lars J. Aas <larsa@sim.no>
5156 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5157 (&canonicalize): New. Includes '@' in canonical range.
5158 (&check_canonical_spelling, &handle_programs, &handle_libraries,
5159 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5161 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
5163 * automake.in (handle_configure): Revert part of
5164 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
5165 set CONFIG_COMMANDS explicitly.
5167 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
5169 * depcomp (gcc3): Propagate exit code.
5171 2001-02-09 Lars J. Aas <larsa@sim.no>
5173 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5175 2001-02-09 Tom Tromey <tromey@redhat.com>
5177 Clean up maintainer-check warnings:
5178 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5180 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5182 2001-02-09 Akim Demaille <akim@epita.fr>
5184 * automake.in (&file_contents): Remove a dead branch.
5186 2001-02-09 Akim Demaille <akim@epita.fr>
5188 * automake.in (&transform): Use `my', not `local'.
5189 (&transform_cond): New.
5190 (&get_object_extension, &handle_texinfo, &handle_tags)
5191 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5192 (&handle_tests_dejagnu): Use it.
5193 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5194 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5196 2001-02-09 Akim Demaille <akim@epita.fr>
5198 * automake.in: Various formatting changes, and modernization of
5201 (&handle_configure, define_standard_variables): Use it.
5203 2001-02-08 Tom Tromey <tromey@redhat.com>
5205 * automake.in (file_contents): Only add $actions if any are
5206 found. Fixes new failure in pr87.test.
5208 2001-02-08 Pavel Roskin <proski@gnu.org>
5210 * tests/pr87.test: Check foo/Makfile.in after it is created.
5212 2001-02-08 Tom Tromey <tromey@redhat.com>
5214 * tests/pr87.test: Added check for blank line after `.c.o' rule.
5215 Report from Lars J. Aas.
5217 2001-02-07 Lars J. Aas <larsa@sim.no>
5219 * lisp.am (install-@DIR@LISP): Removed extra space.
5220 * header.am (install-@DIR@HEADERS): Removed extra space.
5221 * data.am (install-@DIR@DATA): Removed extra space.
5223 2001-02-07 Tom Tromey <tromey@redhat.com>
5225 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5227 * automake.in (handle_dependencies): Use _am_include, not
5229 * tests/exsource.test: Use _am_include, not AMINCLUDE.
5230 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5232 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5234 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5236 * automake.in (handle_configure): Handle case where output file is
5237 in subdir with no Makefile of its own. Fixes remake3.test,
5240 2001-02-06 Pavel Roskin <proski@gnu.org>
5242 * automake.in (handle_dependencies): Rename AM_INCLUDE to
5244 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5245 * tests/exsource.test: Likewise.
5247 2001-02-06 Derek Price <derek.price@openavenue.com>
5249 * automake.in (handle_configure): Fix syntax error.
5251 2001-02-06 Akim Demaille <akim@epita.fr>
5253 * subdirs.am: This file is the exception: clean recursive targets
5254 are called by the clean targets, not the clean-am targets.
5255 Otherwise we have a circular dependency: clean -> clean-am ->
5256 clean-recursive -> clean.
5257 * automake.in (handle_clean): Bind `-local' targets to `-am'
5258 targets, not top targets.
5259 Don't declare -recursive dependencies of the clean targets:
5260 `subdirs.am' did it. Less hard coded knowledge, transfered
5264 2001-02-06 Akim Demaille <akim@epita.fr>
5266 Monstro unsplitable patch.
5268 The aim is to remove hard coded knowledge about clean targets from
5269 automake.in, leaving them in the *.am files.
5270 In addition to the mechanic needed to factor some dependencies, it
5271 appears some rules (most notably distclean and maintainer-clean)
5272 need factored actions. So first, be ready to catch factored
5275 * automake.in (&file_contents): For the time being, use an extended
5276 $RULE_PATTERN which is able to match any kind of rules, with or
5277 without dependency, with or without actions.
5278 Handle all the rules uniformly, storing in %actions the factored
5280 (&flatten, &target_cmp): New.
5281 (&handle_factored_dependencies): Output the %actions.
5282 No longer special case `clean'.
5283 Output the rules in alphabetical order, but keeping `.PHONY' last.
5285 Now we must not use &push_phony_cleaners, which is doing all sort
5286 of magic to push a bit of everything in all the clean targets.
5287 The biggest problem being that, making a Cartesian product, it
5288 requires many useless targets. The `*.am' file know better.
5289 But first, register the new factored rules.
5291 * automake.in (&initialize_per_input): Include clean, mostlyclean,
5292 maintainer-clean, distclean and their `*-am' counterpart in
5294 Initialize %actions.
5295 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5296 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5297 (handle_emacs_lisp, handle_python): Don't play with
5298 &push_phony_cleaners nor &depend and `clean'.
5299 * texinfos.am, texi-vers.am, tags-clean.am:
5300 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5301 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5302 * clean-kr.am, clean-hdr.am: Do it.
5303 Whenever a target is empty, just remove it, it will no longer be
5306 There is still some magic about clean to hard code. But really,
5307 that's the end of &do_one_clean_target.
5309 * automake.in (&do_one_clean_target): Kaboom out.
5310 (&handle_clean): Rewrite the magic code.
5311 (&am_install_var): No longer use &push_phony_cleaners, nor depend
5313 (&push_phony_cleaners): Kaboom too.
5315 2001-02-06 Akim Demaille <akim@epita.fr>
5317 * automake.in (do_one_clean_target): Don't hard code knowledge
5318 about libtool, and maintainer-clean.
5319 * clean.am, libtool.am: Handle these.
5321 2001-02-05 Akim Demaille <akim@epita.fr>
5323 * automake.in (handle_texinfo): No longer hard code the clean
5325 (texinfos.am): Include them.
5327 2001-02-05 Akim Demaille <akim@epita.fr>
5329 * Makefile.am (perl4-check): Remove, we now require Perl 5.
5330 (maintainer-check): Don't be silent when you find a problem, and
5331 actually, even specify the locations.
5332 Also check that @_ is assigned to arrays.
5334 2001-02-05 Akim Demaille <akim@epita.fr>
5336 * m4/regex.m4: Use AC_LIBSOURCES.
5337 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5340 2001-02-04 Tom Tromey <tromey@redhat.com>
5342 * m4/Makefile.am (m4data_DATA): Added make.m4.
5343 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5345 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5346 Copy depcomp to subdir.
5347 * m4/make.m4: New file.
5349 2001-02-04 Pavel Roskin <proski@gnu.org>
5351 * automake.in (handle_dist_worker): Remove a line that is now
5354 2001-02-04 Kevin Ryde <user42@zip.com.au>
5356 * automake.in (handle_configure): Call config.status with empty
5357 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5359 2001-02-04 Tom Tromey <tromey@redhat.com>
5361 * depcomp (ddashmd): Removed case.
5362 (sgi): Handle failure exit correctly
5363 (aix): Likewise. Also, add dummy `.h' targets.
5365 2001-02-04 Akim Demaille <akim@epita.fr>
5367 * distdir.am (distdir): New file, extracted from...
5368 * automake.in (handle_dist_worker): here.
5371 2001-02-04 Akim Demaille <akim@epita.fr>
5373 * automake.in (@clean): Remove, replaced by...
5374 ($dependencies{'clean'}): this.
5375 Use `&depend' instead of push'ing into @clean.
5376 (handle_factored_dependencies): For the time being, skip 'clean'.
5377 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5378 always `clean', and `@clean'.
5380 2001-02-04 Akim Demaille <akim@epita.fr>
5382 * automake.in (%dependencies): Don't be initialize globally for
5383 all the files, but in...
5384 (&initialize_per_input): here.
5386 (@phony): Replace all occurrences with the corresponding &depend
5389 2001-02-03 Tom Tromey <tromey@redhat.com>
5391 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5392 * header-vars.am (INSTALL_HEADER): New macro.
5394 * automake.texi (Rebuilding): New node.
5398 Copyright 2001 Free Software Foundation, Inc.
5400 This file is part of GNU Automake.
5402 GNU Automake is free software; you can redistribute it and/or modify
5403 it under the terms of the GNU General Public License as published by
5404 the Free Software Foundation; either version 2, or (at your option)
5407 GNU Automake is distributed in the hope that it will be useful,
5408 but WITHOUT ANY WARRANTY; without even the implied warranty of
5409 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5410 GNU General Public License for more details.
5412 You should have received a copy of the GNU General Public License
5413 along with autoconf; see the file COPYING. If not, write to
5414 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5415 Boston, MA 02111-1307, USA.