f4ea9d790d6bd90607aed39f276ad301806fabdd
[platform/upstream/automake.git] / ChangeLog
1 2002-03-18  Richard Boulton <richard@tartarus.org>
2
3         Fix for PR automake/306:
4         * automake.texi (Generalities): Document +=.
5         (Conditionals): Document limitations of += with conditionals.
6
7 2002-03-17  Tom Tromey  <tromey@redhat.com>
8
9         Fix for PR automake/295:
10         * automake.texi (Invoking Automake): Deprecate --output-dir.
11         * automake.in (usage): Don't document --output-dir.
12         (output_directory): Don't initialize.
13         (parse_arguments): Deprecate --output-dir.
14
15         * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
16         Fixes PR automake/304.
17
18 2002-03-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
19
20         * tests/dirforbid.test: Workaround for NetBSD sh bug.
21         Fixes PR automake/305.
22
23 2002-03-11  Richard Boulton <richard@tartarus.org>
24
25         * automake.in (check_typos): Allow variables with reserved
26         suffices (such as _LDFLAGS) and prefixes which aren't
27         recognised if the variable is defined in configure.ac.
28         Fixes acsubst.test.
29
30 2002-03-11  Richard Boulton <richard@tartarus.org>
31
32         * tests/acsubst.test: New test, by Alexandre Duret-Lutz
33         * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
34         * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
35
36 2002-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
37
38         * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
39         causes failures.
40
41 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
42
43         Fix for PR automake/303:
44         * automake.in (version_check): Move the error message ...
45         (process_option_list): ... here, so we can distinguish between
46         global and local options.
47
48 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
49
50         * tests/pr300-lib.test, tests/pr300-ltlib.test,
51         tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
52         Autoconf doesn't complain about Makefile being output twice.
53
54 2002-03-06  Tom Tromey  <tromey@redhat.com>
55
56         * configure.in: Upped version to 1.6a.
57
58 2002-03-05  Tom Tromey  <tromey@redhat.com>
59
60         * configure.in: Released 1.6.
61
62 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
63
64         Fix for PR automake/300:
65         * tests/pr300-lib.test, tests/pr300-ltlib.test,
66         tests/pr300-prog.test: New files.
67         * tests/Makefile.am (TESTS): Add them.
68         * automake.in (handle_ltlibraries): Strip nobase_ prefix to
69         compute the directory.
70         * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
71         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
72         (install-%DIR%LIBRARIES): Use it.  Honor nobase_.
73         (uninstall-%DIR%LIBRARIES): Honor nobase_.
74         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
75         (install-%DIR%LTLIBRARIES): Use it.  Honor nobase_.
76         (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
77         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
78         (install-%DIR%PROGRAMS): Use it.  Honor nobase_.
79         (uninstall-%DIR%PROGRAMS): Honor nobase_.
80         See also the fix for nobase.test on 2001-11-09.
81
82 2002-03-05  Tom Tromey  <tromey@redhat.com>
83
84         * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
85
86 2002-03-05  Pavel Roskin  <proski@gnu.org>
87
88         * tests/yacc8.test: Add a command between "test" and "cd" to
89         work around a bug in bash-2.05.
90
91 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
92
93         Fix for PR automake/294:
94         * tests/dirforbid.test: New file.
95         * tests/Makefile.am (TESTS): Add it.
96         * automake.in (standard_prefix): New hash.
97         (am_primary_prefixes): Forbid standard_prefixes which are not
98         explicitely allowed.
99         * automake.texi (Uniform): Remove FIXME.
100
101 2002-03-05  Jim Meyering  <meyering@lucent.com>
102
103         * automake.in (@common_files): Add config.rpath.
104
105 2002-03-05  Kevin Ryde  <user42@zip.com.au>
106
107         For PR automake/297:
108         * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
109         after AC_PROG_LEX, since it will try to run it and fail (in autoconf
110         2.52 at least).
111
112 2002-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
113
114         * automake.in (scan_one_autoconf_file): Declare
115         LEX_OUTPUT_ROOT and LEXLIB as configure variables when
116         AM_PROG_LEX or AC_PROG_LEX are seen.  This allows to ...
117         * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
118         definitions.  Search %SOURCE% in $(srcdir).  Use s||| instead
119         of s/// in the sed invocation, to support filenames containing
120         slashes.
121         * lib/am/yacc.am: Search %SOURCE% in $(srcdir).  Use s||| too.
122         * tests/lex5.test, tests/yacc8.test: New files.
123         * tests/Makefile.am (TESTS): Add them.
124
125 2002-02-23  Per Bothner  <per@bothner.com>
126
127         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
128         `.' in else branch.
129
130 2002-02-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
131
132         * tests/make.test: Revert the grep logic to work around a bug
133         in NetBSD sh (see NetBSD Problem Report #11542).
134         Reported by Patrick Welche.
135
136 2002-02-20  Tim Van Holder  <tim.van.holder@pandora.be>
137
138         * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
139         to try and prevent a non-lisp emacs from starting in interactive
140         mode.
141         * automake.texi: Document this change.
142
143 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
144
145         * automake.texi (Macros): Split into ...
146         (Public Macros, Private Macros): ... these.
147
148 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
149
150         * tests/insthook.test: Use sed instead of "tail +X".
151
152 2002-02-18  Paul Eggert  <eggert@twinsun.com>
153
154         * lib/depcomp: Don't use "tail +3"; it's not portable to
155         POSIX 1003.1-2001 hosts.
156
157 2002-02-18  Jim Meyering  <meyering@lucent.com>
158
159         * tests/cond12.test: Use sed 1q, not `head -n 1'.
160         The latter is not portable to some old systems.
161         * m4/depout.m4: Don't use `head -1'; it's no longer portable.
162         Use `sed 1q' instead.
163         * tests/insthook.test: Likewise.
164
165 2002-02-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
166
167         * automake.in (handle_lib_objects_cond): Tell the user to put
168         global linker flags in AM_LDFLAGS, not LDFLAGS.
169
170         * automake.texi (General Operation): AC_SUBST'ed variables
171         override Automake's variables.
172         (Uniform): More words and @refs.
173         (Auxiliary Programs) <config.sub, config.guess>: Add URL.
174         (etags): More explanations about the first example.
175         (Invoking Automake): Mention autoreconf.  More @refs.
176         (Requirements): Mention AC_CONFIG_FILES.
177         (Optional): AC_CHECK_TOOL will no longer install config.sub and
178         config.guess.  Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
179         (Invoking aclocal): aclocal no longer warn about duplicates.
180         (Macros) <AM_INIT_AUTOMAKE>: More explanations.
181         (Extending aclocal): Suggest using the output of
182         `aclocal --print-ac-dir` to install third-party macros.
183         (Alternative): Specify ordering of dist_, nodist_, and nobase_
184         prefixes.
185         (A Program): Mention scripts.  The global LDADD variable is not
186         meant to hold link flags, suggest using AM_LDFLAGS instead.
187         (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
188         _LIBADD and _LDADD are subject to the same restriction wrt to
189         link flags.
190         (Program and Library Variables) <maude_DEPENDECIES>: Is also
191         derived from maude_LIBADD.
192         (Program variables): Define AM_LDFLAGS.
193         (Dependencies): Passing the no-dependencies option to
194         AM_INIT_AUTOMAKE is prefered.
195         (Scripts): Explain why automake is magically cleaned.
196         Mention noinst_SCRIPTS and check_SCRIPTS.
197         (Data): Use dist_ in Automake's example.
198         (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
199         Mention AC_CONFIG_FILES instead of AC_OUTPUT.
200
201 2002-02-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
202
203         * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
204         (fetch): Fetch XFile.pm.  Update the files in $(srcdir) instead
205         of asking the maintainer to do it manually.
206         * lib/config.guess, lib/config.sub, lib/texinfo.tex,
207         Automake/XFile.pm: New upstream versions.
208
209 2002-02-02  Tom Tromey  <tromey@redhat.com>
210
211         * automake.texi (Macros): Warn about upgrading.
212
213 2002-02-01  Tom Tromey  <tromey@redhat.com>
214
215         Change per GNU coding standards:
216         * aclocal.in (parse_arguments): Only mention most recent year in
217         copyright output.
218         * automake.in (version): Only mention most recent year.
219
220 2002-01-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
221
222         * automake.texi (API versioning): New Node.
223         (Extending): Use $(DESTDIR) in examples.
224
225 2002-01-28  Akim Demaille  <akim@epita.fr>
226
227         * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
228         Respect the --help layout.
229
230 2002-01-27  Tom Tromey  <tromey@redhat.com>
231
232         * configure.in: Bumped to 1.5e.
233
234         * lib/am/yacc.am: Use `rm -f'.
235
236         * configure.in: Released 1.5d.
237
238         * lib/config.guess: New version from FSF.
239
240         * Makefile.am (uninstall-hook): New target.
241
242 2002-01-24  Akim Demaille  <akim@epita.fr>
243
244         * lib/install-sh: Update, from Autoconf.
245
246 2002-01-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
247
248         * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
249         as AC_CANONICAL_HOST (the former does not require the latter since
250         Autoconf 2.50).
251         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
252         * automake.texi (Requirements): Do not require STRIP to be
253         defined by the user.
254
255 2002-01-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
256
257         * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
258         * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
259         * tests/pr224.test: Make sure .deps subdirectories are
260         erased by distclean.
261
262 2002-01-22  Tom Tromey  <tromey@redhat.com>
263
264         * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
265         no-dependencies option is set.
266         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
267         no-dependencies option is set.  Don't call AM_DEP_TRACK or
268         AM_SET_DEPDIR.
269
270 2002-01-22  Pavel Roskin  <proski@gnu.org>
271
272         * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
273         ASFLAGS.
274
275 2002-01-22  Akim Demaille  <akim@epita.fr>
276
277         * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
278         (fetch): Adjust.
279
280 2002-01-21  Tom Tromey  <tromey@redhat.com>
281
282         * Makefile.am (fetch): Don't fetch ansi2knr.
283
284         * automake.texi (Macros): Updated for new variable names.
285         (Program and Library Variables): Likewise.
286         (Assembly Support): Likewise.
287         * m4/as.m4: Use CCAS and CCASFLAGS.
288         * automake.in (asm): Use CCAS and CCASFLAGS.
289
290 2002-01-21  Akim Demaille  <akim@epita.fr>
291
292         * automake.in (&parse_arguments): Use a more GNUish error message
293         on wrong options.
294
295 2002-01-20  Tom Tromey  <tromey@redhat.com>
296
297         Fix for PR automake/231:
298         * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
299         * m4/depend.m4: Document `GCJ'.
300
301         For PR automake/224:
302         * tests/Makefile.am (TESTS): Added pr224.test.
303         * tests/pr224.test: New file.
304         * lib/depcomp: Fixed computation of depfile.
305         * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
306         * automake.in (handle_single_transform_list): Only reject `..'
307         component for Java.  Put dependencies in directory near object.
308         (handle_languages): Set DEPBASE.  Handle de-ansi-fication.
309
310 2002-01-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
311
312         * tests/defs: Export AUTOMAKE and ACLOCAL.
313
314 2002-01-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
315
316         Fix for PR automake/204:
317         * tests/pr204.test: New file.
318         * tests/Makefile.am (TESTS): Add it.
319         * automake.in (handle_single_transform_list): Don't distribute
320         sources derived from non-distributed sources.
321
322 2002-01-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
323
324         Fix for PR automake/229:
325         * tests/pr229.test: New file.
326         * tests/Makefile.am (TESTS): Add it.
327         * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
328         AC_EMXOS2, and AC_MINGW32.
329
330 2002-01-18  Tom Tromey  <tromey@redhat.com>
331
332         * tests/cond7.test: Fix test bug exposed by copyright update.
333
334         For PR automake/288:
335         * automake.in (lang_c_rewrite): Don't prepend directory to base if
336         directory is `.'.  Also, properly compute de_ansi_files entry in
337         subdir-objects case
338         * tests/Makefile.am (TESTS): Added ansi7.test.
339         * tests/ansi7.test: New file.
340
341         * aclocal.in (parse_arguments): Added 2002.
342         (write_aclocal): Likewise.
343         (parse_arguments): Updated my email address.
344         * automake.in (gen_copyright): Added 2002.
345         (version): Likewise.  Also, changed my email address.
346
347         * configure.in (APIVERSION): Refined definition.
348
349 2002-01-18  Tom Tromey  <tromey@redhat.com>
350
351         * missing: Updated.
352         * lib/missing: Accept versioned aclocal.
353         * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
354
355 2002-01-17  Pavel Roskin  <proski@gnu.org>
356
357         * m4/Makefile.am (m4datadir): Use APIVERSION.
358
359 2002-01-16  Tom Tromey  <tromey@redhat.com>
360
361         * Makefile.am (install-exec-hook): Use APIVERSION.
362         * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
363         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
364         APIVERSION.
365         * automake.in (perllibdir): Use APIVERSION.
366         (libdir): Likewise.
367         * aclocal.in (perllibdir): Use APIVERSION.
368         (APIVERSION): New global.
369         (parse_arguments): Use APIVERSION.
370         * configure.in (APIVERSION): New subst.
371         (pkgvdatadir): Use APIVERSION.
372
373 2002-01-15  Tom Tromey  <tromey@redhat.com>
374
375         * missing: Updated.
376         * lib/missing: Match against `automake*' to pick up versioned
377         automake.
378         * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
379         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
380         variable.
381         * lib/am/Makefile.am (amdir): Use pkgvdatadir.
382         * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
383         pkgvdatadir.
384         (scriptdir): Use pkgvdatadir.
385         (installcheck-local): Likewise.
386         * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
387         * automake.in (perllibdir): Added VERSION.
388         (libdir): Likewise.
389         * aclocal.in (parse_arguments): Search versioned directory.  Don't
390         push unversioned directory unless it exists.
391         (perllibdir): Added VERSION.
392         (default_acdir): New global.
393         * m4/Makefile.am (m4datadir): Added $(VERSION).
394         * Makefile.am (install-exec-hook): New target.
395         * configure.in (ACLOCAL): Search build directory.
396         (pkgvdatadir): New subst.
397
398 2002-01-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
399
400         * lib/config.sub, lib/config.guess: New versions from FSF.
401
402 2002-01-13  Tom Tromey  <tromey@redhat.com>
403
404         For PR automake/288:
405         * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
406         to directory.
407         (lang_c_finish): Likewise.  Also, use directory information from
408         de_ansi_files.
409
410 2002-01-13  Kevin Ryde  <user42@zip.com.au>
411
412         For PR automake/288:
413         * tests/Makefile.am (TESTS): Added ansi6.test.
414         * tests/ansi6.test: New file.
415
416 2002-01-13  Tom Tromey  <tromey@redhat.com>
417
418         For PR automake/287:
419         * lib/am/distdir.am (distdir): Use `$$list' trick when looping
420         over subdirs.
421         * tests/Makefile.am (TESTS): Added pr287.test.
422         * tests/pr287.test: New file.
423
424 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
425
426         * lib/am/distdir.am (distdir): Handle subdirectories.
427         * tests/extra6.test: New file.
428         * tests/Makefile.am (TESTS): Add it.
429
430 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
431
432         * tests/extra2.test: Run $ACLOCAL.
433
434 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
435
436         * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
437         AM_INIT_AUTOMAKE arguments when using the old-style call.
438         Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
439         Suggested by Pavel Roskin.
440
441 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
442
443         * test/nodefine.test, test/nodefine2.test: Check that no-define
444         works, not the contrary...
445         * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
446         * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
447         not the contrary.
448
449 2002-01-12  Jim Meyering  <meyering@lucent.com>
450
451         * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
452         * tests/libobj11.test: New file.
453         * tests/Makefile.am (TESTS): Add libobj11.test.
454
455 2002-01-09  Ryan T. Sammartino  <ryants@shaw.ca>
456
457         * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
458
459 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
460
461         * automake.in (file_contents_internal): Introduce two variables,
462         $is_rule and $discard_rules to track rules spanning across multiple
463         paragraphs.  This fixes a very nasty bug reported by Dmitry Mikhin
464         where only the first paragraph of such a multi-paragraph rule was
465         discarded; but it leaves many similar latent bugs (see the FIXMEs).
466
467 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
468
469         * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
470         * tests/error.test: Use some macro names which are not defined by
471         Automake itself.
472
473 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
474
475         * automake.texi (Complete, Macros, Options): Document the new style
476         AM_INIT_AUTOMAKE.  Remove AM_AUTOMAKE_OPTIONS documentaion.
477         * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
478         AC_INIT if they are available there.  Support a new call form
479         where the only argument is an optional space-separated list of
480         Automake options.
481         * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
482         (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
483         _AM_IF_OPTION): New functions.
484         * automake.in (AC_INIT_PATTERN): New variable.
485         (global_options_line): Remove, use $seen_init_automake instead.
486         (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
487         from AC_INIT if available.  Support the new style AM_INIT_AUTOMAKE.
488         Remove the AM_AUTOMAKE_OPTIONS handling.
489         * configure.in: Modernize.
490         * tests/defs (configure.in): Modernize.  One third of the tests
491         still overwrite the default configure.in and use an old
492         AM_INIT_AUTOMAKE call,  so that makes testing for both.
493         * tests/nodefine.test, tests/nodefine2.test: New files.
494         * tests/Makefile.am (TESTS): Add them.
495
496 2002-01-08  Raja R Harinath  <harinath@cs.umn.edu>
497
498         * automake.in (define_configure_variable): Propagate line numbers.
499
500 2002-01-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
501
502         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
503
504 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
505
506         * configure.in: Run the Autoconf test in a subdirectory, then
507         erase this directory.
508
509 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
510
511         * configure.in (AUTOMAKE): Create m4/amversion.m4.
512         * m4/amversion.in: New file.
513         * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
514         (dist_m4data_DATA): ... this.
515         (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
516         * m4/init.m4 (AM_INIT_AUTOMAKE): Require
517         AM_SET_CURRENT_AUTOMAKE_VERSION.
518         * automake.in (seen_automake_version): New variable.
519         (scan_autoconf_traces, scan_one_autoconf_file,
520         scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
521         when the version used in aclocal.m4 differs from Automake's.
522         * tests/defs (ACLOCAL): Look in ../m4 too.
523         * tests/installsh.test (ACLOCAL): Likewise.
524         * tests/installdir.test (installdirs-local): Run $ACLOCAL.
525
526 2002-01-06  Raja R Harinath  <harinath@cs.umn.edu>
527
528         * automake.in (handle_languages): Emit an automake
529         internal variable 'am__depfiles_maybe'.
530         * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
531
532         * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
533         config.status.
534
535 2002-01-06  Tom Tromey  <tromey@redhat.com>
536
537         * automake.texi (Tags): Document new variables.
538         * lib/am/tags.am (ETAGS): New macro.
539         (ETAGSFLAGS): Likewise.
540         (TAGS): Use them.
541
542 2002-01-04  Tom Tromey  <tromey@redhat.com>
543
544         * configure.in (ACLOCAL): Set perllibdir.  From Nicolas Joly.
545
546 2002-01-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
547
548         * automake.in (read_am_file): Thinko in "comment following
549         trailing backslash" detection.
550         * tests/comment5.test: Test for this too.
551
552 2002-01-02  Tom Tromey  <tromey@redhat.com>
553
554         * automake.texi (Extending): Added index for uninstall-hook.
555
556 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
557
558         Fix for PR automake/278:
559         * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
560         with versions such as '2.2c1'.  Also, use `int' instead of the
561         obsoleted `string.atoi'.
562         Reported by Enrico Scholz.
563
564 2001-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
565
566         Fix for PR automake/280:
567         * automake.in (read_am_file): Warn about trailing backslashes
568         in comments.
569         * tests/comment5.test: New file.
570         * tests/Makefile.am (TESTS): Add comment5.test.
571         Reported by Enrico Scholz.
572
573 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
574
575         * tests/comment4.test: New file.
576         * tests/Makefile.am (TESTS): Add comment4.test.
577
578         Fix for comment4.test:
579         * automake.in (read_am_file): Output leading comments only when
580         encountering white lines.
581
582 2002-01-01  Tom Tromey  <tromey@redhat.com>
583
584         For PR automake/234:
585         * tests/Makefile.am (TESTS): Added strip.test.
586         * tests/strip.test: New file.
587
588         * automake.texi (Extending): Mention uninstall-hook.
589         (Install): Likewise.
590         * automake.in (handle_factored_dependencies): Allow
591         uninstall-hook.
592
593 2002-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
594
595         * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
596         it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
597         This fixes a bug introduced on 2001-01-28.
598         Reported by Jared Davis.
599
600 2001-12-31  Tom Tromey  <tromey@redhat.com>
601
602         * automake.texi (Extending): Document installcheck-local.  Added
603         installdirs-local index entry.
604         (Tests): Document installcheck-local.
605
606         * automake.in (handle_single_transform_list): Indentation fix.
607
608 2001-12-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
609
610         * automake.in (common_files): Add COPYING.DOC.
611         Suggested by Karl Berry.
612
613 2001-12-30  Tom Tromey  <tromey@redhat.com>
614
615         * automake.in (define_configure_variable): Define a user macro,
616         not an automake macro.
617         * tests/Makefile.am (TESTS): Added ar.test.
618         * tests/ar.test: New file.
619
620         For PR automake/211:
621         * automake.in (object_compilation_map): New global.
622         (initialize_per_input): Initialize it.
623         (COMPILE_LIBTOOL): New constant.
624         (COMPILE_ORDINARY): Likewise.
625         * tests/Makefile.am (TESTS): Added pr211.test.
626         * tests/pr211.test: New file.
627
628         For PR automake/215:
629         * configure.in: Use AM_AUTOMAKE_OPTIONS.
630         * Makefile.am (AUTOMAKE_OPTIONS): Removed.
631         * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
632         (Options): Mention AM_AUTOMAKE_OPTIONS.
633         * automake.in (global_options): New global.
634         (global_options_line): Likewise.
635         (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
636         (scan_one_autoconf_file): Likewise.
637         (process_option_list): New function.
638         (handle_options): Use it.  Also, handle global options.
639         * m4/Makefile.am (m4data_DATA): Added options.m4.
640         * m4/options.m4: New file.
641
642         * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
643         installdirs-local.
644         (?!SUBDIRS?installdirs): Likewise.
645         * automake.in (handle_installdirs): Handle installdirs-local.
646         * automake.texi (Extending): Mention installdirs.
647         * tests/Makefile.am (TESTS): Added installdir.test.
648         * tests/installdir.test: New file.
649
650 2001-12-30  Akim Demaille  <akim@epita.fr>
651
652         * lib/am/yacc.am: Also rename the possible y.output file.
653         Remove the trailing y.tab.h.
654
655 2001-12-30  Paolo Bonzini  <bonzini@gnu.org>
656
657         * automake.texi (Install): Remove mention of nonexistent
658         uninstall-hook.
659
660 2001-12-30  Alan Modra  <amodra@bigpond.net.au>
661
662         * automake.in (generate_makefile): Unlink output file before
663         opening so that any hard links are not changed.
664
665 2001-12-30  Tom Tromey  <tromey@redhat.com>
666
667         * tests/pr220.test: Use `required' to pick up gcc.
668
669         For PR automake/243:
670         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
671         after `:'.
672         * tests/Makefile.am (TESTS): Added pr243.test.
673         * tests/pr243.test: New file.
674
675         For PR automake/220:
676         * tests/Makefile.am (TESTS): Added pr220.test.
677         * tests/pr220.test: New file.
678         * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
679         fail if conditional was never run.
680
681         For PR automake/260:
682         * lib/depcomp (tru64): Correctly handle libtool case.
683         From doreille@smr.ch.
684
685 2001-12-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
686
687         * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
688         Reported by Yann Droneaud.
689
690 2001-12-29  Tom Tromey  <tromey@redhat.com>
691
692         For PR automake/266:
693         * tests/Makefile.am (TESTS): Added pr266.test.
694         * tests/pr266.test: New file.
695         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
696         non-standard name for makefile.
697
698         For PR automake/279:
699         * automake.in (conditional_ambiguous_p): New sub.
700         (handle_lib_objects_cond): Use it.
701         (check_ambiguous_conditional): Use it.
702         * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
703         * tests/pr279.test: New file.
704         * tests/pr279-2.test: New file.
705
706 2001-12-26  Tom Tromey  <tromey@redhat.com>
707
708         For PR automake/249:
709         * tests/Makefile.am (TESTS): Added nodist2.test.
710         * tests/nodist2.test: New file
711
712 2001-12-26  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
713
714         * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
715
716 2001-12-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
717
718         * configure.in: Test for Autoconf >= 2.52.
719         * tests/defs (needs_autoconf, has_autoconf): Delete definition.
720         * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
721         tests/cond4.test, tests/cond9.test, tests/cond16.test,
722         tests/cond18.test, tests/cond19.test, tests/cond20.test,
723         tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
724         tests/depend2.test, tests/dirname.test, tests/distname.test,
725         tests/extra5.test, tests/install2.test, tests/lex3.test,
726         tests/make.test, tests/nobase.test, tests/pr9.test,
727         tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
728         tests/subdirbuiltsources.test, tests/subobj3.test,
729         tests/subobj5.test, tests/subobj6.test, tests/substref.test,
730         tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
731         tests/yaccvpath.test: Do not use $needs_autoconf.
732
733 2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
734
735         * configure.in: Bump version to 1.5c.
736
737 2001-12-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
738
739         * configure.in: Bump version to 1.5b.
740
741         * lib/config.sub, lib/config.guess: New versions from FSF.
742
743         * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
744
745 2001-12-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
746
747         * automake.in (check_gnu_standards, check_gnits_standards): Pass
748         "$am_file.am" as WHERE argument to require_file.
749
750 2001-12-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
751
752         * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
753         in loop until we find one the satisfies the user supplied version.
754         Add python2 to the list of known interpreters.  Don't use
755         changequote.  Cache the calculation of PYTHON_VERSION and
756         PYTHON_PLATFORM.
757         (AM_PYTHON_CHECK_VERSION): New function, extracted from
758         AM_PATH_PYTHON and modernized.
759         * m4/runlog.m4: New file.
760         * m4/Makefile.am (m4data_DATA): Add it.
761
762 2001-12-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
763
764         * tests/confsub.test, tests/depdist.test, tests/extra5.test,
765         tests/nobase.test, tests/stamph2.test,
766         tests/subdirbuiltsources.test: Require Autoconf.
767
768 2001-12-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
769
770         * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
771         * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
772         Suggested by Merijn de Jonge.
773
774 2001-12-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
775
776         * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
777         like other ID dependencies.
778         Suggested by Christian Cornelssen.
779
780 2001-12-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
781
782         * automake.in (handle_dist): Distribute common files which
783         do not exist but are target of a Makefile rule.
784         * automake.texi (Dist): Update.
785         * test/builtcommon3.test: New file.
786         * test/Makefile.am (TESTS): Add distcommon3.test.
787
788 2001-12-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
789
790         * automake.in (macro_define): Fix misuse of chomp introduced on
791         2001-11-28.
792
793 2001-11-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
794
795         * automake.in (append_comments): New.  Extracted from
796         read_am_file.  Match '\n' with a regexp, don't use substr (the
797         perlport man page says '\n' is not always one byte wide).
798         (read_am_file):  Use it.  Always chomp $_.
799         (file_contents_internal):  Use append_comments.
800         (macro_define): Don't treat the trailing '\n' with substr, use
801         a regexp or chomp.
802
803 2001-11-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
804
805         * tests/defs: Turn on shell traces when VERBOSE=x.
806
807 2001-11-26  Tom Tromey  <tromey@redhat.com>
808
809         * automake.texi (Assembly Support): Mention .s and .S as only
810         suffixes.
811
812 2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
813
814         * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
815         before.
816
817 2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
818
819         * tests/lex3.test: Require GNU Make.
820
821 2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
822
823         * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
824         directory.
825
826 2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
827
828         * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
829         in $(srcdir), like other TAGS dependencies.
830         Suggested by Christian Cornelssen.
831
832 2001-11-26  Akim Demaille  <akim@epita.fr>
833
834         * automake.in (&macro_define): Use $where when reporting an error,
835         not the place where the macro was first defined since (i) if this
836         is the first definition, then obviously it was not defined before,
837         and (ii) anyway, the error is with the new definition, not the
838         first.
839
840 2001-11-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
841
842         * lib/am/distdir.am (distcheck): Call distcleancheck.
843         (distcleancheck_listfiles, distcleancheck): New, extracted from
844         distcheck.
845         * automake.texi (Checking the distribution): Document
846         distcleancheck_listfiles and distcleancheck.
847
848 2001-11-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
849
850         * automake.in (scan_one_autoconf_file): Parenthesize qw// in
851         foreach invocation, otherwise Perl5.005_03 complains about a
852         syntax error.  Reported by Yann Droneaud.
853
854 2001-11-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
855
856         * automake.in (scan_texinfo_file): Suppress FIXME about strange
857         map behavior.
858
859 2001-11-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
860
861         * tests/defs (aclocaldir): Check for existence of libtool.m4 and
862         gettext.m4 if required.
863
864 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
865
866         * automake.in (define_objects_from_sources,
867         handle_lib_objects_cond, value_to_list): Use quotemeta instead of
868         the equivalant substitution.
869
870 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
871
872         * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
873         set of accepted characters in extensions.
874         (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
875         internall use.
876         * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
877
878 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
879
880         * automake.texi (Suffixes): Don't require SUFFIXES, but document
881         its use for the "extreme" cases.
882
883 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
884
885         * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
886         to match suffix rules for known extensions, or call
887         accept_extensions on suffixe rules for unknown extensions.
888         (var_SUFFIXES_trigger): New function.
889         (macro_define): Call var_VAR_trigger when $VAR is updated.
890         * tests/suffix6.test, tests/suffix7.test: New files.
891         * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
892
893 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
894
895         * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
896         New variables.
897         (handle_single_transform_list, lang_yacc_target_hook): Use
898         KNOWN_EXTENSIONS_PATTERN.
899         (accept_extension): New function.
900         (register_language): Call it.
901
902 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
903
904         At every place where an "$extension" is used, include the leading
905         dot in the extension, don't hardcode it when building the filename.
906         That will make any support for a dot-less extension easier to add.
907
908         * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
909         backref groups.
910         ("main"): Prepend a '.' to the supported extensions of all
911         languages (e.g. 'c' becomes '.c').
912         (handle_languages, handle_single_transform_list,
913         handle_lib_objects_cond, handle_headers, derive_suffix,
914         rule_define): Do not add a dot
915         before extensions, and include dots in matching groups.
916         * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
917         (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
918         * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
919         (%EXT%%DERIVED-EXT%): ... this.
920         * lib/am/yacc.am: Likewise.
921
922 2001-11-12  Akim Demaille  <akim@epita.fr>
923
924         * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
925         Use `"#"' and `"\""', which
926         Autoconf mode prefers over `'#'' and `'"''.
927         * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
928         Rely on AC_MSG 2.50's quotation.
929
930 2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
931
932         * automake.in (scan_texinfo_file): Typo from 2001-11-05.
933
934 2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
935
936         * lib/am/distdir.am (distdir): Also look for directory in build
937         directory first. (See 2001-05-14.)
938         * tests/Makefile.am (TESTS): Add extra5.test.
939         * tests/extra5.test: New file.
940         From Dean Povey.
941
942 2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
943
944         Fix for distcommon2.test:
945         * automake.in (automake_needs_to_reprocess_all_files): New
946         variable.
947         ("main"): Process all Makefiles a second time if
948         $automake_needs_to_reprocess_all_files is set.
949         (maybe_push_required_file): Return 1 or 0 whether the file is
950         pushed or not.
951         (require_file_internal): Set $automake_needs_to_reprocess_all_files
952         if an added file can't be pushed.
953
954         * test/distcommon2.test: New file.
955         * test/Makefile.am (TESTS): Add distcommon2.test.
956         From Pavel Roskin.
957
958 2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
959
960         * automake.in (exec_dir_p): Remove.  Replace by...
961         (EXEC_DIR_PATTERN):... this.
962         (am_install_var): Adjust to use EXEC_DIR_PATTERN.
963
964 2001-11-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
965
966         Fix for nobase.test:
967         * lib/am/header-vars.am (install_sh_DATA): New.
968         * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
969         %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
970         of $(INSTALL_DATA) for nobase_ targets.
971         * lib/am/lisp.am (install-%DIR%LISP): Likewise.
972         * lib/am/python.am (install-%DIR%PYTHON): Likewise.
973         * tests/nobase.test (configure.in): Append AC_OUTPUT.
974         * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
975
976 2001-11-08  Akim Demaille  <akim@epita.fr>
977
978         * automake.texi: Remove references to stamp-h.in, which no longer
979         exists.
980         * tests/stamph2.test: Formatting change.
981
982 2001-11-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
983
984         * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
985         Don't use -Wno-error.
986
987 2001-11-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
988
989         * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
990         * tests/suffix5.test ($AUTOMAKE): Likewise.
991
992 2001-11-07  Akim Demaille  <akim@epita.fr>
993
994         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
995         AC_MSG_ERROR.
996         Reported by Jim Meyering.
997
998 2001-11-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
999
1000         * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
1001
1002 2001-11-05  Paul Eggert  <eggert@twinsun.com>
1003
1004         * lib/am/distdir.am (am__remove_distdir):
1005         New macro.  Do not change permission of non-directories.
1006         Change only user permission, as there's no point to changing group
1007         or other permission.
1008         (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
1009          distcheck): Use it.
1010
1011 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1012
1013         * lib/am/python.am: Cleanup the cleaning section.
1014         * automake.texi (Python): Remove documentation for PYCFILES
1015         and PYOFILES.  Update the first paragraphes.
1016
1017 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1018
1019         * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
1020         AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
1021         Adjust usage everywhere.
1022
1023 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1024
1025         * automake.in (libtool_files, libtool_sometimes, common_files,
1026         common_sometimes, config_aux_path): Use qw to simplify definition.
1027         (scan_texinfo_file) <clean_suffixes, predefined_index,
1028         hidden_index>: Likewise.
1029         (scan_autoconf_traces) <traced>: Likewise.
1030         (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
1031         Likewise.
1032
1033 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1034
1035         * automake.in (handle_single_transform_list): Pass $nonansi_obj to
1036         derive_suffix.  Don't use an hardcoded 'o' for object extensions.
1037         (derive_suffix): Accept $OBJ as a second argument, don't
1038         hardcode 'o'.
1039         * tests/suffix5.test: New test.
1040         * tests/Makefile.am (TESTS): Add suffix5.test.
1041         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
1042
1043 2001-11-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1044
1045         * automake.in (handle_single_transform_list): Don't call
1046         $lang->target_hook for undefinied langages.
1047         * tests/suffix4.test: New test.
1048         * tests/Makefile.am (TESTS): Add suffix4.test.
1049         Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
1050
1051 2001-11-05  Akim Demaille  <akim@epita.fr>
1052
1053         * automake.in (@common_sometimes, &handle_configure): No longer
1054         use stamp-hin.
1055         * lib/am/remake-hdr.am: Adjust.
1056         * tests/confh.test: There is no stamp.hin.
1057
1058 2001-11-01  Akim Demaille  <akim@epita.fr>
1059
1060         * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
1061         `#line' and multiple inclusion guards.
1062         * lib/ylwrap: Remove debugging code.
1063         (input_dir, input_rx): Move where used.
1064         Use the output file name in `#line'.
1065
1066 2001-10-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
1067
1068         * automake.in (transform): Update documentation.
1069
1070 2001-10-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
1071
1072         * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
1073         Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
1074
1075 2001-10-30  Akim Demaille  <akim@epita.fr>
1076
1077         * automake.in (&create): Reinstall.
1078
1079 2001-10-30  Akim Demaille  <akim@epita.fr>
1080
1081         * automake.in (&append_exeext): Use macro_delete.
1082
1083 2001-10-30  Akim Demaille  <akim@epita.fr>
1084
1085         * automake.in ($verbose): Remove, inherited from
1086         Automake::General.
1087         (&variable_delete): Rename as...
1088         (&macro_delete): this, for consistency.
1089         (&variable_assert): New.
1090         (&variable_value_as_list, &variable_value_as_list_recursive_worker):
1091         Use it.
1092
1093 2001-10-29  Akim Demaille  <akim@epita.fr>
1094
1095         * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
1096         cluttering configure's stdout.
1097
1098 2001-10-28  Akim Demaille  <akim@epita.fr>
1099
1100         * automake.in: Various formatting changes.
1101         (create): Remove, unused.
1102
1103 2001-10-28  Akim Demaille  <akim@epita.fr>
1104
1105         * automake.in (&append_exeext): New.
1106         (&am_primary_prefixes): Use it.
1107
1108 2001-10-28  Akim Demaille  <akim@epita.fr>
1109
1110         * automake.in (am_primary_prefixes): Now, in accordance with its
1111         comment, return the list of prefixes actually used, not all the
1112         possible prefixes for a primary.
1113         (&handle_libraries, &handle_ltlibraries, &handle_java)
1114         (&am_install_var): Adjust.
1115         * Makefile.am (maintainer-check): Allow `local $_;'.
1116
1117 2001-10-28  Akim Demaille  <akim@epita.fr>
1118
1119         * automake.in: Various formatting changes.
1120         (&variable_defined): Second argument is optional.
1121
1122 2001-10-28  Akim Demaille  <akim@epita.fr>
1123
1124         * automake.in (&am_primary_prefixes): Now returns a list, not a
1125         hash.
1126         (&handle_libraries, &handle_ltlibraries, &handle_java)
1127         (&am_install_var): Adjust.
1128
1129 2001-10-28  Akim Demaille  <akim@epita.fr>
1130
1131         * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
1132         as...
1133         (@libtool_files, @libtool_sometimes): these.
1134         ($libtool_location): Remove, completely replaced by $seen_libtool.
1135         (&require_file_internal): Do not run libtoolize, that's
1136         autoreconf's job.
1137
1138 2001-10-28  Akim Demaille  <akim@epita.fr>
1139
1140         * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1141         * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
1142         * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1143         * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1144         * tests/conf2.test, tests/config.test, tests/depcomp.test,
1145         * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
1146         * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
1147         * tests/libobj8.test, tests/output.test, tests/output2.test,
1148         * tests/output3.test, tests/output4.test, tests/output5.test,
1149         * tests/pr2.test, tests/remake.test, tests/remake2.test,
1150         * tests/remake3.test, tests/scripts.test, tests/stamph.test,
1151         * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
1152         * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
1153         assignments.
1154
1155 2001-10-28  Akim Demaille  <akim@epita.fr>
1156
1157         * automake.in (&scan_autoconf_traces): Use eq for equality.
1158         Anchor regexps.
1159         Remove dead comment.
1160         (&initialize_per_input): Don't initialize several times the same
1161         vars.
1162
1163 2001-10-28  Akim Demaille  <akim@epita.fr>
1164
1165         * automake.in (scan_one_autoconf_file): When using %generalize, be
1166         sure to replace only words.  AC_FUNC_OBSTACK was matching
1167         M4_AC_FUNC_OBSTACK.
1168
1169 2001-10-26  Akim Demaille  <akim@epita.fr>
1170
1171         * tests/stamph2.test: Strengthen.
1172         * tests/confh2.test, tests/confh3.test: Remove.
1173         These are bad tests: they don't check the effects, but some
1174         internal details in Makefile.
1175         And they are covered by stamph2.test.
1176
1177 2001-10-26  Akim Demaille  <akim@epita.fr>
1178
1179         Now that stamp-h's are created by config.status, we don't need to
1180         handle them in Makefile's.
1181
1182         * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
1183         * m4/header.m4 (_AM_STAMP): New.
1184         (_AM_CONFIG_HEADER): Use it.
1185
1186 2001-10-26  Akim Demaille  <akim@epita.fr>
1187
1188         * automake.in (&generate_makefile, &handle_texinfo_helper)
1189         (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
1190         (&define_pretty_variable, &read_am_file, &file_contents_internal)
1191         (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
1192         `join (' ', @list)' into `"@list"'.
1193
1194 2001-10-26  Akim Demaille  <akim@epita.fr>
1195
1196         * automake.in (@config_fullnames, @config_names): Remove.
1197         (@config_headers): Now contains the actual spec used in
1198         AC_CONFIG_HEADERS.
1199         (&split_config_file_spec): New.
1200         (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
1201         (&scan_one_autoconf_file): Adjust.
1202         (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
1203         AM_CONFIG_HEADER.
1204
1205 2001-10-26  Akim Demaille  <akim@epita.fr>
1206
1207         * m4/header.m4 (_AM_CONFIG_HEADER): New.
1208         (AM_CONFIG_HEADER): Use it.
1209
1210 2001-10-26  Akim Demaille  <akim@epita.fr>
1211
1212         * automake.in (&handle_configure): Use the config.status 2.50
1213         invocation syntax for config files and headers.
1214         autoheader needs the name of the file to create, not from what it
1215         must be created, hence CONFIG_HEADER_FULL is $one_name, not
1216         $one_fullname.
1217         * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
1218         * tests/confsub.test (SUBDIRS): Adjust to the new config.status
1219         invocation.
1220         Strengthen: Use the non-default config.hin source.
1221         Strengthen: Make sure config.h is properly updated when config.hin
1222         is changed.
1223
1224 2001-10-26  Akim Demaille  <akim@epita.fr>
1225
1226         * automake.in (&handle_configure): Seeing Automake files in
1227         @other_input_files is a programming error, not merely something to
1228         ignore.
1229         Factor slightly the code.
1230
1231 2001-10-26  Akim Demaille  <akim@epita.fr>
1232
1233         * automake.in ($canonical_location): New.
1234         Use it.
1235         (&require_config_file, $line_error): Remove.
1236
1237 2001-10-24  Akim Demaille  <akim@epita.fr>
1238
1239         * automake.in: Use &verbose.
1240         (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
1241         Automake::XFile.
1242
1243 2001-10-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1244
1245         * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1246         Have the basename step optional and use %NDIR% instead of %DIR% in
1247         filenames in order to support 'nobase_'.
1248
1249 2001-10-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
1250
1251         * automake.in (handle_languages, handle_single_transform_list,
1252         lang_c_rewrite): Use require_conf_file instead of
1253         require_config_file to require depcomp or compile from
1254         Makefile.am.  (This is a part of my patch of 2001-10-15 which got
1255         mistakenly reverted.)
1256
1257 2001-10-24  Akim Demaille  <akim@epita.fr>
1258
1259         * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
1260         stamp-h1.
1261
1262 2001-10-24  Akim Demaille  <akim@epita.fr>
1263
1264         Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
1265         appear in Makefile.in in the clean rule.
1266
1267         * tests/cxxansi.test: Adjust.
1268
1269 2001-10-24  Akim Demaille  <akim@epita.fr>
1270
1271         * automake.in (&am_print_error, &am_file_error, &am_macro_error)
1272         (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
1273         Rename as...
1274         (&print_error, &file_error, &macro_error, &target_error, &line_error)
1275         (&conf_error, &file_warning): these.
1276         (&file_warning): Fix the prototype and argument handling.
1277         (&am_line_warning): Remove, unused.
1278
1279         Also, repair the misapplication of previous patches.
1280
1281 2001-10-21  Akim Demaille  <akim@epita.fr>
1282
1283         * automake.in ($ac_output_location): Replace with...
1284         ($ac_config_files_location): this.
1285         (&scan_autoconf_traces): We don't need $file and $line, $here is
1286         enough.
1287         (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
1288         name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
1289
1290 2001-10-21  Akim Demaille  <akim@epita.fr>
1291
1292         * automake.in (&require_file_with_macro): Use &require_file.
1293         (&read_am_file): Move the definition of $here at its proper place.
1294
1295 2001-10-21  Akim Demaille  <akim@epita.fr>
1296
1297         * automake.in ($libtool_line, $seen_pythondir): Replace with...
1298         ($libtool_location, $pythondir_location): these.
1299         (&require_conf_file_with_line, &require_conf_file_with_line):
1300         Remove, unused.
1301         (&require_file): Don't forget $where.
1302         (&require_conf_file): Ahem...  Fix the name.
1303         (&require_config_file): Invoke &require_conf_file, not yourself.
1304         (&am_line_error): Fix the default am_file_error invocation.
1305
1306 2001-10-21  Akim Demaille  <akim@epita.fr>
1307
1308         * automake.in ($seen_lispdir): Replace with...
1309         ($am_lispdir_location): this.
1310         (&require_conf_file): New.
1311         (&require_config_file, &require_conf_file_with_line,
1312         (&require_conf_file_with_conf_line): Use it.
1313         (&require_conf_file_with_macro): New.
1314
1315 2001-10-21  Akim Demaille  <akim@epita.fr>
1316
1317         * automake.in ($config_header_line, $ac_output_line)
1318         ($ac_gettext_line, $package_version_line): Replace with...
1319         ($config_header_location, $ac_output_location)
1320         ($ac_gettext_location, $package_version_location): these.
1321         (&require_file_with_conf_line, &require_file_with_line): Remove,
1322         no longer used.
1323
1324 2001-10-21  Akim Demaille  <akim@epita.fr>
1325
1326         * automake.in (&require_file_internal): Instead of $file and $line,
1327         take $where as first argument.
1328         Adjust all callers.
1329         (&require_file_with_macro): New.
1330         Use it where internal black magic was used to recover the location
1331         of a macro definition.
1332
1333 2001-10-21  Akim Demaille  <akim@epita.fr>
1334
1335         * automake.in (&read_am_file): Define and use `$here'.
1336         Avoid using am_line_error.
1337
1338 2001-10-21  Akim Demaille  <akim@epita.fr>
1339
1340         * automake.in (&am_target_error): New.
1341         Use it where appropriate instead of...
1342         (&am_line_error): this.
1343         Using it for a target is a croak error.
1344
1345 2001-10-21  Akim Demaille  <akim@epita.fr>
1346
1347         * automake.in (&am_macro_error): New.
1348         Use it where appropriate instead of...
1349         (&am_line_error): this.
1350         Using it for a macro is a croak error.
1351
1352 2001-10-21  Akim Demaille  <akim@epita.fr>
1353
1354         * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
1355         AC_OUTPUT a Makefile.
1356
1357 2001-10-21  Akim Demaille  <akim@epita.fr>
1358
1359         * automake.in (%var_line): Rename as...
1360         (%var_location): this.
1361         Use it consistently as the location where the macro is defined,
1362         file and line when possible, otherwise just file.
1363         (&read_am_file): Rules have their own location tracking, don't
1364         pollute %var_location.
1365
1366 2001-10-21  Akim Demaille  <akim@epita.fr>
1367
1368         * automake.in (am_line_error): Clarify.
1369
1370 2001-10-21  Akim Demaille  <akim@epita.fr>
1371
1372         * automake.in (&am_print_error): Set $exit_status since all your
1373         users do.
1374         (&am_error, &am_file_error, &am_line_error, &am_conf_error):
1375         Don't.
1376         (&am_conf_line_error, &am_conf_line_warning): Remove.
1377         Adjust callers to use &am_file_error and...
1378         (&am_file_warning): new.
1379
1380 2001-10-21  Akim Demaille  <akim@epita.fr>
1381
1382         * m4/regex.m4: Use AC_LIBOBJ.
1383         Require 2.50, and use AC_LIBSOURCES freely.
1384         * tests/asm.tests: Formatting changes.
1385         Exercise AM_PROG_AS.
1386
1387 2001-10-21  Akim Demaille  <akim@epita.fr>
1388
1389         * tests/install.test: This test is an empty shell, do not run
1390         automake.
1391         * tests/Makefile.am (TESTS): Don't run it.
1392         * tests/defs (ACLOCAL): When using gettext, pass in the installed
1393         aclocaldir.
1394         * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
1395         --add--missing.
1396         * tests/obsolete2.test: Remove, merged into...
1397         * tests/obsolete.test: here.
1398         Both aclocal and automake should complain.
1399
1400 2001-10-21  Akim Demaille  <akim@epita.fr>
1401
1402         * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
1403         for symbols which cannot be Make macro names.
1404         (scan_one_autoconf_file): `$here' is new.
1405         Use it consistently instead of `1' to remember a token was seen.
1406
1407 2001-10-21  Akim Demaille  <akim@epita.fr>
1408
1409         * tests/subdircond.test: Requires gettext.
1410         * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1411         * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
1412         * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
1413         * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
1414         * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
1415         Produce valid configure.in, use aclocal appropriately, declare
1416         when libtool is required.
1417
1418 2001-10-21  Akim Demaille  <akim@epita.fr>
1419
1420         * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
1421         * automake.texi (Macros, Yacc and Lex): Adjust.
1422         * automake.in ($seen_decl_yytext): Rename as...
1423         ($seen_prog_lex): this.
1424         (&scan_autoconf_traces): Add AC_PROG_LEX support.
1425         (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
1426
1427 2001-10-21  Akim Demaille  <akim@epita.fr>
1428
1429         * automake.in (&scan_autoconf_traces): Add support for
1430         AM_PATH_LISPDIR and AM_PATH_PYTHON.
1431
1432 2001-10-21  Akim Demaille  <akim@epita.fr>
1433
1434         * tests/defs (ACLOCAL): Point to the installed aclocaldir is
1435         libtool is required.
1436         * tests/lex.test: Run AC_INIT once.
1437         * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
1438         Libtool is required.
1439         * tests/header.test: Built a correct configure.in.
1440         * tests/defun2.test (configure.in): Be a bit respectful with
1441         Autoconf, close the macro invocations.
1442         * tests/confdeps.test: Even when not using aclocal, aclocal.m4
1443         must be correct.
1444
1445         * automake.in (scan_autoconf_traces): Add support for
1446         AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
1447         AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
1448         * tests/condincl.test (target): Better pattern, to avoid matching
1449         the definition of `target_alias' which is now properly discovered
1450         as an AC_SUBST by traces.
1451         * cond4.test: Better grep pattern: After all, why shouldn't
1452         TWO_FALSE be AC_SUBST properly.
1453         * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
1454
1455 2001-10-20  Kevin Ryde <user42@zip.com.au>
1456
1457         * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
1458         actually using ansi2knr.
1459
1460         * automake.in (handle_configure): Always put a number on $stamp_name,
1461         to match AM_CONFIG_HEADER.
1462
1463 2001-10-20  Tom Tromey  <tromey@redhat.com>
1464
1465         * tests/Makefile.am (TESTS): Added condd.test.
1466         (XFAIL_TESTS): Added condd.test.
1467         * tests/condd.test: New file.
1468
1469 2001-10-20  Akim Demaille  <akim@epita.fr>
1470
1471         * automake.in (&scan_autoconf_traces): Add support for
1472         AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
1473         AC_CONFIG_AUX_DIR.
1474         * tests/alpha.test (configure.in): Automake wants a Makefile.
1475
1476 2001-10-20  Akim Demaille  <akim@epita.fr>
1477
1478         * automake.in (scan_autoconf_traces): Use an unlikely to be used
1479         separator between trace arguments, in particular not `:' as it is
1480         within AC_CONFIG_FILES's $1.
1481
1482 2001-10-20  Akim Demaille  <akim@epita.fr>
1483
1484         * tests/alpha.test (configure.in): Create, don't append.  A single
1485         AC_INIT is enough.
1486
1487 2001-10-20  Akim Demaille  <akim@epita.fr>
1488
1489         * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1490         * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
1491         * tests/alpha.test, tests/ansi.test, tests/asm.test,
1492         * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
1493         * tests/badline.test, tests/block.test, tests/canon2.test,
1494         * tests/check.test, tests/checkall.test, tests/clean.test,
1495         * tests/colneq.test, tests/colneq2.test, tests/colon.test,
1496         * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1497         * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1498         * tests/comment.test, tests/comment3.test, tests/cond.test,
1499         * tests/cond2.test, tests/cond6.test, tests/cond7.test,
1500         * tests/condincl.test, tests/condincl2.test, tests/condman.test,
1501         * tests/condman2.test, tests/confdist.test, tests/confh.test,
1502         * tests/confh2.test, tests/confh3.test, tests/confvar.test,
1503         * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1504         * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
1505         * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
1506         * tests/else.test, tests/empty.test, tests/exdir.test,
1507         * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
1508         * tests/flibs.test, tests/fnoc.test, tests/fo.test,
1509         * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1510         * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
1511         * tests/include.test, tests/info.test, tests/insh.test,
1512         * tests/insh2.test, tests/install.test, tests/installsh.test,
1513         * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
1514         * tests/insthook.test, tests/instman.test, tests/instman2.test,
1515         * tests/java.test, tests/javaprim.test, tests/javasubst.test,
1516         * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
1517         * tests/man.test, tests/mclean.test, tests/mdate.test,
1518         * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1519         * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
1520         * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
1521         * tests/outdir.test, tests/output.test, tests/output2.test,
1522         * tests/output3.test, tests/output4.test, tests/output5.test,
1523         * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
1524         * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
1525         * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
1526         * tests/primary.test, tests/proginst.test, tests/python.test,
1527         * tests/remake.test, tests/remake2.test, tests/remake3.test,
1528         * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1529         * tests/sinclude.test, tests/spell.test, tests/spell3.test,
1530         * tests/spelling.test, tests/stamph.test, tests/subdir.test,
1531         * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
1532         * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1533         * tests/syntax.test, tests/tags.test, tests/tagsub.test,
1534         * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
1535         * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
1536         * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
1537         * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
1538         * tests/version.test, tests/version2.test, tests/version3.test,
1539         * tests/version4.test, tests/vpath.test, tests/vtexi.test,
1540         * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
1541
1542 2001-10-20  Akim Demaille  <akim@epita.fr>
1543
1544         * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
1545         * tests/acouttbs.test, tests/asm.test, tests/colon.test,
1546         * tests/colon2.test, tests/colon3.test, tests/colon4.test,
1547         * tests/colon5.test, tests/colon6.test, tests/colon7.test,
1548         * tests/conf2.test, tests/confh.test, tests/confh2.test,
1549         * tests/confh3.test, tests/confh4.test, tests/config.test,
1550         * tests/confsub.test, tests/depend3.test, tests/discover.test,
1551         * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
1552         * tests/header.test, tests/ldadd.test, tests/ldflags.test,
1553         * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1554         * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1555         * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
1556         * tests/output.test, tests/output2.test, tests/output3.test,
1557         * tests/output4.test, tests/output5.test, tests/package.test,
1558         * tests/parse.test, tests/pr2.test, tests/remake.test,
1559         * tests/remake2.test, tests/remake3.test, tests/scripts.test,
1560         * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
1561         * tests/subdir4.test, tests/subdirbuiltsources.test,
1562         * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
1563         * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
1564         AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
1565         since AM_INIT_AUTOMAKE requires them.
1566
1567 2001-10-20  Akim Demaille  <akim@epita.fr>
1568
1569         * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
1570         arguments.
1571         Don't run AC_ARG_PROGRAM another time, it is required by
1572         AM_INIT_AUTOMAKE.
1573         * tests/aclocal.test: Work on the default configure.in
1574         * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
1575         First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
1576
1577         Be realistic in testing: AC_INIT is required for Autoconf.
1578         Broken so called optimized tests break trace handling.
1579
1580         * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
1581         * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
1582         * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
1583         * tests/colon.test, tests/colon2.test, tests/colon3.test,
1584         * tests/colon4.test, tests/colon5.test, tests/colon6.test,
1585         * tests/colon7.test, tests/cond.test, tests/cond2.test,
1586         * tests/cond3.test, tests/cond5.test, tests/conf2.test,
1587         * tests/confh.test, tests/confh2.test, tests/confh3.test,
1588         * tests/confh4.test, tests/config.test, tests/confsub.test,
1589         * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
1590         * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
1591         * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
1592         * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
1593         * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
1594         * tests/libobj9.test, tests/output.test, tests/output2.test,
1595         * tests/output3.test, tests/output4.test, tests/parse.test,
1596         * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
1597         * tests/remake.test, tests/remake2.test, tests/remake3.test,
1598         * tests/req.test, tests/scripts.test, tests/subdir.test,
1599         * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1600         * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1601         * tests/version2.test: Add AC_INIT in `configure.in'.
1602
1603 2001-10-20  Akim Demaille  <akim@epita.fr>
1604
1605         * automake.in (&scan_autoconf_traces): Add support for
1606         AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1607         Let @args have a more natural M4 correspondence: $1 is args[1], no
1608         args[0] etc.
1609         (&scan_autoconf_files): Using autoconf traces is no longer a
1610         complement of the previous ad hoc scheme: use either.
1611
1612 2001-10-20  Akim Demaille  <akim@epita.fr>
1613
1614         * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1615         factors dedicated $libsources assignments.
1616
1617 2001-10-20  Akim Demaille  <akim@epita.fr>
1618
1619         * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1620         Remove, since Autoconf 2.52 has them.
1621         * automake.in, aclocal.in, automake.texi: Adjust.
1622
1623 2001-10-19  Akim Demaille  <akim@epita.fr>
1624
1625         * automake.in (&read_main_am_file): s/generated automatically/
1626         generated/.
1627         Insert @configure_input@, since 2.50 no longer output this
1628         automatically for Makefiles.
1629
1630 2001-10-19  Kevin Ryde <user42@zip.com.au>
1631
1632         * lib/am/check.am (check-TESTS): Add an "else true" to work with
1633         Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1634
1635 2001-10-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
1636
1637         * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1638         * tests/nobase.test: New file.  Based on a bug report
1639         from Martin Frydl <martin@idoox.com>.
1640
1641 2001-10-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
1642
1643         * automake.in (am_install_var): Don't strip nobase_ from $X, do
1644         this with $nodir_name only.  Use $nodir_name where appropriate.
1645
1646 2001-10-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
1647
1648         * automake.in (handle_languages, handle_single_transform_list,
1649         lang_c_rewrite): Use require_conf_file instead of
1650         require_config_file to require depcomp or compile from Makefile.am.
1651         (require_aux_file_with_line): New function, adapted from
1652         require_conf_gile_with_line.
1653         (require_conf_file_with_line, require_conf_file_with_conf_line):
1654         Simplify using require_aux_file_with_line.
1655         (require_config_file): Simplify using require_conf_file_with_conf_line.
1656         (require_conf_file): New function.
1657
1658 2001-10-15  Akim Demaille  <akim@epita.fr>
1659
1660         * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1661         normally, what is wrong is that automake outputs a variable
1662         definition for it, hence...
1663         * automake.in (scan_one_autoconf_file): don't.
1664
1665         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1666         from...
1667         (AM_OUTPUT_DEPENDENCY_COMMANDS): here.  Adjust.
1668         Use AC_CONFIG_COMMANDS.
1669         (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1670
1671 2001-10-15  Akim Demaille  <akim@epita.fr>
1672
1673         * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1674
1675 2001-10-15  Akim Demaille  <akim@epita.fr>
1676
1677         * automake.in (&variable_conditions): Be deterministic and Perl
1678         version independent: sort the result.
1679         (&variable_output, &variable_pretty_output): Sort all the @conds,
1680         not only when defaulted.
1681         * tests/cond3.test: Adjust.
1682
1683 2001-10-15  Akim Demaille  <akim@epita.fr>
1684
1685         * automake.in: Formatting changes.
1686
1687 2001-10-15  Akim Demaille  <akim@epita.fr>
1688
1689         * aclocal.in: Use Automake::General and Automake::XFile.
1690         Use find_configure_ac.
1691         Output the Emacs tags for Autoconf mode selection.
1692
1693 2001-10-10  Akim Demaille  <akim@epita.fr>
1694
1695         * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1696         from master copies.
1697
1698 2001-10-09  Akim Demaille  <akim@epita.fr>
1699
1700         Do not use Autoconf internals.
1701
1702         * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1703         * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1704         m4_regexp and m4_patsubst, since the latter are reserved for ERE
1705         macro in GNU M4 1.5.
1706
1707 2001-10-08  Akim Demaille  <akim@epita.fr>
1708
1709         * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1710         changed its name.
1711
1712 2001-10-05  Akim Demaille  <akim@epita.fr>
1713
1714         * automake.in (scan_autoconf_files): Use find_configure_ac from
1715         General.
1716
1717 2001-10-02  Akim Demaille  <akim@epita.fr>
1718
1719         * lib/Automake/Struct.pm: Update from Autoconf.
1720         * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1721         Autoconf.
1722         * automake.in: Use them.
1723         (&uniq, $me): Remove, as they are provided by Automake::General.
1724
1725 2001-10-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1726
1727         * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1728         * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1729         * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1730         * lib/am/distdir.am (distcheck): Likewise.
1731         * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1732         using cd so we don't have to fiddle with CDPATH.
1733         * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1734         DOSish path separator.
1735
1736 2001-10-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1737
1738         * lib/am/python.am (install-%DIR%PYTHON,
1739         uninstall-%DIR%PYTHON): Strip path of source file.
1740         (clean-python): Comment out.
1741
1742 2001-10-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1743
1744         * automake.in (handle_python): Use require_conf_file_with_conf_line
1745         instead of require_file_with_conf_line, so that elisp-comp and
1746         py-compile are installed in the aux-directory.
1747         (handle_emacs_lisp): Likewise.  Define elisp_comp.
1748         * lib/am/lisp.am (.el.elc): Use elisp_comp.
1749
1750 2001-10-01  Akim Demaille  <akim@epita.fr>
1751
1752         * lib/am/distdir.am (distcheck): Report the trailing files.
1753         Run `dist-gzip', not `dist', as it may leave other distribution
1754         flavors.
1755
1756 2001-09-29  Paul Eggert  <eggert@twinsun.com>
1757
1758         * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1759         bugs when making file names with unusual characters.  Quote chmod
1760         arg "$dirmode", in case it contains white space.
1761
1762         Incorporate the following change from autoconf mkinstalldirs:
1763
1764         1999-04-10  Ben Elliston  <bje@cygnus.com>
1765
1766         Add `-m' flag to specify the mode of a newly created
1767         directory.  Add command line usage and `-h', `--help' options.
1768         Contributed by Jeff Garzik.
1769
1770 2001-09-27  Akim Demaille  <akim@epita.fr>
1771
1772         * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1773
1774 2001-09-27  Akim Demaille  <akim@epita.fr>
1775
1776         * lib/am/distdir.am (dist): Rename as...
1777         (dist-gzip): this.
1778         (dist): Additional name for dist-all.
1779         * automake.texi (Options, Dist): Adjust.
1780
1781 2001-09-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1782
1783         * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1784         * automake.in (obsolete_macros): Likewise.
1785         (seen_objext): Remove (unused).
1786         (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1787         * lib/am/header-vars.am (EXEEXT, OBJEXT,
1788         PATH_SEPARATOR): New variables.
1789         * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1790
1791 2001-09-23  Tim Van Holder  <tim.van.holder@pandora.be>
1792
1793         * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1794         neutralize CDPATH for us.
1795         * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1796         * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1797         TEXINPUTS.
1798
1799 2001-09-22  Akim Demaille  <akim@epita.fr>
1800
1801         * configure.in, NEWS: Bump to 1.5a.
1802         Require 2.52.
1803
1804 2001-09-22   Paul Eggert  <eggert@twinsun.com>
1805
1806         * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1807         Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1808         lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1809         m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1810         m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1811         m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1812         m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1813         m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1814         m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1815         m4/termios.m4, m4/winsz.m4: Add copyright notice.
1816
1817         * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1818         which has a copyright notice.
1819
1820         * m4/strtod.m4: Correct the dates on the copyright notice.
1821
1822 2001-09-17  Akim Demaille  <akim@epita.fr>
1823
1824         * lib/missing (autom4te): New.
1825         (aclocal, autoconf, automake, autoheader, help2man): Propagate
1826         actual failures.
1827
1828 2001-08-27  Tom Tromey  <tromey@redhat.com>
1829
1830         * automake.texi (A Shared Library): Clarify installation
1831         requirement.
1832         (Install): Typo.  From Adrian Bunk.
1833
1834 2001-08-27  Tom Tromey  <tromey@redhat.com>
1835
1836         * automake.texi (Macros): Typo fix.
1837         From Christian Cornelssen
1838
1839 2001-08-27  Tom Tromey  <tromey@redhat.com>
1840
1841         * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1842         tests/cond4.test, tests/cond16.test, tests/cond18.test,
1843         tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1844         tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1845         tests/substref.test: Clear CFLAGS.
1846
1847         * automake.texi (Yacc and Lex): Mention lex, not yacc.
1848         From Alexey Mahotkin.
1849
1850 2001-08-27  Tom Tromey  <tromey@redhat.com>
1851
1852         * tests/yacc7.test: Use test -f, not test -e.
1853
1854 2001-08-27  Adrian Bunk  <bunk@fs.tum.de>
1855
1856         * automake.texi (etags): Typo fix.
1857
1858 2001-08-27  Guido Draheim <guidod@gmx.de>
1859
1860         * automake.in : restrict ansi2knr option to be a filepath
1861
1862 2001-08-23  Richard Boulton <richard@tartarus.org>
1863
1864         * tests/yacc7.test: Actually add this file: was accidentally omitted.
1865
1866 2001-08-22  Tom Tromey  <tromey@redhat.com>
1867
1868         * automake.texi (Conditionals): Mention that conditionals must
1869         always be invoked.  For PR automake/220.
1870
1871 2001-08-22  Richard Boulton <richard@tartarus.org>
1872             Tom Tromey  <tromey@redhat.com>
1873
1874         * automake.in (lang_yacc_target_hook): Make header file depend on
1875         .c file, not .y file.
1876         * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1877         .c file) rather than %SOURCE% (the .y file)  Removed `.y.h' rule.
1878         * tests/yacc7.test: New file.
1879         * tests/Makefile.am (TESTS): Added yacc7.test.
1880
1881 2001-08-22  Tim Van Holder  <tim.van.holder@pandora.be>
1882
1883         * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1884
1885 2001-08-18  Tom Tromey  <tromey@redhat.com>
1886
1887         * automake.texi (Dist): Mention dist-all.
1888
1889 2001-08-18  Tom Tromey  <tromey@redhat.com>
1890
1891         * tests/cond3.test: Use portable sed expression.
1892         From Richard Boulton.
1893
1894 2001-08-13  Richard Boulton <richard@tartarus.org>
1895
1896         * automake.in (handle_source_transform): Call
1897         define_objects_from_sources() instead of calling
1898         variable_value_as_list(), handle_single_transform_list() and
1899         define_pretty_variable() directly.
1900         (handle_single_transform_list): Add $topparent parameter, used for
1901         error messages.  Improved error message.
1902         (define_objects_from_sources): New function.
1903         (subobjname): New function.
1904         (variable_conditions_recursive): New name for variable conditions.
1905         (variable_value_as_list_recursive): New name for variable_value_as_list.
1906         (variable_value_as_list_worker): Renamed to ...
1907         (variable_value_as_list_recursive_worker): ... this.
1908         (variable_conditions_sub): Renamed to ...
1909         (variable_conditions_recursive_sub): ... this.
1910         (variable_conditions): Rewritten: now doesn't recurse subvariables.
1911         (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1912         (substfroms): New global.
1913         (substtos): New global.
1914         (substnums): New global.
1915         * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1916         * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1917         * tests/sourcesub2.test: New test.
1918         * tests/Makefile.am (TEST): Added sourcesub2.test.
1919
1920 2001-08-11  Tom Tromey  <tromey@redhat.com>
1921
1922         * configure.in: Upped to 1.4s.
1923
1924 2001-08-09  Richard Boulton <richard@tartarus.org>
1925
1926         * automake.in (handle_single_transform_list): Use new global,
1927         `%linkers_used', to store the linkers used, rather than an internal
1928         variable.  Enables correct linker to be calculated across a group
1929         of calls to &handle_single_transform_list.  Return only list of
1930         objects, since linker to be used is now externally determined.
1931         (handle_source_transform): adapted for new calling conventions of
1932         handle_single_transform_list.  Calls resolve_linker() on a set of
1933         all the linkers used for any prefix, rather than for each prefix in
1934         turn.
1935         (linkers_used): New global.
1936         * tests/link_dist.test: New test.
1937         * tests/Makefile.am (TESTS): Added link_dist.test.
1938
1939 2001-08-08  Raja R Harinath  <harinath@cs.umn.edu>
1940
1941         Dissociate testsuite 'make' invocations from outer 'make'.
1942         * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1943         environment variables.
1944         * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1945         dependency.
1946         * tests/substref.test: Likewise.
1947
1948 2001-08-08  Richard Boulton <richard@tartarus.org>
1949
1950         * tests/cond18.test: New file.
1951         * tests/cond19.test: New file.
1952         * tests/cond20.test: New file.
1953         * tests/cond4.test: Updated to check the generated _OBJECTS more
1954         thoroughly.
1955         * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1956         cond20.test
1957
1958 2001-08-08  Richard Boulton <richard@tartarus.org>
1959
1960         * automake.in (file_contents_internal): if a rule is conditionally
1961         defined, define the standard automake definition for it for those
1962         conditions which are not conditionally defined.
1963         (invert_conditions): New function: invert a list of conditionals.
1964
1965         * tests/cond14.test: New file.
1966         * tests/cond15.test: New file.
1967         * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1968
1969 2001-08-05  Tom Tromey  <tromey@redhat.com>
1970
1971         * tests/Makefile.am (TESTS): Added dejagnu2.test.
1972         * tests/dejagnu2.test: New file.
1973         * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1974         * automake.in (handle_scripts): Removed dead code.
1975         (handle_tests_dejagnu): Don't handle site.exp generation
1976         specially.
1977
1978 2001-08-04  Richard Boulton <richard@tartarus.org>
1979
1980         * tests/cond17.test: New file: test for being able to define an
1981         object to be generated in different ways according to a
1982         conditional.
1983         * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1984         (TESTS): Added cond17.test.
1985
1986 2001-08-02  Richard Boulton <richard@tartarus.org>
1987
1988         * automake.in (variable_conditions_sub): Handle variable
1989         substitution refs when computing conditions based on subvariable
1990         conditions.  Fixes substitution refs of system variables when sub
1991         variable is conditional.
1992         (SUBST_REF_PATTERN): New global.
1993         * tests/cond16.test: New file: regression test for variable
1994         substitution refs.
1995         * test/Makefile.am (TESTS): Added cond16.test.
1996
1997 2001-08-03  Tom Tromey  <tromey@redhat.com>
1998
1999         * tests/substref.test: Require GNU make; backed out previous
2000         change.
2001
2002         * tests/substref.test: Handle entering/leaving directory
2003         messages.
2004
2005 2001-08-03  Richard Boulton <richard@tartarus.org>
2006
2007         * automake.in (value_to_list): Check for whether $from is defined,
2008         rather than whether it is true, so that empty $froms are allowed in
2009         substitution reference patterns.
2010
2011         * tests/substref.test: New file: test behavior of substitution
2012         references when the $from side of the substitution is empty.
2013         * tests/Makefile.am (TESTS): Added substref.test.
2014
2015 2001-08-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
2016
2017         * m4/install-sh.m4: New file.
2018         * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
2019         * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
2020         * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here.  Don't check
2021         for install.sh any longer, always use install-sh, don't even
2022         fall back to missing.  Use $am_aux_dir, making $install_sh absolute.
2023         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
2024         is absolute.
2025         * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
2026
2027 2001-08-02  Tim Van Holder  <tim.van.holder@pandora.be>
2028
2029         * automake.texi (EXEEXT): Clarify.
2030
2031 2001-08-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
2032
2033         * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
2034
2035         * m4/auxdir.m4: More comments.
2036
2037 2001-07-31  Richard Boulton <richard@tartarus.org>
2038             Raja R Harinath <harinath@cs.umn.edu>
2039
2040         * automake.in (variable_conditions_sub): Remove @parent_conds
2041         argument.  This was old logic - duplicate or impossible
2042         conditionals are removed later by &variable_conditions_reduce().
2043         Fixes tests/cond13.test.
2044         (conditionals_true_when): Removed.
2045         * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
2046
2047 2001-07-31  Tom Tromey  <tromey@redhat.com>
2048
2049         * tests/Makefile.am (TESTS): Added cond13.test.
2050         (XFAIL_TESTS): Likewise.
2051         * tests/cond13.test: New file.
2052
2053         * configure.in: Upped to version 1.4k.
2054
2055         * configure.in: Released 1.4j.
2056
2057         * lib/config.guess: Updated from master sources.
2058         * lib/config.sub: Likewise.
2059
2060 2001-07-30  Tom Tromey  <tromey@redhat.com>
2061
2062         * automake.texi (A Program): Typo.  Added subsections and more
2063         text about conditional compilation.
2064         (A Shared Library): Moved earlier.
2065         (Program variables): Updated LINK text.  Added AM_CFLAGS.
2066         (C++ Support): Added AM_CXXFLAGS.
2067         (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
2068         (EXEEXT): New node.
2069
2070         * tests/Makefile.am (TESTS): Added aclibobj.test.
2071         * tests/aclibobj.test: New file.
2072         * automake.in (handle_lib_objects_cond): Avoid undefined variable
2073         error.
2074         (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
2075
2076         * automake.texi (Dist): Mention other distribution types.
2077         (Install): Updates.
2078
2079 2001-07-29  Tom Tromey  <tromey@redhat.com>
2080
2081         * automake.texi (Program and Library Variables): Texinfo fix.
2082         From Alexey Mahotkin.
2083
2084 2001-07-28  Tom Tromey  <tromey@redhat.com>
2085
2086         * automake.texi (Strictness): Mention Cygnus mode.
2087         (Cygnus): Updated.
2088         (Uniform): Likewise.
2089         (Canonicalization): Likewise.
2090         (Install): Add `nobase_' to example; typo fix.
2091         (Clean): Typo.
2092         (Dist): Expand on putting a directory into EXTRA_DIST.  Insert
2093         section markers.
2094         (Options): Texinfo fixes; some text updates.
2095         (Tags): Update.
2096
2097 2001-07-27  Tom Tromey  <tromey@redhat.com>
2098
2099         * automake.texi (Invoking Automake): Document --Werror and
2100         --Wno-error.
2101
2102 2001-07-26  Tom Tromey  <tromey@redhat.com>
2103
2104         * tests/nolink.test: Added no-exeext.
2105
2106         * automake.in (check_variable_defined_unconditionally): Don't call
2107         macro_dump.
2108
2109         * automake.texi (Optional): Don't mention ALL_LINGUAS.
2110         (gettext): Likewise.
2111         * automake.in (seen_linguas, all_linguas, all_linguas_line):
2112         Removed.
2113         (handle_gettext): Don't do any checking of the languages.
2114         (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
2115
2116         * automake.in (am_print_error): New function.
2117         (am_error): Use it.
2118         (am_file_error): Likewise.
2119         (am_line_error): Likewise.
2120         (am_conf_error): Likewise.
2121         (am_conf_line_error): Likewise.
2122
2123         * automake.texi (Options): Document no-exeext.
2124         * automake.in (handle_options): Recognize no-exeext.
2125         (rule_define): Handle no-exeext.
2126         * tests/Makefile.am (TESTS): Added new file.
2127         * tests/exeext2.test: New file.
2128
2129         * automake.in (make_input_list): Removed.
2130         (scan_autoconf_config_files): Don't add to make_input_list.
2131         (scan_one_autoconf_file): Don't use make_input_list.
2132         (scan_autoconf_files): Use make_list, not make_input_list.
2133         (scan_autoconf_files): Likewise.
2134
2135         * automake.in (seen_exeext): Removed.
2136         (generate_makefile): Don't define EXEEXT or OBJEXT.
2137         (scan_one_autoconf_file): Don't check for AC_EXEEXT.
2138         (am_install_var): Don't check $seen_exeext.
2139         (handle_programs): Likewise.
2140         (rule_define): Allow x to override x$(EXEEXT), for now.
2141         (file_contents_internal): Only define rule if rule_define allows
2142         us to.
2143         * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
2144
2145 2001-07-25  Tom Tromey  <tromey@redhat.com>
2146
2147         From Nicolas Joly:
2148         * tests/pr9.test: Require GNU make.
2149         * tests/dirname.test: Don't use `-u'.
2150
2151 2001-07-22  Tom Tromey  <tromey@redhat.com>
2152
2153         * tests/Makefile.am (TESTS): Added auxdir2.test.
2154         (XFAIL_TESTS): Likewise.
2155         * tests/auxdir2.test: New file.
2156
2157         * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
2158         * automake.in (TARGET_PATTERN): Add `@' as allowable character.
2159
2160         * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
2161         * automake.in (am_install_var): Add $(EXEEXT) even if program name
2162         holds `.'.  Don't add $(EXEEXT) if program name already has it.
2163         (handle_programs): Don't add $(EXEEXT) if user already did.
2164         (make_paragraphs): Don't compute EXEEXT.
2165
2166         * tests/Makefile.am (TESTS): Added exeext.test.
2167         (XFAIL_TESTS): Likewise.
2168         * tests/exeext.test: New file.
2169
2170 2001-07-22  Tom Tromey  <tromey@redhat.com>
2171
2172         * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
2173         `prog.exe' on Cygwin with libtool.  From Robert Collins.
2174
2175 2001-07-21  Tim Van Holder  <tim.van.holder@pandora.be>
2176
2177         * tests/dirname.test: Explicitly use $SHELL to run the
2178         script; this avoids failures on DJGPP.
2179         * tests/install2.test: Skip if 'chmod 000' doesn't make
2180         a file unreadable.
2181
2182 2001-07-21  Tom Tromey  <tromey@redhat.com>
2183
2184         * tests/libtool2.test: Check for libtoolize.
2185
2186         * tests/Makefile.am (TESTS): Added substtarg.test.
2187         (XFAIL_TESTS): Likewise.
2188         * tests/substtarg.test: New file.
2189
2190         * automake.in (handle_dist): Handle case where aux dir doesn't
2191         have a Makefile.  Fixes depdist.test.
2192         * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
2193         * tests/depdist.test: Look for config/depcomp.
2194
2195         * tests/Makefile.am (TESTS): Added depdist.test.
2196         (XFAIL_TESTS): Likewise.
2197         * tests/depdist.test: New file.  From Eric Magnien.
2198
2199         * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
2200         AC_PROG_CC_C_O does require AC_PROG_CC.
2201
2202         From Erik Lindahl:
2203         * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
2204         `foo.o.d'.
2205         * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
2206         output is suitable for make.
2207
2208         * automake.texi (Macros): Document AM_PROG_AS.
2209         (Assembly Support): New node.
2210         * m4/Makefile.am (m4data_DATA): Added as.m4.
2211         * m4/as.m4: New file.
2212
2213         * automake.texi (Tags): Added uref to global tags.
2214
2215 2001-07-21  Tim Van Holder  <tim.van.holder@pandora.be>
2216
2217         * automake.in (handle_single_transform_list): Use $(DEPDIR)
2218         instead of hardcoding '.deps'.
2219         * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
2220
2221 2001-07-20  Derek Price  <dprice@collab.net>
2222
2223         * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
2224         locations.
2225         * tests/dirname.test: New test.
2226         * tests/stamph2.test: New test.
2227         * tests/Makefile.am: Add new tests.
2228         * tests/Makefile.in: Regenerated.
2229
2230 2001-07-19  Tom Tromey  <tromey@redhat.com>
2231
2232         * automake.texi (Tags): Document GTAGS_ARGS.
2233         * lib/am/tags.am (GTAGS): Added GTAGS_ARGS.  From Shigio Yamaguchi.
2234
2235 2001-07-19  Tom Tromey  <tromey@redhat.com>
2236             Alexandre Duret-Lutz  <duret_g@epita.fr>
2237
2238         Fix for ccnoco.test, subobj8.test:
2239         * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
2240         * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
2241         subobj8.test.
2242         * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
2243         Use AM_AUX_DIR_EXPAND.
2244         * lib/compile: Handle case where `-o' argument is the name of an
2245         executable, not an object file.
2246         * m4/auxdir.m4: New file, from...
2247         * m4/missing.m4: ... here.  Moved AM_AUX_DIR_EXPAND.
2248         * automake.in (handle_single_transform_list, lang_c_rewrite):
2249         Require compile using `require_config_file'.
2250
2251 2001-07-19  Tom Tromey  <tromey@redhat.com>
2252
2253         * automake.texi (Program and Library Variables): Added X example
2254         for _LDADD.
2255
2256 2001-07-19  Tom Tromey  <tromey@redhat.com>
2257
2258         * automake.texi (Distributing): Updated to reflect new license.
2259
2260 2001-07-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
2261
2262         * automake.in (require_build_directory): New function, extracted
2263         from ...
2264         (handle_single_transform_list): ... here.
2265         (require_build_directory_maybe): New function.
2266         (handle_prograns, handle_libraries, handle_ltlibraries): Call
2267         require_build_directory_maybe() to ensure the subdirectory
2268         in which a target may lie will exist when the target is created.
2269         (handle_libraries, handle_ltlibraries): Use basename before
2270         checking library name.
2271         * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
2272         * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
2273         * lib/am/program.am (%PROGRAM%): Likewise.
2274
2275 2001-07-18  Tim Van Holder  <tim.van.holder@pandora.be>
2276
2277         * m4/missing.m4: Reword comment.
2278
2279 2001-07-18  Pavel Roskin  <proski@gnu.org>
2280
2281         * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
2282         * tests/gcj.test: Likewise.
2283         * tests/gcj2.test: Likewise.
2284         * tests/gcj3.test: Likewise.
2285
2286 2001-07-18  Tom Tromey  <tromey@redhat.com>
2287
2288         * lib/compile: Change how lockdir is computed.  If linking or
2289         compiling without `-o', just run the compiler.
2290
2291         * tests/Makefile.am (TESTS): Added ccnoco.test.
2292         (XFAIL_TESTS): Likewise.
2293         * tests/ccnoco.test: New file.
2294
2295 2001-07-17  Tom Tromey  <tromey@redhat.com>
2296
2297         * lib/ylwrap: Added special exception.
2298         * lib/py-compile: Added license.
2299         * lib/mdate-sh: Added special exception.
2300         * lib/elisp-comp: Added special exception.
2301         * lib/compile: Added special exception.
2302         * lib/depcomp: Added special exception.
2303
2304         Report from Motoyuki Kasahara:
2305         * tests/make.test: Use am__include.
2306         * tests/exsource.test: Use am__include.
2307         * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
2308         * automake.in (handle_languages): Use am__include and am__quote.
2309
2310         * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
2311         * m4/init.m4: Updated callers.
2312
2313 2001-06-10  Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>
2314
2315         * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
2316         * aclocal.in (scan_configure, add_file): Handle the full macro
2317         name even if it contains numbers, such as I18N.
2318
2319 2001-07-16  Tom Tromey  <tromey@redhat.com>
2320
2321         * automake.texi (Dependencies): Link to dependency tracking page.
2322         (Data): Mention dist_.
2323         (Clean): Mention clean heuristics.
2324         (Install): Mention nobase_.
2325
2326         * automake.texi (Program and Library Variables): Document _LINK.
2327
2328 2001-07-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2329
2330         * automake.in (handle_libraries): Allow libraries to lie in
2331         a subdirectory by constraining only the basename to start
2332         with 'lib', not the whole path.
2333
2334 2001-07-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2335
2336         * tests/subobj8.test: New file.
2337         * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
2338
2339 2001-07-16  Tom Tromey  <tromey@redhat.com>
2340
2341         Fix for PR automake/212:
2342         * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
2343         (uninstall-%DIR%LISP): Likewise.
2344
2345 2001-07-15  Tom Tromey  <tromey@redhat.com>
2346
2347         * automake.in (usage): Rewrote code to handle columnization.
2348         From Alexey Mahotkin and Maxim Sinev.
2349
2350         Report from Ralf Corsepius:
2351         * automake.in (TARGET_PATTERN): Add `+' as valid character.
2352         (SUFFIX_RULE_PATTERN): Likewise.
2353         * tests/Makefile.am (TESTS): Added cxx.test.
2354         * tests/cxx.test: New file.
2355
2356         * lib/am/tags.am (distclean-tags): Remove files for gtags.
2357         From Shigio Yamaguchi.
2358
2359 2001-07-14  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>
2360
2361         * lib/am/distdir.am (distcheck): Emit diagnostic when files
2362         remain after "make uninstall".
2363
2364 2001-07-14  Tom Tromey  <tromey@redhat.com>
2365
2366         * lib/am/tags.am (.PHONY): Depend on GTAGS.  From Shigio Yamaguchi.
2367
2368         * lib/missing (makeinfo): Redirect stdout and stderr outside
2369         subshell.  From Alexandre Oliva.
2370
2371 2001-07-14  Akim Demaille  <akim@epita.fr>
2372
2373         * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
2374         `\b(foo|bar)\b' is what we want.
2375         * aclocal.in: Likewise.
2376
2377 2001-07-14  Akim Demaille  <akim@epita.fr>
2378
2379         * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
2380         not used.
2381         Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
2382         actually modified to require AM_DEPENDENCIES.
2383         Rename `confdir' as `conftest.dir' so that the configure trap
2384         remove it.
2385
2386 2001-07-04  Tom Tromey  <tromey@redhat.com>
2387
2388         Fix for nolink.test:
2389         * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
2390         * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
2391         * automake.in (am_install_var): Only rewrite PROGRAMS if
2392         $seen_exeext.
2393         (make_paragraphs): Always define %EXEEXT%.
2394
2395 2001-07-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
2396
2397         * tests/nolink.test: New file.
2398         * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
2399
2400 2001-07-04  OKUJI Yoshinori  <okuji@gnu.org>
2401
2402         * automake.in (scan_texinfo_file): Add the second argument to
2403         `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
2404         itself may not be used directly.
2405
2406 2001-07-04  Tom Tromey  <tromey@redhat.com>
2407
2408         * missing: Updated.
2409         * lib/missing (makeinfo): Use subshell, not explicit sh
2410         invocation.
2411
2412         * automake.texi (Headers): Mention that we prefer uninstalled
2413         headers in _SOURCES.
2414         (ANSI): Mention cross-compilation limitation.
2415
2416 2001-07-03  Tom Tromey  <tromey@redhat.com>
2417
2418         * configure.in: Upped to 1.4i.
2419
2420         * configure.in: Released 1.4h.
2421
2422         * lib/config.guess, lib/config.sub: Updated.
2423
2424 2001-07-02  Tom Tromey  <tromey@redhat.com>
2425
2426         Fix for libtool2.test:
2427         * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
2428         * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
2429         * automake.in (generate_makefile): Call handle_libtool
2430         unconditionally.
2431         * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
2432
2433         * tests/libtool2.test: Look for `.lo' files to be removed.
2434
2435         * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
2436
2437         * tests/Makefile.am (TESTS): Removed dup.test.
2438         * tests/dup.test: Removed.
2439         * aclocal.in (scan_file): Don't give error for duplicate macro.
2440
2441 2001-07-01  Tom Tromey  <tromey@redhat.com>
2442
2443         * automake.texi (Program and Library Variables): Document
2444         subdir-objects.  Document fact that per-object flags override AM_
2445         flags.
2446         (Options): Likewise.
2447         (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
2448         (Multilibs): New node.
2449         (Macros): Documented missing macros.
2450         (Auxiliary Programs): New node.
2451
2452         * lib/missing (makeinfo): If makeinfo exists, and we're in --run
2453         mode, then simply fail.
2454
2455 2001-07-01  Tim Van Holder  <tim.van.holder@pandora.be>
2456
2457         * lib/ylwrap: Improve support for DOS paths (and paths
2458         containing backslashes in general).
2459
2460 2001-07-01  Tom Tromey  <tromey@redhat.com>
2461
2462         * lib/missing: Added special exception to license.
2463
2464         * missing: Updated.
2465         * lib/missing: Updated.  Added comment explaining configure.ac
2466         oddity.
2467
2468         * lib/depcomp: Reorder arguments to gcc3.
2469         From Per Oyvind Hvidsten.
2470
2471         * tests/Makefile.am (TESTS): Added libtool2.test.
2472         * tests/libtool2.test: New file.
2473
2474         * automake.texi (Program and Library Variables): Added example for
2475         _AR.
2476
2477 2001-06-29  Tom Tromey  <tromey@redhat.com>
2478
2479         * tests/cond11.test: Use `=', not `=='.
2480         * tests/cond12.test: Look for automake in build directory, not
2481         source directory.
2482
2483 2001-06-29  Richard Boulton  <richard@tartarus.org>
2484
2485         * automake.in (conditionals_true_when): Pass first parameters by
2486         reference, avoiding bug which put all parameters in @CONDS instead
2487         of @WHENS.  Report by Kalle Olavi Niemitalo.
2488         Take a single WHEN instead of an array of WHENS.
2489         Remove FIXME; can't now have an empty @WHENS.
2490         (conditional_is_redundant): New sub.
2491         (variable_conditions_reduce): Check whether each condition is
2492         implied by any of the other conditions (other those already
2493         discarded), rather than checking only against those already
2494         considered (and kept).  Also, fix sense of check: was keeping
2495         tautologous terms instead of discarding them.  Use
2496         conditional_is_redundant instead of conditionals_true_when.
2497         * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
2498         * tests/cond11.test: New file.
2499         * tests/cond12.test: New file.
2500
2501 2001-06-29  Raja R Harinath  <harinath@cs.umn.edu>
2502
2503         * automake.in (saw_sources_p): Work even if there are more
2504         than one header files, and more than of one type of header.
2505         * tests/Makefile.am (TESTS): Added new file.
2506         * tests/depend4.test: New file.
2507
2508 2001-06-28  Tom Tromey  <tromey@redhat.com>
2509
2510         * lib/am/libs.am (RANLIB): Don't define.
2511
2512 2001-06-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
2513
2514         * automake.in (am_install_var): Assign 1 to $first on
2515         first interation.
2516
2517 2001-06-23  Tom Tromey  <tromey@redhat.com>
2518
2519         Fix for yacc5.test:
2520         * lib/ylwrap: Changed usage.
2521         * lib/am/yacc.am: Rewrote to use new substitutions.
2522         * lib/am/lex.am: Likewise.
2523         * automake.in (handle_languages): Skip files whose language
2524         doesn't have a compiler.  Handle `define_flag' attribute.
2525         Changed '$' to "\$" to aid Emacs fontification.
2526         (struct): Added `rule_file'.  Removed `derived_autodep'.  Added
2527         `_target_hook' and `define_flag'.
2528         (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
2529         and `compiler' attributes.  Removed `linker', `derived_autodep',
2530         and `ansi' attributes.  Added `define_flag'.
2531         (yacc, yaccxx): Added `_target_hook'.
2532         (saw_extension): Count number of times extension seen.
2533         (count_files_for_language): New sub.
2534         (saw_sources_p): Use it.
2535         (handle_single_transform_list): Allow language rewrite function
2536         to return a new source extension.  Call target_hook.
2537         (yacc_sources, lex_sources): Removed.
2538         (initialize_per_input): Don't initialize yacc_sources or
2539         lex_sources.
2540         (lang_yacc_rewrite): Rewrote.
2541         (lang_yaccxx_rewrite): Likewise.
2542         (lang_lex_rewrite): Likewise.
2543         (lang_lexxx_rewrite): Likewise.
2544         (output_yacc_build_rule): Removed.
2545         (output_lex_build_rule): Removed.
2546         (lang_yacc_finish): Removed build rule generation.
2547         (lang_lex_finish): Likewise.
2548         (DASH_D_PATTERN): New global.
2549         (lang_yacc_target_hook): New function.
2550         (_target_hook): New function.
2551         (register_language): Default `define_flag'.
2552         * tests/yacc5.test: Updated test.
2553         * tests/yacc4.test: Exit with status 77 if bison doesn't work.
2554         * tests/yacc3.test: Remove bogus `make' invocation.  Added test
2555         for all YFLAGS variables.
2556
2557 2001-06-20  Tom Tromey  <tromey@redhat.com>
2558
2559         * tests/yacc5.test: Check for per-executable YFLAGS.
2560
2561 2001-06-19  Tom Tromey  <tromey@redhat.com>
2562
2563         * tests/Makefile.am (TESTS): Added yacc5.test.
2564         * tests/yacc5.test: New file.
2565
2566 2001-06-17  Tom Tromey  <tromey@redhat.com>
2567
2568         * automake.in (require_file_internal): Check for already-required
2569         file after searching for it, and only if it is not found.  Don't
2570         use `readlink' when checking for dangling symlink.  Work if
2571         --force-missing specified.
2572         * tests/acoutput2.test: Also test --force-missing.
2573
2574         Fix for libtool.test:
2575         * automake.in (generate_makefile): Call handle_libtool.
2576         (handle_libtool): New sub.
2577         (handle_compile): Don't read `libtool' file.
2578
2579         * tests/acoutput2.test: New file.
2580         * tests/Makefile.am (TESTS): Added acoutput2.test.
2581
2582 2001-06-15  Tom Tromey  <tromey@redhat.com>
2583
2584         * tests/Makefile.am (TESTS): Added libtool.test.
2585         * tests/libtool.test: New file.
2586
2587 2001-06-14  Tom Tromey  <tromey@redhat.com>
2588
2589         Fix some lisp bugs reported by Bruno Haible:
2590         * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
2591         echo.
2592         (install-%DIR%LISP): Handle case where lispdir is not defined.
2593         (uninstall-%DIR%LISP): Likewise.
2594         (.el.elc): Added `else' clause.
2595
2596         Fix for bug reported by Steve M. Robbins:
2597         * automake.in (handle_single_transform_list): When building a file
2598         from a subdirectory, continue to use `AM_' prefix.
2599         * tests/Makefile.am (TESTS): Added subobj7.test.
2600         * tests/subobj7.test: New file.
2601
2602         * lib/am/configure.am ($(top_builddir)/config.status): Added
2603         $(top_builddir) prefix to work around problems with some vendor
2604         makes.  From Nicolas Joly.
2605
2606         * automake.in (yacc_lex_finish_helper): Find ylwrap in
2607         top_srcdir.  From Tim Van Holder.
2608         * tests/Makefile.am (TESTS): Added yacc6.test.
2609         * tests/yacc6.test: New file.
2610
2611 2001-06-14  Tim Van Holder  <tim.van.holder@pandora.be>
2612
2613         * tests/defs, tests/installsh.test: Properly support
2614         DOS-style paths.
2615
2616 2001-06-14  Tom Tromey  <tromey@redhat.com>
2617
2618         * tests/Makefile.am (TESTS): Added mdate4.test.
2619         * tests/mdate4.test: New file.
2620
2621         * aclocal.in (scan_m4_files): Removed unused variable.
2622
2623 2001-06-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
2624
2625         * aclocal.in (scan_m4_files): Tweak the building of &search so
2626         that multiple macro names can be found on the same line.  Ensure
2627         we match whole macro name, not only substrings.
2628
2629 2001-06-12  Tom Tromey  <tromey@redhat.com>
2630
2631         * automake.texi (ANSI): Minor clarification.
2632         (Other GNU Tools): Don't mention Guile.
2633         (Guile): Removed.
2634         (Java Support): Mention file extensions.
2635         (Man pages): Mention dist_.  Don't mention info pages.
2636
2637 2001-06-11  Tom Tromey  <tromey@redhat.com>
2638
2639         * automake.texi (Program variables): Document AM_CPPFLAGS.
2640         Deprecate INCLUDES.
2641         (Java Support): Document AM_GCJFLAGS.
2642         (Support for Other Languages): Removed `fixme'; added link to
2643         suffix rule handling.
2644
2645         * automake.texi (Program and Library Variables): Document _LIBADD,
2646         _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2647
2648 2001-06-11  Kevin Dalley  <kevind@rahul.net>
2649
2650         * missing: Support configure.ac.
2651
2652 2001-06-08  Tom Tromey  <tromey@redhat.com>
2653
2654         * tests/version4.test: New file.
2655         * automake.in (version_check): New sub.
2656         (handle_options): Use it.
2657         * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2658         (TESTS): Added version4.test.
2659         * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2660         * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2661
2662 2001-06-04  Kevin Dalley  <kevind@rahul.net>
2663
2664         * lib/am/dejagnu.am (site.exp): Fix typo.
2665
2666 2001-06-02  Tom Tromey  <tromey@redhat.com>
2667
2668         * automake.in (variable_conditions_sub): Move parent-only code
2669         from here...
2670         (variable_conditions): ... to here.
2671         (variable_conditions_sub): Include this variable's conditions in
2672         the resulting condition list.
2673         * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2674
2675 2001-06-01  Tom Tromey  <tromey@redhat.com>
2676
2677         * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2678         (TESTS): Likewise.
2679         * tests/ltdeps.test: New file.  Report from Lars J. Aas.
2680
2681 2001-05-31  Tom Tromey  <tromey@redhat.com>
2682
2683         * automake.texi (Alternative): New node.
2684         (Macros): Use new name for gcc.
2685         (Java Support): Likewise.
2686         (Dependencies): Rewrote.
2687         (Invoking Automake): (Re-)document -i, --ignore-deps, and
2688         --include-deps.
2689
2690         * automake.texi (Top level): Removed erroneous spaces.  Documented
2691         MAKE and MAKEFLAGS.
2692
2693 2001-05-29  Tom Tromey  <tromey@redhat.com>
2694
2695         * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2696
2697         * automake.texi (Include): Rewrote.
2698         (Suffixes): Remove Java example.
2699         (Java): Added more explanation.  Document variables.
2700         (Uniform): Mention JAVA as a primary.
2701         (Python): Updated for new Python support.
2702         (Sources): Added a weak example.
2703
2704         * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2705
2706         * automake.texi (A Program): Mention `check' prefix.
2707         (Program and Library Variables): New node.
2708         (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2709         AM_MAKEINFOFLAGS.
2710         (etags): Mention per-program flags.
2711         (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2712         updates.
2713
2714         * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2715         install-info-am.
2716
2717 2001-05-28  Tom Tromey  <tromey@redhat.com>
2718
2719         * m4/Makefile.am (MAINT_CHARSET): Removed.
2720         * Makefile.am (MAINT_CHARSET): Removed.
2721         * automake.in (maint_charset, dist_charset): Removed.
2722         (local_maint_charset): Removed.
2723         (initialize_per_input): Don't use maint_charset.
2724         (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2725
2726         * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2727         AM_MAKEINFOFLAGS.
2728         (.%SUFFIX%.dvi): Likewise.
2729         (.%SUFFIX%): Likewise.
2730
2731 2001-05-27  Tom Tromey  <tromey@redhat.com>
2732
2733         * automake.in (handle_multilib): Only add multilib support code at
2734         top level.
2735         * lib/am/multilib.am: Handle invocation of *-multi targets
2736         differently for SUBDIRS and non-SUBDIRS Makefiles.
2737         * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2738         Only add multilib code when the Makefile in question is actually
2739         rebuilt.
2740
2741         * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2742
2743 2001-05-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2744
2745         * automake.in (handle_single_transform_list): Skip unknown
2746         extensions.
2747
2748 2001-05-25  Tom Tromey  <tromey@redhat.com>
2749
2750         * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2751
2752 2001-05-24  Tom Tromey  <tromey@redhat.com>
2753
2754         * automake.in (handle_texinfo_helper): Find mdate-sh in current
2755         directory in some situations.
2756
2757         * automake.in (generate_makefile): Better explanation for ansi2knr
2758         fix.
2759
2760 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
2761
2762         * automake.in (handle_languages): Skip unknown extensions.
2763         (derive_suffix): Check whether $extension_map{$source_ext}
2764         is undefined, not empty.
2765
2766 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
2767
2768         * automake.in (read_am_file): Ignore trailing backslash on
2769         comment lines.
2770
2771 2001-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
2772
2773         * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2774
2775 2001-05-21  Akim Demaille  <akim@epita.fr>
2776
2777         * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2778         multiple times'' warning.
2779
2780 2001-05-20  Tom Tromey  <tromey@redhat.com>
2781
2782         * configure.in: Updated to 1.4g.
2783
2784         * configure.in: Updated to 1.4f.
2785
2786         * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2787
2788         * lib/ansi2knr.c: New version.
2789
2790         * Makefile.am (FETCHFILES): Added ansi2knr.c.
2791         (fetch): Likewise.
2792
2793 2001-05-19  Tom Tromey  <tromey@redhat.com>
2794
2795         * config.guess, config.sub: New versions from FSF.
2796
2797         * Makefile.am (fetch): Compare against files in srcdir.
2798
2799         For for ansi2knr report from Harlan Stenn:
2800         * automake.in (generate_makefile): Run handle_compile before
2801         handle_languages.
2802
2803 2001-05-18  Tom Tromey  <tromey@redhat.com>
2804
2805         * automake.in: Reverted erroneous checkin.
2806
2807 2001-05-18  Akim Demaille  <akim@epita.fr>
2808
2809         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2810         to missing `install-info'.
2811
2812 2001-05-17  Tom Tromey  <tromey@redhat.com>
2813
2814         * automake.in (lang_c_finish): Use `rm -f'.
2815
2816         * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2817         * tests/Makefile.am (TESTS): Added new file.
2818         * tests/ansi5.test: New file.
2819
2820 2001-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
2821
2822         * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2823         STRIP is not empty.
2824         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2825         to install-sh unconditionally.  Don't set INSTALL_STRIP_PROGRAM_ENV.
2826         * automake.texi (Requirements): Document the use of the STRIP
2827         variable in cross-compilation environments.
2828
2829 2001-05-17  Tom Tromey  <tromey@redhat.com>
2830
2831         * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2832         to no dependency tracking.
2833         * tests/Makefile.am (TESTS): Added depcomp2.test.
2834         * tests/depcomp2.test: New file.  From Pavel Roskin.
2835
2836         * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2837
2838         * lib/depcomp (tru64): New dependency tracking mode.
2839
2840         Fix for PR automake/159:
2841         * lib/depcomp (aix): Rewrote.
2842         (sgi): Likewise.
2843
2844         Fix for PR automake/174:
2845         * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2846         * automake.in (read_am_file): Warn if `#' is at start of rule.
2847
2848 2001-05-16  Tom Tromey  <tromey@redhat.com>
2849
2850         For PR automake/174:
2851         * tests/Makefile.am (TESTS): Added comment3.test.
2852         (XFAIL_TESTS): Likewise.
2853         * tests/comment3.test: New file.
2854
2855         Fix for PR automake/175:
2856         * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2857         * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2858         `Leaving directory' messages.
2859
2860         For PR automake/175:
2861         * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2862         * tests/make.test: Run test with `make -w'.
2863
2864         * tests/Makefile.am (TESTS): Removed maintclean.test.
2865         * lib/am/clean.am (maintainer-clean-generic): Don't remove
2866         Makefile.in.
2867         * lib/am/configure.am (maintainer-clean-am): Removed.
2868         (maintainer-clean-conf): Removed.
2869         * tests/maintclean.test: Removed.
2870
2871 2001-05-15  Tom Tromey  <tromey@redhat.com>
2872
2873         Fix for PR automake/177:
2874         * Makefile.am (maintainer-clean): Set perllibdir before invoking
2875         automake or aclocal.
2876
2877         Fix for maintclean.test:
2878         * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2879         * lib/am/clean.am (distclean-generic): Don't remove config.cache
2880         or config.log.
2881         (distclean, maintainer-clean): Moved to...
2882         * lib/am/configure.am: ... here.
2883         (distclean): Remove config.cache and config.log.
2884         (maintainer-clean): Removed.
2885         (maintainer-clean-conf): New target.
2886         (maintainer-clean-am): New target.
2887
2888         * tests/Makefile.am (TESTS): Added maintclean.test.
2889         (XFAIL_TESTS): Likewise.
2890         * tests/maintclean.test: New file.
2891
2892         Fixes PR automake/175:
2893         * tests/target-cflags.test: Use $needs_gnu_make.
2894         * tests/exsource.test: Use $needs_gnu_make.
2895         * tests/make.test: Require GNU make.
2896         * tests/defs (needs_gnu_make): Compute.
2897
2898 2001-05-14  Tom Tromey  <tromey@redhat.com>
2899
2900         * lib/ylwrap: Fixed quoting on regular expression.  Fixes
2901         yacc4.test.
2902
2903         Fix for texinfo10.test.
2904         * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2905         * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2906         * automake.in (handle_texinfo_helper): New sub.
2907         (handle_texinfo): Rewrote.  Now defines LOCAL-TEXIS.
2908         * tests/texinfo10.test: Added more cases.
2909
2910         Fix for yaccvpath.test:
2911         * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2912         * lib/am/distdir.am (distdir): Always look for file in build
2913         directory first.
2914         * lib/ylwrap: Quote the `#line' regular expression.
2915         * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2916         change; don't run sed on the generated file.
2917         * tests/yaccvpath.test: Create new parser in srcdir.  Added test
2918         to make sure parser will be rebuilt at dist time.
2919
2920 2001-05-13  Pavel Roskin  <proski@gnu.org>
2921
2922         * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2923         beginning with `##'.
2924         * automake.texi (General Operation): Document it.
2925
2926 2001-05-13  Tom Tromey  <tromey@redhat.com>
2927
2928         Reported by Rainer Orth:
2929         * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2930         TOPDIR_P.
2931         * tests/Makefile.am (TESTS): Added distname.test.
2932         * tests/distname.test: New file.
2933
2934         * Makefile.am (dist_pkgdata_DATA): Removed.
2935
2936         * tests/defs: Find files to copy in lib/.
2937         * automake.in (perllibdir): Set to Automake directory.
2938         * ansi2knr.c, ansi2knr.1: Removed.
2939         * Makefile.am (dist_am_DATA): Removed.
2940         (amdir): Removed.
2941         (maintainer-check): Look for lib/am/*.am.  Expect 28 lines of
2942         diffs.
2943         (scriptdir): Removed.
2944         (dist_script_DATA): Likewise.
2945         (install-data-hook): Likewise.
2946         (installcheck-local): Likewise.
2947         (TAGS_FILES): Removed amfiles.
2948         (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2949         * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2950         point it to the right directory.
2951         * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2952         compile.am, configure.am, data.am, dejagnu.am, depend.am,
2953         depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2954         install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2955         libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2956         mans.am, multilib.am, program.am, progs.am, python.am,
2957         remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2958         texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2959         * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2960         (AUTOMAKE): Use --libdir, not --amdir.
2961         Ues AC_CONFIG_AUX_DIR.
2962         * lib/Makefile.am (SUBDIRS): Added `am'.
2963         (scriptdir): New macro.
2964         (dist_script_DATA): Likewise.
2965         (dist_pkgdata_DATA): Likewise.
2966         (install-data-hook): New target.
2967         (installcheck-local): Likewise.
2968         * lib/am/Makefile.in: New file.
2969         * lib/am/Makefile.am: Removed everything except amdir and
2970         dist_am_DATA.
2971
2972 2001-05-13  Akim Demaille  <akim@epita.fr>
2973
2974         * automake.in ($pkgdata_dir): Rename as...
2975         ($libdir): this.
2976         ($am_dir): Remove, replace its uses with $libdir.
2977         (&parse_arguments): Replace --amdir with --libdir.
2978         * automake.texi (Invoking Automake): Document --libdir, not
2979         --amdir.
2980         * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2981
2982 2001-05-13  Tom Tromey  <tromey@redhat.com>
2983
2984         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2985         not AMDEP.
2986         * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2987         Correctly look at AMDEP_TRUE, not AMDEP.
2988
2989         Report from Robert Boehne:
2990         * tests/Makefile.am (TESTS): Added depend2.test.
2991         * tests/depend2.test: New file.
2992
2993 2001-05-13  James Henstridge  <james@daa.com.au>
2994
2995         * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2996         Point pythondir at site-packages directory.  Rename
2997         PYTHON_SITE_PACKAGE to pkgpythondir.  Rename PYTHON_SITE_EXEC to
2998         pyexecdir.  Removed package/module argument.  Removed
2999         PYTHON_SITE_INSTALL.  Added version checking.
3000
3001 2001-05-14  Jim Meyering  <meyering@lucent.com>
3002
3003         * automake.in (macro_define): Change one remaining use of
3004         `variable_dump' to `macro_dump'.
3005
3006 2001-05-13  Tom Tromey  <tromey@redhat.com>
3007
3008         * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
3009         and gcj.
3010
3011 2001-05-13  Akim Demaille  <akim@epita.fr>
3012
3013         * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
3014         (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
3015         (&am_primary_prefixes): Use `map' rather than `grep'.
3016
3017 2001-05-13  Akim Demaille  <akim@epita.fr>
3018
3019         * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
3020         lexxx, asm.
3021         (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
3022         (&lang_asm_finish): Remove, set asm's finisher to C's one.
3023
3024 2001-05-13  Akim Demaille  <akim@epita.fr>
3025
3026         * lang-compile.am: New file, loaded once per language.
3027         * depend2.am: Move definitions loaded once per language in the
3028         aforementioned file.
3029         * automake.in (&handle_languages): Load it.
3030         (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
3031         handled by lang-compile.am.
3032
3033 2001-05-13  Tom Tromey  <tromey@redhat.com>
3034
3035         * tests/Makefile.am (TESTS): Added python.test.
3036         * tests/python.test: New file.
3037         * automake.in (handle_languages): Use
3038         config_aux_dir_set_in_configure_in.
3039         (handle_python): Correctly mention AM_PATH_PYTHON.  Use
3040         py-compile, not py_comp.  Define py_compile macro.
3041
3042 2001-05-13  Derek Price  <dprice@openavenue.com>
3043
3044         * automake.in (require_file_with_conf_line,
3045         require_file_with_line, require_file): Pass a @require_file_path
3046         of $relative_dir instead of '.' to require_file_internal so that
3047         all the special casing of '.' can be removed elsewhere.
3048         (require_config_file, require_conf_file_with_line,
3049         require_conf_file_with_conf_line): Remove special casing for '.'
3050         and make sure $config_aux_dir is maintained properly.
3051         (require_file_internal): Remove special casing of '.' and set
3052         @require_file_path when missing files are added.
3053         (maybe_push_required_file): Remove special casing of '.'
3054         (handle_dependencies): Remove a workaround for a bug now fixed
3055         and remove $config_aux_dir special casing.
3056         (handle_configure): Remove special casing for $config_aux_dir
3057         (handle_python): Ditto.
3058         (yacc_lex_finish_helper): Change $config_aux_dir switch to
3059         switch on the value of $config_aux_dir_set_in_configure_in.
3060         (handle_texinfo): Ditto.
3061         (scan_one_configure_file): Set $config_aux_dir and
3062         $config_aux_dir_set_in_configure_in properly so special casing
3063         on the value of $config_aux_dir can be removed elsewhere.
3064         * tests/depcomp.test: New file.
3065         * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
3066         first subdir containing a C file.
3067         * tests/libobj2.test: Ditto.
3068         * tests/Makefile.am (TESTS): Added 'depcomp.test'.
3069
3070 2001-05-12  Tom Tromey  <tromey@redhat.com>
3071
3072         * tests/gcj.test: Updated for gcj dependency tracking.
3073         * tests/gcj2.test: Likewise.
3074
3075         Fixes PR automake/169.
3076         * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ.  Don't assume gcc
3077         style for OBJC.
3078         * automake.in (java): Added autodep entry.
3079         * tests/Makefile.am (TESTS): Added gcj3.test.
3080         * tests/gcj3.test: New file.
3081
3082 2001-05-12  Raja R Harinath  <harinath@cs.umn.edu>
3083
3084         * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
3085         stop at the first '='.
3086         * tests/Makefile.am (TESTS): Added vars.test.
3087         * tests/vars.test: New file.
3088
3089 2001-05-12  Akim Demaille  <akim@epita.fr>
3090
3091         * automake.in (&handle_single_transform_list): Simplify
3092         computation of $object and $this_obj_ext.
3093         * tests/lex3.test: Merge into...
3094         * tests/lex.test: here.
3095         * tests/pr19.test: Improve and rename as...
3096         * tests/lex3.test: this.
3097
3098 2001-05-09  Tom Tromey  <tromey@redhat.com>
3099
3100         * automake.in (read_am_file): Correctly compute $saw_bk.
3101         (scan_autoconf_files): Ensure configure_dist_common is always
3102         set.
3103         * tests/defs (AUTOMAKE): Added --Werror.
3104
3105 2001-05-09  Pavel Roskin  <proski@gnu.org>
3106
3107         * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
3108         double quotes.
3109
3110 2001-05-09  Tom Tromey  <tromey@redhat.com>
3111
3112         * tests/werror.test: Use `rm -f'.
3113
3114 2001-05-09  Akim Demaille  <akim@epita.fr>
3115
3116         * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
3117
3118 2001-05-09  Akim Demaille  <akim@epita.fr>
3119
3120         * automake.in: Remove some code left from bad patches.
3121         (&handle_dependency): Remove, for the same reason.
3122
3123 2001-05-09  Akim Demaille  <akim@epita.fr>
3124
3125         * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
3126         (&handle_tests_dejagnu, &define_standard_variables): Don't.
3127         (&define_standard_variables): Don't transform %top_builddir% since...
3128         * header-vars.am: Use %TOPDIR% instead.
3129
3130 2001-05-09  Akim Demaille  <akim@epita.fr>
3131
3132         * automake.in (@objects): Remove, unused.
3133         Remove all the code related to it, and to former `$(OBJECTS)'.
3134
3135 2001-05-08  Tom Tromey  <tromey@redhat.com>
3136
3137         For PR automake/29:
3138         * ylwrap: Handle arguments to program.  Remove old code that tried
3139         to avoid absolute paths and add new code to do it in all cases.
3140         Removed ancient logic that tried to deal with relative path.
3141         * tests/Makefile.am (TESTS): Added yacc4.test.
3142         * tests/yacc4.test: New file.
3143
3144         Fix for PR automake/149 and werror.test:
3145         * automake.in (require_file_internal): Use am_line_warning or
3146         am_conf_line_warning when suppressing error.
3147         (am_line_warning): New sub.
3148         (am_conf_line_warning): Save and restore warning signal.
3149         * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
3150
3151         Fix for PR automake/36:
3152         * tests/Makefile.am (TESTS): Added asm.test.
3153         * tests/asm.test: New file.
3154         * automake.in (asm): Use ASFLAGS and AS.
3155         (lang_asm_finish): New sub.
3156
3157         * automake.in (read_am_file): Removed debugging code.
3158
3159         For PR automake/149:
3160         * tests/Makefile.am (TESTS): Added werror.test.
3161         (XFAIL_TESTS): Likewise.
3162         * tests/werror.test: New file.
3163
3164         * automake.in (conditional_true_when): Don't return if we see
3165         `TRUE'.
3166
3167         * tests/objc.test: Removed.
3168         * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
3169         (TESTS): Likewise.
3170
3171         * automake.in (subst): New sub.
3172         (handle_languages): Use it.
3173         (output_lex_build_rule): Likewise; also use _am_quote.
3174         (check_libobjs_sources): Likewise.
3175         (make_paragraphs): Use subst.
3176
3177         * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
3178         problem.
3179
3180         * automake.in (file_contents_internal): Prototype now `$$%'.
3181         (register_language): Prototype now `%'.
3182
3183         Fixes test subobj6.test and PR automake/160:
3184         * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
3185         * compile.am (mostlyclean-compile): Added MOSTLYRMS.
3186         (distclean-compile): Added DISTRMS.
3187         * tests/subobj6.test (wish_SOURCES): Updated to reflect
3188         `mostlyclean' use; added test for non-subdir case.
3189         * automake.in (compile_clean_files): New global.
3190         (MOSTLY_CLEAN, DIST_CLEAN): New constants.
3191         (initialize_per_input): Initialize compile_clean_files.
3192         (handle_single_transform_list): Set compile_clean_files entries.
3193         (handle_compile): Handle compilation cleanups.
3194
3195 2001-05-08  Lars J. Aas  <larsa@sim.no>
3196
3197         * automake.texi (Canonicalizing Automake macros): Document not
3198         canonicalizing strudels (@) anymore.
3199
3200 2001-05-08  Akim Demaille  <akim@epita.fr>
3201
3202         * distdir.am (dist-all): Build all the flavors using a single
3203         distdir.
3204
3205 2001-05-08  Akim Demaille  <akim@epita.fr>
3206
3207         * automake.in (&file_contents_internal): Apply the @cond_stack to
3208         the rules and assignments.
3209         Don't rely on `$.' as it's biased by &make_paragraphs.
3210         Don't remove backslashes in variable values.
3211
3212 2001-05-08  Akim Demaille  <akim@epita.fr>
3213
3214         * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
3215         ($RULE_PATTERN): Use that from `&make_paragraphs'.
3216         ($MACRO_PATTERN): Just catch the name of a macro.
3217         ($BOGUS_MACRO_PATTERN): Remove.
3218         ($ASSIGNMENT_PATTERN): New.
3219         (&file_contents_internal, &make_paragraphs): Adjust.
3220         (&macro_define): Catch bad macro names.
3221         (&cond_stack_endif): Better error message.
3222         (&file_contents_internal): Don't remove backslashes in variable
3223         values.
3224         (&macro_define): Do it for `+=' user variables.
3225         (&define_standard_variables): Use `undef' instead of a dummy
3226         variable.
3227         (&make_paragraph): Be sure not to chop the trail of hash only
3228         lines: adjust the `##' regexp.
3229         (&rule_define): Fix a bug: don't read $1 but $target.
3230         * tests/condincl.test: Strengthen.
3231
3232 2001-05-08  Akim Demaille  <akim@epita.fr>
3233
3234         * automake.in (Language): Add attributes `Name' and `config_vars'.
3235         (&finish): Work properly if there is no _finish.
3236         (Automake): Register language Names and AC_SUBST dependencies.
3237         Register Fortran 77 variables upon which ratfor and ppf77 depend.
3238         (&handle_languages): Once per language, invoke
3239         `define_linker_variables', and check its config_vars.
3240         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3241         (&lang_java_finish): Remove.
3242         (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
3243
3244 2001-05-08  Akim Demaille  <akim@epita.fr>
3245
3246         * automake.in (&file_contents_internal): Accept $IS_AM.
3247         (&handle_compile, &define_standard_variables, &file_contents): Adjust.
3248
3249 2001-05-08  Akim Demaille  <akim@epita.fr>
3250
3251         * automake.in (am_install_var): Use `next' instead of `if' on the
3252         body of $X loop.
3253
3254 2001-05-08  Akim Demaille  <akim@epita.fr>
3255
3256         * automake.in (Language): Add attributes `lder' and `ld'.
3257         (&register_language): Specify for cxx, objc, f77, gcj.
3258         (&define_linker_variable): New.
3259         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3260         (&lang_java_finish): Adjust.
3261         (&libtool_compiler): Remove.
3262
3263 2001-05-08  Akim Demaille  <akim@epita.fr>
3264
3265         * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
3266         argument, as you don't use it.
3267         Hence...
3268         (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
3269         don't use it.
3270         Hence...
3271         (&handle_programs): Don't mess with %lex_sources, as you don't use
3272         it.
3273
3274 2001-05-08  Akim Demaille  <akim@epita.fr>
3275
3276         * automake.in (Language): Add attribute `link'.
3277         (&register_language): Specify for cxx, objc, f77, gcj.
3278         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
3279         (&lang_java_finish): Adjust.
3280
3281 2001-05-08  Akim Demaille  <akim@epita.fr>
3282
3283         * automake.in (&define_compiler_variables): Use only $LANG as
3284         argument.
3285         (&handle_languages): Adjust.
3286
3287 2001-05-08  Akim Demaille  <akim@epita.fr>
3288
3289         * automake.in (&define_program_variable): Remove.
3290         (&scan_one_autoconf_file): Skip MAKEINFO when found in an
3291         AM_MISSING_PROG.
3292         (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
3293         * texinfos.am: Do it.
3294
3295 2001-05-08  Akim Demaille  <akim@epita.fr>
3296
3297         * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
3298         RUNTEST.
3299         * dejagnu.am: Do it.
3300         (site.exp): Use `if'.
3301
3302 2001-05-08  Akim Demaille  <akim@epita.fr>
3303
3304         * automake.in: Formatting changes.
3305         (variable_dump, variables_dump): Rename as...
3306         (macro_dump, macros_dump): these.
3307
3308 2001-05-08  Akim Demaille  <akim@epita.fr>
3309
3310         Support `if !COND', `else COND', `end COND'.
3311
3312         * automake.texi (Conditionals): Document it.
3313         * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
3314         ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
3315         ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
3316         a leading `!' before the condition.
3317         (&handle_options): Use `\d'.
3318         (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
3319         (&read_am_file, &file_contents_internal): Use them.
3320         (&transform): No longer substitute `%!COND%', forcing the use of
3321         `! %?COND%'.
3322         * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
3323
3324 2001-05-08  Akim Demaille  <akim@epita.fr>
3325
3326         Uniform handling of per-object compilation rules.
3327         Note: Automake is repaired.
3328
3329         * automake.in (&handle_languages): Output per object rules for all
3330         the objects, not only for those which language supports dependency
3331         tracking.
3332         Fix Automake: when outputting per-object rules, use `-o' if the
3333         language has no `output_flag', as it's really needed.
3334         (&handle_single_transform_list): Instead of special casing files
3335         which need per object rules but which language don't support
3336         dependency tracking, keep them in the queue for processing by
3337         `&handle_languages'.
3338
3339 2001-05-08  Akim Demaille  <akim@epita.fr>
3340
3341         * automake.in (&handle_languages): `ext-compile.am' and
3342         `depend2.am' are now equivalent for generic rules: output only the
3343         latter.
3344         * ext-compile.am: Remove.
3345
3346 2001-05-08  Akim Demaille  <akim@epita.fr>
3347
3348         Note: This patch breaks Automake.  Repaired within two patches.
3349
3350         * automake.in (Language): Replace the attribute `output_arg' with
3351         `compile_flag' and `output_flag'.
3352         (Automake): Adjust language registrations.
3353         (&handle_languages): Transform `-c' and `-o' for both suffix and
3354         per object rules, instead of `OUTARG' and `LTOUTARG' only for
3355         generic rules.
3356         (&handle_single_transform_list): Adjust to `compile_flag' and
3357         `output_flag'.
3358         * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
3359
3360 2001-05-08  Akim Demaille  <akim@epita.fr>
3361
3362         * automake.in (&handle_languages): Don't transform %COMPILER%.
3363         Use `$lang->compiler' instead of `$pfx' to transform generic
3364         %COMPILE% and %LTCOMPILE%.
3365         * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
3366         of %COMPILER% and $<.
3367
3368 2001-05-07  Akim Demaille  <akim@epita.fr>
3369
3370         * automake.in (&handle_languages): Use the same `%transform' for
3371         both `depend2.am' and `ext-compile.am'.
3372         Delay the definition of `$flag' so it is right before the first use,
3373         and rename as `$flags'.
3374
3375 2001-05-07  Akim Demaille  <akim@epita.fr>
3376
3377         * automake.in (&handle_languages): Compute `$ltoutarg' and
3378         `$outarg' independently of dependency code.
3379         There is no use looping on a language's possible extensions since
3380         we loop over used extensions.
3381         Therefore, there is no use for a local `%transform'.
3382
3383 2001-05-07  Akim Demaille  <akim@epita.fr>
3384
3385         * automake.in (&handle_languages): Don't use $comp.
3386
3387 2001-05-07  Akim Demaille  <akim@epita.fr>
3388
3389         * automake.in (&handle_languages): Merge the two loops over
3390         %extension_seen/%languages into one and group code to be run once
3391         per language together.
3392
3393 2001-05-07  Akim Demaille  <akim@epita.fr>
3394
3395         * automake.in (&handle_languages): Move the `if
3396         ($use_dependencies)' block so that loops over extensions and
3397         languages are next to each other.
3398
3399 2001-05-07  Akim Demaille  <akim@epita.fr>
3400
3401         * automake.in (&depend2): Remove, merged into...
3402         (&handle_languages): here.
3403
3404 2001-05-07  Akim Demaille  <akim@epita.fr>
3405
3406         * automake.in (&finish_languages): Rename as...
3407         (&handle_languages): this.
3408         Include the body of...
3409         (&handle_dependency): this.
3410         Remove.
3411
3412 2001-05-06  Tom Tromey  <tromey@redhat.com>
3413
3414         For PR automake/46:
3415         * tests/Makefile.am (TESTS): Add subdir5.test.
3416         (XFAIL_TESTS): Likewise.
3417         * tests/subdir5.test: New file.
3418
3419         * tests/subobj6.test (wish_SOURCES): Use $MAKE.
3420         * tests/subobj5.test (wish_SOURCES): Use $MAKE.
3421
3422         * automake.in (GNITS_VERSION_PATTERN): Document.  Add `fork
3423         identifier'.
3424         (handle_options): Handle fork identifier in version number.
3425
3426         * automake.texi (Dist): Document distcheck-hook.
3427
3428         * tests/confh4.test: Update to reflect DEFS change.
3429         For PR automake/132.
3430
3431         Fix for PR automake/132:
3432         * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
3433         compilation.
3434         (java): Remove INCLUDES and DEFS from compilation.
3435         (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
3436         * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
3437         (DEFAULT_INCLUDES): New macro.
3438
3439         * automake.in (usage): Re-align explanatory text.
3440         Fixes PR automake/148.
3441
3442         * automake.texi (Uniform): Don't use @PROGRAMS@.
3443         Fixes PR automake/154.
3444
3445         For PR automake/160:
3446         * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
3447         (XFAIL_TESTS): Add subobj6.test.
3448         * tests/subobj6.test: New file.
3449
3450         * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
3451         (Top level): Don't mention `flat'.
3452         (Extending): Likewise.
3453         (User Variables): New node.
3454
3455         * distdir.am (distdir): Make subdirectory for each file.
3456         Fixes test subobj5.test.
3457
3458         * tests/Makefile.am (TESTS): Add new file.
3459         (XFAIL_TESTS): Likewise.
3460         * tests/texinfo10.test: New file.
3461
3462 2001-05-05  Pavel Roskin <proski@gnu.org>
3463
3464         * automake.in (scan_texinfo_file): Treat @defindex and @synindex
3465         in the same way as @defcodeindex and @syncodeindex respectively.
3466
3467 2001-05-05  Tom Tromey  <tromey@redhat.com>
3468
3469         * mans.am (install-man%SECTION%): Minor cleanup.
3470         (uninstall-man%SECTION%): Likewise.
3471
3472         * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
3473         * mans.am (install-man%SECTION%): Handle dist_ and nodist_
3474         prefixes.
3475         (uninstall-man%SECTION%): Likewise.
3476         * automake.in (handle_man_pages): Handle dist_ and nodist_
3477         prefixes.
3478
3479         * automake.texi (Future): Removed.
3480         (Depth): Removed.
3481         (Hello): Don't mention `deep'.
3482         (Top level): Likewise.
3483
3484         * automake.in (conditional_true_when): Use a hash, not index().
3485         Also, a TRUE component always results in a true return.
3486         Fixes test cond10.test.  For PR automake/164.
3487         * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
3488
3489 2001-05-05  Raja R Harinath  <harinath@cs.umn.edu>
3490
3491         For PR automake/164:
3492         * tests/Makefile.am (TESTS): Added new file.
3493         (XFAIL_TESTS): Likewise.
3494         * tests/cond10.test: New file.
3495
3496 2001-05-05  Tom Tromey  <tromey@redhat.com>
3497
3498         * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
3499         prints to stderr.
3500         (install-info-am): Likewise.
3501
3502 2001-05-05  Pavel Roskin <proski@gnu.org>
3503
3504         * automake.in (scan_texinfo_file): Don't push undefined values
3505         to @clean_suffixes.
3506
3507 2001-05-05  Richard Boulton  <richard@tartarus.org>
3508
3509         * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
3510         first.
3511
3512 2001-05-05  Robert Collins  <robert.collins@itdomain.com.au>
3513
3514         * automake.in (required_targets): Added uninstall-am.
3515
3516 2001-05-05  Tom Tromey  <tromey@redhat.com>
3517
3518         Fix bug reported by Robert Boehne:
3519         * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
3520         substituted.
3521         (handle_dependencies): Likewise.
3522         * Makefile.am (maintainer-check): Look for AMDEP_TRUE
3523         substitution.  Correct diff now has 30 lines.  Look for space
3524         after losing `undef'.
3525
3526 2001-05-04  Peter Eisentraut  <peter_e@gmx.net>
3527
3528         * m4/sanity.m4: Remove the temp file before possible error exits.
3529
3530 2001-05-04  Akim Demaille  <akim@epita.fr>
3531
3532         * configure.in: Set perllibdir.
3533         From Dave Morrison.
3534
3535 2001-05-04  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
3536
3537         * automake.in ($pkgdata_dir): New.
3538         (&require_file_internal): Use it.
3539
3540 2001-05-03  Akim Demaille  <akim@epita.fr>
3541
3542         Case insensitive FS choke on Automake/ vs automake.
3543         Reported by Tim Van Holder.
3544
3545         * Automake/: Move into...
3546         * lib/: this new directory.
3547
3548 2001-05-03  Raja R Harinath  <harinath@cs.umn.edu>
3549
3550         * data.am (install-%DIR%%PRIMARY%): Execute the same command as
3551         echoed.
3552
3553 2001-04-30  Jim Meyering  <meyering@lucent.com>
3554
3555         * automake.in: Remove `/lib' from include directory.
3556
3557 2001-04-27  Akim Demaille  <akim@epita.fr>
3558
3559         AM_INIT_AUTOMAKE is no longer optional.
3560
3561         * automake.in ($seen_make_set, $seen_prog_install)
3562         ($seen_arg_prog): Remove.
3563         (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
3564         Remove related code.
3565
3566 2001-04-27  Akim Demaille  <akim@epita.fr>
3567
3568         * tests/specflags4.test, tests/specflags5.test: Remove, merged
3569         into...
3570         * tests/specflags3.test: here.
3571
3572 2001-04-27  Akim Demaille  <akim@epita.fr>
3573
3574         * automake.in ($seen_path_xtra): Remove.
3575         (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
3576         (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
3577
3578 2001-04-27  Akim Demaille  <akim@epita.fr>
3579
3580         * automake.in (&file_contents_internal): Declare it.
3581
3582 2001-04-27  Akim Demaille  <akim@epita.fr>
3583
3584         * automake.in (&read_am_file, &file_contents_internal): Don't
3585         define macros when `FALSE', to avoid errors on doubly defined
3586         variables but under condition `FALSE'.  In order to allow...
3587         (&am_install_var): When reading the associated file for the first
3588         time, enable `%?FIRST%'.
3589         (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
3590         * libs.am: Do it when `%?FIRST%'.
3591
3592 2001-04-27  Akim Demaille  <akim@epita.fr>
3593
3594         * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
3595         * ansi2knr.am: Do it.
3596         Prefer `if %?FOO%' to `if %!FOO%'.
3597
3598 2001-04-27  Akim Demaille  <akim@epita.fr>
3599
3600         * automake.in (&register_language, &finish_languages): Use `pure'
3601         as a Boolean.
3602         (&register_language): Use %done properly with objects, not names.
3603         (&finish_languages): Replace `$non_c' with `$needs_c'.
3604
3605 2001-04-27  Akim Demaille  <akim@epita.fr>
3606
3607         Unify LISP, PYTHON and JAVA primaries.
3608
3609         * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3610         return if there are no files, hook elisp-comp on the Autoconf
3611         macro, rely on lisp.am to define variables.
3612         (&handle_python, &handle_java): Likewise.
3613         (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3614         `PYTHON' must be handled here, not in `&handle_python'.
3615         * java.am: Define needed variables and rules.
3616
3617 2001-04-27  Akim Demaille  <akim@epita.fr>
3618
3619         * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3620         * data.am: Use it.
3621         * header.am: Include data.am.
3622
3623 2001-04-27  Akim Demaille  <akim@epita.fr>
3624
3625         * automake.in (&am_install_var): Transform `PRIMARY'.
3626         * data.am: Equip with %PRIMARY%.
3627
3628 2001-04-27  Akim Demaille  <akim@epita.fr>
3629
3630         * automake.in (@conditional_stack): Rename as...
3631         (@cond_stack): this.
3632         (&file_contents_internal): Support inclusion of files.
3633
3634 2001-04-27  Akim Demaille  <akim@epita.fr>
3635
3636         * automake.in (&lang_extensions): Remove.
3637         (&add_depend2, &saw_sources_p): Adjust.
3638         * depend2.am: `%EXT%' no longer includes the dot.
3639
3640 2001-04-27  Akim Demaille  <akim@epita.fr>
3641
3642         * automake.in (&finish_languages, &handle_single_transform_list)
3643         (&add_depend2, &handle_dependencies): No longer use the language
3644         name in `$lang'.  Rename `$lang_obj' as `$lang'.
3645
3646 2001-04-27  Akim Demaille  <akim@epita.fr>
3647
3648         * automake.in (&register_language): Use `new Language' with a hash.
3649
3650 2001-04-27  Akim Demaille  <akim@epita.fr>
3651
3652         * automake.in (&register_language): Rename `output-arg' and
3653         `derived-autodep' as `output_arg' and `derived_autodep' to match
3654         the Language attribute.
3655         Set the defaults in %option instead of $lang.
3656
3657 2001-04-27  Akim Demaille  <akim@epita.fr>
3658
3659         * Automake/: New directory.
3660         * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3661         * automake.in (Language): Use Automake::Struct.
3662         * tests/defs: Adjust to find Struct.
3663
3664 2001-04-23  Pavel Roskin <proski@gnu.org>
3665
3666         * automake.in: Add forward declaration for register_language().
3667         * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3668         passes now.
3669
3670 2001-04-20  Akim Demaille  <akim@epita.fr>
3671
3672         * automake.in (%required_targets): Add `uninstall'.
3673         From Robert Collins.
3674
3675 2001-04-12  Akim Demaille  <akim@epita.fr>
3676
3677         * automake.in (Language): Add attribute `name'.
3678         (&register_language): The name of the language is now given in the
3679         hash.
3680         No longer use `$lang' as the name of the language.
3681         Rename `$lang_obj' as `$lang'.
3682
3683 2001-04-12  Akim Demaille  <akim@epita.fr>
3684
3685         * automake.in (Language): Add attribute `_finish'.
3686         (&finish): New.
3687         (Automake): Adjust.
3688         (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3689         (&lang_asm_finish): Remove.
3690
3691 2001-04-12  Akim Demaille  <akim@epita.fr>
3692
3693         * automake.in (Language): Add attribute `extensions'.
3694         (Automake): Pass a hash to `&register_language' instead of a
3695         list of pseudo assignments.
3696         (&register_language): Adjust.
3697         (&finish_languages): Initialize `$ltoutarg'.
3698
3699 2001-04-12  Akim Demaille  <akim@epita.fr>
3700
3701         * automake.in (Language): Add attribute `output_arg'.
3702         (%language_map): Remove.
3703         (&register_language): Build only the object, and store in
3704         %languages only.
3705         (&finish_languages, &handle_single_transform_list): Adjust.
3706
3707 2001-04-12  Akim Demaille  <akim@epita.fr>
3708
3709         * automake.in (Language): Add attributes `flags', `compile' and
3710         `compiler'.
3711         (&finish_languages, &handle_single_transform_list, &handle_dist)
3712         (&add_depend2, &register_language): Use them and the `linker' and
3713         `pure' attributes.
3714
3715 2001-04-12  Akim Demaille  <akim@epita.fr>
3716
3717         * automake.in (&handle_single_transform_list, &finish_languages)
3718         (&handle_dist, &handle_dependencies): Use the language object for
3719         autodep and derived-autodep too.
3720
3721 2001-04-12  Akim Demaille  <akim@epita.fr>
3722
3723         * automake.in (&macro_define): Ignore Automake definition for
3724         ($var, $cond) if there is already a user definition for ($var, $cond).
3725
3726 2001-04-12  Akim Demaille  <akim@epita.fr>
3727
3728         * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3729         but also @deffn and so on which push data in indexes.
3730         Reported by Derek R. Price.
3731
3732 2001-04-12  Akim Demaille  <akim@epita.fr>
3733
3734         * automake.in (Language): New package, temporarily in this file.
3735         Use Class::Struct.
3736         (Automake): New package.
3737         (%languages): New.
3738         (&handle_single_transform_list): Use the language object's `ansi'
3739         attribute instead of `$language_map{"$lang-ansi-p"}'.
3740         (&register_language): Build and register the language too.
3741
3742 2001-04-11  Tom Tromey  <tromey@redhat.com>
3743
3744         Fixes report from Larry Jones:
3745         * automake.in (handle_dependencies): Add `@_am_quote@' where
3746         appropriate.
3747         * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3748
3749 2001-04-11  Akim Demaille  <akim@epita.fr>
3750
3751         * depend2.am: Fix the `if' condition for Libtool.
3752         Reported by Robert Boehne.
3753
3754 2001-04-10  Robert Collins  <robert.collins@itdomain.com.au>
3755
3756         * tests/subobj5.test: New file.
3757
3758 2001-04-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
3759
3760         * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3761         * tests/Makefile.am (TESTS): Added make.test.
3762         * tests/make.test: New file.
3763
3764 2001-04-10  Tom Tromey  <tromey@redhat.com>
3765
3766         * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3767
3768 2001-04-10  Derek R. Price  <dprice@collab.net>
3769
3770         * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3771
3772 2001-04-10  Akim Demaille  <akim@epita.fr>
3773
3774         * distdir.am: Add a missing backslash.
3775
3776 2001-04-10  Akim Demaille  <akim@epita.fr>
3777
3778         * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3779         variables.
3780         Specify to the caller whether $regen_aclocal_m4.
3781         (&handle_configure): Adjust.
3782         Transform `REGEN-ACLOCAL-M4'.
3783         Reported by Tom.
3784         * configure.am: Use it.
3785         * tests/defs (me): New.
3786         * tests/confdeps.test: New.
3787
3788 2001-04-09  Tom Tromey  <tromey@redhat.com>
3789
3790         * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3791         Fixes report from Jim Meyering.
3792
3793 2001-04-09  Akim Demaille  <akim@epita.fr>
3794
3795         * automake.in (&handle_configure): Don't bother with optimizing
3796         macro uses.
3797
3798 2001-04-09  Akim Demaille  <akim@epita.fr>
3799
3800         * tests/cond3.test (expected): Adjust.
3801
3802 2001-04-09  Akim Demaille  <akim@epita.fr>
3803
3804         * automake.in (&handle_single_transform_list): Remove $xbase,
3805         unused.
3806         (&handle_source_transform): All the variables have conditions now,
3807         simplify.
3808         (&variable_delete): Admit an argument @conds.
3809
3810 2001-04-09  Akim Demaille  <akim@epita.fr>
3811
3812         * automake.in ($source_suffix_pattern): Remove, unused.
3813         %extension_map seems to have replaced it.
3814
3815 2001-04-09  Akim Demaille  <akim@epita.fr>
3816
3817         * ext-compile.am: New file.
3818         * automake.in (&finish_languages): Output it.
3819         Require a C linker if there are several registered source suffixes.
3820         (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3821         extensions, which are discovered in ext-compile.am.
3822         With the help from Robert Boehne.
3823
3824 2001-04-09  Akim Demaille  <akim@epita.fr>
3825
3826         * automake.in (&handle_compile): Extract from...
3827         (&get_object_extension): here.
3828         (&read_am_file): Call it.
3829         ($included_generic_compile, $included_knr_compile)
3830         ($included_libtool_compile): Remove.
3831         ($get_object_extension_was_run): New.
3832
3833 2001-04-09  Akim Demaille  <akim@epita.fr>
3834
3835         Use AM_CONDITIONAL and if/endif for AMDEP.
3836
3837         * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3838         * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3839         to a configure time if/endif), or to `FALSE' (static removal of
3840         the code).
3841         (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3842         * depend2.am: Use if/endif.
3843
3844         Adjust the 101 tests that use dependencies so that they
3845         properly invoke aclocal before automake.  They need to `see'
3846         `AM_CONDITIONAL([AMDEP], ...)'.
3847
3848 2001-04-09  Akim Demaille  <akim@epita.fr>
3849
3850         * tags.am: Fix missing leading tabs.
3851
3852 2001-04-09  Akim Demaille  <akim@epita.fr>
3853
3854         * automake.in: Use simple quotes to define the _PATTERN variables
3855         to unobfuscate the regexps.
3856         ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3857
3858 2001-04-09  Akim Demaille  <akim@epita.fr>
3859
3860         * automake.in (&rule_define): When you discover a suffix rules,
3861         register the extensions for .SUFFIXES.
3862         (&handle_texinfo): Don't register the suffixes.
3863         (&get_object_extension): Don't register suffixes, let them be
3864         discovered in depend2.am.
3865         (&handle_emacs_lisp): Depend on your lisp.am.
3866         * lisp.am: Include the rule &handle_emacs_lisp used to output.
3867
3868 2001-04-09  Akim Demaille  <akim@epita.fr>
3869
3870         * subdirs.am: Don't define info related recursive targets.
3871         * texinfos.am: Do.
3872
3873 2001-04-09  Akim Demaille  <akim@epita.fr>
3874
3875         * subdirs.am (RECURSIVE_TARGETS): New variable.
3876         Use it.
3877         * automake.in (&handle_subdirs): Output it.
3878         (&file_contents_internal): Support value spread on several lines.
3879
3880 2001-04-09  Akim Demaille  <akim@epita.fr>
3881
3882         * automake.in (&handle_man_pages): Rely on mans.am to define
3883         man%SECTION%dir and MANS.
3884         * mans.am: Do it.
3885
3886 2001-04-09  Akim Demaille  <akim@epita.fr>
3887
3888         * automake.in (&variable_dump): Use %var_type properly.
3889         (&macro_define): Enforce better overriding rules.
3890         Handle the special case that used to handle...
3891         (&define_pretty_variable): this.
3892         Hence, don't.
3893         The variables you define are owned by Automake.
3894         (&generate_makefile): PRE_INSTALL and co must not be defined *by
3895         the user*.
3896         (&variable_defined): Now independent of the owner.
3897         (&variable_output, &variable_pretty_output): Adjust to %var_type.
3898
3899 2001-04-09  Akim Demaille  <akim@epita.fr>
3900
3901         * automake.in (%var_was_plus_eq): Rename as...
3902         (%var_type): this.
3903         (%def_type): Remove.
3904         (&macro_define): %var_type may now hold `', `+', or `:'.
3905         (%conditional, %am_vars, %content_lines): Rename as...
3906         (%var_value, %var_comment, %var_line): these.
3907
3908 2001-04-09  Akim Demaille  <akim@epita.fr>
3909
3910         * automake.in (&variable_output): Admit a list of @CONDS.
3911         (&variable_pretty_output): New.
3912         (&define_pretty_variable): Use it.
3913         (&read_am_file, &file_contents_internal): Prepend a separator to
3914         $am_vars only if there is none yet.
3915         (&file_contents_internal): Rename $separator as $spacing to
3916         harmonize with &read_am_file.
3917
3918 2001-04-09  Akim Demaille  <akim@epita.fr>
3919
3920         * automake.in (&am_install_var): Transform DIST, and let the *.am
3921         files handle DIST_COMMON.
3922         * data.am, header.am, java.am, list.am, python.am, script.am: Set
3923         DIST_COMMON.
3924
3925 2001-04-09  Akim Demaille  <akim@epita.fr>
3926
3927         * automake.in (%dist_common): Remove.
3928         (%configure_dist_common): Replace with...
3929         ($configure_dist_common): this.
3930         (&generate_makefile): Read the user file before using
3931         push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3932         that no variable is defined before it is run.
3933         (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3934         (&dist_cmp): Rename as...
3935         (&for_dist_common): this.
3936         (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3937         it.
3938         Adjust to $configure_dist_common.
3939         * configure.am, texi-vers.am: Set DIST_COMMON.
3940
3941 2001-04-09  Akim Demaille  <akim@epita.fr>
3942
3943         * automake.in (&handle_aclocal_m4): Rename as...
3944         (&scan_aclocal_m4): this.
3945         Return the list of aclocal.m4 dependencies.
3946         (&handle_configure): Invoke it, and use it when loading...
3947         * configure.am: Template the rules to recreate aclocal.m4.
3948
3949 2001-04-09  Akim Demaille  <akim@epita.fr>
3950
3951         * automake.in (&get_object_extension): Use ansi2knr.am.
3952         * clean-kr.am, kr-extra.am: Remove, merged into...
3953         * ansi2knr.am: this new file.
3954
3955 2001-04-09  Akim Demaille  <akim@epita.fr>
3956
3957         * automake.in (&transform): Fix an incredible bug which was
3958         breaking the if/endif system.
3959         ($ELSE_PATTERN): Admit an optional argument.
3960
3961 2001-04-09  Akim Demaille  <akim@epita.fr>
3962
3963         * comp-vars.am: Remove, merged into...
3964         * compile.am: here.
3965         * automake.in (&get_object_extension): Adjust.
3966
3967 2001-04-09  Akim Demaille  <akim@epita.fr>
3968
3969         * remake.am: Merge into...
3970         * configure.am: ... here.
3971         * automake.in (&handle_configure): Adjust.
3972
3973 2001-04-09  Akim Demaille  <akim@epita.fr>
3974
3975         * automake.in (&output_lex_build_rule): Output this...
3976         * lex.am: New file.
3977
3978 2001-04-09  Akim Demaille  <akim@epita.fr>
3979
3980         * automake.in (&condition_negate): New.
3981         (&variable_conditions_permutations): Use it.
3982         (&read_am_file, &file_contents): Use it on `else' clauses to
3983         support `if FALSE'.
3984         (&output_yacc_build_rule): Output this...
3985         * yacc.am: New file.
3986
3987 2001-04-09  Akim Demaille  <akim@epita.fr>
3988
3989         * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3990         (&handle_dist): Don't.
3991         (&handle_clean): Don't handle config.status here, let...
3992         * clean.am: ... do it.
3993         * distdir.am: Adjust.
3994
3995 2001-04-09  Akim Demaille  <akim@epita.fr>
3996
3997         * automake.in: Use strict vars and subs.
3998         Declare `%require_file_found'.
3999         (&handle_source_transform, &make_paragraphs): Declare my variables.
4000
4001 2001-04-09  Akim Demaille  <akim@epita.fr>
4002
4003         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4004         * progs.am, python.am: Use if/endif instead of ?INSTALL?.
4005         * java.am (_am_installdirs): Be sure to set it.
4006
4007 2001-04-09  Akim Demaille  <akim@epita.fr>
4008
4009         * automake.in (&make_condition): Return '#' when FALSE.
4010         (&conditional_string): Return FALSE, not '#' in the corresponding
4011         cases.
4012         (&file_contents_internal): Adjust.
4013         (&check_variable_defined_unconditional): Dump the guilty variable.
4014
4015 2001-04-09  Akim Demaille  <akim@epita.fr>
4016
4017         * distdir.am: Use and abuse of if/endif.
4018         * scripts.am: Using if/endif with variables is fine.
4019
4020 2001-04-09  Akim Demaille  <akim@epita.fr>
4021
4022         * automake.in (&make_paragraphs):  Extract from &file_contents.
4023         Make it more robust than the previous RE based scheme.
4024         (&file_contents): Use it.
4025
4026 2001-04-09  Akim Demaille  <akim@epita.fr>
4027
4028         * automake.in (&make_paragraphs):  Extract from &file_contents.
4029         Make it more robust than the previous RE based scheme.
4030         (&file_contents): Use it.
4031
4032 2001-04-09  Akim Demaille  <akim@epita.fr>
4033
4034         * tests/yacc2.test: Don't define several times a variable, as
4035         automake complains.
4036
4037 2001-04-09  Akim Demaille  <akim@epita.fr>
4038
4039         * automake.in (&handle_source_transform): Fix pr72: don't define
4040         $linker if there are no @files.
4041
4042 2001-04-09  Akim Demaille  <akim@epita.fr>
4043
4044         Avoid reading twice header-vars.am as now macro_define
4045         complains.
4046
4047         * automake.in (&define_standard_variables): Don't output the
4048         variables.
4049         (&read_main_am_file): Output first user variables, then Automake
4050         variables.
4051         Don't call twice &define_standard_variables.
4052         Save variable comments in $am_vars.
4053         (&variable_output): New.
4054         (&file_contents_internal): New.
4055         Save variable comments in $am_vars.
4056         (&file_contents): Use it.
4057
4058 2001-04-09  Akim Demaille  <akim@epita.fr>
4059
4060         * automake.in (&macro_define): The user is allowed to override
4061         a value if it was set by Automake, or if it was found in AC_SUBST.
4062
4063 2001-04-09  Akim Demaille  <akim@epita.fr>
4064
4065         * automake.in (&handle_source_transform): Better locality of the
4066         variables.
4067         Use `next' to skip nonexistent variables.
4068
4069 2001-04-09  Akim Demaille  <akim@epita.fr>
4070
4071         * automake.in (&variable_dump): If a variable is undefined, say
4072         it.
4073         (&check_ambiguous_conditional): Give finer error messages.
4074         (&macro_define): Check that a `+=' variable is not set with `='.
4075         Check for ambiguous definitions each time you _set_ (even with `+=')
4076         a variable.
4077         (&read_main_am_file): Perform a deep copy of %conditional.
4078
4079 2001-04-09  Akim Demaille  <akim@epita.fr>
4080
4081         * automake.in (&variable_defined): Some callers, e.g.,
4082         &am_primary_prefixes, really want to know if the variable is
4083         defined for any condition, not `TRUE' by default.
4084         (&am_primary_prefixes): Give a more precise error message.
4085
4086 2001-04-09  Akim Demaille  <akim@epita.fr>
4087
4088         (&variable_conditions): Don't include `FALSE' in the result.
4089
4090 2001-04-09  Akim Demaille  <akim@epita.fr>
4091
4092         * automake.in (&variable_conditions_reduce): FALSE is absorbent.
4093         (&variable_conditions): Don't include `FALSE' in the result.
4094
4095 2001-04-09  Akim Demaille  <akim@epita.fr>
4096
4097         * tests/defs, tests/depend3.test: Remove useless code.
4098
4099 2001-04-09  Akim Demaille  <akim@epita.fr>
4100
4101         * automake.in (&handle_source_transform):  Use
4102         &variable_conditions, don't read $conditional{$var}.
4103         (&variable_conditions_sub): When the call is the top level call,
4104         generate all the permutations of the conditions.
4105
4106 2001-04-09  Akim Demaille  <akim@epita.fr>
4107
4108         * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
4109         that it does not get noticed twice by automake, which now
4110         complains for multiple definitions.
4111         * tests/vartar.test: s/INSTALL/install/g, automake now complains
4112         because we defined INSTALL.
4113
4114 2001-04-09  Akim Demaille  <akim@epita.fr>
4115
4116         * automake.in (&generate_makefile) Use macro_define to define
4117         SOURCES and OBJECTS.
4118         (&variable_defined): Don't check for $conditional{VAR}{COND} as
4119         this would make perl create $condition{VAR}, which we don't want.
4120
4121 2001-04-09  Akim Demaille  <akim@epita.fr>
4122
4123         * automake.in (&variable_defined, &define_pretty_variable):
4124         Simplify code which used to handle the cases where not all
4125         variables were in %conditional.
4126         (&define_variable): Use &define_pretty_variable.
4127         (&variable_conditions_sub, &variable_value_as_list_worker)
4128         (&variable_value_as_list, &rule_define): Simplify syntax.
4129         (&read_main_am_file): Dump the guilty predefined variables.
4130
4131 2001-04-09  Akim Demaille  <akim@epita.fr>
4132
4133         * automake.in (&variable_conditions_sub)
4134         (&variable_value_as_list_worker): Remove dead code which used to
4135         handle the cases where not all variables were in %conditional.
4136
4137 2001-04-09  Akim Demaille  <akim@epita.fr>
4138
4139         * automake.in (&handle_source_transform, &read_main_am_file):
4140         Simplify loops which were split in two parts, conditional vs
4141         unconditional variables.
4142
4143 2001-04-09  Akim Demaille  <akim@epita.fr>
4144
4145         Handle unconditional values of variables as conditioned by
4146         `TRUE'.
4147
4148         * automake.in (%contents): Remove.
4149         (&generate_makefile, &handle_ltlibraries, &macro_define)
4150         (&read_am_file, &variable_defined, &variable_conditions_sub)
4151         (&variable_value, &variable_value_as_list_worker)
4152         (&variable_value_as_list, &define_pretty_variable)
4153         (&read_main_am_file): Use
4154         $conditional, not %contents.
4155         (&variable_conditions_permutations): Don't return TRUE and FALSE.
4156         (&variable_conditionally_defined): New.
4157         (&handle_dist): Use it.
4158         (&check_ambiguous_conditional): When multiply defined, specify
4159         under which condition.
4160         (&macro_define): Use it.
4161         (&variable_delete): New.
4162         (&read_am_file): Use it.
4163         (&am_install_var): Simplify, as all the variables are in
4164         %conditional now.
4165
4166 2001-04-07  Tom Tromey  <tromey@redhat.com>
4167
4168         * tests/Makefile.am (XFAIL_TESTS): Added man.test.
4169         (TESTS): Likewise.
4170         * tests/man.test: New file.
4171
4172 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
4173
4174         * depcomp (gcc3): Invert test condition.
4175
4176 2001-04-07  Tom Tromey  <tromey@redhat.com>
4177
4178         * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
4179         statement.  Report from Larry Jones.
4180
4181 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
4182
4183         * depcomp (sgi): Fix sed expression.  Report from Robert Boehne.
4184
4185 2001-04-01  Tom Tromey  <tromey@redhat.com>
4186
4187         * java.am (.PHONY clean-am): Removed trailing ":".
4188         From Per Bothner.  Fixes PR automake/139.
4189
4190 2001-03-28  Akim Demaille  <akim@epita.fr>
4191
4192         * program.am: Fix a stupid typo: now *all* (not none) the programs
4193         use `$(EXEEXT)'.
4194         Reported by Robert Boehne.
4195
4196 2001-03-23  Akim Demaille  <akim@epita.fr>
4197
4198         * automake.in (&read_am_file, &file_contents): Avoid name clashes
4199         on $cond.
4200
4201 2001-03-23  Akim Demaille  <akim@epita.fr>
4202
4203         * automake.in (&variable_conditionally_defined): Rename as...
4204         (&check_variable_unconditionally_defined): this.
4205         (&variable_dump): Fix the output.
4206         (&variable_defined, &macro_define): Since conditions are
4207         canonicalized, don't use a loop to look for a condition: read the
4208         hash.
4209         (&macro_define, &rule_define, &read_am_file, &file_contents):
4210         Rename $cond_string as $cond.
4211         * distdir.am (PACKAGE, VERSION): Remove; since they are already
4212         discovered via AC_SUBST, they now trigger a `defined twice' error.
4213
4214 2001-03-23  Akim Demaille  <akim@epita.fr>
4215
4216         * automake.in (&handle_footer, &handle_installdirs)
4217         (&read_main_am_file): Don't read %contents directly, use
4218         &variable_value.
4219
4220 2001-03-23  Akim Demaille  <akim@epita.fr>
4221
4222         * automake.in (&read_am_file): Define the variables in a single
4223         shot.
4224         Factor the $saw_bk code.
4225
4226 2001-03-23  Akim Demaille  <akim@epita.fr>
4227
4228         * automake.in (&read_am_file): Keep $cond_string up to date.
4229
4230 2001-03-23  Akim Demaille  <akim@epita.fr>
4231
4232         * automake.in (&define_variable): Use &macro_define.
4233
4234 2001-03-23  Akim Demaille  <akim@epita.fr>
4235
4236         * automake.in (&macro_define): Don't lose the location if we
4237         redefine a variable.
4238         Don't push all the variables in @var_list, let...
4239         (&read_am_file, &file_contents): ... do it.
4240         (&define_pretty_variable): Use macro_define.
4241         (&am_install_var): Delete the value of variables being redefined
4242         to pacify &macro_define which checks that variables are not
4243         doubly defined.
4244
4245 2001-03-23  Akim Demaille  <akim@epita.fr>
4246
4247         * automake.in (&conditional_dump): Rename as...
4248         (&variables_dump): this.  Use...
4249         (&variable_dump): this new sub.
4250
4251 2001-03-23  Akim Demaille  <akim@epita.fr>
4252
4253         * automake.in (&file_contents): Maintain $cond_string sync with
4254         @cond_stack.
4255         Output rules only if not under `FALSE'.
4256         Define variables under $cond_string.
4257         * scripts.am: For the time being if/endif does not work properly
4258         with macros.
4259
4260 2001-03-23  Akim Demaille  <akim@epita.fr>
4261
4262         * automake.in (IF_PATTERN): Unobfuscate the parens.
4263         (ENDIF_PATTERN): Allow a condition to be specified.
4264         (&file_contents): Use a @cond_stack.
4265         (&transform): At least for an easy transition, also transform
4266         %?FOO% and %!FOO%, as suggested by Lars.
4267         * scripts.am: First test bed for static if/endif use.
4268
4269 2001-03-23  Akim Demaille  <akim@epita.fr>
4270
4271         * automake.in (&file_contents): Use rule_define.
4272
4273 2001-03-23  Akim Demaille  <akim@epita.fr>
4274
4275         * automake.in (&macro_define): Don't rely on $1.
4276         Initialize the variable.
4277         Set its Automakism only if not defined or if given to the user.
4278         When concatenating values, insert a separator only if the value
4279         was not empty.
4280         (&read_am_file): When dumping the @var_list, skip Automake
4281         variables.
4282         (&file_contents): Use macro_define.
4283
4284 2001-03-23  Akim Demaille  <akim@epita.fr>
4285
4286         * automake.in (&rule_define): Extract from...
4287         (&read_am_file): here.
4288
4289 2001-03-23  Akim Demaille  <akim@epita.fr>
4290
4291         * automake.in (&macro_define, &read_am_file): More work for the
4292         former from the latter.  Reorganize the latter.
4293
4294 2001-03-23  Akim Demaille  <akim@epita.fr>
4295
4296         * automake.in (&macro_define): Extract from...
4297         (&read_am_file): here.
4298
4299 2001-03-23  Akim Demaille  <akim@epita.fr>
4300
4301         * automake.in (%am_var_defs): Replace with...
4302         (%var_is_am): this.
4303         (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
4304         (&file_contents, am_primary_&prefixes): Adjust.
4305         (&variable_defined, &define_variable): The actual semantics is
4306         `user defined'.
4307         (&read_main_am_file): Assert the var is user defined when
4308         outputting @var_list.
4309
4310 2001-03-23  Akim Demaille  <akim@epita.fr>
4311
4312         * automake.in (read_am_file): TRUE and FALSE are predefined
4313         conditionals.
4314         (&by_condition): Adjust.
4315         (&conditional_string): Recognize `TRUE' and `FALSE'.
4316         (&make_condition): Use it.
4317         * m4/cond.m4: Reject TRUE and FALSE as conditionals.
4318         * automake.texi (Conditionals): Adjust.
4319         * tests/cond9.test: s/FALSE/WRONG/.
4320
4321 2001-03-12  Pavel Roskin  <proski@gnu.org>
4322
4323         * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
4324         now.
4325
4326 2001-03-12  Akim Demaille  <akim@epita.fr>
4327
4328         * automake.in (&variable_conditions_permutations): Separate the
4329         conditions.
4330         * tests/cond3.test: Improve the sed expression.
4331
4332 2001-03-09  Pavel Roskin  <proski@gnu.org>
4333
4334         * Makefile.am (maintainer-check): Scan all *.am files and tests
4335         for invocations of `rm' without `-f'.
4336         * tests/mclean.test: Adjusted to prevent triggering the above
4337         test.
4338
4339 2001-03-09  Tom Tromey  <tromey@redhat.com>
4340
4341         * automake.in (scan_one_autoconf_file): Fixed comment to avoid
4342         maintainer-check failure.
4343
4344 2001-03-09  Akim Demaille  <akim@epita.fr>
4345
4346         * tests/cond3.test: Strengthen.
4347
4348 2001-03-09  Akim Demaille  <akim@epita.fr>
4349
4350         * automake.in (&conditional_string): Produce a unique string
4351         characterizing a condition stack.
4352         (&conditional_same): Remove, comparing two strings is now enough.
4353         (&variable_defined): Adjust.
4354         (&read_am_file): Use conditional_string.
4355
4356 2001-03-08  Akim Demaille  <akim@epita.fr>
4357
4358         * automake.in: Use -w.
4359         Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
4360         (&parse_arguments): Support --Werror and --Wno-error as a
4361         temporary hack until --warning/-W is properly implemented.
4362         (&handle_single_transform_list): Prototype.
4363         Be sure to define $directory.
4364         Use `exists' instead of testing the value of a maybe undefined
4365         hash value.
4366         (&add_depend2, &handle_configure, &handle_footer, &file_contents)
4367         (&handle_factored_dependencies): Use defined values.
4368         (&scan_one_autoconf_file): Save $_.
4369         * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
4370         Run automake with --Wno-error.
4371
4372 2001-03-07  Akim Demaille  <akim@epita.fr>
4373
4374         * automake.in (&handle_all): Use an array instead of a scalar for
4375         local_headers.
4376         Get rid of all-redirect: let `all' be that target.
4377
4378 2001-03-07  Akim Demaille  <akim@epita.fr>
4379
4380         * automake.in (&handle_merge_targets): Ventilate its non `all'
4381         related content into...
4382         (&generate_makefile): here.
4383         (&handle_merge_targets): Rename as...
4384         (&handle_all): this.
4385         Remove a useless `if': `@all' is obviously not empty, since it
4386         contains at least the `basename ($makefile)' which has just been
4387         unshifted.
4388
4389 2001-03-07  Akim Demaille  <akim@epita.fr>
4390
4391         * automake.in, aclocal.in: Backquote is inert in double quotes.
4392
4393 2001-03-06  Akim Demaille  <akim@epita.fr>
4394
4395         * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
4396         into `grep -v ...'.
4397
4398 2001-03-06  Pavel Roskin  <proski@gnu.org>
4399
4400         * java.am: Use `rm -f' instead of `rm'.
4401
4402 2001-03-06  Akim Demaille  <akim@epita.fr>
4403
4404         * automake.in (&push_dist_common): Simplify.
4405
4406 2001-03-06  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4407
4408         * ltlib.am: Replaced spaces with tab.
4409
4410 2001-03-06  Pavel Roskin  <proski@gnu.org>
4411
4412         * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
4413         fixed now.
4414
4415 2001-03-05  Pavel Roskin  <proski@gnu.org>
4416
4417         * header.am, scripts.am: Use ?INSTALL? in the install and
4418         uninstall rules.
4419
4420 2001-03-05  Pavel Roskin  <proski@gnu.org>
4421
4422         * tests/copy.test: Never use `rm' without `-f' - it may ask
4423         questions, notably for read-only files during `make distcheck'.
4424         * tests/insh.test: Likewise.
4425         * tests/installsh.test: Likewise.
4426         * tests/symlink.test: Likewise.
4427         * tests/symlink2.test: Likewise.
4428         * tests/symlink3.test: Likewise.
4429
4430 2001-03-05  Pavel Roskin  <proski@gnu.org>
4431
4432         * noinstdir.test: New test.
4433         * tests/Makefile.am (TESTS): Add noinstdir.test.
4434         (XFAIL_TESTS): Likewise.
4435
4436 2001-03-05  Akim Demaille  <akim@epita.fr>
4437
4438         * automake.in (&handle_options): Change the RE so that the third
4439         part of the versions always exist.
4440         (&file_contents): Don't pass uninitialized values to &transform.
4441
4442 2001-03-05  Akim Demaille  <akim@epita.fr>
4443
4444         * automake.in (&file_contents): Require a hash as second argument.
4445         Adjust callers.
4446
4447 2001-03-05  Akim Demaille  <akim@epita.fr>
4448
4449         Always use hashes with &file_contents.
4450
4451         * automake.in (&handle_texinfo): texibuild.am does not need
4452         TEXINFODIR.
4453         texinfos.am wants only TEXICLEANS.
4454         (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
4455         %transform.
4456         * texinfos.am: Adjust.
4457
4458 2001-03-05  Akim Demaille  <akim@epita.fr>
4459
4460         * automake.in (&handle_programs, &handle_libraries, &handle_tags)
4461         (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
4462         (&am_install_var): Forget about `-clean'.
4463         Transform ?INSTALL?.
4464         Always output the *.am file.
4465         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4466         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4467         Remove, merged into the corresponding *.am file.
4468         * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
4469         ?INSTALL?.
4470
4471 2001-03-05  Pavel Roskin  <proski@gnu.org>
4472
4473         * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
4474
4475 2001-03-05  Akim Demaille  <akim@epita.fr>
4476
4477         If OBJEXT and EXEEXT are not set, provide a default value, and use
4478         them unconditionally.
4479
4480         * automake.in (&generate_makefile): Provide default values for
4481         EXEEXT and OBJEXT.
4482         (&get_object_extension, &finish_languages)
4483         (&handle_single_transform_list, &handle_programs, &add_depend2)
4484         (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
4485         them, they are defined.
4486         * compile.am, depend2.am, program.am, progs.am: Likewise.
4487         * remake-hdr.am: Fix a typo.
4488         * tests/cxxo.test, tests/fo.test, tests/implicit.test,
4489         * tests/interp.test, tests/subobj.test, tests/subobj2.test,
4490         * tests/suffix2.test: Adjust.
4491
4492 2001-03-05  Akim Demaille  <akim@epita.fr>
4493
4494         * automake.in (&file_contents): Map MAINTAINER-MODE to
4495         @MAINTAINER_MODE_TRUE@ or nothing.
4496         * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
4497         Suggested by Tom.
4498
4499 2001-03-05  Akim Demaille  <akim@epita.fr>
4500
4501         * automake.in (&do_one_merge_target): Remove, was only called from...
4502         (&handle_merge_targets): here for `all'.
4503         Adjust.
4504
4505 2001-03-05  Akim Demaille  <akim@epita.fr>
4506
4507         Make the installation/uninstallation of Info pages follow the
4508         regular am/recursive scheme.
4509
4510         * automake.in (%required_targets, %dependencies): Add
4511         install-info.
4512         (%dependencies): Add install-info, install-info-am, and
4513         unstall-info.
4514         (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
4515         reversed BTW.  Does anybody use the option `no-installinfo'?
4516         (&handle_merge_targets): Let the handling of info related targets
4517         to...
4518         (&handle_factored_dependencies): this.
4519         * subdirs.am: Use ?INSTALL-INFO?.
4520         * texinfos.am: Define the install-info, uninstall-info and
4521         uninstall-info-am targets.
4522
4523 2001-03-05  Akim Demaille  <akim@epita.fr>
4524
4525         * automake.in (%required_targets, %dependencies): Add dvi, info,
4526         dvi-am, info-am.
4527         (@info, @dvi): Remove.
4528         (&handle_texinfo, &handle_merge_targets): Adjust.
4529         (&handle_factored_dependencies): Required targets are phony.
4530         * texinfos.am: Build info, dvi, and the corresponding -am or
4531         -recursive targets.
4532
4533 2001-03-05  Akim Demaille  <akim@epita.fr>
4534
4535         * automake.in (&am_install_var): Remove $cygxform, unused.
4536
4537 2001-03-05  Akim Demaille  <akim@epita.fr>
4538
4539         * automake.in (&file_contents): Transform LIBTOOL.
4540         (&am_install_var): Remove $ltxform.
4541         * ltlib.am, progs.am: Adjust.
4542
4543 2001-03-05  Akim Demaille  <akim@epita.fr>
4544
4545         * automake.in: Require AC_PROG_INSTALL in...
4546         (&scan_autoconf_files): here.
4547
4548 2001-03-05  Akim Demaille  <akim@epita.fr>
4549
4550         * configure.am: New file.
4551         * automake.in (&file_contents): Transform CONFIGURE-AC.
4552         (&handle_texinfo, &handle_configure): Don't transform
4553         CONFIGURE_AM.
4554         (&handle_configure): Use `configure.am'.
4555         * remake-hdr.am, remake.am, texi-vers.am: Adjust to
4556         MAINTAINER-MODE and CONFIGURE-AC.
4557
4558 2001-03-05  Akim Demaille  <akim@epita.fr>
4559
4560         * automake.in (&pretty_print_internal): Don't output useless
4561         spaces.
4562         (define_pretty_variable): Don't issue the space after the `=' sign
4563         to avoid trailing spaces in Makefile.ins.
4564
4565 2001-03-05  Akim Demaille  <akim@epita.fr>
4566
4567         * automake.in (&generate_makefile): Invoke &initialize_per_input
4568         *before* setting $am_file_name and $in_file_name.
4569
4570 2001-03-05  Akim Demaille  <akim@epita.fr>
4571
4572         * automake.in ($in_file_name, $am_file_name, $relative_dirs):
4573         Globals, initialized...
4574         (&initialize_per_input): here.
4575
4576 2001-03-05  Akim Demaille  <akim@epita.fr>
4577
4578         * automake.in ($am_relative_dir): Global.
4579         (&initialize_per_input): Init it.
4580         (%make_list, @make_input_list): My them from
4581         (&scan_autoconf_files): here.
4582         (&require_file_internal): Mying changes.
4583
4584 2001-03-05  Akim Demaille  <akim@epita.fr>
4585
4586         * automake.in (%am_vars, @var_list, %def_type): Globals.
4587         (&initialize_per_input): Initialize them.
4588         (&read_main_am_file): Don't local them.
4589         (&get_object_extension): $objext is private.
4590         (&handle_single_transform_list): $lang is.
4591         (&handle_ltlibraries): $libname_rx is.
4592         (&scan_autoconf_config_files): How about actually paying attention
4593         to your arguments, instead of working on $_? (this is no Perl
4594         variable, it's a Perl variable followed by a question mark).
4595         (&file_contents): $contents and $separator are private.
4596         (&am_install_var): Declare @condvals, not $condvals.
4597         (%make_dirs): My.
4598
4599 2001-03-05  Akim Demaille  <akim@epita.fr>
4600
4601         * automake.in (&initialize_per_input): Move to the top.
4602         Precede with the `my' list of its variables.
4603
4604 2001-03-05  Akim Demaille  <akim@epita.fr>
4605
4606         * automake.in ($am_file): Use vars.
4607         ($am_file_name, $in_file_name): Private to &generate_makefile.
4608
4609 2001-03-05  Akim Demaille  <akim@epita.fr>
4610
4611         * automake.in: Preparation for `use strict': Move the
4612         initialization of the constants to the top, from...
4613         (&initialize_global_constants): here.
4614
4615 2001-03-05  Akim Demaille  <akim@epita.fr>
4616
4617         * automake.in (&handle_single_transform_list, &add_depend2): Let
4618         $lang_specific_files{$lang} be a list instead of a string.
4619
4620 2001-03-05  Akim Demaille  <akim@epita.fr>
4621
4622         Let's make it run ten times faster...
4623
4624         * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4625         transformations.
4626         (&file_contents): Let `$command' remove the Automake commands, and
4627         normalize the series of `\n'.
4628         Slurp the file and apply $command in a single step.
4629         No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4630         is already normalized to be handled by &transform.
4631
4632 2001-03-05  Tom Tromey  <tromey@redhat.com>
4633
4634         * automake.in (register_language): Add entry for `-pure'.
4635         Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4636         (finish_languages): Use `-pure' field of language map.
4637
4638 2001-03-03  Tom Tromey  <tromey@redhat.com>
4639
4640         * tests/yaccvpath.test: No need to remove dummy files.
4641         * tests/subobj3.test: No need to remove dummy files.
4642         * tests/pr9.test: No need to remove dummy files.
4643         * tests/pr87.test: No need to remove dummy files.
4644         * tests/pr19.test: No need to remove dummy files.
4645         * tests/install2.test: No need to remove dummy files.
4646         * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4647         and depcomp.
4648
4649 2001-02-27  Pavel Roskin  <proski@gnu.org>
4650
4651         * tests/yaccvpath.test: Add a delay to make parse.c really out
4652         of date. Detect the problem earlier, after `make distdir'. Drop
4653         dependency on flex. Always use the `-y' flag for bison. Comment
4654         changes.
4655         * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4656
4657 2001-03-02  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4658
4659         * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4660
4661 2001-02-28  Akim Demaille  <akim@epita.fr>
4662
4663         * automake.in (&add_depend2): Transform `GENERIC'.
4664         Get rid of the ad hoc transformation of `@EXT@.o:' which in
4665         addition was broken by the `@ -> %' patch.
4666         * depend2.am: Adjust to use ?GENERIC?.
4667
4668 2001-02-28  Akim Demaille  <akim@epita.fr>
4669
4670         * Makefile.am (maintainer-check): `undef $/' is OK.
4671
4672 2001-02-28  Akim Demaille  <akim@epita.fr>
4673
4674         * automake.in (&handle_configure): Fortunately, $top_reldir,
4675         the definition of which was highly suspicious, was unused.
4676
4677 2001-02-27  Akim Demaille  <akim@epita.fr>
4678
4679         * automake.in (%exec_dir_p): Move to the top so that it is visible
4680         to all routines.
4681
4682 2001-02-27  Pavel Roskin  <proski@gnu.org>
4683
4684         * tests/yaccvpath.test: Prevent automake from looking into ..
4685         and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4686
4687 2001-02-27  Akim Demaille  <akim@epita.fr>
4688
4689         * automake.in (%exec_dir_p): Pulled out from...
4690         (&am_primary_prefixes): here.
4691
4692 2001-02-27  Akim Demaille  <akim@epita.fr>
4693
4694         * automake.in (&usage): Display $0, not $me.
4695
4696 2001-02-27  Akim Demaille  <akim@epita.fr>
4697
4698         * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4699         * automake.in (&handle_clean): Don't escape what's given to
4700         &transform.
4701
4702 2001-02-27  Akim Demaille  <akim@epita.fr>
4703
4704         Distinguish automake substitutions from config.status
4705         substitutions.
4706
4707         * automake.in (&add_depend2): Transform AMDEP.
4708         (&handle_clean): Transform MCFILES and MFILES.
4709         (&file_contents): Transform MAINTAINER_MODE.
4710         (&transform, &am_install_var): Use `%', not `@'.
4711         Adjust all the *.am files.
4712         * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4713         * depend2.am: Display the double dependency on both ?AMDEP? and
4714         @AMDEP@.
4715
4716 2001-02-27  Tom Tromey  <tromey@redhat.com>
4717
4718         * distdir.am (distcheck): Fixed new code.
4719
4720         * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4721         Only configure once.
4722
4723         * distdir.am (distcheck): Print error message if distclean failed
4724         to fully clean.
4725
4726 2001-02-27  Pavel Roskin  <proski@gnu.org>
4727
4728         * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4729
4730 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4731
4732         * tests/Makefile.am (TESTS): Added yaccvpath.test.
4733         * tests/yaccvpath.test: New file.
4734
4735 2001-02-26  Akim Demaille  <akim@epita.fr>
4736
4737         * automake.in (&am_install_var): Recognize whether predefined
4738         directories are `data' or `exec'.
4739         * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4740         ?EXEC?.
4741         * tests/instdata2.test: Update.
4742
4743 2001-02-26  Akim Demaille  <akim@epita.fr>
4744
4745         * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4746         necessarily in infodir.
4747
4748 2001-02-26  Akim Demaille  <akim@epita.fr>
4749
4750         * automake.in ($am_file): Be `local', as my'd variables used in
4751         `foreach' loops are always private to the loop.
4752
4753 2001-02-26  Pavel Roskin  <proski@gnu.org>
4754
4755         * Makefile.am: Add install.am.
4756
4757 2001-02-26  Akim Demaille  <akim@epita.fr>
4758
4759         * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4760         routines, otherwise the elements to compare are passed in @_
4761         instead of $a and $b.
4762
4763 2001-02-26  Akim Demaille  <akim@epita.fr>
4764
4765         * automake.in (%required_targets): `installcheck-am' is needed.
4766
4767 2001-02-26  Akim Demaille  <akim@epita.fr>
4768
4769         * automake.in (&transform_cond): Merge into...
4770         (&transform): this.
4771         Adjust all uses.
4772
4773 2001-02-26  Akim Demaille  <akim@epita.fr>
4774
4775         * automake.in (&handle_dist): Use &transform instead of dedicated
4776         magic for DISTDIRS.
4777         But be sure to always do it.
4778         * distdir.am: Adjust.
4779
4780 2001-02-26  Akim Demaille  <akim@epita.fr>
4781
4782         * automake.in: Use File::Basename.
4783         (&dirname, &basename): Remove.
4784
4785 2001-02-26  Akim Demaille  <akim@epita.fr>
4786
4787         * automake.in ($me): New.
4788         Use it.
4789         (&usage): Display your full name.
4790
4791 2001-02-26  Akim Demaille  <akim@epita.fr>
4792
4793         * automake.texi (Invoking Automake): Remove dead options.
4794
4795 2001-02-26  Akim Demaille  <akim@epita.fr>
4796
4797         * automake.in (&scan_texinfo_file): Also compute the list of files
4798         to clean.
4799         Handle local errors.
4800         (&handle_texinfo): Use it.
4801
4802 2001-02-26  Akim Demaille  <akim@epita.fr>
4803
4804         * automake.in: Don't pass arguments to...
4805         (&parse_arguments): Work on @ARGV.
4806         Use Getopt.
4807         Add support for `-f'.
4808         (&version): New.
4809         (&usage): Update.
4810
4811 2001-02-26  Akim Demaille  <akim@epita.fr>
4812
4813         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4814         handle installcheck and installcheck-am.
4815         * install.am: Do it.
4816
4817 2001-02-26  Akim Demaille  <akim@epita.fr>
4818
4819         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4820         handle install and install-am.
4821         * install.am: Do it.
4822
4823 2001-02-26  Akim Demaille  <akim@epita.fr>
4824
4825         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4826         work on targets handled by %dependencies.
4827         (&handle_factored_dependencies): Do it.
4828         * install.am: Install install-exec, install-data and uninstall's
4829         suites.
4830
4831 2001-02-26  Akim Demaille  <akim@epita.fr>
4832
4833         * automake.in (&handle_merge_targets): Move `install-strip' from
4834         here...
4835         * install.am: to here.
4836
4837 2001-02-26  Akim Demaille  <akim@epita.fr>
4838
4839         * automake.in (@installdirs): Remove.
4840         (&file_contents): Be able to grow Automake macros with `+='.
4841         (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4842         files define _am_installdirs.
4843         (&handle_installdirs): Remove the code, just output `install.am'.
4844         * install.am: New.
4845         * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4846         * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4847
4848 2001-02-26  Akim Demaille  <akim@epita.fr>
4849
4850         * tests/instdata2.test (libexec_DATA): Exercise more
4851         possibilities.
4852
4853 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4854
4855         * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4856
4857 2001-02-25  Tom Tromey  <tromey@redhat.com>
4858
4859         * tests/instdata2.test: Added `sbin_DATA' check.
4860
4861         * tests/Makefile.am (TESTS): Added subdircond.test.
4862         * tests/subdircond.test: New file.
4863         * automake.in (handle_gettext): Don't fail if SUBDIRS
4864         conditionally defined.
4865
4866         * automake.in: Use IO::File.
4867         (generate_makefile): Use IO::File.
4868         (scan_texinfo_file): Likewise.
4869         (handle_aclocal_m4): Likewise.
4870         (scan_autoconf_traces): Likewise.
4871         (scan_one_autoconf_file): Likewise.
4872         (read_am_file): Likewise.
4873         (file_contents): Likewise.
4874         (create): Likewise.
4875
4876 2001-02-25  Akim Demaille  <akim@epita.fr>
4877
4878         * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4879
4880 2001-02-25  Akim Demaille  <akim@epita.fr>
4881
4882         * automake.in (&transform): Also call &transform_cond on your
4883         arguments.
4884         (&handle_dist): Adjust.
4885         (&handle_factored_dependencies): Uniq dependencies.
4886
4887 2001-02-25  Akim Demaille  <akim@epita.fr>
4888
4889         * automake.in (&handle_gettext): Simplify redundant `if'.
4890         Used &variable_value, don't read %contents directly.
4891
4892 2001-02-25  Akim Demaille  <akim@epita.fr>
4893
4894         * automake.in ($install_recursive): Remove, replaced with calls to
4895         `&variable_defined ('SUBDIRS')'.
4896         (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4897         (&file_contents): now does.
4898
4899 2001-02-25  Akim Demaille  <akim@epita.fr>
4900
4901         * automake.in (&handle_man_pages): $found is dead.
4902
4903 2001-02-25  Akim Demaille  <akim@epita.fr>
4904
4905         Internally just store the conditionals as space separated lists of
4906         CONDITIONS (instead of @CONDITIONS@).
4907
4908         * automake.in (&conditional_true_when, &variable_conditions_sub):
4909         Split conditions at spaces.
4910         (&handle_dependencies, &variable_conditions_permutations): Don't
4911         put @ around conditions.
4912         (&variable_conditions_cmp): There are no @ to strip.
4913         (&make_condition): New.
4914         (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4915         it.
4916         (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4917         Join @conditional_stack with spaces.
4918         (&read_main_am_file): Adjust the output of variables.
4919         Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4920         true' and no longer `@TEST@TRUE = @TEST@true'.
4921         (&variable_conditions_cmp): Rename as...
4922         (&by_condition): this.
4923         Sort in a human pleasant order.
4924         Use it everywhere a human can see conditions.
4925         (&variable_conditions_reduce): Don't sort conditions, that's
4926         pointless.
4927         * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4928
4929 2001-02-25  Akim Demaille  <akim@epita.fr>
4930
4931         * automake.in: `my' the globals.
4932
4933 2001-02-25  Akim Demaille  <akim@epita.fr>
4934
4935         * automake.in (&initialize_per_input): %targets_conditionals is
4936         new.
4937         (&read_am_file): When slurping a rule, set the target related
4938         variable, and no variable related variable.
4939         (&file_contents): Likewise.
4940         * tests/vartar.test, tests/ctarget1.test: New.
4941
4942 2001-02-25  Akim Demaille  <akim@epita.fr>
4943
4944         * automake.in (&variable_defined, &variable_value_as_list_worker):
4945         If $VAR is effectively a variable, don't die if it's also a
4946         target.
4947         Plus some formatting changes.
4948
4949 2001-02-25  Akim Demaille  <akim@epita.fr>
4950
4951         * automake.in: Mying changes.
4952         * Makefile.am (maintainer-check): Check the stability of the
4953         number of uses of `local'.
4954
4955 2001-02-25  Akim Demaille  <akim@epita.fr>
4956
4957         * automake.in: Mying changes.
4958
4959 2001-02-25  Akim Demaille  <akim@epita.fr>
4960
4961         * automake.in: Mying changes.
4962
4963 2001-02-25  Akim Demaille  <akim@epita.fr>
4964
4965         * automake.in: Mying changes.
4966         (&handle_tags): Fix a bug uncovered by the previous mying changes:
4967         transform CONFIG into $config, not $xform.
4968
4969 2001-02-25  Akim Demaille  <akim@epita.fr>
4970
4971         * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4972         Don't deal with install-data-am, install-exec-am and unstall-am.
4973         (&initialize_per_input): Add them to %dependencies.
4974         Remove %exec_dir_p since the *.am files are now in charge of it.
4975         Remove @uninstall, @install_data, @install_exec.
4976         (&handle_merge_targets): Adjust to these removals.
4977         (&file_contents): Also &transform_cond for --no-installman and
4978         --no-installinfo.
4979         (&do_one_merge_target): Add some magic to install hooks on
4980         %dependencies' targets.
4981         (%required_targets): New.
4982         (&handle_factored_dependencies): Output required targets.
4983         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4984         * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4985         * texinfos.am: Declare your dependencies on install-data-am,
4986         install-exec-am and uninstall-am.
4987         * tests/instdata2.test (incldata_HEADERS): New test.
4988
4989 2001-02-24  Tom Tromey  <tromey@redhat.com>
4990
4991         * Makefile.am (amfiles): Added texibuild.am.
4992         * texibuild.am: New file.
4993         * tests/Makefile.am (TESTS): Added texinfo9.test.
4994         * tests/texinfo9.test: New file.
4995         * automake.in (handle_texinfo): Keep track of suffixes used.  Give
4996         error if suffix unrecognized.  Removed extraneous newline.
4997
4998 2001-02-23  Akim Demaille  <akim@epita.fr>
4999
5000         * automake.in (&am_install_var): Don't hook on the clean targets
5001         and .PHONY.
5002         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
5003         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
5004         Do it.
5005
5006 2001-02-23  Akim Demaille  <akim@epita.fr>
5007
5008         * automake.in: Promote local `my' over `local'.
5009
5010 2001-02-23  Akim Demaille  <akim@epita.fr>
5011
5012         * automake.in: Formatting and mying changes.
5013
5014 2001-02-23  Akim Demaille  <akim@epita.fr>
5015
5016         * automake.in: Formatting and mying changes.
5017
5018 2001-02-23  Akim Demaille  <akim@epita.fr>
5019
5020         * automake.in (&handle_man_pages): Let install-man and
5021         uninstall-man be handled by the dependency tracker.
5022         (&initialize_per_input): Let %dependencies track them.
5023         * mans.am: Add the needed hooks with the proper dependencies.
5024
5025 2001-02-22  Pavel Roskin  <proski@gnu.org>
5026
5027         * tests/target-cflags.test: Don't use subshell to configure in
5028         subdirectory. Typo fix - run `./foo', not `/foo'.
5029
5030 2001-02-22  Akim Demaille  <akim@epita.fr>
5031
5032         * automake.in: Formatting and mying changes.
5033
5034 2001-02-21  Tom Tromey  <tromey@redhat.com>
5035
5036         * automake.in (handle_dist): Introduce new variable to avoid extra
5037         keys in %dist_dirs.  Fixes distdir.test.
5038
5039         * automake.in (handle_texinfo): Only remove suffixes we can
5040         handle.
5041
5042         * tests/distdir.test: Check to make sure directory isn't made in
5043         build directory.
5044
5045         * automake.in (handle_dist): Do nothing in Cygnus mode.
5046
5047 2001-02-21  Pavel Roskin  <proski@gnu.org>
5048
5049         * header-vars.am: Remove tabs before variable definitions.
5050
5051 2001-02-21  Akim Demaille  <akim@epita.fr>
5052
5053         * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
5054         false diagnostics.
5055
5056 2001-02-21  Akim Demaille  <akim@epita.fr>
5057
5058         * automake.in (&dist_cmp, &target_cmp): Be sure to return a
5059         numeric value as required by Perl 5.6.
5060
5061 2001-02-21  Akim Demaille  <akim@epita.fr>
5062
5063         * dist-vars.am: Remove, merge into...
5064         * distdir.am: this.
5065         * automake.in (dirname, basename, backname): Move to the top of
5066         the file so that prototypes are checked,
5067         Use them without `&'.
5068         (&handle_dist): Adjust.
5069
5070 2001-02-21  Akim Demaille  <akim@epita.fr>
5071
5072         * automake.in (&check_ambiguous_conditional, &read_main_am_file):
5073         Use a uniform naming scheme.
5074         (&quote_cond_val, &unquote_cond_val): Delete, dead code.
5075         (&read_am_file): Fix conditional definition of backslash continued
5076         items.
5077
5078 2001-02-21  Akim Demaille  <akim@epita.fr>
5079
5080         Change the handling of conditionals: instead of using an ad-hoc
5081         encoding to store a hash in a string, use hashes.
5082
5083         * automake.in (&conditional_dump): New.
5084         (&check_ambiguous_conditional, &variable_defined)
5085         (&variable_conditions_sub, &variable_value_as_list_worker)
5086         (&define_variable, read_am_file, &read_main_am_file): Be sure to
5087         handle `$conditional{$vars}' as a hash instead of a plain string.
5088
5089 2001-02-21  Akim Demaille  <akim@epita.fr>
5090
5091         * automake.in (&conditional_true_when): Modernize, simplify.
5092         Warning: `$comp' is now private (my), while it used to be
5093         `inherited' from a `local' elsewhere in the code.  AFAICT it was
5094         wrong, but some dirty side effect might show up.
5095         (&conditionals_true_when): New.
5096         (&variable_conditions_sub, &variable_conditions_reduce): Use it.
5097
5098 2001-02-21  Akim Demaille  <akim@epita.fr>
5099
5100         * automake.in ($top_builddir): Remove, used in one place.
5101         (&define_standard_variables): Adjust.
5102         Move the definition of triplet variables into...
5103         * header-vars.am: here.
5104
5105 2001-02-21  Akim Demaille  <akim@epita.fr>
5106
5107         * automake.in (&initialize_global_constants): Don't define $USAGE.
5108         (&usage): Handle the former content of $USAGE.
5109         Don't pretend autoconf cares about Makefile.in.
5110         Classify the options.
5111         (&handle_tests): Formatting and mying changes.
5112
5113 2001-02-21  Akim Demaille  <akim@epita.fr>
5114
5115         * automake.in (&handle_tests_dejagnu): Move the definition of a
5116         default `site.exp' into...
5117         * dejagnu.am (site.exp): here.
5118         Use DOS compliant file names.
5119
5120 2001-02-21  Akim Demaille  <akim@epita.fr>
5121
5122         * automake.in (&dist_cmp): New.
5123         (&handle_dist): Use it.
5124         Promote `my' over `local'.
5125
5126 2001-02-21  Akim Demaille  <akim@epita.fr>
5127
5128         * dist.am: Remove, merge into...
5129         * distdir.am: here.  Use the neat sed snippet for banners.
5130         BTW, distcheck is phony.
5131         * automake.in (&handle_dist_worker): Remove, merge into...
5132         (&handle_dist): this.
5133         (&file_contents): Strip leading new lines.
5134         Be sure to end comments with new lines.
5135
5136 2001-02-21  Akim Demaille  <akim@epita.fr>
5137
5138         * distdir.am (GZIP_ENV): Define.
5139         * automake.in (&handle_dist): Don't.
5140         (&uniq): New.
5141         (&handle_dist_worker, &am_install_var): Use it.
5142
5143 2001-02-21  Akim Demaille  <akim@epita.fr>
5144
5145         * distdir.am (distdir): Handle the DIST-TARGETS.
5146         * automake.in (&handle_dist_worker): Don't.
5147
5148 2001-02-21  Akim Demaille  <akim@epita.fr>
5149
5150         * automake.in (&file_contents): Transform the global options (such
5151         as CYGNUS).
5152         (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
5153
5154 2001-02-21  Akim Demaille  <akim@epita.fr>
5155
5156         * distdir.am (distdir): Be sure to have permissive rights on its
5157         contents.
5158         (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
5159         targets.
5160         And BTW, all these guys are phony.
5161         * automake.in (&handle_dist_worker): As its name doesn't indicate,
5162         output distributions.
5163         (&handle_dist): As its name doesn't indicate, don't.
5164         (&initialize_global_constants): Don't define variables which
5165         content is now handled by distdir.am.
5166         But register `dist-all' as a factored target.
5167         (&handle_factored_dependencies): Don't output empty targets.
5168
5169 2001-02-20  Tom Tromey  <tromey@redhat.com>
5170
5171         * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
5172         invocation.
5173
5174 2001-02-18  Tom Tromey  <tromey@redhat.com>
5175
5176         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
5177         Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
5178         (AM_PROG_STRIP): Commented out.
5179
5180 2001-02-17  Raja R Harinath  <harinath@cs.umn.edu>
5181
5182         * depcomp (gcc3): Protect against the compiler deleting
5183         the dependency output file.
5184
5185 2001-02-17  Tom Tromey  <tromey@redhat.com>
5186
5187         * automake.in (handle_merge_targets): Use double quotes around
5188         setting of INSTALL_STRIP_PROGRAM.
5189         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
5190         to absolute path at runtime.
5191         (AM_PROG_STRIP): Don't explicitly test $STRIP.
5192
5193 2001-01-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
5194
5195         * m4/strip.m4: New file.
5196         * m4/Makefile.am (m4data_DATA): Add strip.m4.
5197         * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
5198         * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
5199         * automake.in (handle_merge_targets): In the install-strip rule,
5200         set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
5201         to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
5202         * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
5203         don't use INSTALL_STRIP_FLAG any longer.
5204
5205 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
5206
5207         * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
5208         argument.
5209
5210 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
5211
5212         * automake.in (unquote_m4_arg): New function.
5213         (scan_one_configure_file): Call unquote_m4_arg on
5214         AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
5215         works.
5216
5217 2001-02-15  Tom Tromey  <tromey@redhat.com>
5218
5219         * config.guess, config.sub: New versions from FSF.
5220
5221         * Makefile.am (WGET): New macro.
5222         (FETCHFILES): New macro.
5223         (fetch): New target.
5224
5225         * tests/subobj3.test: Exit with status 77 if gcc not found.
5226         * tests/pr9.test: Exit with status 77 if gzip not found.
5227         * tests/pr87.test: Exit with status 77 if gcc not found.
5228         * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
5229         * tests/install2.test: Exit with status 77 if gzip not found.
5230         * tests/exsource.test: Exit with status 77 if GNU make not found.
5231         * tests/ansi3.test: Exit with status 77 if gcc not found.
5232
5233         * tests/target-cflags.test: Require GNU make.  Exit with status 77
5234         if gcc or make not found.  Fixes PR automake/121.
5235
5236         * configure.in: Require Perl 5.005.
5237         * automake.in: Require 5.005.
5238
5239         * automake.texi (Top): Conditionalize on `nottex', not `info'.
5240         Fixes PR automake/122.
5241
5242 2001-02-14  Tom Tromey  <tromey@redhat.com>
5243
5244         * automake.in (add_depend2): Only emit a given object rule once.
5245         Fixes specflags6.test.
5246
5247 2001-02-14  Richard Boulton  <richard@tartarus.org>
5248
5249         * tests/specflags6.test: New file.
5250
5251 2001-02-14  Tom Tromey  <tromey@redhat.com>
5252
5253         * automake.texi (A Shared Library): Mention -module.
5254
5255 2001-02-13  Tom Tromey  <tromey@redhat.com>
5256
5257         * automake.in (do_one_merge_target): Always register $name and
5258         $name-am as phony.
5259
5260         * automake.in (do_one_merge_target): Register `all' as phony
5261         target.
5262
5263         * configure.in: Updated to 1.4e for cvs.
5264
5265 2001-02-12  Tom Tromey  <tromey@redhat.com>
5266
5267         * configure.in: Updated to 1.4d and released.
5268
5269         * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
5270         names through autoconf.
5271
5272         Fix for subdirbuiltsources.test:
5273         * automake.in (initialize_per_input): [all_target] Initialize to
5274         empty string.
5275         (handle_merge_targets): Use all-redirect target to handle built
5276         sources.
5277         (do_one_merge_target): Don't generate all-redirect rule.
5278
5279 2001-02-11  Peter Muir  <iyhi@yahoo.com>
5280
5281         * tests/subdirbuiltsources.test: New file.
5282         * tests/Makefile.am (TESTS): Added new file.
5283
5284 2001-02-10  Tom Tromey  <tromey@redhat.com>
5285
5286         * tests/condlib.test: New file.
5287         * tests/Makefile.am (TESTS): Added new file.
5288
5289 2001-02-10  Lars J. Aas  <larsa@sim.no>
5290
5291         * automake.in ($MACRO_PATTERN): Include '@' in name regex.
5292         (&canonicalize): New. Includes '@' in canonical range.
5293         (&check_canonical_spelling, &handle_programs, &handle_libraries,
5294         &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
5295
5296 2001-02-10  Raja R Harinath  <harinath@cs.umn.edu>
5297
5298         * automake.in (handle_configure): Revert part of
5299         '2001-02-04  Kevin Ryde <user42@zip.com.au>'.  Don't
5300         set CONFIG_COMMANDS explicitly.
5301
5302 2001-02-09  Raja R Harinath  <harinath@cs.umn.edu>
5303
5304         * depcomp (gcc3): Propagate exit code.
5305
5306 2001-02-09  Lars J. Aas  <larsa@sim.no>
5307
5308         * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
5309
5310 2001-02-09  Tom Tromey  <tromey@redhat.com>
5311
5312         Clean up maintainer-check warnings:
5313         * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
5314         check.
5315         * automake.in (handle_dist_worker): Removed redundant `my $xform'.
5316
5317 2001-02-09  Akim Demaille  <akim@epita.fr>
5318
5319         * automake.in (&file_contents): Remove a dead branch.
5320
5321 2001-02-09  Akim Demaille  <akim@epita.fr>
5322
5323         * automake.in (&transform): Use `my', not `local'.
5324         (&transform_cond): New.
5325         (&get_object_extension, &handle_texinfo, &handle_tags)
5326         (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
5327         (&handle_tests_dejagnu): Use it.
5328         * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
5329         * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
5330
5331 2001-02-09  Akim Demaille  <akim@epita.fr>
5332
5333         * automake.in: Various formatting changes, and modernization of
5334         Perl constructs.
5335         (&backname): New.
5336         (&handle_configure, define_standard_variables): Use it.
5337
5338 2001-02-08  Tom Tromey  <tromey@redhat.com>
5339
5340         * automake.in (file_contents): Only add $actions if any are
5341         found.  Fixes new failure in pr87.test.
5342
5343 2001-02-08  Pavel Roskin  <proski@gnu.org>
5344
5345         * tests/pr87.test: Check foo/Makfile.in after it is created.
5346
5347 2001-02-08  Tom Tromey  <tromey@redhat.com>
5348
5349         * tests/pr87.test: Added check for blank line after `.c.o' rule.
5350         Report from Lars J. Aas.
5351
5352 2001-02-07  Lars J. Aas  <larsa@sim.no>
5353
5354         * lisp.am (install-@DIR@LISP): Removed extra space.
5355         * header.am (install-@DIR@HEADERS): Removed extra space.
5356         * data.am (install-@DIR@DATA): Removed extra space.
5357
5358 2001-02-07  Tom Tromey  <tromey@redhat.com>
5359
5360         * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
5361
5362         * automake.in (handle_dependencies): Use _am_include, not
5363         AMINCLUDE.
5364         * tests/exsource.test: Use _am_include, not AMINCLUDE.
5365         * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
5366
5367         * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
5368
5369         * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
5370
5371         * automake.in (handle_configure): Handle case where output file is
5372         in subdir with no Makefile of its own.  Fixes remake3.test,
5373         distcommon.test.
5374
5375 2001-02-06  Pavel Roskin  <proski@gnu.org>
5376
5377         * automake.in (handle_dependencies): Rename AM_INCLUDE to
5378         AMINCLUDE.
5379         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
5380         * tests/exsource.test: Likewise.
5381
5382 2001-02-06  Derek Price  <derek.price@openavenue.com>
5383
5384         * automake.in (handle_configure): Fix syntax error.
5385
5386 2001-02-06  Akim Demaille  <akim@epita.fr>
5387
5388         * subdirs.am: This file is the exception: clean recursive targets
5389         are called by the clean targets, not the clean-am targets.
5390         Otherwise we have a circular dependency: clean -> clean-am ->
5391         clean-recursive -> clean.
5392         * automake.in (handle_clean): Bind `-local' targets to `-am'
5393         targets, not top targets.
5394         Don't declare -recursive dependencies of the clean targets:
5395         `subdirs.am' did it.  Less hard coded knowledge, transfered
5396         into...
5397         * clean.am: here.
5398
5399 2001-02-06  Akim Demaille  <akim@epita.fr>
5400
5401         Monstro unsplitable patch.
5402
5403         The aim is to remove hard coded knowledge about clean targets from
5404         automake.in, leaving them in the *.am files.
5405         In addition to the mechanic needed to factor some dependencies, it
5406         appears some rules (most notably distclean and maintainer-clean)
5407         need factored actions.  So first, be ready to catch factored
5408         rules.
5409
5410         * automake.in (&file_contents): For the time being, use an extended
5411         $RULE_PATTERN which is able to match any kind of rules, with or
5412         without dependency, with or without actions.
5413         Handle all the rules uniformly, storing in %actions the factored
5414         actions.
5415         (&flatten, &target_cmp): New.
5416         (&handle_factored_dependencies): Output the %actions.
5417         No longer special case `clean'.
5418         Output the rules in alphabetical order, but keeping `.PHONY' last.
5419
5420         Now we must not use &push_phony_cleaners, which is doing all sort
5421         of magic to push a bit of everything in all the clean targets.
5422         The biggest problem being that, making a Cartesian product, it
5423         requires many useless targets.  The `*.am' file know better.
5424         But first, register the new factored rules.
5425
5426         * automake.in (&initialize_per_input): Include clean, mostlyclean,
5427         maintainer-clean, distclean and their `*-am' counterpart in
5428         %dependencies.
5429         Initialize %actions.
5430         (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
5431         handle_dependencies, handle_subdirs, handle_configure, handle_clean)
5432         (handle_emacs_lisp, handle_python): Don't play with
5433         &push_phony_cleaners nor &depend and `clean'.
5434         * texinfos.am, texi-vers.am, tags-clean.am:
5435         * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
5436         * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
5437         * clean-kr.am, clean-hdr.am: Do it.
5438         Whenever a target is empty, just remove it, it will no longer be
5439         called.
5440
5441         There is still some magic about clean to hard code.  But really,
5442         that's the end of &do_one_clean_target.
5443
5444         * automake.in (&do_one_clean_target): Kaboom out.
5445         (&handle_clean): Rewrite the magic code.
5446         (&am_install_var): No longer use &push_phony_cleaners, nor depend
5447         on `clean'.
5448         (&push_phony_cleaners): Kaboom too.
5449
5450 2001-02-06  Akim Demaille  <akim@epita.fr>
5451
5452         * automake.in (do_one_clean_target): Don't hard code knowledge
5453         about libtool, and maintainer-clean.
5454         * clean.am, libtool.am: Handle these.
5455
5456 2001-02-05  Akim Demaille  <akim@epita.fr>
5457
5458         * automake.in (handle_texinfo): No longer hard code the clean
5459         targets.
5460         (texinfos.am): Include them.
5461
5462 2001-02-05  Akim Demaille  <akim@epita.fr>
5463
5464         * Makefile.am (perl4-check): Remove, we now require Perl 5.
5465         (maintainer-check): Don't be silent when you find a problem, and
5466         actually, even specify the locations.
5467         Also check that @_ is assigned to arrays.
5468
5469 2001-02-05  Akim Demaille  <akim@epita.fr>
5470
5471         * m4/regex.m4: Use AC_LIBSOURCES.
5472         * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
5473         _AC_LIBOBJ_DECL.
5474
5475 2001-02-04  Tom Tromey  <tromey@redhat.com>
5476
5477         * m4/Makefile.am (m4data_DATA): Added make.m4.
5478         * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
5479         dependency files.
5480         * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
5481         Copy depcomp to subdir.
5482         * m4/make.m4: New file.
5483
5484 2001-02-04  Pavel Roskin  <proski@gnu.org>
5485
5486         * automake.in (handle_dist_worker): Remove a line that is now
5487         in distdir.am.
5488
5489 2001-02-04  Kevin Ryde  <user42@zip.com.au>
5490
5491         * automake.in (handle_configure): Call config.status with empty
5492         CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
5493
5494 2001-02-04  Tom Tromey  <tromey@redhat.com>
5495
5496         * depcomp (ddashmd): Removed case.
5497         (sgi): Handle failure exit correctly
5498         (aix): Likewise.  Also, add dummy `.h' targets.
5499
5500 2001-02-04  Akim Demaille  <akim@epita.fr>
5501
5502         * distdir.am (distdir): New file, extracted from...
5503         * automake.in (handle_dist_worker): here.
5504         Adjust.
5505
5506 2001-02-04  Akim Demaille  <akim@epita.fr>
5507
5508         * automake.in (@clean): Remove, replaced by...
5509         ($dependencies{'clean'}): this.
5510         Use `&depend' instead of push'ing into @clean.
5511         (handle_factored_dependencies): For the time being, skip 'clean'.
5512         (do_one_clean_target): Don't ask for argument 1 and 4 as they are
5513         always `clean', and `@clean'.
5514
5515 2001-02-04  Akim Demaille  <akim@epita.fr>
5516
5517         * automake.in (%dependencies): Don't be initialize globally for
5518         all the files, but in...
5519         (&initialize_per_input): here.
5520         (&depend): New.
5521         (@phony): Replace all occurrences with the corresponding &depend
5522         invocation.
5523
5524 2001-02-03  Tom Tromey  <tromey@redhat.com>
5525
5526         * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
5527         * header-vars.am (INSTALL_HEADER): New macro.
5528
5529         * automake.texi (Rebuilding): New node.
5530
5531 -----
5532
5533 Copyright 2001 Free Software Foundation, Inc.
5534
5535 This file is part of GNU Automake.
5536
5537 GNU Automake is free software; you can redistribute it and/or modify
5538 it under the terms of the GNU General Public License as published by
5539 the Free Software Foundation; either version 2, or (at your option)
5540 any later version.
5541
5542 GNU Automake is distributed in the hope that it will be useful,
5543 but WITHOUT ANY WARRANTY; without even the implied warranty of
5544 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5545 GNU General Public License for more details.
5546
5547 You should have received a copy of the GNU General Public License
5548 along with autoconf; see the file COPYING.  If not, write to
5549 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5550 Boston, MA 02111-1307, USA.