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