* tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
[automake.git] / ChangeLog
blobe339f6a0fb74848ff15acf471e10c6e83677fc87
1 2001-07-02  Tom Tromey  <tromey@redhat.com>
3         * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
5         * tests/Makefile.am (TESTS): Removed dup.test.
6         * tests/dup.test: Removed.
7         * aclocal.in (scan_file): Don't give error for duplicate macro.
9 2001-07-01  Tom Tromey  <tromey@redhat.com>
11         * automake.texi (Program and Library Variables): Document
12         subdir-objects.  Document fact that per-object flags override AM_
13         flags.
14         (Options): Likewise.
15         (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
16         (Multilibs): New node.
17         (Macros): Documented missing macros.
18         (Auxiliary Programs): New node.
20         * lib/missing (makeinfo): If makeinfo exists, and we're in --run
21         mode, then simply fail.
23 2001-07-01  Tim Van Holder  <tim.van.holder@pandora.be>
25         * lib/ylwrap: Improve support for DOS paths (and paths
26         containing backslashes in general).
28 2001-07-01  Tom Tromey  <tromey@redhat.com>
30         * lib/missing: Added special exception to license.
32         * missing: Updated.
33         * lib/missing: Updated.  Added comment explaining configure.ac
34         oddity.
36         * lib/depcomp: Reorder arguments to gcc3.
37         From Per Oyvind Hvidsten.
39         * tests/Makefile.am (TESTS): Added libtool2.test.
40         * tests/libtool2.test: New file.
42         * automake.texi (Program and Library Variables): Added example for
43         _AR.
45 2001-06-29  Tom Tromey  <tromey@redhat.com>
47         * tests/cond11.test: Use `=', not `=='.
48         * tests/cond12.test: Look for automake in build directory, not
49         source directory.
51 2001-06-29  Richard Boulton  <richard@tartarus.org>
53         * automake.in (conditionals_true_when): Pass first parameters by
54         reference, avoiding bug which put all parameters in @CONDS instead
55         of @WHENS.  Report by Kalle Olavi Niemitalo.
56         Take a single WHEN instead of an array of WHENS.
57         Remove FIXME; can't now have an empty @WHENS.
58         (conditional_is_redundant): New sub.
59         (variable_conditions_reduce): Check whether each condition is
60         implied by any of the other conditions (other those already
61         discarded), rather than checking only against those already
62         considered (and kept).  Also, fix sense of check: was keeping
63         tautologous terms instead of discarding them.  Use
64         conditional_is_redundant instead of conditionals_true_when.
65         * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
66         * tests/cond11.test: New file.
67         * tests/cond12.test: New file.
69 2001-06-29  Raja R Harinath  <harinath@cs.umn.edu>
71         * automake.in (saw_sources_p): Work even if there are more
72         than one header files, and more than of one type of header.
73         * tests/Makefile.am (TESTS): Added new file.
74         * tests/depend4.test: New file.
76 2001-06-28  Tom Tromey  <tromey@redhat.com>
78         * lib/am/libs.am (RANLIB): Don't define.
80 2001-06-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
82         * automake.in (am_install_var): Assign 1 to $first on
83         first interation.
85 2001-06-23  Tom Tromey  <tromey@redhat.com>
87         Fix for yacc5.test:
88         * lib/ylwrap: Changed usage.
89         * lib/am/yacc.am: Rewrote to use new substitutions.
90         * lib/am/lex.am: Likewise.
91         * automake.in (handle_languages): Skip files whose language
92         doesn't have a compiler.  Handle `define_flag' attribute.
93         Changed '$' to "\$" to aid Emacs fontification.
94         (struct): Added `rule_file'.  Removed `derived_autodep'.  Added
95         `_target_hook' and `define_flag'.
96         (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
97         and `compiler' attributes.  Removed `linker', `derived_autodep',
98         and `ansi' attributes.  Added `define_flag'.
99         (yacc, yaccxx): Added `_target_hook'.
100         (saw_extension): Count number of times extension seen.
101         (count_files_for_language): New sub.
102         (saw_sources_p): Use it.
103         (handle_single_transform_list): Allow language rewrite function
104         to return a new source extension.  Call target_hook.
105         (yacc_sources, lex_sources): Removed.
106         (initialize_per_input): Don't initialize yacc_sources or
107         lex_sources.
108         (lang_yacc_rewrite): Rewrote.
109         (lang_yaccxx_rewrite): Likewise.
110         (lang_lex_rewrite): Likewise.
111         (lang_lexxx_rewrite): Likewise.
112         (output_yacc_build_rule): Removed.
113         (output_lex_build_rule): Removed.
114         (lang_yacc_finish): Removed build rule generation.
115         (lang_lex_finish): Likewise.
116         (DASH_D_PATTERN): New global.
117         (lang_yacc_target_hook): New function.
118         (_target_hook): New function.
119         (register_language): Default `define_flag'.
120         * tests/yacc5.test: Updated test.
121         * tests/yacc4.test: Exit with status 77 if bison doesn't work.
122         * tests/yacc3.test: Remove bogus `make' invocation.  Added test
123         for all YFLAGS variables.
125 2001-06-20  Tom Tromey  <tromey@redhat.com>
127         * tests/yacc5.test: Check for per-executable YFLAGS.
129 2001-06-19  Tom Tromey  <tromey@redhat.com>
131         * tests/Makefile.am (TESTS): Added yacc5.test.
132         * tests/yacc5.test: New file.
134 2001-06-17  Tom Tromey  <tromey@redhat.com>
136         * automake.in (require_file_internal): Check for already-required
137         file after searching for it, and only if it is not found.  Don't
138         use `readlink' when checking for dangling symlink.  Work if
139         --force-missing specified.
140         * tests/acoutput2.test: Also test --force-missing.
142         Fix for libtool.test:
143         * automake.in (generate_makefile): Call handle_libtool.
144         (handle_libtool): New sub.
145         (handle_compile): Don't read `libtool' file.
147         * tests/acoutput2.test: New file.
148         * tests/Makefile.am (TESTS): Added acoutput2.test.
150 2001-06-15  Tom Tromey  <tromey@redhat.com>
152         * tests/Makefile.am (TESTS): Added libtool.test.
153         * tests/libtool.test: New file.
155 2001-06-14  Tom Tromey  <tromey@redhat.com>
157         Fix some lisp bugs reported by Bruno Haible:
158         * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
159         echo.
160         (install-%DIR%LISP): Handle case where lispdir is not defined.
161         (uninstall-%DIR%LISP): Likewise.
162         (.el.elc): Added `else' clause.
164         Fix for bug reported by Steve M. Robbins:
165         * automake.in (handle_single_transform_list): When building a file
166         from a subdirectory, continue to use `AM_' prefix.
167         * tests/Makefile.am (TESTS): Added subobj7.test.
168         * tests/subobj7.test: New file.
170         * lib/am/configure.am ($(top_builddir)/config.status): Added
171         $(top_builddir) prefix to work around problems with some vendor
172         makes.  From Nicholas Joly.
174         * automake.in (yacc_lex_finish_helper): Find ylwrap in
175         top_srcdir.  From Tim Van Holder.
176         * tests/Makefile.am (TESTS): Added yacc6.test.
177         * tests/yacc6.test: New file.
179 2001-06-14  Tim Van Holder  <tim.van.holder@pandora.be>
181         * tests/defs, tests/installsh.test: Properly support
182         DOS-style paths.
184 2001-06-14  Tom Tromey  <tromey@redhat.com>
186         * tests/Makefile.am (TESTS): Added mdate4.test.
187         * tests/mdate4.test: New file.
189         * aclocal.in (scan_m4_files): Removed unused variable.
191 2001-06-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
193         * aclocal.in (scan_m4_files): Tweak the building of &search so
194         that multiple macro names can be found on the same line.  Ensure
195         we match whole macro name, not only substrings.
197 2001-06-12  Tom Tromey  <tromey@redhat.com>
199         * automake.texi (ANSI): Minor clarification.
200         (Other GNU Tools): Don't mention Guile.
201         (Guile): Removed.
202         (Java Support): Mention file extensions.
203         (Man pages): Mention dist_.  Don't mention info pages.
205 2001-06-11  Tom Tromey  <tromey@redhat.com>
207         * automake.texi (Program variables): Document AM_CPPFLAGS.
208         Deprecate INCLUDES.
209         (Java Support): Document AM_GCJFLAGS.
210         (Support for Other Languages): Removed `fixme'; added link to
211         suffix rule handling.
213         * automake.texi (Program and Library Variables): Document _LIBADD,
214         _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
216 2001-06-11  Kevin Dalley  <kevind@rahul.net>
218         * missing: Support configure.ac.
220 2001-06-08  Tom Tromey  <tromey@redhat.com>
222         * tests/version4.test: New file.
223         * automake.in (version_check): New sub.
224         (handle_options): Use it.
225         * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
226         (TESTS): Added version4.test.
227         * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
228         * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
230 2001-06-04  Kevin Dalley  <kevind@rahul.net>
232         * lib/am/dejagnu.am (site.exp): Fix typo.
234 2001-06-02  Tom Tromey  <tromey@redhat.com>
236         * automake.in (variable_conditions_sub): Move parent-only code
237         from here...
238         (variable_conditions): ... to here.
239         (variable_conditions_sub): Include this variable's conditions in
240         the resulting condition list.
241         * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
243 2001-06-01  Tom Tromey  <tromey@redhat.com>
245         * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
246         (TESTS): Likewise.
247         * tests/ltdeps.test: New file.  Report from Lars J. Aas.
249 2001-05-31  Tom Tromey  <tromey@redhat.com>
251         * automake.texi (Alternative): New node.
252         (Macros): Use new name for gcc.
253         (Java Support): Likewise.
254         (Dependencies): Rewrote.
255         (Invoking Automake): (Re-)document -i, --ignore-deps, and
256         --include-deps.
258         * automake.texi (Top level): Removed erroneous spaces.  Documented
259         MAKE and MAKEFLAGS.
261 2001-05-29  Tom Tromey  <tromey@redhat.com>
263         * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
265         * automake.texi (Include): Rewrote.
266         (Suffixes): Remove Java example.
267         (Java): Added more explanation.  Document variables.
268         (Uniform): Mention JAVA as a primary.
269         (Python): Updated for new Python support.
270         (Sources): Added a weak example.
272         * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
274         * automake.texi (A Program): Mention `check' prefix.
275         (Program and Library Variables): New node.
276         (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
277         AM_MAKEINFOFLAGS.
278         (etags): Mention per-program flags.
279         (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
280         updates.
282         * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
283         install-info-am.
285 2001-05-28  Tom Tromey  <tromey@redhat.com>
287         * m4/Makefile.am (MAINT_CHARSET): Removed.
288         * Makefile.am (MAINT_CHARSET): Removed.
289         * automake.in (maint_charset, dist_charset): Removed.
290         (local_maint_charset): Removed.
291         (initialize_per_input): Don't use maint_charset.
292         (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
294         * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
295         AM_MAKEINFOFLAGS.
296         (.%SUFFIX%.dvi): Likewise.
297         (.%SUFFIX%): Likewise.
299 2001-05-27  Tom Tromey  <tromey@redhat.com>
301         * automake.in (handle_multilib): Only add multilib support code at
302         top level.
303         * lib/am/multilib.am: Handle invocation of *-multi targets
304         differently for SUBDIRS and non-SUBDIRS Makefiles.
305         * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
306         Only add multilib code when the Makefile in question is actually
307         rebuilt.
309         * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
311 2001-05-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
313         * automake.in (handle_single_transform_list): Skip unknown
314         extensions.
316 2001-05-25  Tom Tromey  <tromey@redhat.com>
318         * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
320 2001-05-24  Tom Tromey  <tromey@redhat.com>
322         * automake.in (handle_texinfo_helper): Find mdate-sh in current
323         directory in some situations.
325         * automake.in (generate_makefile): Better explanation for ansi2knr
326         fix.
328 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
330         * automake.in (handle_languages): Skip unknown extensions.
331         (derive_suffix): Check whether $extension_map{$source_ext}
332         is undefined, not empty.
334 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
336         * automake.in (read_am_file): Ignore trailing backslash on
337         comment lines.
339 2001-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
341         * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
343 2001-05-21  Akim Demaille  <akim@epita.fr>
345         * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
346         multiple times'' warning.
348 2001-05-20  Tom Tromey  <tromey@redhat.com>
350         * configure.in: Updated to 1.4g.
352         * configure.in: Updated to 1.4f.
354         * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
356         * lib/ansi2knr.c: New version.
358         * Makefile.am (FETCHFILES): Added ansi2knr.c.
359         (fetch): Likewise.
361 2001-05-19  Tom Tromey  <tromey@redhat.com>
363         * config.guess, config.sub: New versions from FSF.
365         * Makefile.am (fetch): Compare against files in srcdir.
367         For for ansi2knr report from Harlan Stenn:
368         * automake.in (generate_makefile): Run handle_compile before
369         handle_languages.
371 2001-05-18  Tom Tromey  <tromey@redhat.com>
373         * automake.in: Reverted erroneous checkin.
375 2001-05-18  Akim Demaille  <akim@epita.fr>
377         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
378         to missing `install-info'.
380 2001-05-17  Tom Tromey  <tromey@redhat.com>
382         * automake.in (lang_c_finish): Use `rm -f'.
384         * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
385         * tests/Makefile.am (TESTS): Added new file.
386         * tests/ansi5.test: New file.
388 2001-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
390         * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
391         STRIP is not empty.
392         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
393         to install-sh unconditionally.  Don't set INSTALL_STRIP_PROGRAM_ENV.
394         * automake.texi (Requirements): Document the use of the STRIP
395         variable in cross-compilation environments.
397 2001-05-17  Tom Tromey  <tromey@redhat.com>
399         * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
400         to no dependency tracking.
401         * tests/Makefile.am (TESTS): Added depcomp2.test.
402         * tests/depcomp2.test: New file.  From Pavel Roskin.
404         * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
406         * lib/depcomp (tru64): New dependency tracking mode.
408         Fix for PR automake/159:
409         * lib/depcomp (aix): Rewrote.
410         (sgi): Likewise.
412         Fix for PR automake/174:
413         * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
414         * automake.in (read_am_file): Warn if `#' is at start of rule.
416 2001-05-16  Tom Tromey  <tromey@redhat.com>
418         For PR automake/174:
419         * tests/Makefile.am (TESTS): Added comment3.test.
420         (XFAIL_TESTS): Likewise.
421         * tests/comment3.test: New file.
423         Fix for PR automake/175:
424         * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
425         * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
426         `Leaving directory' messages.
428         For PR automake/175:
429         * tests/Makefile.am (XFAIL_TESTS): Added make.test.
430         * tests/make.test: Run test with `make -w'.
432         * tests/Makefile.am (TESTS): Removed maintclean.test.
433         * lib/am/clean.am (maintainer-clean-generic): Don't remove
434         Makefile.in.
435         * lib/am/configure.am (maintainer-clean-am): Removed.
436         (maintainer-clean-conf): Removed.
437         * tests/maintclean.test: Removed.
439 2001-05-15  Tom Tromey  <tromey@redhat.com>
441         Fix for PR automake/177:
442         * Makefile.am (maintainer-clean): Set perllibdir before invoking
443         automake or aclocal.
445         Fix for maintclean.test:
446         * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
447         * lib/am/clean.am (distclean-generic): Don't remove config.cache
448         or config.log.
449         (distclean, maintainer-clean): Moved to...
450         * lib/am/configure.am: ... here.
451         (distclean): Remove config.cache and config.log.
452         (maintainer-clean): Removed.
453         (maintainer-clean-conf): New target.
454         (maintainer-clean-am): New target.
456         * tests/Makefile.am (TESTS): Added maintclean.test.
457         (XFAIL_TESTS): Likewise.
458         * tests/maintclean.test: New file.
460         Fixes PR automake/175:
461         * tests/target-cflags.test: Use $needs_gnu_make.
462         * tests/exsource.test: Use $needs_gnu_make.
463         * tests/make.test: Require GNU make.
464         * tests/defs (needs_gnu_make): Compute.
466 2001-05-14  Tom Tromey  <tromey@redhat.com>
468         * lib/ylwrap: Fixed quoting on regular expression.  Fixes
469         yacc4.test.
471         Fix for texinfo10.test.
472         * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
473         * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
474         * automake.in (handle_texinfo_helper): New sub.
475         (handle_texinfo): Rewrote.  Now defines LOCAL-TEXIS.
476         * tests/texinfo10.test: Added more cases.
478         Fix for yaccvpath.test:
479         * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
480         * lib/am/distdir.am (distdir): Always look for file in build
481         directory first.
482         * lib/ylwrap: Quote the `#line' regular expression.
483         * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
484         change; don't run sed on the generated file.
485         * tests/yaccvpath.test: Create new parser in srcdir.  Added test
486         to make sure parser will be rebuilt at dist time.
488 2001-05-13  Pavel Roskin  <proski@gnu.org>
490         * automake.in ($IGNORE_PATTERN): Allow spaces before comments
491         beginning with `##'.
492         * automake.texi (General Operation): Document it.
494 2001-05-13  Tom Tromey  <tromey@redhat.com>
496         Reported by Rainer Orth:
497         * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
498         TOPDIR_P.
499         * tests/Makefile.am (TESTS): Added distname.test.
500         * tests/distname.test: New file.
502         * Makefile.am (dist_pkgdata_DATA): Removed.
504         * tests/defs: Find files to copy in lib/.
505         * automake.in (perllibdir): Set to Automake directory.
506         * ansi2knr.c, ansi2knr.1: Removed.
507         * Makefile.am (dist_am_DATA): Removed.
508         (amdir): Removed.
509         (maintainer-check): Look for lib/am/*.am.  Expect 28 lines of
510         diffs.
511         (scriptdir): Removed.
512         (dist_script_DATA): Likewise.
513         (install-data-hook): Likewise.
514         (installcheck-local): Likewise.
515         (TAGS_FILES): Removed amfiles.
516         (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
517         * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
518         point it to the right directory.
519         * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
520         compile.am, configure.am, data.am, dejagnu.am, depend.am,
521         depend2.am, distdir.am, footer.am, header-vars.am, header.am,
522         install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
523         libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
524         mans.am, multilib.am, program.am, progs.am, python.am,
525         remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
526         texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
527         * configure.in (AC_OUTPUT): Added lib/am/Makefile.
528         (AUTOMAKE): Use --libdir, not --amdir.
529         Ues AC_CONFIG_AUX_DIR.
530         * lib/Makefile.am (SUBDIRS): Added `am'.
531         (scriptdir): New macro.
532         (dist_script_DATA): Likewise.
533         (dist_pkgdata_DATA): Likewise.
534         (install-data-hook): New target.
535         (installcheck-local): Likewise.
536         * lib/am/Makefile.in: New file.
537         * lib/am/Makefile.am: Removed everything except amdir and
538         dist_am_DATA.
540 2001-05-13  Akim Demaille  <akim@epita.fr>
542         * automake.in ($pkgdata_dir): Rename as...
543         ($libdir): this.
544         ($am_dir): Remove, replace its uses with $libdir.
545         (&parse_arguments): Replace --amdir with --libdir.
546         * automake.texi (Invoking Automake): Document --libdir, not
547         --amdir.
548         * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
550 2001-05-13  Tom Tromey  <tromey@redhat.com>
552         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
553         not AMDEP.
554         * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
555         Correctly look at AMDEP_TRUE, not AMDEP.
557         Report from Robert Boehne:
558         * tests/Makefile.am (TESTS): Added depend2.test.
559         * tests/depend2.test: New file.
561 2001-05-13  James Henstridge  <james@daa.com.au>
563         * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
564         Point pythondir at site-packages directory.  Rename
565         PYTHON_SITE_PACKAGE to pkgpythondir.  Rename PYTHON_SITE_EXEC to
566         pyexecdir.  Removed package/module argument.  Removed
567         PYTHON_SITE_INSTALL.  Added version checking.
569 2001-05-14  Jim Meyering  <meyering@lucent.com>
571         * automake.in (macro_define): Change one remaining use of
572         `variable_dump' to `macro_dump'.
574 2001-05-13  Tom Tromey  <tromey@redhat.com>
576         * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
577         and gcj.
579 2001-05-13  Akim Demaille  <akim@epita.fr>
581         * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
582         (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
583         (&am_primary_prefixes): Use `map' rather than `grep'.
585 2001-05-13  Akim Demaille  <akim@epita.fr>
587         * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
588         lexxx, asm.
589         (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
590         (&lang_asm_finish): Remove, set asm's finisher to C's one.
592 2001-05-13  Akim Demaille  <akim@epita.fr>
594         * lang-compile.am: New file, loaded once per language.
595         * depend2.am: Move definitions loaded once per language in the
596         aforementioned file.
597         * automake.in (&handle_languages): Load it.
598         (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
599         handled by lang-compile.am.
601 2001-05-13  Tom Tromey  <tromey@redhat.com>
603         * tests/Makefile.am (TESTS): Added python.test.
604         * tests/python.test: New file.
605         * automake.in (handle_languages): Use
606         config_aux_dir_set_in_configure_in.
607         (handle_python): Correctly mention AM_PATH_PYTHON.  Use
608         py-compile, not py_comp.  Define py_compile macro.
610 2001-05-13  Derek Price  <dprice@openavenue.com>
612         * automake.in (require_file_with_conf_line,
613         require_file_with_line, require_file): Pass a @require_file_path
614         of $relative_dir instead of '.' to require_file_internal so that
615         all the special casing of '.' can be removed elsewhere.
616         (require_config_file, require_conf_file_with_line,
617         require_conf_file_with_conf_line): Remove special casing for '.'
618         and make sure $config_aux_dir is maintained properly.
619         (require_file_internal): Remove special casing of '.' and set
620         @require_file_path when missing files are added.
621         (maybe_push_required_file): Remove special casing of '.'
622         (handle_dependencies): Remove a workaround for a bug now fixed
623         and remove $config_aux_dir special casing.
624         (handle_configure): Remove special casing for $config_aux_dir
625         (handle_python): Ditto.
626         (yacc_lex_finish_helper): Change $config_aux_dir switch to
627         switch on the value of $config_aux_dir_set_in_configure_in.
628         (handle_texinfo): Ditto.
629         (scan_one_configure_file): Set $config_aux_dir and
630         $config_aux_dir_set_in_configure_in properly so special casing
631         on the value of $config_aux_dir can be removed elsewhere.
632         * tests/depcomp.test: New file.
633         * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
634         first subdir containing a C file.
635         * tests/libobj2.test: Ditto.
636         * tests/Makefile.am (TESTS): Added 'depcomp.test'.
638 2001-05-12  Tom Tromey  <tromey@redhat.com>
640         * tests/gcj.test: Updated for gcj dependency tracking.
641         * tests/gcj2.test: Likewise.
643         Fixes PR automake/169.
644         * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ.  Don't assume gcc
645         style for OBJC.
646         * automake.in (java): Added autodep entry.
647         * tests/Makefile.am (TESTS): Added gcj3.test.
648         * tests/gcj3.test: New file.
650 2001-05-12  Raja R Harinath  <harinath@cs.umn.edu>
652         * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
653         stop at the first '='.
654         * tests/Makefile.am (TESTS): Added vars.test.
655         * tests/vars.test: New file.
657 2001-05-12  Akim Demaille  <akim@epita.fr>
659         * automake.in (&handle_single_transform_list): Simplify
660         computation of $object and $this_obj_ext.
661         * tests/lex3.test: Merge into...
662         * tests/lex.test: here.
663         * tests/pr19.test: Improve and rename as...
664         * tests/lex3.test: this.
666 2001-05-09  Tom Tromey  <tromey@redhat.com>
668         * automake.in (read_am_file): Correctly compute $saw_bk.
669         (scan_autoconf_files): Ensure configure_dist_common is always
670         set.
671         * tests/defs (AUTOMAKE): Added --Werror.
673 2001-05-09  Pavel Roskin  <proski@gnu.org>
675         * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
676         double quotes.
678 2001-05-09  Tom Tromey  <tromey@redhat.com>
680         * tests/werror.test: Use `rm -f'.
682 2001-05-09  Akim Demaille  <akim@epita.fr>
684         * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
686 2001-05-09  Akim Demaille  <akim@epita.fr>
688         * automake.in: Remove some code left from bad patches.
689         (&handle_dependency): Remove, for the same reason.
691 2001-05-09  Akim Demaille  <akim@epita.fr>
693         * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
694         (&handle_tests_dejagnu, &define_standard_variables): Don't.
695         (&define_standard_variables): Don't transform %top_builddir% since...
696         * header-vars.am: Use %TOPDIR% instead.
698 2001-05-09  Akim Demaille  <akim@epita.fr>
700         * automake.in (@objects): Remove, unused.
701         Remove all the code related to it, and to former `$(OBJECTS)'.
703 2001-05-08  Tom Tromey  <tromey@redhat.com>
705         For PR automake/29:
706         * ylwrap: Handle arguments to program.  Remove old code that tried
707         to avoid absolute paths and add new code to do it in all cases.
708         Removed ancient logic that tried to deal with relative path.
709         * tests/Makefile.am (TESTS): Added yacc4.test.
710         * tests/yacc4.test: New file.
712         Fix for PR automake/149 and werror.test:
713         * automake.in (require_file_internal): Use am_line_warning or
714         am_conf_line_warning when suppressing error.
715         (am_line_warning): New sub.
716         (am_conf_line_warning): Save and restore warning signal.
717         * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
719         Fix for PR automake/36:
720         * tests/Makefile.am (TESTS): Added asm.test.
721         * tests/asm.test: New file.
722         * automake.in (asm): Use ASFLAGS and AS.
723         (lang_asm_finish): New sub.
725         * automake.in (read_am_file): Removed debugging code.
727         For PR automake/149:
728         * tests/Makefile.am (TESTS): Added werror.test.
729         (XFAIL_TESTS): Likewise.
730         * tests/werror.test: New file.
732         * automake.in (conditional_true_when): Don't return if we see
733         `TRUE'.
735         * tests/objc.test: Removed.
736         * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
737         (TESTS): Likewise.
739         * automake.in (subst): New sub.
740         (handle_languages): Use it.
741         (output_lex_build_rule): Likewise; also use _am_quote.
742         (check_libobjs_sources): Likewise.
743         (make_paragraphs): Use subst.
745         * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
746         problem.
748         * automake.in (file_contents_internal): Prototype now `$$%'.
749         (register_language): Prototype now `%'.
751         Fixes test subobj6.test and PR automake/160:
752         * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
753         * compile.am (mostlyclean-compile): Added MOSTLYRMS.
754         (distclean-compile): Added DISTRMS.
755         * tests/subobj6.test (wish_SOURCES): Updated to reflect
756         `mostlyclean' use; added test for non-subdir case.
757         * automake.in (compile_clean_files): New global.
758         (MOSTLY_CLEAN, DIST_CLEAN): New constants.
759         (initialize_per_input): Initialize compile_clean_files.
760         (handle_single_transform_list): Set compile_clean_files entries.
761         (handle_compile): Handle compilation cleanups.
763 2001-05-08  Lars J. Aas  <larsa@sim.no>
765         * automake.texi (Canonicalizing Automake macros): Document not
766         canonicalizing strudels (@) anymore.
768 2001-05-08  Akim Demaille  <akim@epita.fr>
770         * distdir.am (dist-all): Build all the flavors using a single
771         distdir.
773 2001-05-08  Akim Demaille  <akim@epita.fr>
775         * automake.in (&file_contents_internal): Apply the @cond_stack to
776         the rules and assignments.
777         Don't rely on `$.' as it's biased by &make_paragraphs.
778         Don't remove backslashes in variable values.
780 2001-05-08  Akim Demaille  <akim@epita.fr>
782         * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
783         ($RULE_PATTERN): Use that from `&make_paragraphs'.
784         ($MACRO_PATTERN): Just catch the name of a macro.
785         ($BOGUS_MACRO_PATTERN): Remove.
786         ($ASSIGNMENT_PATTERN): New.
787         (&file_contents_internal, &make_paragraphs): Adjust.
788         (&macro_define): Catch bad macro names.
789         (&cond_stack_endif): Better error message.
790         (&file_contents_internal): Don't remove backslashes in variable
791         values.
792         (&macro_define): Do it for `+=' user variables.
793         (&define_standard_variables): Use `undef' instead of a dummy
794         variable.
795         (&make_paragraph): Be sure not to chop the trail of hash only
796         lines: adjust the `##' regexp.
797         (&rule_define): Fix a bug: don't read $1 but $target.
798         * tests/condincl.test: Strengthen.
800 2001-05-08  Akim Demaille  <akim@epita.fr>
802         * automake.in (Language): Add attributes `Name' and `config_vars'.
803         (&finish): Work properly if there is no _finish.
804         (Automake): Register language Names and AC_SUBST dependencies.
805         Register Fortran 77 variables upon which ratfor and ppf77 depend.
806         (&handle_languages): Once per language, invoke
807         `define_linker_variables', and check its config_vars.
808         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
809         (&lang_java_finish): Remove.
810         (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
812 2001-05-08  Akim Demaille  <akim@epita.fr>
814         * automake.in (&file_contents_internal): Accept $IS_AM.
815         (&handle_compile, &define_standard_variables, &file_contents): Adjust.
817 2001-05-08  Akim Demaille  <akim@epita.fr>
819         * automake.in (am_install_var): Use `next' instead of `if' on the
820         body of $X loop.
822 2001-05-08  Akim Demaille  <akim@epita.fr>
824         * automake.in (Language): Add attributes `lder' and `ld'.
825         (&register_language): Specify for cxx, objc, f77, gcj.
826         (&define_linker_variable): New.
827         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
828         (&lang_java_finish): Adjust.
829         (&libtool_compiler): Remove.
831 2001-05-08  Akim Demaille  <akim@epita.fr>
833         * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
834         argument, as you don't use it.
835         Hence...
836         (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
837         don't use it.
838         Hence...
839         (&handle_programs): Don't mess with %lex_sources, as you don't use
840         it.
842 2001-05-08  Akim Demaille  <akim@epita.fr>
844         * automake.in (Language): Add attribute `link'.
845         (&register_language): Specify for cxx, objc, f77, gcj.
846         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
847         (&lang_java_finish): Adjust.
849 2001-05-08  Akim Demaille  <akim@epita.fr>
851         * automake.in (&define_compiler_variables): Use only $LANG as
852         argument.
853         (&handle_languages): Adjust.
855 2001-05-08  Akim Demaille  <akim@epita.fr>
857         * automake.in (&define_program_variable): Remove.
858         (&scan_one_autoconf_file): Skip MAKEINFO when found in an
859         AM_MISSING_PROG.
860         (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
861         * texinfos.am: Do it.
863 2001-05-08  Akim Demaille  <akim@epita.fr>
865         * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
866         RUNTEST.
867         * dejagnu.am: Do it.
868         (site.exp): Use `if'.
870 2001-05-08  Akim Demaille  <akim@epita.fr>
872         * automake.in: Formatting changes.
873         (variable_dump, variables_dump): Rename as...
874         (macro_dump, macros_dump): these.
876 2001-05-08  Akim Demaille  <akim@epita.fr>
878         Support `if !COND', `else COND', `end COND'.
880         * automake.texi (Conditionals): Document it.
881         * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
882         ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
883         ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
884         a leading `!' before the condition.
885         (&handle_options): Use `\d'.
886         (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
887         (&read_am_file, &file_contents_internal): Use them.
888         (&transform): No longer substitute `%!COND%', forcing the use of
889         `! %?COND%'.
890         * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
892 2001-05-08  Akim Demaille  <akim@epita.fr>
894         Uniform handling of per-object compilation rules.
895         Note: Automake is repaired.
897         * automake.in (&handle_languages): Output per object rules for all
898         the objects, not only for those which language supports dependency
899         tracking.
900         Fix Automake: when outputting per-object rules, use `-o' if the
901         language has no `output_flag', as it's really needed.
902         (&handle_single_transform_list): Instead of special casing files
903         which need per object rules but which language don't support
904         dependency tracking, keep them in the queue for processing by
905         `&handle_languages'.
907 2001-05-08  Akim Demaille  <akim@epita.fr>
909         * automake.in (&handle_languages): `ext-compile.am' and
910         `depend2.am' are now equivalent for generic rules: output only the
911         latter.
912         * ext-compile.am: Remove.
914 2001-05-08  Akim Demaille  <akim@epita.fr>
916         Note: This patch breaks Automake.  Repaired within two patches.
918         * automake.in (Language): Replace the attribute `output_arg' with
919         `compile_flag' and `output_flag'.
920         (Automake): Adjust language registrations.
921         (&handle_languages): Transform `-c' and `-o' for both suffix and
922         per object rules, instead of `OUTARG' and `LTOUTARG' only for
923         generic rules.
924         (&handle_single_transform_list): Adjust to `compile_flag' and
925         `output_flag'.
926         * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
928 2001-05-08  Akim Demaille  <akim@epita.fr>
930         * automake.in (&handle_languages): Don't transform %COMPILER%.
931         Use `$lang->compiler' instead of `$pfx' to transform generic
932         %COMPILE% and %LTCOMPILE%.
933         * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
934         of %COMPILER% and $<.
936 2001-05-07  Akim Demaille  <akim@epita.fr>
938         * automake.in (&handle_languages): Use the same `%transform' for
939         both `depend2.am' and `ext-compile.am'.
940         Delay the definition of `$flag' so it is right before the first use,
941         and rename as `$flags'.
943 2001-05-07  Akim Demaille  <akim@epita.fr>
945         * automake.in (&handle_languages): Compute `$ltoutarg' and
946         `$outarg' independently of dependency code.
947         There is no use looping on a language's possible extensions since
948         we loop over used extensions.
949         Therefore, there is no use for a local `%transform'.
951 2001-05-07  Akim Demaille  <akim@epita.fr>
953         * automake.in (&handle_languages): Don't use $comp.
955 2001-05-07  Akim Demaille  <akim@epita.fr>
957         * automake.in (&handle_languages): Merge the two loops over
958         %extension_seen/%languages into one and group code to be run once
959         per language together.
961 2001-05-07  Akim Demaille  <akim@epita.fr>
963         * automake.in (&handle_languages): Move the `if
964         ($use_dependencies)' block so that loops over extensions and
965         languages are next to each other.
967 2001-05-07  Akim Demaille  <akim@epita.fr>
969         * automake.in (&depend2): Remove, merged into...
970         (&handle_languages): here.
972 2001-05-07  Akim Demaille  <akim@epita.fr>
974         * automake.in (&finish_languages): Rename as...
975         (&handle_languages): this.
976         Include the body of...
977         (&handle_dependency): this.
978         Remove.
980 2001-05-06  Tom Tromey  <tromey@redhat.com>
982         For PR automake/46:
983         * tests/Makefile.am (TESTS): Add subdir5.test.
984         (XFAIL_TESTS): Likewise.
985         * tests/subdir5.test: New file.
987         * tests/subobj6.test (wish_SOURCES): Use $MAKE.
988         * tests/subobj5.test (wish_SOURCES): Use $MAKE.
990         * automake.in (GNITS_VERSION_PATTERN): Document.  Add `fork
991         identifier'.
992         (handle_options): Handle fork identifier in version number.
994         * automake.texi (Dist): Document distcheck-hook.
996         * tests/confh4.test: Update to reflect DEFS change.
997         For PR automake/132.
999         Fix for PR automake/132:
1000         * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1001         compilation.
1002         (java): Remove INCLUDES and DEFS from compilation.
1003         (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1004         * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1005         (DEFAULT_INCLUDES): New macro.
1007         * automake.in (usage): Re-align explanatory text.
1008         Fixes PR automake/148.
1010         * automake.texi (Uniform): Don't use @PROGRAMS@.
1011         Fixes PR automake/154.
1013         For PR automake/160:
1014         * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1015         (XFAIL_TESTS): Add subobj6.test.
1016         * tests/subobj6.test: New file.
1018         * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1019         (Top level): Don't mention `flat'.
1020         (Extending): Likewise.
1021         (User Variables): New node.
1023         * distdir.am (distdir): Make subdirectory for each file.
1024         Fixes test subobj5.test.
1026         * tests/Makefile.am (TESTS): Add new file.
1027         (XFAIL_TESTS): Likewise.
1028         * tests/texinfo10.test: New file.
1030 2001-05-05  Pavel Roskin <proski@gnu.org>
1032         * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1033         in the same way as @defcodeindex and @syncodeindex respectively.
1035 2001-05-05  Tom Tromey  <tromey@redhat.com>
1037         * mans.am (install-man%SECTION%): Minor cleanup.
1038         (uninstall-man%SECTION%): Likewise.
1040         * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1041         * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1042         prefixes.
1043         (uninstall-man%SECTION%): Likewise.
1044         * automake.in (handle_man_pages): Handle dist_ and nodist_
1045         prefixes.
1047         * automake.texi (Future): Removed.
1048         (Depth): Removed.
1049         (Hello): Don't mention `deep'.
1050         (Top level): Likewise.
1052         * automake.in (conditional_true_when): Use a hash, not index().
1053         Also, a TRUE component always results in a true return.
1054         Fixes test cond10.test.  For PR automake/164.
1055         * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1057 2001-05-05  Raja R Harinath  <harinath@cs.umn.edu>
1059         For PR automake/164:
1060         * tests/Makefile.am (TESTS): Added new file.
1061         (XFAIL_TESTS): Likewise.
1062         * tests/cond10.test: New file.
1064 2001-05-05  Tom Tromey  <tromey@redhat.com>
1066         * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1067         prints to stderr.
1068         (install-info-am): Likewise.
1070 2001-05-05  Pavel Roskin <proski@gnu.org>
1072         * automake.in (scan_texinfo_file): Don't push undefined values
1073         to @clean_suffixes.
1075 2001-05-05  Richard Boulton  <richard@tartarus.org>
1077         * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1078         first.
1080 2001-05-05  Robert Collins  <robert.collins@itdomain.com.au>
1082         * automake.in (required_targets): Added uninstall-am.
1084 2001-05-05  Tom Tromey  <tromey@redhat.com>
1086         Fix bug reported by Robert Boehne:
1087         * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1088         substituted.
1089         (handle_dependencies): Likewise.
1090         * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1091         substitution.  Correct diff now has 30 lines.  Look for space
1092         after losing `undef'.
1094 2001-05-04  Peter Eisentraut  <peter_e@gmx.net>
1096         * m4/sanity.m4: Remove the temp file before possible error exits.
1098 2001-05-04  Akim Demaille  <akim@epita.fr>
1100         * configure.in: Set perllibdir.
1101         From Dave Morrison.
1103 2001-05-04  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
1105         * automake.in ($pkgdata_dir): New.
1106         (&require_file_internal): Use it.
1108 2001-05-03  Akim Demaille  <akim@epita.fr>
1110         Case insensitive FS choke on Automake/ vs automake.
1111         Reported by Tim Van Holder.
1113         * Automake/: Move into...
1114         * lib/: this new directory.
1116 2001-05-03  Raja R Harinath  <harinath@cs.umn.edu>
1118         * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1119         echoed.
1121 2001-04-30  Jim Meyering  <meyering@lucent.com>
1123         * automake.in: Remove `/lib' from include directory.
1125 2001-04-27  Akim Demaille  <akim@epita.fr>
1127         AM_INIT_AUTOMAKE is no longer optional.
1129         * automake.in ($seen_make_set, $seen_prog_install)
1130         ($seen_arg_prog): Remove.
1131         (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1132         Remove related code.
1134 2001-04-27  Akim Demaille  <akim@epita.fr>
1136         * tests/specflags4.test, tests/specflags5.test: Remove, merged
1137         into...
1138         * tests/specflags3.test: here.
1140 2001-04-27  Akim Demaille  <akim@epita.fr>
1142         * automake.in ($seen_path_xtra): Remove.
1143         (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1144         (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1146 2001-04-27  Akim Demaille  <akim@epita.fr>
1148         * automake.in (&file_contents_internal): Declare it.
1150 2001-04-27  Akim Demaille  <akim@epita.fr>
1152         * automake.in (&read_am_file, &file_contents_internal): Don't
1153         define macros when `FALSE', to avoid errors on doubly defined
1154         variables but under condition `FALSE'.  In order to allow...
1155         (&am_install_var): When reading the associated file for the first
1156         time, enable `%?FIRST%'.
1157         (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1158         * libs.am: Do it when `%?FIRST%'.
1160 2001-04-27  Akim Demaille  <akim@epita.fr>
1162         * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1163         * ansi2knr.am: Do it.
1164         Prefer `if %?FOO%' to `if %!FOO%'.
1166 2001-04-27  Akim Demaille  <akim@epita.fr>
1168         * automake.in (&register_language, &finish_languages): Use `pure'
1169         as a Boolean.
1170         (&register_language): Use %done properly with objects, not names.
1171         (&finish_languages): Replace `$non_c' with `$needs_c'.
1173 2001-04-27  Akim Demaille  <akim@epita.fr>
1175         Unify LISP, PYTHON and JAVA primaries.
1177         * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1178         return if there are no files, hook elisp-comp on the Autoconf
1179         macro, rely on lisp.am to define variables.
1180         (&handle_python, &handle_java): Likewise.
1181         (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1182         `PYTHON' must be handled here, not in `&handle_python'.
1183         * java.am: Define needed variables and rules.
1185 2001-04-27  Akim Demaille  <akim@epita.fr>
1187         * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1188         * data.am: Use it.
1189         * header.am: Include data.am.
1191 2001-04-27  Akim Demaille  <akim@epita.fr>
1193         * automake.in (&am_install_var): Transform `PRIMARY'.
1194         * data.am: Equip with %PRIMARY%.
1196 2001-04-27  Akim Demaille  <akim@epita.fr>
1198         * automake.in (@conditional_stack): Rename as...
1199         (@cond_stack): this.
1200         (&file_contents_internal): Support inclusion of files.
1202 2001-04-27  Akim Demaille  <akim@epita.fr>
1204         * automake.in (&lang_extensions): Remove.
1205         (&add_depend2, &saw_sources_p): Adjust.
1206         * depend2.am: `%EXT%' no longer includes the dot.
1208 2001-04-27  Akim Demaille  <akim@epita.fr>
1210         * automake.in (&finish_languages, &handle_single_transform_list)
1211         (&add_depend2, &handle_dependencies): No longer use the language
1212         name in `$lang'.  Rename `$lang_obj' as `$lang'.
1214 2001-04-27  Akim Demaille  <akim@epita.fr>
1216         * automake.in (&register_language): Use `new Language' with a hash.
1218 2001-04-27  Akim Demaille  <akim@epita.fr>
1220         * automake.in (&register_language): Rename `output-arg' and
1221         `derived-autodep' as `output_arg' and `derived_autodep' to match
1222         the Language attribute.
1223         Set the defaults in %option instead of $lang.
1225 2001-04-27  Akim Demaille  <akim@epita.fr>
1227         * Automake/: New directory.
1228         * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1229         * automake.in (Language): Use Automake::Struct.
1230         * tests/defs: Adjust to find Struct.
1232 2001-04-23  Pavel Roskin <proski@gnu.org>
1234         * automake.in: Add forward declaration for register_language().
1235         * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1236         passes now.
1238 2001-04-20  Akim Demaille  <akim@epita.fr>
1240         * automake.in (%required_targets): Add `uninstall'.
1241         From Robert Collins.
1243 2001-04-12  Akim Demaille  <akim@epita.fr>
1245         * automake.in (Language): Add attribute `name'.
1246         (&register_language): The name of the language is now given in the
1247         hash.
1248         No longer use `$lang' as the name of the language.
1249         Rename `$lang_obj' as `$lang'.
1251 2001-04-12  Akim Demaille  <akim@epita.fr>
1253         * automake.in (Language): Add attribute `_finish'.
1254         (&finish): New.
1255         (Automake): Adjust.
1256         (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1257         (&lang_asm_finish): Remove.
1259 2001-04-12  Akim Demaille  <akim@epita.fr>
1261         * automake.in (Language): Add attribute `extensions'.
1262         (Automake): Pass a hash to `&register_language' instead of a
1263         list of pseudo assignments.
1264         (&register_language): Adjust.
1265         (&finish_languages): Initialize `$ltoutarg'.
1267 2001-04-12  Akim Demaille  <akim@epita.fr>
1269         * automake.in (Language): Add attribute `output_arg'.
1270         (%language_map): Remove.
1271         (&register_language): Build only the object, and store in
1272         %languages only.
1273         (&finish_languages, &handle_single_transform_list): Adjust.
1275 2001-04-12  Akim Demaille  <akim@epita.fr>
1277         * automake.in (Language): Add attributes `flags', `compile' and
1278         `compiler'.
1279         (&finish_languages, &handle_single_transform_list, &handle_dist)
1280         (&add_depend2, &register_language): Use them and the `linker' and
1281         `pure' attributes.
1283 2001-04-12  Akim Demaille  <akim@epita.fr>
1285         * automake.in (&handle_single_transform_list, &finish_languages)
1286         (&handle_dist, &handle_dependencies): Use the language object for
1287         autodep and derived-autodep too.
1289 2001-04-12  Akim Demaille  <akim@epita.fr>
1291         * automake.in (&macro_define): Ignore Automake definition for
1292         ($var, $cond) if there is already a user definition for ($var, $cond).
1294 2001-04-12  Akim Demaille  <akim@epita.fr>
1296         * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1297         but also @deffn and so on which push data in indexes.
1298         Reported by Derek R. Price.
1300 2001-04-12  Akim Demaille  <akim@epita.fr>
1302         * automake.in (Language): New package, temporarily in this file.
1303         Use Class::Struct.
1304         (Automake): New package.
1305         (%languages): New.
1306         (&handle_single_transform_list): Use the language object's `ansi'
1307         attribute instead of `$language_map{"$lang-ansi-p"}'.
1308         (&register_language): Build and register the language too.
1310 2001-04-11  Tom Tromey  <tromey@redhat.com>
1312         Fixes report from Larry Jones:
1313         * automake.in (handle_dependencies): Add `@_am_quote@' where
1314         appropriate.
1315         * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1317 2001-04-11  Akim Demaille  <akim@epita.fr>
1319         * depend2.am: Fix the `if' condition for Libtool.
1320         Reported by Robert Boehne.
1322 2001-04-10  Robert Collins  <robert.collins@itdomain.com.au>
1324         * tests/subobj5.test: New file.
1326 2001-04-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
1328         * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1329         * tests/Makefile.am (TESTS): Added make.test.
1330         * tests/make.test: New file.
1332 2001-04-10  Tom Tromey  <tromey@redhat.com>
1334         * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1336 2001-04-10  Derek R. Price  <dprice@collab.net>
1338         * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1340 2001-04-10  Akim Demaille  <akim@epita.fr>
1342         * distdir.am: Add a missing backslash.
1344 2001-04-10  Akim Demaille  <akim@epita.fr>
1346         * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1347         variables.
1348         Specify to the caller whether $regen_aclocal_m4.
1349         (&handle_configure): Adjust.
1350         Transform `REGEN-ACLOCAL-M4'.
1351         Reported by Tom.
1352         * configure.am: Use it.
1353         * tests/defs (me): New.
1354         * tests/confdeps.test: New.
1356 2001-04-09  Tom Tromey  <tromey@redhat.com>
1358         * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1359         Fixes report from Jim Meyering.
1361 2001-04-09  Akim Demaille  <akim@epita.fr>
1363         * automake.in (&handle_configure): Don't bother with optimizing
1364         macro uses.
1366 2001-04-09  Akim Demaille  <akim@epita.fr>
1368         * tests/cond3.test (expected): Adjust.
1370 2001-04-09  Akim Demaille  <akim@epita.fr>
1372         * automake.in (&handle_single_transform_list): Remove $xbase,
1373         unused.
1374         (&handle_source_transform): All the variables have conditions now,
1375         simplify.
1376         (&variable_delete): Admit an argument @conds.
1378 2001-04-09  Akim Demaille  <akim@epita.fr>
1380         * automake.in ($source_suffix_pattern): Remove, unused.
1381         %extension_map seems to have replaced it.
1383 2001-04-09  Akim Demaille  <akim@epita.fr>
1385         * ext-compile.am: New file.
1386         * automake.in (&finish_languages): Output it.
1387         Require a C linker if there are several registered source suffixes.
1388         (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1389         extensions, which are discovered in ext-compile.am.
1390         With the help from Robert Boehne.
1392 2001-04-09  Akim Demaille  <akim@epita.fr>
1394         * automake.in (&handle_compile): Extract from...
1395         (&get_object_extension): here.
1396         (&read_am_file): Call it.
1397         ($included_generic_compile, $included_knr_compile)
1398         ($included_libtool_compile): Remove.
1399         ($get_object_extension_was_run): New.
1401 2001-04-09  Akim Demaille  <akim@epita.fr>
1403         Use AM_CONDITIONAL and if/endif for AMDEP.
1405         * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1406         * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1407         to a configure time if/endif), or to `FALSE' (static removal of
1408         the code).
1409         (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1410         * depend2.am: Use if/endif.
1412         Adjust the 101 tests that use dependencies so that they
1413         properly invoke aclocal before automake.  They need to `see'
1414         `AM_CONDITIONAL([AMDEP], ...)'.
1416 2001-04-09  Akim Demaille  <akim@epita.fr>
1418         * tags.am: Fix missing leading tabs.
1420 2001-04-09  Akim Demaille  <akim@epita.fr>
1422         * automake.in: Use simple quotes to define the _PATTERN variables
1423         to unobfuscate the regexps.
1424         ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1426 2001-04-09  Akim Demaille  <akim@epita.fr>
1428         * automake.in (&rule_define): When you discover a suffix rules,
1429         register the extensions for .SUFFIXES.
1430         (&handle_texinfo): Don't register the suffixes.
1431         (&get_object_extension): Don't register suffixes, let them be
1432         discovered in depend2.am.
1433         (&handle_emacs_lisp): Depend on your lisp.am.
1434         * lisp.am: Include the rule &handle_emacs_lisp used to output.
1436 2001-04-09  Akim Demaille  <akim@epita.fr>
1438         * subdirs.am: Don't define info related recursive targets.
1439         * texinfos.am: Do.
1441 2001-04-09  Akim Demaille  <akim@epita.fr>
1443         * subdirs.am (RECURSIVE_TARGETS): New variable.
1444         Use it.
1445         * automake.in (&handle_subdirs): Output it.
1446         (&file_contents_internal): Support value spread on several lines.
1448 2001-04-09  Akim Demaille  <akim@epita.fr>
1450         * automake.in (&handle_man_pages): Rely on mans.am to define
1451         man%SECTION%dir and MANS.
1452         * mans.am: Do it.
1454 2001-04-09  Akim Demaille  <akim@epita.fr>
1456         * automake.in (&variable_dump): Use %var_type properly.
1457         (&macro_define): Enforce better overriding rules.
1458         Handle the special case that used to handle...
1459         (&define_pretty_variable): this.
1460         Hence, don't.
1461         The variables you define are owned by Automake.
1462         (&generate_makefile): PRE_INSTALL and co must not be defined *by
1463         the user*.
1464         (&variable_defined): Now independent of the owner.
1465         (&variable_output, &variable_pretty_output): Adjust to %var_type.
1467 2001-04-09  Akim Demaille  <akim@epita.fr>
1469         * automake.in (%var_was_plus_eq): Rename as...
1470         (%var_type): this.
1471         (%def_type): Remove.
1472         (&macro_define): %var_type may now hold `', `+', or `:'.
1473         (%conditional, %am_vars, %content_lines): Rename as...
1474         (%var_value, %var_comment, %var_line): these.
1476 2001-04-09  Akim Demaille  <akim@epita.fr>
1478         * automake.in (&variable_output): Admit a list of @CONDS.
1479         (&variable_pretty_output): New.
1480         (&define_pretty_variable): Use it.
1481         (&read_am_file, &file_contents_internal): Prepend a separator to
1482         $am_vars only if there is none yet.
1483         (&file_contents_internal): Rename $separator as $spacing to
1484         harmonize with &read_am_file.
1486 2001-04-09  Akim Demaille  <akim@epita.fr>
1488         * automake.in (&am_install_var): Transform DIST, and let the *.am
1489         files handle DIST_COMMON.
1490         * data.am, header.am, java.am, list.am, python.am, script.am: Set
1491         DIST_COMMON.
1493 2001-04-09  Akim Demaille  <akim@epita.fr>
1495         * automake.in (%dist_common): Remove.
1496         (%configure_dist_common): Replace with...
1497         ($configure_dist_common): this.
1498         (&generate_makefile): Read the user file before using
1499         push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1500         that no variable is defined before it is run.
1501         (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1502         (&dist_cmp): Rename as...
1503         (&for_dist_common): this.
1504         (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1505         it.
1506         Adjust to $configure_dist_common.
1507         * configure.am, texi-vers.am: Set DIST_COMMON.
1509 2001-04-09  Akim Demaille  <akim@epita.fr>
1511         * automake.in (&handle_aclocal_m4): Rename as...
1512         (&scan_aclocal_m4): this.
1513         Return the list of aclocal.m4 dependencies.
1514         (&handle_configure): Invoke it, and use it when loading...
1515         * configure.am: Template the rules to recreate aclocal.m4.
1517 2001-04-09  Akim Demaille  <akim@epita.fr>
1519         * automake.in (&get_object_extension): Use ansi2knr.am.
1520         * clean-kr.am, kr-extra.am: Remove, merged into...
1521         * ansi2knr.am: this new file.
1523 2001-04-09  Akim Demaille  <akim@epita.fr>
1525         * automake.in (&transform): Fix an incredible bug which was
1526         breaking the if/endif system.
1527         ($ELSE_PATTERN): Admit an optional argument.
1529 2001-04-09  Akim Demaille  <akim@epita.fr>
1531         * comp-vars.am: Remove, merged into...
1532         * compile.am: here.
1533         * automake.in (&get_object_extension): Adjust.
1535 2001-04-09  Akim Demaille  <akim@epita.fr>
1537         * remake.am: Merge into...
1538         * configure.am: ... here.
1539         * automake.in (&handle_configure): Adjust.
1541 2001-04-09  Akim Demaille  <akim@epita.fr>
1543         * automake.in (&output_lex_build_rule): Output this...
1544         * lex.am: New file.
1546 2001-04-09  Akim Demaille  <akim@epita.fr>
1548         * automake.in (&condition_negate): New.
1549         (&variable_conditions_permutations): Use it.
1550         (&read_am_file, &file_contents): Use it on `else' clauses to
1551         support `if FALSE'.
1552         (&output_yacc_build_rule): Output this...
1553         * yacc.am: New file.
1555 2001-04-09  Akim Demaille  <akim@epita.fr>
1557         * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1558         (&handle_dist): Don't.
1559         (&handle_clean): Don't handle config.status here, let...
1560         * clean.am: ... do it.
1561         * distdir.am: Adjust.
1563 2001-04-09  Akim Demaille  <akim@epita.fr>
1565         * automake.in: Use strict vars and subs.
1566         Declare `%require_file_found'.
1567         (&handle_source_transform, &make_paragraphs): Declare my variables.
1569 2001-04-09  Akim Demaille  <akim@epita.fr>
1571         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1572         * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1573         * java.am (_am_installdirs): Be sure to set it.
1575 2001-04-09  Akim Demaille  <akim@epita.fr>
1577         * automake.in (&make_condition): Return '#' when FALSE.
1578         (&conditional_string): Return FALSE, not '#' in the corresponding
1579         cases.
1580         (&file_contents_internal): Adjust.
1581         (&check_variable_defined_unconditional): Dump the guilty variable.
1583 2001-04-09  Akim Demaille  <akim@epita.fr>
1585         * distdir.am: Use and abuse of if/endif.
1586         * scripts.am: Using if/endif with variables is fine.
1588 2001-04-09  Akim Demaille  <akim@epita.fr>
1590         * automake.in (&make_paragraphs):  Extract from &file_contents.
1591         Make it more robust than the previous RE based scheme.
1592         (&file_contents): Use it.
1594 2001-04-09  Akim Demaille  <akim@epita.fr>
1596         * automake.in (&make_paragraphs):  Extract from &file_contents.
1597         Make it more robust than the previous RE based scheme.
1598         (&file_contents): Use it.
1600 2001-04-09  Akim Demaille  <akim@epita.fr>
1602         * tests/yacc2.test: Don't define several times a variable, as
1603         automake complains.
1605 2001-04-09  Akim Demaille  <akim@epita.fr>
1607         * automake.in (&handle_source_transform): Fix pr72: don't define
1608         $linker if there are no @files.
1610 2001-04-09  Akim Demaille  <akim@epita.fr>
1612         Avoid reading twice header-vars.am as now macro_define
1613         complains.
1615         * automake.in (&define_standard_variables): Don't output the
1616         variables.
1617         (&read_main_am_file): Output first user variables, then Automake
1618         variables.
1619         Don't call twice &define_standard_variables.
1620         Save variable comments in $am_vars.
1621         (&variable_output): New.
1622         (&file_contents_internal): New.
1623         Save variable comments in $am_vars.
1624         (&file_contents): Use it.
1626 2001-04-09  Akim Demaille  <akim@epita.fr>
1628         * automake.in (&macro_define): The user is allowed to override
1629         a value if it was set by Automake, or if it was found in AC_SUBST.
1631 2001-04-09  Akim Demaille  <akim@epita.fr>
1633         * automake.in (&handle_source_transform): Better locality of the
1634         variables.
1635         Use `next' to skip nonexistent variables.
1637 2001-04-09  Akim Demaille  <akim@epita.fr>
1639         * automake.in (&variable_dump): If a variable is undefined, say
1640         it.
1641         (&check_ambiguous_conditional): Give finer error messages.
1642         (&macro_define): Check that a `+=' variable is not set with `='.
1643         Check for ambiguous definitions each time you _set_ (even with `+=')
1644         a variable.
1645         (&read_main_am_file): Perform a deep copy of %conditional.
1647 2001-04-09  Akim Demaille  <akim@epita.fr>
1649         * automake.in (&variable_defined): Some callers, e.g.,
1650         &am_primary_prefixes, really want to know if the variable is
1651         defined for any condition, not `TRUE' by default.
1652         (&am_primary_prefixes): Give a more precise error message.
1654 2001-04-09  Akim Demaille  <akim@epita.fr>
1656         (&variable_conditions): Don't include `FALSE' in the result.
1658 2001-04-09  Akim Demaille  <akim@epita.fr>
1660         * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1661         (&variable_conditions): Don't include `FALSE' in the result.
1663 2001-04-09  Akim Demaille  <akim@epita.fr>
1665         * tests/defs, tests/depend3.test: Remove useless code.
1667 2001-04-09  Akim Demaille  <akim@epita.fr>
1669         * automake.in (&handle_source_transform):  Use
1670         &variable_conditions, don't read $conditional{$var}.
1671         (&variable_conditions_sub): When the call is the top level call,
1672         generate all the permutations of the conditions.
1674 2001-04-09  Akim Demaille  <akim@epita.fr>
1676         * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1677         that it does not get noticed twice by automake, which now
1678         complains for multiple definitions.
1679         * tests/vartar.test: s/INSTALL/install/g, automake now complains
1680         because we defined INSTALL.
1682 2001-04-09  Akim Demaille  <akim@epita.fr>
1684         * automake.in (&generate_makefile) Use macro_define to define
1685         SOURCES and OBJECTS.
1686         (&variable_defined): Don't check for $conditional{VAR}{COND} as
1687         this would make perl create $condition{VAR}, which we don't want.
1689 2001-04-09  Akim Demaille  <akim@epita.fr>
1691         * automake.in (&variable_defined, &define_pretty_variable):
1692         Simplify code which used to handle the cases where not all
1693         variables were in %conditional.
1694         (&define_variable): Use &define_pretty_variable.
1695         (&variable_conditions_sub, &variable_value_as_list_worker)
1696         (&variable_value_as_list, &rule_define): Simplify syntax.
1697         (&read_main_am_file): Dump the guilty predefined variables.
1699 2001-04-09  Akim Demaille  <akim@epita.fr>
1701         * automake.in (&variable_conditions_sub)
1702         (&variable_value_as_list_worker): Remove dead code which used to
1703         handle the cases where not all variables were in %conditional.
1705 2001-04-09  Akim Demaille  <akim@epita.fr>
1707         * automake.in (&handle_source_transform, &read_main_am_file):
1708         Simplify loops which were split in two parts, conditional vs
1709         unconditional variables.
1711 2001-04-09  Akim Demaille  <akim@epita.fr>
1713         Handle unconditional values of variables as conditioned by
1714         `TRUE'.
1716         * automake.in (%contents): Remove.
1717         (&generate_makefile, &handle_ltlibraries, &macro_define)
1718         (&read_am_file, &variable_defined, &variable_conditions_sub)
1719         (&variable_value, &variable_value_as_list_worker)
1720         (&variable_value_as_list, &define_pretty_variable)
1721         (&read_main_am_file): Use
1722         $conditional, not %contents.
1723         (&variable_conditions_permutations): Don't return TRUE and FALSE.
1724         (&variable_conditionally_defined): New.
1725         (&handle_dist): Use it.
1726         (&check_ambiguous_conditional): When multiply defined, specify
1727         under which condition.
1728         (&macro_define): Use it.
1729         (&variable_delete): New.
1730         (&read_am_file): Use it.
1731         (&am_install_var): Simplify, as all the variables are in
1732         %conditional now.
1734 2001-04-07  Tom Tromey  <tromey@redhat.com>
1736         * tests/Makefile.am (XFAIL_TESTS): Added man.test.
1737         (TESTS): Likewise.
1738         * tests/man.test: New file.
1740 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
1742         * depcomp (gcc3): Invert test condition.
1744 2001-04-07  Tom Tromey  <tromey@redhat.com>
1746         * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
1747         statement.  Report from Larry Jones.
1749 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
1751         * depcomp (sgi): Fix sed expression.  Report from Robert Boehne.
1753 2001-04-01  Tom Tromey  <tromey@redhat.com>
1755         * java.am (.PHONY clean-am): Removed trailing ":".
1756         From Per Bothner.  Fixes PR automake/139.
1758 2001-03-28  Akim Demaille  <akim@epita.fr>
1760         * program.am: Fix a stupid typo: now *all* (not none) the programs
1761         use `$(EXEEXT)'.
1762         Reported by Robert Boehne.
1764 2001-03-23  Akim Demaille  <akim@epita.fr>
1766         * automake.in (&read_am_file, &file_contents): Avoid name clashes
1767         on $cond.
1769 2001-03-23  Akim Demaille  <akim@epita.fr>
1771         * automake.in (&variable_conditionally_defined): Rename as...
1772         (&check_variable_unconditionally_defined): this.
1773         (&variable_dump): Fix the output.
1774         (&variable_defined, &macro_define): Since conditions are
1775         canonicalized, don't use a loop to look for a condition: read the
1776         hash.
1777         (&macro_define, &rule_define, &read_am_file, &file_contents):
1778         Rename $cond_string as $cond.
1779         * distdir.am (PACKAGE, VERSION): Remove; since they are already
1780         discovered via AC_SUBST, they now trigger a `defined twice' error.
1782 2001-03-23  Akim Demaille  <akim@epita.fr>
1784         * automake.in (&handle_footer, &handle_installdirs)
1785         (&read_main_am_file): Don't read %contents directly, use
1786         &variable_value.
1788 2001-03-23  Akim Demaille  <akim@epita.fr>
1790         * automake.in (&read_am_file): Define the variables in a single
1791         shot.
1792         Factor the $saw_bk code.
1794 2001-03-23  Akim Demaille  <akim@epita.fr>
1796         * automake.in (&read_am_file): Keep $cond_string up to date.
1798 2001-03-23  Akim Demaille  <akim@epita.fr>
1800         * automake.in (&define_variable): Use &macro_define.
1802 2001-03-23  Akim Demaille  <akim@epita.fr>
1804         * automake.in (&macro_define): Don't lose the location if we
1805         redefine a variable.
1806         Don't push all the variables in @var_list, let...
1807         (&read_am_file, &file_contents): ... do it.
1808         (&define_pretty_variable): Use macro_define.
1809         (&am_install_var): Delete the value of variables being redefined
1810         to pacify &macro_define which checks that variables are not
1811         doubly defined.
1813 2001-03-23  Akim Demaille  <akim@epita.fr>
1815         * automake.in (&conditional_dump): Rename as...
1816         (&variables_dump): this.  Use...
1817         (&variable_dump): this new sub.
1819 2001-03-23  Akim Demaille  <akim@epita.fr>
1821         * automake.in (&file_contents): Maintain $cond_string sync with
1822         @cond_stack.
1823         Output rules only if not under `FALSE'.
1824         Define variables under $cond_string.
1825         * scripts.am: For the time being if/endif does not work properly
1826         with macros.
1828 2001-03-23  Akim Demaille  <akim@epita.fr>
1830         * automake.in (IF_PATTERN): Unobfuscate the parens.
1831         (ENDIF_PATTERN): Allow a condition to be specified.
1832         (&file_contents): Use a @cond_stack.
1833         (&transform): At least for an easy transition, also transform
1834         %?FOO% and %!FOO%, as suggested by Lars.
1835         * scripts.am: First test bed for static if/endif use.
1837 2001-03-23  Akim Demaille  <akim@epita.fr>
1839         * automake.in (&file_contents): Use rule_define.
1841 2001-03-23  Akim Demaille  <akim@epita.fr>
1843         * automake.in (&macro_define): Don't rely on $1.
1844         Initialize the variable.
1845         Set its Automakism only if not defined or if given to the user.
1846         When concatenating values, insert a separator only if the value
1847         was not empty.
1848         (&read_am_file): When dumping the @var_list, skip Automake
1849         variables.
1850         (&file_contents): Use macro_define.
1852 2001-03-23  Akim Demaille  <akim@epita.fr>
1854         * automake.in (&rule_define): Extract from...
1855         (&read_am_file): here.
1857 2001-03-23  Akim Demaille  <akim@epita.fr>
1859         * automake.in (&macro_define, &read_am_file): More work for the
1860         former from the latter.  Reorganize the latter.
1862 2001-03-23  Akim Demaille  <akim@epita.fr>
1864         * automake.in (&macro_define): Extract from...
1865         (&read_am_file): here.
1867 2001-03-23  Akim Demaille  <akim@epita.fr>
1869         * automake.in (%am_var_defs): Replace with...
1870         (%var_is_am): this.
1871         (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
1872         (&file_contents, am_primary_&prefixes): Adjust.
1873         (&variable_defined, &define_variable): The actual semantics is
1874         `user defined'.
1875         (&read_main_am_file): Assert the var is user defined when
1876         outputting @var_list.
1878 2001-03-23  Akim Demaille  <akim@epita.fr>
1880         * automake.in (read_am_file): TRUE and FALSE are predefined
1881         conditionals.
1882         (&by_condition): Adjust.
1883         (&conditional_string): Recognize `TRUE' and `FALSE'.
1884         (&make_condition): Use it.
1885         * m4/cond.m4: Reject TRUE and FALSE as conditionals.
1886         * automake.texi (Conditionals): Adjust.
1887         * tests/cond9.test: s/FALSE/WRONG/.
1889 2001-03-12  Pavel Roskin  <proski@gnu.org>
1891         * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
1892         now.
1894 2001-03-12  Akim Demaille  <akim@epita.fr>
1896         * automake.in (&variable_conditions_permutations): Separate the
1897         conditions.
1898         * tests/cond3.test: Improve the sed expression.
1900 2001-03-09  Pavel Roskin  <proski@gnu.org>
1902         * Makefile.am (maintainer-check): Scan all *.am files and tests
1903         for invocations of `rm' without `-f'.
1904         * tests/mclean.test: Adjusted to prevent triggering the above
1905         test.
1907 2001-03-09  Tom Tromey  <tromey@redhat.com>
1909         * automake.in (scan_one_autoconf_file): Fixed comment to avoid
1910         maintainer-check failure.
1912 2001-03-09  Akim Demaille  <akim@epita.fr>
1914         * tests/cond3.test: Strengthen.
1916 2001-03-09  Akim Demaille  <akim@epita.fr>
1918         * automake.in (&conditional_string): Produce a unique string
1919         characterizing a condition stack.
1920         (&conditional_same): Remove, comparing two strings is now enough.
1921         (&variable_defined): Adjust.
1922         (&read_am_file): Use conditional_string.
1924 2001-03-08  Akim Demaille  <akim@epita.fr>
1926         * automake.in: Use -w.
1927         Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
1928         (&parse_arguments): Support --Werror and --Wno-error as a
1929         temporary hack until --warning/-W is properly implemented.
1930         (&handle_single_transform_list): Prototype.
1931         Be sure to define $directory.
1932         Use `exists' instead of testing the value of a maybe undefined
1933         hash value.
1934         (&add_depend2, &handle_configure, &handle_footer, &file_contents)
1935         (&handle_factored_dependencies): Use defined values.
1936         (&scan_one_autoconf_file): Save $_.
1937         * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
1938         Run automake with --Wno-error.
1940 2001-03-07  Akim Demaille  <akim@epita.fr>
1942         * automake.in (&handle_all): Use an array instead of a scalar for
1943         local_headers.
1944         Get rid of all-redirect: let `all' be that target.
1946 2001-03-07  Akim Demaille  <akim@epita.fr>
1948         * automake.in (&handle_merge_targets): Ventilate its non `all'
1949         related content into...
1950         (&generate_makefile): here.
1951         (&handle_merge_targets): Rename as...
1952         (&handle_all): this.
1953         Remove a useless `if': `@all' is obviously not empty, since it
1954         contains at least the `basename ($makefile)' which has just been
1955         unshifted.
1957 2001-03-07  Akim Demaille  <akim@epita.fr>
1959         * automake.in, aclocal.in: Backquote is inert in double quotes.
1961 2001-03-06  Akim Demaille  <akim@epita.fr>
1963         * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
1964         into `grep -v ...'.
1966 2001-03-06  Pavel Roskin  <proski@gnu.org>
1968         * java.am: Use `rm -f' instead of `rm'.
1970 2001-03-06  Akim Demaille  <akim@epita.fr>
1972         * automake.in (&push_dist_common): Simplify.
1974 2001-03-06  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1976         * ltlib.am: Replaced spaces with tab.
1978 2001-03-06  Pavel Roskin  <proski@gnu.org>
1980         * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
1981         fixed now.
1983 2001-03-05  Pavel Roskin  <proski@gnu.org>
1985         * header.am, scripts.am: Use ?INSTALL? in the install and
1986         uninstall rules.
1988 2001-03-05  Pavel Roskin  <proski@gnu.org>
1990         * tests/copy.test: Never use `rm' without `-f' - it may ask
1991         questions, notably for read-only files during `make distcheck'.
1992         * tests/insh.test: Likewise.
1993         * tests/installsh.test: Likewise.
1994         * tests/symlink.test: Likewise.
1995         * tests/symlink2.test: Likewise.
1996         * tests/symlink3.test: Likewise.
1998 2001-03-05  Pavel Roskin  <proski@gnu.org>
2000         * noinstdir.test: New test.
2001         * tests/Makefile.am (TESTS): Add noinstdir.test.
2002         (XFAIL_TESTS): Likewise.
2004 2001-03-05  Akim Demaille  <akim@epita.fr>
2006         * automake.in (&handle_options): Change the RE so that the third
2007         part of the versions always exist.
2008         (&file_contents): Don't pass uninitialized values to &transform.
2010 2001-03-05  Akim Demaille  <akim@epita.fr>
2012         * automake.in (&file_contents): Require a hash as second argument.
2013         Adjust callers.
2015 2001-03-05  Akim Demaille  <akim@epita.fr>
2017         Always use hashes with &file_contents.
2019         * automake.in (&handle_texinfo): texibuild.am does not need
2020         TEXINFODIR.
2021         texinfos.am wants only TEXICLEANS.
2022         (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2023         %transform.
2024         * texinfos.am: Adjust.
2026 2001-03-05  Akim Demaille  <akim@epita.fr>
2028         * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2029         (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2030         (&am_install_var): Forget about `-clean'.
2031         Transform ?INSTALL?.
2032         Always output the *.am file.
2033         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2034         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2035         Remove, merged into the corresponding *.am file.
2036         * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2037         ?INSTALL?.
2039 2001-03-05  Pavel Roskin  <proski@gnu.org>
2041         * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2043 2001-03-05  Akim Demaille  <akim@epita.fr>
2045         If OBJEXT and EXEEXT are not set, provide a default value, and use
2046         them unconditionally.
2048         * automake.in (&generate_makefile): Provide default values for
2049         EXEEXT and OBJEXT.
2050         (&get_object_extension, &finish_languages)
2051         (&handle_single_transform_list, &handle_programs, &add_depend2)
2052         (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2053         them, they are defined.
2054         * compile.am, depend2.am, program.am, progs.am: Likewise.
2055         * remake-hdr.am: Fix a typo.
2056         * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2057         * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2058         * tests/suffix2.test: Adjust.
2060 2001-03-05  Akim Demaille  <akim@epita.fr>
2062         * automake.in (&file_contents): Map MAINTAINER-MODE to
2063         @MAINTAINER_MODE_TRUE@ or nothing.
2064         * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2065         Suggested by Tom.
2067 2001-03-05  Akim Demaille  <akim@epita.fr>
2069         * automake.in (&do_one_merge_target): Remove, was only called from...
2070         (&handle_merge_targets): here for `all'.
2071         Adjust.
2073 2001-03-05  Akim Demaille  <akim@epita.fr>
2075         Make the installation/uninstallation of Info pages follow the
2076         regular am/recursive scheme.
2078         * automake.in (%required_targets, %dependencies): Add
2079         install-info.
2080         (%dependencies): Add install-info, install-info-am, and
2081         unstall-info.
2082         (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2083         reversed BTW.  Does anybody use the option `no-installinfo'?
2084         (&handle_merge_targets): Let the handling of info related targets
2085         to...
2086         (&handle_factored_dependencies): this.
2087         * subdirs.am: Use ?INSTALL-INFO?.
2088         * texinfos.am: Define the install-info, uninstall-info and
2089         uninstall-info-am targets.
2091 2001-03-05  Akim Demaille  <akim@epita.fr>
2093         * automake.in (%required_targets, %dependencies): Add dvi, info,
2094         dvi-am, info-am.
2095         (@info, @dvi): Remove.
2096         (&handle_texinfo, &handle_merge_targets): Adjust.
2097         (&handle_factored_dependencies): Required targets are phony.
2098         * texinfos.am: Build info, dvi, and the corresponding -am or
2099         -recursive targets.
2101 2001-03-05  Akim Demaille  <akim@epita.fr>
2103         * automake.in (&am_install_var): Remove $cygxform, unused.
2105 2001-03-05  Akim Demaille  <akim@epita.fr>
2107         * automake.in (&file_contents): Transform LIBTOOL.
2108         (&am_install_var): Remove $ltxform.
2109         * ltlib.am, progs.am: Adjust.
2111 2001-03-05  Akim Demaille  <akim@epita.fr>
2113         * automake.in: Require AC_PROG_INSTALL in...
2114         (&scan_autoconf_files): here.
2116 2001-03-05  Akim Demaille  <akim@epita.fr>
2118         * configure.am: New file.
2119         * automake.in (&file_contents): Transform CONFIGURE-AC.
2120         (&handle_texinfo, &handle_configure): Don't transform
2121         CONFIGURE_AM.
2122         (&handle_configure): Use `configure.am'.
2123         * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2124         MAINTAINER-MODE and CONFIGURE-AC.
2126 2001-03-05  Akim Demaille  <akim@epita.fr>
2128         * automake.in (&pretty_print_internal): Don't output useless
2129         spaces.
2130         (define_pretty_variable): Don't issue the space after the `=' sign
2131         to avoid trailing spaces in Makefile.ins.
2133 2001-03-05  Akim Demaille  <akim@epita.fr>
2135         * automake.in (&generate_makefile): Invoke &initialize_per_input
2136         *before* setting $am_file_name and $in_file_name.
2138 2001-03-05  Akim Demaille  <akim@epita.fr>
2140         * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2141         Globals, initialized...
2142         (&initialize_per_input): here.
2144 2001-03-05  Akim Demaille  <akim@epita.fr>
2146         * automake.in ($am_relative_dir): Global.
2147         (&initialize_per_input): Init it.
2148         (%make_list, @make_input_list): My them from
2149         (&scan_autoconf_files): here.
2150         (&require_file_internal): Mying changes.
2152 2001-03-05  Akim Demaille  <akim@epita.fr>
2154         * automake.in (%am_vars, @var_list, %def_type): Globals.
2155         (&initialize_per_input): Initialize them.
2156         (&read_main_am_file): Don't local them.
2157         (&get_object_extension): $objext is private.
2158         (&handle_single_transform_list): $lang is.
2159         (&handle_ltlibraries): $libname_rx is.
2160         (&scan_autoconf_config_files): How about actually paying attention
2161         to your arguments, instead of working on $_? (this is no Perl
2162         variable, it's a Perl variable followed by a question mark).
2163         (&file_contents): $contents and $separator are private.
2164         (&am_install_var): Declare @condvals, not $condvals.
2165         (%make_dirs): My.
2167 2001-03-05  Akim Demaille  <akim@epita.fr>
2169         * automake.in (&initialize_per_input): Move to the top.
2170         Precede with the `my' list of its variables.
2172 2001-03-05  Akim Demaille  <akim@epita.fr>
2174         * automake.in ($am_file): Use vars.
2175         ($am_file_name, $in_file_name): Private to &generate_makefile.
2177 2001-03-05  Akim Demaille  <akim@epita.fr>
2179         * automake.in: Preparation for `use strict': Move the
2180         initialization of the constants to the top, from...
2181         (&initialize_global_constants): here.
2183 2001-03-05  Akim Demaille  <akim@epita.fr>
2185         * automake.in (&handle_single_transform_list, &add_depend2): Let
2186         $lang_specific_files{$lang} be a list instead of a string.
2188 2001-03-05  Akim Demaille  <akim@epita.fr>
2190         Let's make it run ten times faster...
2192         * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2193         transformations.
2194         (&file_contents): Let `$command' remove the Automake commands, and
2195         normalize the series of `\n'.
2196         Slurp the file and apply $command in a single step.
2197         No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2198         is already normalized to be handled by &transform.
2200 2001-03-05  Tom Tromey  <tromey@redhat.com>
2202         * automake.in (register_language): Add entry for `-pure'.
2203         Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2204         (finish_languages): Use `-pure' field of language map.
2206 2001-03-03  Tom Tromey  <tromey@redhat.com>
2208         * tests/yaccvpath.test: No need to remove dummy files.
2209         * tests/subobj3.test: No need to remove dummy files.
2210         * tests/pr9.test: No need to remove dummy files.
2211         * tests/pr87.test: No need to remove dummy files.
2212         * tests/pr19.test: No need to remove dummy files.
2213         * tests/install2.test: No need to remove dummy files.
2214         * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2215         and depcomp.
2217 2001-02-27  Pavel Roskin  <proski@gnu.org>
2219         * tests/yaccvpath.test: Add a delay to make parse.c really out
2220         of date. Detect the problem earlier, after `make distdir'. Drop
2221         dependency on flex. Always use the `-y' flag for bison. Comment
2222         changes.
2223         * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2225 2001-03-02  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2227         * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2229 2001-02-28  Akim Demaille  <akim@epita.fr>
2231         * automake.in (&add_depend2): Transform `GENERIC'.
2232         Get rid of the ad hoc transformation of `@EXT@.o:' which in
2233         addition was broken by the `@ -> %' patch.
2234         * depend2.am: Adjust to use ?GENERIC?.
2236 2001-02-28  Akim Demaille  <akim@epita.fr>
2238         * Makefile.am (maintainer-check): `undef $/' is OK.
2240 2001-02-28  Akim Demaille  <akim@epita.fr>
2242         * automake.in (&handle_configure): Fortunately, $top_reldir,
2243         the definition of which was highly suspicious, was unused.
2245 2001-02-27  Akim Demaille  <akim@epita.fr>
2247         * automake.in (%exec_dir_p): Move to the top so that it is visible
2248         to all routines.
2250 2001-02-27  Pavel Roskin  <proski@gnu.org>
2252         * tests/yaccvpath.test: Prevent automake from looking into ..
2253         and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2255 2001-02-27  Akim Demaille  <akim@epita.fr>
2257         * automake.in (%exec_dir_p): Pulled out from...
2258         (&am_primary_prefixes): here.
2260 2001-02-27  Akim Demaille  <akim@epita.fr>
2262         * automake.in (&usage): Display $0, not $me.
2264 2001-02-27  Akim Demaille  <akim@epita.fr>
2266         * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2267         * automake.in (&handle_clean): Don't escape what's given to
2268         &transform.
2270 2001-02-27  Akim Demaille  <akim@epita.fr>
2272         Distinguish automake substitutions from config.status
2273         substitutions.
2275         * automake.in (&add_depend2): Transform AMDEP.
2276         (&handle_clean): Transform MCFILES and MFILES.
2277         (&file_contents): Transform MAINTAINER_MODE.
2278         (&transform, &am_install_var): Use `%', not `@'.
2279         Adjust all the *.am files.
2280         * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2281         * depend2.am: Display the double dependency on both ?AMDEP? and
2282         @AMDEP@.
2284 2001-02-27  Tom Tromey  <tromey@redhat.com>
2286         * distdir.am (distcheck): Fixed new code.
2288         * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2289         Only configure once.
2291         * distdir.am (distcheck): Print error message if distclean failed
2292         to fully clean.
2294 2001-02-27  Pavel Roskin  <proski@gnu.org>
2296         * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2298 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2300         * tests/Makefile.am (TESTS): Added yaccvpath.test.
2301         * tests/yaccvpath.test: New file.
2303 2001-02-26  Akim Demaille  <akim@epita.fr>
2305         * automake.in (&am_install_var): Recognize whether predefined
2306         directories are `data' or `exec'.
2307         * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2308         ?EXEC?.
2309         * tests/instdata2.test: Update.
2311 2001-02-26  Akim Demaille  <akim@epita.fr>
2313         * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2314         necessarily in infodir.
2316 2001-02-26  Akim Demaille  <akim@epita.fr>
2318         * automake.in ($am_file): Be `local', as my'd variables used in
2319         `foreach' loops are always private to the loop.
2321 2001-02-26  Pavel Roskin  <proski@gnu.org>
2323         * Makefile.am: Add install.am.
2325 2001-02-26  Akim Demaille  <akim@epita.fr>
2327         * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2328         routines, otherwise the elements to compare are passed in @_
2329         instead of $a and $b.
2331 2001-02-26  Akim Demaille  <akim@epita.fr>
2333         * automake.in (%required_targets): `installcheck-am' is needed.
2335 2001-02-26  Akim Demaille  <akim@epita.fr>
2337         * automake.in (&transform_cond): Merge into...
2338         (&transform): this.
2339         Adjust all uses.
2341 2001-02-26  Akim Demaille  <akim@epita.fr>
2343         * automake.in (&handle_dist): Use &transform instead of dedicated
2344         magic for DISTDIRS.
2345         But be sure to always do it.
2346         * distdir.am: Adjust.
2348 2001-02-26  Akim Demaille  <akim@epita.fr>
2350         * automake.in: Use File::Basename.
2351         (&dirname, &basename): Remove.
2353 2001-02-26  Akim Demaille  <akim@epita.fr>
2355         * automake.in ($me): New.
2356         Use it.
2357         (&usage): Display your full name.
2359 2001-02-26  Akim Demaille  <akim@epita.fr>
2361         * automake.texi (Invoking Automake): Remove dead options.
2363 2001-02-26  Akim Demaille  <akim@epita.fr>
2365         * automake.in (&scan_texinfo_file): Also compute the list of files
2366         to clean.
2367         Handle local errors.
2368         (&handle_texinfo): Use it.
2370 2001-02-26  Akim Demaille  <akim@epita.fr>
2372         * automake.in: Don't pass arguments to...
2373         (&parse_arguments): Work on @ARGV.
2374         Use Getopt.
2375         Add support for `-f'.
2376         (&version): New.
2377         (&usage): Update.
2379 2001-02-26  Akim Demaille  <akim@epita.fr>
2381         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2382         handle installcheck and installcheck-am.
2383         * install.am: Do it.
2385 2001-02-26  Akim Demaille  <akim@epita.fr>
2387         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2388         handle install and install-am.
2389         * install.am: Do it.
2391 2001-02-26  Akim Demaille  <akim@epita.fr>
2393         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2394         work on targets handled by %dependencies.
2395         (&handle_factored_dependencies): Do it.
2396         * install.am: Install install-exec, install-data and uninstall's
2397         suites.
2399 2001-02-26  Akim Demaille  <akim@epita.fr>
2401         * automake.in (&handle_merge_targets): Move `install-strip' from
2402         here...
2403         * install.am: to here.
2405 2001-02-26  Akim Demaille  <akim@epita.fr>
2407         * automake.in (@installdirs): Remove.
2408         (&file_contents): Be able to grow Automake macros with `+='.
2409         (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2410         files define _am_installdirs.
2411         (&handle_installdirs): Remove the code, just output `install.am'.
2412         * install.am: New.
2413         * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2414         * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2416 2001-02-26  Akim Demaille  <akim@epita.fr>
2418         * tests/instdata2.test (libexec_DATA): Exercise more
2419         possibilities.
2421 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2423         * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2425 2001-02-25  Tom Tromey  <tromey@redhat.com>
2427         * tests/instdata2.test: Added `sbin_DATA' check.
2429         * tests/Makefile.am (TESTS): Added subdircond.test.
2430         * tests/subdircond.test: New file.
2431         * automake.in (handle_gettext): Don't fail if SUBDIRS
2432         conditionally defined.
2434         * automake.in: Use IO::File.
2435         (generate_makefile): Use IO::File.
2436         (scan_texinfo_file): Likewise.
2437         (handle_aclocal_m4): Likewise.
2438         (scan_autoconf_traces): Likewise.
2439         (scan_one_autoconf_file): Likewise.
2440         (read_am_file): Likewise.
2441         (file_contents): Likewise.
2442         (create): Likewise.
2444 2001-02-25  Akim Demaille  <akim@epita.fr>
2446         * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2448 2001-02-25  Akim Demaille  <akim@epita.fr>
2450         * automake.in (&transform): Also call &transform_cond on your
2451         arguments.
2452         (&handle_dist): Adjust.
2453         (&handle_factored_dependencies): Uniq dependencies.
2455 2001-02-25  Akim Demaille  <akim@epita.fr>
2457         * automake.in (&handle_gettext): Simplify redundant `if'.
2458         Used &variable_value, don't read %contents directly.
2460 2001-02-25  Akim Demaille  <akim@epita.fr>
2462         * automake.in ($install_recursive): Remove, replaced with calls to
2463         `&variable_defined ('SUBDIRS')'.
2464         (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2465         (&file_contents): now does.
2467 2001-02-25  Akim Demaille  <akim@epita.fr>
2469         * automake.in (&handle_man_pages): $found is dead.
2471 2001-02-25  Akim Demaille  <akim@epita.fr>
2473         Internally just store the conditionals as space separated lists of
2474         CONDITIONS (instead of @CONDITIONS@).
2476         * automake.in (&conditional_true_when, &variable_conditions_sub):
2477         Split conditions at spaces.
2478         (&handle_dependencies, &variable_conditions_permutations): Don't
2479         put @ around conditions.
2480         (&variable_conditions_cmp): There are no @ to strip.
2481         (&make_condition): New.
2482         (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2483         it.
2484         (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2485         Join @conditional_stack with spaces.
2486         (&read_main_am_file): Adjust the output of variables.
2487         Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2488         true' and no longer `@TEST@TRUE = @TEST@true'.
2489         (&variable_conditions_cmp): Rename as...
2490         (&by_condition): this.
2491         Sort in a human pleasant order.
2492         Use it everywhere a human can see conditions.
2493         (&variable_conditions_reduce): Don't sort conditions, that's
2494         pointless.
2495         * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2497 2001-02-25  Akim Demaille  <akim@epita.fr>
2499         * automake.in: `my' the globals.
2501 2001-02-25  Akim Demaille  <akim@epita.fr>
2503         * automake.in (&initialize_per_input): %targets_conditionals is
2504         new.
2505         (&read_am_file): When slurping a rule, set the target related
2506         variable, and no variable related variable.
2507         (&file_contents): Likewise.
2508         * tests/vartar.test, tests/ctarget1.test: New.
2510 2001-02-25  Akim Demaille  <akim@epita.fr>
2512         * automake.in (&variable_defined, &variable_value_as_list_worker):
2513         If $VAR is effectively a variable, don't die if it's also a
2514         target.
2515         Plus some formatting changes.
2517 2001-02-25  Akim Demaille  <akim@epita.fr>
2519         * automake.in: Mying changes.
2520         * Makefile.am (maintainer-check): Check the stability of the
2521         number of uses of `local'.
2523 2001-02-25  Akim Demaille  <akim@epita.fr>
2525         * automake.in: Mying changes.
2527 2001-02-25  Akim Demaille  <akim@epita.fr>
2529         * automake.in: Mying changes.
2531 2001-02-25  Akim Demaille  <akim@epita.fr>
2533         * automake.in: Mying changes.
2534         (&handle_tags): Fix a bug uncovered by the previous mying changes:
2535         transform CONFIG into $config, not $xform.
2537 2001-02-25  Akim Demaille  <akim@epita.fr>
2539         * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2540         Don't deal with install-data-am, install-exec-am and unstall-am.
2541         (&initialize_per_input): Add them to %dependencies.
2542         Remove %exec_dir_p since the *.am files are now in charge of it.
2543         Remove @uninstall, @install_data, @install_exec.
2544         (&handle_merge_targets): Adjust to these removals.
2545         (&file_contents): Also &transform_cond for --no-installman and
2546         --no-installinfo.
2547         (&do_one_merge_target): Add some magic to install hooks on
2548         %dependencies' targets.
2549         (%required_targets): New.
2550         (&handle_factored_dependencies): Output required targets.
2551         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2552         * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2553         * texinfos.am: Declare your dependencies on install-data-am,
2554         install-exec-am and uninstall-am.
2555         * tests/instdata2.test (incldata_HEADERS): New test.
2557 2001-02-24  Tom Tromey  <tromey@redhat.com>
2559         * Makefile.am (amfiles): Added texibuild.am.
2560         * texibuild.am: New file.
2561         * tests/Makefile.am (TESTS): Added texinfo9.test.
2562         * tests/texinfo9.test: New file.
2563         * automake.in (handle_texinfo): Keep track of suffixes used.  Give
2564         error if suffix unrecognized.  Removed extraneous newline.
2566 2001-02-23  Akim Demaille  <akim@epita.fr>
2568         * automake.in (&am_install_var): Don't hook on the clean targets
2569         and .PHONY.
2570         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2571         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2572         Do it.
2574 2001-02-23  Akim Demaille  <akim@epita.fr>
2576         * automake.in: Promote local `my' over `local'.
2578 2001-02-23  Akim Demaille  <akim@epita.fr>
2580         * automake.in: Formatting and mying changes.
2582 2001-02-23  Akim Demaille  <akim@epita.fr>
2584         * automake.in: Formatting and mying changes.
2586 2001-02-23  Akim Demaille  <akim@epita.fr>
2588         * automake.in (&handle_man_pages): Let install-man and
2589         uninstall-man be handled by the dependency tracker.
2590         (&initialize_per_input): Let %dependencies track them.
2591         * mans.am: Add the needed hooks with the proper dependencies.
2593 2001-02-22  Pavel Roskin  <proski@gnu.org>
2595         * tests/target-cflags.test: Don't use subshell to configure in
2596         subdirectory. Typo fix - run `./foo', not `/foo'.
2598 2001-02-22  Akim Demaille  <akim@epita.fr>
2600         * automake.in: Formatting and mying changes.
2602 2001-02-21  Tom Tromey  <tromey@redhat.com>
2604         * automake.in (handle_dist): Introduce new variable to avoid extra
2605         keys in %dist_dirs.  Fixes distdir.test.
2607         * automake.in (handle_texinfo): Only remove suffixes we can
2608         handle.
2610         * tests/distdir.test: Check to make sure directory isn't made in
2611         build directory.
2613         * automake.in (handle_dist): Do nothing in Cygnus mode.
2615 2001-02-21  Pavel Roskin  <proski@gnu.org>
2617         * header-vars.am: Remove tabs before variable definitions.
2619 2001-02-21  Akim Demaille  <akim@epita.fr>
2621         * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2622         false diagnostics.
2624 2001-02-21  Akim Demaille  <akim@epita.fr>
2626         * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2627         numeric value as required by Perl 5.6.
2629 2001-02-21  Akim Demaille  <akim@epita.fr>
2631         * dist-vars.am: Remove, merge into...
2632         * distdir.am: this.
2633         * automake.in (dirname, basename, backname): Move to the top of
2634         the file so that prototypes are checked,
2635         Use them without `&'.
2636         (&handle_dist): Adjust.
2638 2001-02-21  Akim Demaille  <akim@epita.fr>
2640         * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2641         Use a uniform naming scheme.
2642         (&quote_cond_val, &unquote_cond_val): Delete, dead code.
2643         (&read_am_file): Fix conditional definition of backslash continued
2644         items.
2646 2001-02-21  Akim Demaille  <akim@epita.fr>
2648         Change the handling of conditionals: instead of using an ad-hoc
2649         encoding to store a hash in a string, use hashes.
2651         * automake.in (&conditional_dump): New.
2652         (&check_ambiguous_conditional, &variable_defined)
2653         (&variable_conditions_sub, &variable_value_as_list_worker)
2654         (&define_variable, read_am_file, &read_main_am_file): Be sure to
2655         handle `$conditional{$vars}' as a hash instead of a plain string.
2657 2001-02-21  Akim Demaille  <akim@epita.fr>
2659         * automake.in (&conditional_true_when): Modernize, simplify.
2660         Warning: `$comp' is now private (my), while it used to be
2661         `inherited' from a `local' elsewhere in the code.  AFAICT it was
2662         wrong, but some dirty side effect might show up.
2663         (&conditionals_true_when): New.
2664         (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2666 2001-02-21  Akim Demaille  <akim@epita.fr>
2668         * automake.in ($top_builddir): Remove, used in one place.
2669         (&define_standard_variables): Adjust.
2670         Move the definition of triplet variables into...
2671         * header-vars.am: here.
2673 2001-02-21  Akim Demaille  <akim@epita.fr>
2675         * automake.in (&initialize_global_constants): Don't define $USAGE.
2676         (&usage): Handle the former content of $USAGE.
2677         Don't pretend autoconf cares about Makefile.in.
2678         Classify the options.
2679         (&handle_tests): Formatting and mying changes.
2681 2001-02-21  Akim Demaille  <akim@epita.fr>
2683         * automake.in (&handle_tests_dejagnu): Move the definition of a
2684         default `site.exp' into...
2685         * dejagnu.am (site.exp): here.
2686         Use DOS compliant file names.
2688 2001-02-21  Akim Demaille  <akim@epita.fr>
2690         * automake.in (&dist_cmp): New.
2691         (&handle_dist): Use it.
2692         Promote `my' over `local'.
2694 2001-02-21  Akim Demaille  <akim@epita.fr>
2696         * dist.am: Remove, merge into...
2697         * distdir.am: here.  Use the neat sed snippet for banners.
2698         BTW, distcheck is phony.
2699         * automake.in (&handle_dist_worker): Remove, merge into...
2700         (&handle_dist): this.
2701         (&file_contents): Strip leading new lines.
2702         Be sure to end comments with new lines.
2704 2001-02-21  Akim Demaille  <akim@epita.fr>
2706         * distdir.am (GZIP_ENV): Define.
2707         * automake.in (&handle_dist): Don't.
2708         (&uniq): New.
2709         (&handle_dist_worker, &am_install_var): Use it.
2711 2001-02-21  Akim Demaille  <akim@epita.fr>
2713         * distdir.am (distdir): Handle the DIST-TARGETS.
2714         * automake.in (&handle_dist_worker): Don't.
2716 2001-02-21  Akim Demaille  <akim@epita.fr>
2718         * automake.in (&file_contents): Transform the global options (such
2719         as CYGNUS).
2720         (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2722 2001-02-21  Akim Demaille  <akim@epita.fr>
2724         * distdir.am (distdir): Be sure to have permissive rights on its
2725         contents.
2726         (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
2727         targets.
2728         And BTW, all these guys are phony.
2729         * automake.in (&handle_dist_worker): As its name doesn't indicate,
2730         output distributions.
2731         (&handle_dist): As its name doesn't indicate, don't.
2732         (&initialize_global_constants): Don't define variables which
2733         content is now handled by distdir.am.
2734         But register `dist-all' as a factored target.
2735         (&handle_factored_dependencies): Don't output empty targets.
2737 2001-02-20  Tom Tromey  <tromey@redhat.com>
2739         * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
2740         invocation.
2742 2001-02-18  Tom Tromey  <tromey@redhat.com>
2744         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
2745         Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
2746         (AM_PROG_STRIP): Commented out.
2748 2001-02-17  Raja R Harinath  <harinath@cs.umn.edu>
2750         * depcomp (gcc3): Protect against the compiler deleting
2751         the dependency output file.
2753 2001-02-17  Tom Tromey  <tromey@redhat.com>
2755         * automake.in (handle_merge_targets): Use double quotes around
2756         setting of INSTALL_STRIP_PROGRAM.
2757         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2758         to absolute path at runtime.
2759         (AM_PROG_STRIP): Don't explicitly test $STRIP.
2761 2001-01-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
2763         * m4/strip.m4: New file.
2764         * m4/Makefile.am (m4data_DATA): Add strip.m4.
2765         * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
2766         * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
2767         * automake.in (handle_merge_targets): In the install-strip rule,
2768         set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
2769         to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
2770         * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
2771         don't use INSTALL_STRIP_FLAG any longer.
2773 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2775         * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
2776         argument.
2778 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2780         * automake.in (unquote_m4_arg): New function.
2781         (scan_one_configure_file): Call unquote_m4_arg on
2782         AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
2783         works.
2785 2001-02-15  Tom Tromey  <tromey@redhat.com>
2787         * config.guess, config.sub: New versions from FSF.
2789         * Makefile.am (WGET): New macro.
2790         (FETCHFILES): New macro.
2791         (fetch): New target.
2793         * tests/subobj3.test: Exit with status 77 if gcc not found.
2794         * tests/pr9.test: Exit with status 77 if gzip not found.
2795         * tests/pr87.test: Exit with status 77 if gcc not found.
2796         * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
2797         * tests/install2.test: Exit with status 77 if gzip not found.
2798         * tests/exsource.test: Exit with status 77 if GNU make not found.
2799         * tests/ansi3.test: Exit with status 77 if gcc not found.
2801         * tests/target-cflags.test: Require GNU make.  Exit with status 77
2802         if gcc or make not found.  Fixes PR automake/121.
2804         * configure.in: Require Perl 5.005.
2805         * automake.in: Require 5.005.
2807         * automake.texi (Top): Conditionalize on `nottex', not `info'.
2808         Fixes PR automake/122.
2810 2001-02-14  Tom Tromey  <tromey@redhat.com>
2812         * automake.in (add_depend2): Only emit a given object rule once.
2813         Fixes specflags6.test.
2815 2001-02-14  Richard Boulton  <richard@tartarus.org>
2817         * tests/specflags6.test: New file.
2819 2001-02-14  Tom Tromey  <tromey@redhat.com>
2821         * automake.texi (A Shared Library): Mention -module.
2823 2001-02-13  Tom Tromey  <tromey@redhat.com>
2825         * automake.in (do_one_merge_target): Always register $name and
2826         $name-am as phony.
2828         * automake.in (do_one_merge_target): Register `all' as phony
2829         target.
2831         * configure.in: Updated to 1.4e for cvs.
2833 2001-02-12  Tom Tromey  <tromey@redhat.com>
2835         * configure.in: Updated to 1.4d and released.
2837         * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
2838         names through autoconf.
2840         Fix for subdirbuiltsources.test:
2841         * automake.in (initialize_per_input): [all_target] Initialize to
2842         empty string.
2843         (handle_merge_targets): Use all-redirect target to handle built
2844         sources.
2845         (do_one_merge_target): Don't generate all-redirect rule.
2847 2001-02-11  Peter Muir  <iyhi@yahoo.com>
2849         * tests/subdirbuiltsources.test: New file.
2850         * tests/Makefile.am (TESTS): Added new file.
2852 2001-02-10  Tom Tromey  <tromey@redhat.com>
2854         * tests/condlib.test: New file.
2855         * tests/Makefile.am (TESTS): Added new file.
2857 2001-02-10  Lars J. Aas  <larsa@sim.no>
2859         * automake.in ($MACRO_PATTERN): Include '@' in name regex.
2860         (&canonicalize): New. Includes '@' in canonical range.
2861         (&check_canonical_spelling, &handle_programs, &handle_libraries,
2862         &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
2864 2001-02-10  Raja R Harinath  <harinath@cs.umn.edu>
2866         * automake.in (handle_configure): Revert part of
2867         '2001-02-04  Kevin Ryde <user42@zip.com.au>'.  Don't
2868         set CONFIG_COMMANDS explicitly.
2870 2001-02-09  Raja R Harinath  <harinath@cs.umn.edu>
2872         * depcomp (gcc3): Propagate exit code.
2874 2001-02-09  Lars J. Aas  <larsa@sim.no>
2876         * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
2878 2001-02-09  Tom Tromey  <tromey@redhat.com>
2880         Clean up maintainer-check warnings:
2881         * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
2882         check.
2883         * automake.in (handle_dist_worker): Removed redundant `my $xform'.
2885 2001-02-09  Akim Demaille  <akim@epita.fr>
2887         * automake.in (&file_contents): Remove a dead branch.
2889 2001-02-09  Akim Demaille  <akim@epita.fr>
2891         * automake.in (&transform): Use `my', not `local'.
2892         (&transform_cond): New.
2893         (&get_object_extension, &handle_texinfo, &handle_tags)
2894         (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
2895         (&handle_tests_dejagnu): Use it.
2896         * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
2897         * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
2899 2001-02-09  Akim Demaille  <akim@epita.fr>
2901         * automake.in: Various formatting changes, and modernization of
2902         Perl constructs.
2903         (&backname): New.
2904         (&handle_configure, define_standard_variables): Use it.
2906 2001-02-08  Tom Tromey  <tromey@redhat.com>
2908         * automake.in (file_contents): Only add $actions if any are
2909         found.  Fixes new failure in pr87.test.
2911 2001-02-08  Pavel Roskin  <proski@gnu.org>
2913         * tests/pr87.test: Check foo/Makfile.in after it is created.
2915 2001-02-08  Tom Tromey  <tromey@redhat.com>
2917         * tests/pr87.test: Added check for blank line after `.c.o' rule.
2918         Report from Lars J. Aas.
2920 2001-02-07  Lars J. Aas  <larsa@sim.no>
2922         * lisp.am (install-@DIR@LISP): Removed extra space.
2923         * header.am (install-@DIR@HEADERS): Removed extra space.
2924         * data.am (install-@DIR@DATA): Removed extra space.
2926 2001-02-07  Tom Tromey  <tromey@redhat.com>
2928         * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
2930         * automake.in (handle_dependencies): Use _am_include, not
2931         AMINCLUDE.
2932         * tests/exsource.test: Use _am_include, not AMINCLUDE.
2933         * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
2935         * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
2937         * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
2939         * automake.in (handle_configure): Handle case where output file is
2940         in subdir with no Makefile of its own.  Fixes remake3.test,
2941         distcommon.test.
2943 2001-02-06  Pavel Roskin  <proski@gnu.org>
2945         * automake.in (handle_dependencies): Rename AM_INCLUDE to
2946         AMINCLUDE.
2947         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2948         * tests/exsource.test: Likewise.
2950 2001-02-06  Derek Price  <derek.price@openavenue.com>
2952         * automake.in (handle_configure): Fix syntax error.
2954 2001-02-06  Akim Demaille  <akim@epita.fr>
2956         * subdirs.am: This file is the exception: clean recursive targets
2957         are called by the clean targets, not the clean-am targets.
2958         Otherwise we have a circular dependency: clean -> clean-am ->
2959         clean-recursive -> clean.
2960         * automake.in (handle_clean): Bind `-local' targets to `-am'
2961         targets, not top targets.
2962         Don't declare -recursive dependencies of the clean targets:
2963         `subdirs.am' did it.  Less hard coded knowledge, transfered
2964         into...
2965         * clean.am: here.
2967 2001-02-06  Akim Demaille  <akim@epita.fr>
2969         Monstro unsplitable patch.
2971         The aim is to remove hard coded knowledge about clean targets from
2972         automake.in, leaving them in the *.am files.
2973         In addition to the mechanic needed to factor some dependencies, it
2974         appears some rules (most notably distclean and maintainer-clean)
2975         need factored actions.  So first, be ready to catch factored
2976         rules.
2978         * automake.in (&file_contents): For the time being, use an extended
2979         $RULE_PATTERN which is able to match any kind of rules, with or
2980         without dependency, with or without actions.
2981         Handle all the rules uniformly, storing in %actions the factored
2982         actions.
2983         (&flatten, &target_cmp): New.
2984         (&handle_factored_dependencies): Output the %actions.
2985         No longer special case `clean'.
2986         Output the rules in alphabetical order, but keeping `.PHONY' last.
2988         Now we must not use &push_phony_cleaners, which is doing all sort
2989         of magic to push a bit of everything in all the clean targets.
2990         The biggest problem being that, making a Cartesian product, it
2991         requires many useless targets.  The `*.am' file know better.
2992         But first, register the new factored rules.
2994         * automake.in (&initialize_per_input): Include clean, mostlyclean,
2995         maintainer-clean, distclean and their `*-am' counterpart in
2996         %dependencies.
2997         Initialize %actions.
2998         (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
2999         handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3000         (handle_emacs_lisp, handle_python): Don't play with
3001         &push_phony_cleaners nor &depend and `clean'.
3002         * texinfos.am, texi-vers.am, tags-clean.am:
3003         * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3004         * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3005         * clean-kr.am, clean-hdr.am: Do it.
3006         Whenever a target is empty, just remove it, it will no longer be
3007         called.
3009         There is still some magic about clean to hard code.  But really,
3010         that's the end of &do_one_clean_target.
3012         * automake.in (&do_one_clean_target): Kaboom out.
3013         (&handle_clean): Rewrite the magic code.
3014         (&am_install_var): No longer use &push_phony_cleaners, nor depend
3015         on `clean'.
3016         (&push_phony_cleaners): Kaboom too.
3018 2001-02-06  Akim Demaille  <akim@epita.fr>
3020         * automake.in (do_one_clean_target): Don't hard code knowledge
3021         about libtool, and maintainer-clean.
3022         * clean.am, libtool.am: Handle these.
3024 2001-02-05  Akim Demaille  <akim@epita.fr>
3026         * automake.in (handle_texinfo): No longer hard code the clean
3027         targets.
3028         (texinfos.am): Include them.
3030 2001-02-05  Akim Demaille  <akim@epita.fr>
3032         * Makefile.am (perl4-check): Remove, we now require Perl 5.
3033         (maintainer-check): Don't be silent when you find a problem, and
3034         actually, even specify the locations.
3035         Also check that @_ is assigned to arrays.
3037 2001-02-05  Akim Demaille  <akim@epita.fr>
3039         * m4/regex.m4: Use AC_LIBSOURCES.
3040         * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3041         _AC_LIBOBJ_DECL.
3043 2001-02-04  Tom Tromey  <tromey@redhat.com>
3045         * m4/Makefile.am (m4data_DATA): Added make.m4.
3046         * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3047         dependency files.
3048         * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3049         Copy depcomp to subdir.
3050         * m4/make.m4: New file.
3052 2001-02-04  Pavel Roskin  <proski@gnu.org>
3054         * automake.in (handle_dist_worker): Remove a line that is now
3055         in distdir.am.
3057 2001-02-04  Kevin Ryde  <user42@zip.com.au>
3059         * automake.in (handle_configure): Call config.status with empty
3060         CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3062 2001-02-04  Tom Tromey  <tromey@redhat.com>
3064         * depcomp (ddashmd): Removed case.
3065         (sgi): Handle failure exit correctly
3066         (aix): Likewise.  Also, add dummy `.h' targets.
3068 2001-02-04  Akim Demaille  <akim@epita.fr>
3070         * distdir.am (distdir): New file, extracted from...
3071         * automake.in (handle_dist_worker): here.
3072         Adjust.
3074 2001-02-04  Akim Demaille  <akim@epita.fr>
3076         * automake.in (@clean): Remove, replaced by...
3077         ($dependencies{'clean'}): this.
3078         Use `&depend' instead of push'ing into @clean.
3079         (handle_factored_dependencies): For the time being, skip 'clean'.
3080         (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3081         always `clean', and `@clean'.
3083 2001-02-04  Akim Demaille  <akim@epita.fr>
3085         * automake.in (%dependencies): Don't be initialize globally for
3086         all the files, but in...
3087         (&initialize_per_input): here.
3088         (&depend): New.
3089         (@phony): Replace all occurrences with the corresponding &depend
3090         invocation.
3092 2001-02-03  Tom Tromey  <tromey@redhat.com>
3094         * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3095         * header-vars.am (INSTALL_HEADER): New macro.
3097         * automake.texi (Rebuilding): New node.