2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
[automake.git] / ChangeLog
blob5ee02b23eb752acd663601f3e347d16ce9a1cffc
1 2001-07-01  Tim Van Holder  <tim.van.holder@pandora.be>
3         * lib/ylwrap: Improve support for DOS paths (and paths
4         containing backslashes in general).
6 2001-07-01  Tom Tromey  <tromey@redhat.com>
8         * lib/missing: Added special exception to license.
10         * missing: Updated.
11         * lib/missing: Updated.  Added comment explaining configure.ac
12         oddity.
14         * lib/depcomp: Reorder arguments to gcc3.
15         From Per Oyvind Hvidsten.
17         * tests/Makefile.am (TESTS): Added libtool2.test.
18         * tests/libtool2.test: New file.
20         * automake.texi (Program and Library Variables): Added example for
21         _AR.
23 2001-06-29  Tom Tromey  <tromey@redhat.com>
25         * tests/cond11.test: Use `=', not `=='.
26         * tests/cond12.test: Look for automake in build directory, not
27         source directory.
29 2001-06-29  Richard Boulton  <richard@tartarus.org>
31         * automake.in (conditionals_true_when): Pass first parameters by
32         reference, avoiding bug which put all parameters in @CONDS instead
33         of @WHENS.  Report by Kalle Olavi Niemitalo.
34         Take a single WHEN instead of an array of WHENS.
35         Remove FIXME; can't now have an empty @WHENS.
36         (conditional_is_redundant): New sub.
37         (variable_conditions_reduce): Check whether each condition is
38         implied by any of the other conditions (other those already
39         discarded), rather than checking only against those already
40         considered (and kept).  Also, fix sense of check: was keeping
41         tautologous terms instead of discarding them.  Use
42         conditional_is_redundant instead of conditionals_true_when.
43         * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
44         * tests/cond11.test: New file.
45         * tests/cond12.test: New file.
47 2001-06-29  Raja R Harinath  <harinath@cs.umn.edu>
49         * automake.in (saw_sources_p): Work even if there are more
50         than one header files, and more than of one type of header.
51         * tests/Makefile.am (TESTS): Added new file.
52         * tests/depend4.test: New file.
54 2001-06-28  Tom Tromey  <tromey@redhat.com>
56         * lib/am/libs.am (RANLIB): Don't define.
58 2001-06-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
60         * automake.in (am_install_var): Assign 1 to $first on
61         first interation.
63 2001-06-23  Tom Tromey  <tromey@redhat.com>
65         Fix for yacc5.test:
66         * lib/ylwrap: Changed usage.
67         * lib/am/yacc.am: Rewrote to use new substitutions.
68         * lib/am/lex.am: Likewise.
69         * automake.in (handle_languages): Skip files whose language
70         doesn't have a compiler.  Handle `define_flag' attribute.
71         Changed '$' to "\$" to aid Emacs fontification.
72         (struct): Added `rule_file'.  Removed `derived_autodep'.  Added
73         `_target_hook' and `define_flag'.
74         (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
75         and `compiler' attributes.  Removed `linker', `derived_autodep',
76         and `ansi' attributes.  Added `define_flag'.
77         (yacc, yaccxx): Added `_target_hook'.
78         (saw_extension): Count number of times extension seen.
79         (count_files_for_language): New sub.
80         (saw_sources_p): Use it.
81         (handle_single_transform_list): Allow language rewrite function
82         to return a new source extension.  Call target_hook.
83         (yacc_sources, lex_sources): Removed.
84         (initialize_per_input): Don't initialize yacc_sources or
85         lex_sources.
86         (lang_yacc_rewrite): Rewrote.
87         (lang_yaccxx_rewrite): Likewise.
88         (lang_lex_rewrite): Likewise.
89         (lang_lexxx_rewrite): Likewise.
90         (output_yacc_build_rule): Removed.
91         (output_lex_build_rule): Removed.
92         (lang_yacc_finish): Removed build rule generation.
93         (lang_lex_finish): Likewise.
94         (DASH_D_PATTERN): New global.
95         (lang_yacc_target_hook): New function.
96         (_target_hook): New function.
97         (register_language): Default `define_flag'.
98         * tests/yacc5.test: Updated test.
99         * tests/yacc4.test: Exit with status 77 if bison doesn't work.
100         * tests/yacc3.test: Remove bogus `make' invocation.  Added test
101         for all YFLAGS variables.
103 2001-06-20  Tom Tromey  <tromey@redhat.com>
105         * tests/yacc5.test: Check for per-executable YFLAGS.
107 2001-06-19  Tom Tromey  <tromey@redhat.com>
109         * tests/Makefile.am (TESTS): Added yacc5.test.
110         * tests/yacc5.test: New file.
112 2001-06-17  Tom Tromey  <tromey@redhat.com>
114         * automake.in (require_file_internal): Check for already-required
115         file after searching for it, and only if it is not found.  Don't
116         use `readlink' when checking for dangling symlink.  Work if
117         --force-missing specified.
118         * tests/acoutput2.test: Also test --force-missing.
120         Fix for libtool.test:
121         * automake.in (generate_makefile): Call handle_libtool.
122         (handle_libtool): New sub.
123         (handle_compile): Don't read `libtool' file.
125         * tests/acoutput2.test: New file.
126         * tests/Makefile.am (TESTS): Added acoutput2.test.
128 2001-06-15  Tom Tromey  <tromey@redhat.com>
130         * tests/Makefile.am (TESTS): Added libtool.test.
131         * tests/libtool.test: New file.
133 2001-06-14  Tom Tromey  <tromey@redhat.com>
135         Fix some lisp bugs reported by Bruno Haible:
136         * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
137         echo.
138         (install-%DIR%LISP): Handle case where lispdir is not defined.
139         (uninstall-%DIR%LISP): Likewise.
140         (.el.elc): Added `else' clause.
142         Fix for bug reported by Steve M. Robbins:
143         * automake.in (handle_single_transform_list): When building a file
144         from a subdirectory, continue to use `AM_' prefix.
145         * tests/Makefile.am (TESTS): Added subobj7.test.
146         * tests/subobj7.test: New file.
148         * lib/am/configure.am ($(top_builddir)/config.status): Added
149         $(top_builddir) prefix to work around problems with some vendor
150         makes.  From Nicholas Joly.
152         * automake.in (yacc_lex_finish_helper): Find ylwrap in
153         top_srcdir.  From Tim Van Holder.
154         * tests/Makefile.am (TESTS): Added yacc6.test.
155         * tests/yacc6.test: New file.
157 2001-06-14  Tim Van Holder  <tim.van.holder@pandora.be>
159         * tests/defs, tests/installsh.test: Properly support
160         DOS-style paths.
162 2001-06-14  Tom Tromey  <tromey@redhat.com>
164         * tests/Makefile.am (TESTS): Added mdate4.test.
165         * tests/mdate4.test: New file.
167         * aclocal.in (scan_m4_files): Removed unused variable.
169 2001-06-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
171         * aclocal.in (scan_m4_files): Tweak the building of &search so
172         that multiple macro names can be found on the same line.  Ensure
173         we match whole macro name, not only substrings.
175 2001-06-12  Tom Tromey  <tromey@redhat.com>
177         * automake.texi (ANSI): Minor clarification.
178         (Other GNU Tools): Don't mention Guile.
179         (Guile): Removed.
180         (Java Support): Mention file extensions.
181         (Man pages): Mention dist_.  Don't mention info pages.
183 2001-06-11  Tom Tromey  <tromey@redhat.com>
185         * automake.texi (Program variables): Document AM_CPPFLAGS.
186         Deprecate INCLUDES.
187         (Java Support): Document AM_GCJFLAGS.
188         (Support for Other Languages): Removed `fixme'; added link to
189         suffix rule handling.
191         * automake.texi (Program and Library Variables): Document _LIBADD,
192         _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
194 2001-06-11  Kevin Dalley  <kevind@rahul.net>
196         * missing: Support configure.ac.
198 2001-06-08  Tom Tromey  <tromey@redhat.com>
200         * tests/version4.test: New file.
201         * automake.in (version_check): New sub.
202         (handle_options): Use it.
203         * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
204         (TESTS): Added version4.test.
205         * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
206         * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
208 2001-06-04  Kevin Dalley  <kevind@rahul.net>
210         * lib/am/dejagnu.am (site.exp): Fix typo.
212 2001-06-02  Tom Tromey  <tromey@redhat.com>
214         * automake.in (variable_conditions_sub): Move parent-only code
215         from here...
216         (variable_conditions): ... to here.
217         (variable_conditions_sub): Include this variable's conditions in
218         the resulting condition list.
219         * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
221 2001-06-01  Tom Tromey  <tromey@redhat.com>
223         * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
224         (TESTS): Likewise.
225         * tests/ltdeps.test: New file.  Report from Lars J. Aas.
227 2001-05-31  Tom Tromey  <tromey@redhat.com>
229         * automake.texi (Alternative): New node.
230         (Macros): Use new name for gcc.
231         (Java Support): Likewise.
232         (Dependencies): Rewrote.
233         (Invoking Automake): (Re-)document -i, --ignore-deps, and
234         --include-deps.
236         * automake.texi (Top level): Removed erroneous spaces.  Documented
237         MAKE and MAKEFLAGS.
239 2001-05-29  Tom Tromey  <tromey@redhat.com>
241         * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
243         * automake.texi (Include): Rewrote.
244         (Suffixes): Remove Java example.
245         (Java): Added more explanation.  Document variables.
246         (Uniform): Mention JAVA as a primary.
247         (Python): Updated for new Python support.
248         (Sources): Added a weak example.
250         * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
252         * automake.texi (A Program): Mention `check' prefix.
253         (Program and Library Variables): New node.
254         (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
255         AM_MAKEINFOFLAGS.
256         (etags): Mention per-program flags.
257         (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
258         updates.
260         * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
261         install-info-am.
263 2001-05-28  Tom Tromey  <tromey@redhat.com>
265         * m4/Makefile.am (MAINT_CHARSET): Removed.
266         * Makefile.am (MAINT_CHARSET): Removed.
267         * automake.in (maint_charset, dist_charset): Removed.
268         (local_maint_charset): Removed.
269         (initialize_per_input): Don't use maint_charset.
270         (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
272         * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
273         AM_MAKEINFOFLAGS.
274         (.%SUFFIX%.dvi): Likewise.
275         (.%SUFFIX%): Likewise.
277 2001-05-27  Tom Tromey  <tromey@redhat.com>
279         * automake.in (handle_multilib): Only add multilib support code at
280         top level.
281         * lib/am/multilib.am: Handle invocation of *-multi targets
282         differently for SUBDIRS and non-SUBDIRS Makefiles.
283         * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
284         Only add multilib code when the Makefile in question is actually
285         rebuilt.
287         * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
289 2001-05-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
291         * automake.in (handle_single_transform_list): Skip unknown
292         extensions.
294 2001-05-25  Tom Tromey  <tromey@redhat.com>
296         * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
298 2001-05-24  Tom Tromey  <tromey@redhat.com>
300         * automake.in (handle_texinfo_helper): Find mdate-sh in current
301         directory in some situations.
303         * automake.in (generate_makefile): Better explanation for ansi2knr
304         fix.
306 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
308         * automake.in (handle_languages): Skip unknown extensions.
309         (derive_suffix): Check whether $extension_map{$source_ext}
310         is undefined, not empty.
312 2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
314         * automake.in (read_am_file): Ignore trailing backslash on
315         comment lines.
317 2001-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
319         * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
321 2001-05-21  Akim Demaille  <akim@epita.fr>
323         * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
324         multiple times'' warning.
326 2001-05-20  Tom Tromey  <tromey@redhat.com>
328         * configure.in: Updated to 1.4g.
330         * configure.in: Updated to 1.4f.
332         * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
334         * lib/ansi2knr.c: New version.
336         * Makefile.am (FETCHFILES): Added ansi2knr.c.
337         (fetch): Likewise.
339 2001-05-19  Tom Tromey  <tromey@redhat.com>
341         * config.guess, config.sub: New versions from FSF.
343         * Makefile.am (fetch): Compare against files in srcdir.
345         For for ansi2knr report from Harlan Stenn:
346         * automake.in (generate_makefile): Run handle_compile before
347         handle_languages.
349 2001-05-18  Tom Tromey  <tromey@redhat.com>
351         * automake.in: Reverted erroneous checkin.
353 2001-05-18  Akim Demaille  <akim@epita.fr>
355         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
356         to missing `install-info'.
358 2001-05-17  Tom Tromey  <tromey@redhat.com>
360         * automake.in (lang_c_finish): Use `rm -f'.
362         * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
363         * tests/Makefile.am (TESTS): Added new file.
364         * tests/ansi5.test: New file.
366 2001-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
368         * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
369         STRIP is not empty.
370         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
371         to install-sh unconditionally.  Don't set INSTALL_STRIP_PROGRAM_ENV.
372         * automake.texi (Requirements): Document the use of the STRIP
373         variable in cross-compilation environments.
375 2001-05-17  Tom Tromey  <tromey@redhat.com>
377         * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
378         to no dependency tracking.
379         * tests/Makefile.am (TESTS): Added depcomp2.test.
380         * tests/depcomp2.test: New file.  From Pavel Roskin.
382         * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
384         * lib/depcomp (tru64): New dependency tracking mode.
386         Fix for PR automake/159:
387         * lib/depcomp (aix): Rewrote.
388         (sgi): Likewise.
390         Fix for PR automake/174:
391         * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
392         * automake.in (read_am_file): Warn if `#' is at start of rule.
394 2001-05-16  Tom Tromey  <tromey@redhat.com>
396         For PR automake/174:
397         * tests/Makefile.am (TESTS): Added comment3.test.
398         (XFAIL_TESTS): Likewise.
399         * tests/comment3.test: New file.
401         Fix for PR automake/175:
402         * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
403         * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
404         `Leaving directory' messages.
406         For PR automake/175:
407         * tests/Makefile.am (XFAIL_TESTS): Added make.test.
408         * tests/make.test: Run test with `make -w'.
410         * tests/Makefile.am (TESTS): Removed maintclean.test.
411         * lib/am/clean.am (maintainer-clean-generic): Don't remove
412         Makefile.in.
413         * lib/am/configure.am (maintainer-clean-am): Removed.
414         (maintainer-clean-conf): Removed.
415         * tests/maintclean.test: Removed.
417 2001-05-15  Tom Tromey  <tromey@redhat.com>
419         Fix for PR automake/177:
420         * Makefile.am (maintainer-clean): Set perllibdir before invoking
421         automake or aclocal.
423         Fix for maintclean.test:
424         * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
425         * lib/am/clean.am (distclean-generic): Don't remove config.cache
426         or config.log.
427         (distclean, maintainer-clean): Moved to...
428         * lib/am/configure.am: ... here.
429         (distclean): Remove config.cache and config.log.
430         (maintainer-clean): Removed.
431         (maintainer-clean-conf): New target.
432         (maintainer-clean-am): New target.
434         * tests/Makefile.am (TESTS): Added maintclean.test.
435         (XFAIL_TESTS): Likewise.
436         * tests/maintclean.test: New file.
438         Fixes PR automake/175:
439         * tests/target-cflags.test: Use $needs_gnu_make.
440         * tests/exsource.test: Use $needs_gnu_make.
441         * tests/make.test: Require GNU make.
442         * tests/defs (needs_gnu_make): Compute.
444 2001-05-14  Tom Tromey  <tromey@redhat.com>
446         * lib/ylwrap: Fixed quoting on regular expression.  Fixes
447         yacc4.test.
449         Fix for texinfo10.test.
450         * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
451         * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
452         * automake.in (handle_texinfo_helper): New sub.
453         (handle_texinfo): Rewrote.  Now defines LOCAL-TEXIS.
454         * tests/texinfo10.test: Added more cases.
456         Fix for yaccvpath.test:
457         * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
458         * lib/am/distdir.am (distdir): Always look for file in build
459         directory first.
460         * lib/ylwrap: Quote the `#line' regular expression.
461         * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
462         change; don't run sed on the generated file.
463         * tests/yaccvpath.test: Create new parser in srcdir.  Added test
464         to make sure parser will be rebuilt at dist time.
466 2001-05-13  Pavel Roskin  <proski@gnu.org>
468         * automake.in ($IGNORE_PATTERN): Allow spaces before comments
469         beginning with `##'.
470         * automake.texi (General Operation): Document it.
472 2001-05-13  Tom Tromey  <tromey@redhat.com>
474         Reported by Rainer Orth:
475         * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
476         TOPDIR_P.
477         * tests/Makefile.am (TESTS): Added distname.test.
478         * tests/distname.test: New file.
480         * Makefile.am (dist_pkgdata_DATA): Removed.
482         * tests/defs: Find files to copy in lib/.
483         * automake.in (perllibdir): Set to Automake directory.
484         * ansi2knr.c, ansi2knr.1: Removed.
485         * Makefile.am (dist_am_DATA): Removed.
486         (amdir): Removed.
487         (maintainer-check): Look for lib/am/*.am.  Expect 28 lines of
488         diffs.
489         (scriptdir): Removed.
490         (dist_script_DATA): Likewise.
491         (install-data-hook): Likewise.
492         (installcheck-local): Likewise.
493         (TAGS_FILES): Removed amfiles.
494         (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
495         * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
496         point it to the right directory.
497         * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
498         compile.am, configure.am, data.am, dejagnu.am, depend.am,
499         depend2.am, distdir.am, footer.am, header-vars.am, header.am,
500         install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
501         libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
502         mans.am, multilib.am, program.am, progs.am, python.am,
503         remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
504         texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
505         * configure.in (AC_OUTPUT): Added lib/am/Makefile.
506         (AUTOMAKE): Use --libdir, not --amdir.
507         Ues AC_CONFIG_AUX_DIR.
508         * lib/Makefile.am (SUBDIRS): Added `am'.
509         (scriptdir): New macro.
510         (dist_script_DATA): Likewise.
511         (dist_pkgdata_DATA): Likewise.
512         (install-data-hook): New target.
513         (installcheck-local): Likewise.
514         * lib/am/Makefile.in: New file.
515         * lib/am/Makefile.am: Removed everything except amdir and
516         dist_am_DATA.
518 2001-05-13  Akim Demaille  <akim@epita.fr>
520         * automake.in ($pkgdata_dir): Rename as...
521         ($libdir): this.
522         ($am_dir): Remove, replace its uses with $libdir.
523         (&parse_arguments): Replace --amdir with --libdir.
524         * automake.texi (Invoking Automake): Document --libdir, not
525         --amdir.
526         * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
528 2001-05-13  Tom Tromey  <tromey@redhat.com>
530         * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
531         not AMDEP.
532         * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
533         Correctly look at AMDEP_TRUE, not AMDEP.
535         Report from Robert Boehne:
536         * tests/Makefile.am (TESTS): Added depend2.test.
537         * tests/depend2.test: New file.
539 2001-05-13  James Henstridge  <james@daa.com.au>
541         * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
542         Point pythondir at site-packages directory.  Rename
543         PYTHON_SITE_PACKAGE to pkgpythondir.  Rename PYTHON_SITE_EXEC to
544         pyexecdir.  Removed package/module argument.  Removed
545         PYTHON_SITE_INSTALL.  Added version checking.
547 2001-05-14  Jim Meyering  <meyering@lucent.com>
549         * automake.in (macro_define): Change one remaining use of
550         `variable_dump' to `macro_dump'.
552 2001-05-13  Tom Tromey  <tromey@redhat.com>
554         * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
555         and gcj.
557 2001-05-13  Akim Demaille  <akim@epita.fr>
559         * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
560         (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
561         (&am_primary_prefixes): Use `map' rather than `grep'.
563 2001-05-13  Akim Demaille  <akim@epita.fr>
565         * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
566         lexxx, asm.
567         (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
568         (&lang_asm_finish): Remove, set asm's finisher to C's one.
570 2001-05-13  Akim Demaille  <akim@epita.fr>
572         * lang-compile.am: New file, loaded once per language.
573         * depend2.am: Move definitions loaded once per language in the
574         aforementioned file.
575         * automake.in (&handle_languages): Load it.
576         (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
577         handled by lang-compile.am.
579 2001-05-13  Tom Tromey  <tromey@redhat.com>
581         * tests/Makefile.am (TESTS): Added python.test.
582         * tests/python.test: New file.
583         * automake.in (handle_languages): Use
584         config_aux_dir_set_in_configure_in.
585         (handle_python): Correctly mention AM_PATH_PYTHON.  Use
586         py-compile, not py_comp.  Define py_compile macro.
588 2001-05-13  Derek Price  <dprice@openavenue.com>
590         * automake.in (require_file_with_conf_line,
591         require_file_with_line, require_file): Pass a @require_file_path
592         of $relative_dir instead of '.' to require_file_internal so that
593         all the special casing of '.' can be removed elsewhere.
594         (require_config_file, require_conf_file_with_line,
595         require_conf_file_with_conf_line): Remove special casing for '.'
596         and make sure $config_aux_dir is maintained properly.
597         (require_file_internal): Remove special casing of '.' and set
598         @require_file_path when missing files are added.
599         (maybe_push_required_file): Remove special casing of '.'
600         (handle_dependencies): Remove a workaround for a bug now fixed
601         and remove $config_aux_dir special casing.
602         (handle_configure): Remove special casing for $config_aux_dir
603         (handle_python): Ditto.
604         (yacc_lex_finish_helper): Change $config_aux_dir switch to
605         switch on the value of $config_aux_dir_set_in_configure_in.
606         (handle_texinfo): Ditto.
607         (scan_one_configure_file): Set $config_aux_dir and
608         $config_aux_dir_set_in_configure_in properly so special casing
609         on the value of $config_aux_dir can be removed elsewhere.
610         * tests/depcomp.test: New file.
611         * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
612         first subdir containing a C file.
613         * tests/libobj2.test: Ditto.
614         * tests/Makefile.am (TESTS): Added 'depcomp.test'.
616 2001-05-12  Tom Tromey  <tromey@redhat.com>
618         * tests/gcj.test: Updated for gcj dependency tracking.
619         * tests/gcj2.test: Likewise.
621         Fixes PR automake/169.
622         * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ.  Don't assume gcc
623         style for OBJC.
624         * automake.in (java): Added autodep entry.
625         * tests/Makefile.am (TESTS): Added gcj3.test.
626         * tests/gcj3.test: New file.
628 2001-05-12  Raja R Harinath  <harinath@cs.umn.edu>
630         * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
631         stop at the first '='.
632         * tests/Makefile.am (TESTS): Added vars.test.
633         * tests/vars.test: New file.
635 2001-05-12  Akim Demaille  <akim@epita.fr>
637         * automake.in (&handle_single_transform_list): Simplify
638         computation of $object and $this_obj_ext.
639         * tests/lex3.test: Merge into...
640         * tests/lex.test: here.
641         * tests/pr19.test: Improve and rename as...
642         * tests/lex3.test: this.
644 2001-05-09  Tom Tromey  <tromey@redhat.com>
646         * automake.in (read_am_file): Correctly compute $saw_bk.
647         (scan_autoconf_files): Ensure configure_dist_common is always
648         set.
649         * tests/defs (AUTOMAKE): Added --Werror.
651 2001-05-09  Pavel Roskin  <proski@gnu.org>
653         * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
654         double quotes.
656 2001-05-09  Tom Tromey  <tromey@redhat.com>
658         * tests/werror.test: Use `rm -f'.
660 2001-05-09  Akim Demaille  <akim@epita.fr>
662         * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
664 2001-05-09  Akim Demaille  <akim@epita.fr>
666         * automake.in: Remove some code left from bad patches.
667         (&handle_dependency): Remove, for the same reason.
669 2001-05-09  Akim Demaille  <akim@epita.fr>
671         * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
672         (&handle_tests_dejagnu, &define_standard_variables): Don't.
673         (&define_standard_variables): Don't transform %top_builddir% since...
674         * header-vars.am: Use %TOPDIR% instead.
676 2001-05-09  Akim Demaille  <akim@epita.fr>
678         * automake.in (@objects): Remove, unused.
679         Remove all the code related to it, and to former `$(OBJECTS)'.
681 2001-05-08  Tom Tromey  <tromey@redhat.com>
683         For PR automake/29:
684         * ylwrap: Handle arguments to program.  Remove old code that tried
685         to avoid absolute paths and add new code to do it in all cases.
686         Removed ancient logic that tried to deal with relative path.
687         * tests/Makefile.am (TESTS): Added yacc4.test.
688         * tests/yacc4.test: New file.
690         Fix for PR automake/149 and werror.test:
691         * automake.in (require_file_internal): Use am_line_warning or
692         am_conf_line_warning when suppressing error.
693         (am_line_warning): New sub.
694         (am_conf_line_warning): Save and restore warning signal.
695         * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
697         Fix for PR automake/36:
698         * tests/Makefile.am (TESTS): Added asm.test.
699         * tests/asm.test: New file.
700         * automake.in (asm): Use ASFLAGS and AS.
701         (lang_asm_finish): New sub.
703         * automake.in (read_am_file): Removed debugging code.
705         For PR automake/149:
706         * tests/Makefile.am (TESTS): Added werror.test.
707         (XFAIL_TESTS): Likewise.
708         * tests/werror.test: New file.
710         * automake.in (conditional_true_when): Don't return if we see
711         `TRUE'.
713         * tests/objc.test: Removed.
714         * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
715         (TESTS): Likewise.
717         * automake.in (subst): New sub.
718         (handle_languages): Use it.
719         (output_lex_build_rule): Likewise; also use _am_quote.
720         (check_libobjs_sources): Likewise.
721         (make_paragraphs): Use subst.
723         * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
724         problem.
726         * automake.in (file_contents_internal): Prototype now `$$%'.
727         (register_language): Prototype now `%'.
729         Fixes test subobj6.test and PR automake/160:
730         * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
731         * compile.am (mostlyclean-compile): Added MOSTLYRMS.
732         (distclean-compile): Added DISTRMS.
733         * tests/subobj6.test (wish_SOURCES): Updated to reflect
734         `mostlyclean' use; added test for non-subdir case.
735         * automake.in (compile_clean_files): New global.
736         (MOSTLY_CLEAN, DIST_CLEAN): New constants.
737         (initialize_per_input): Initialize compile_clean_files.
738         (handle_single_transform_list): Set compile_clean_files entries.
739         (handle_compile): Handle compilation cleanups.
741 2001-05-08  Lars J. Aas  <larsa@sim.no>
743         * automake.texi (Canonicalizing Automake macros): Document not
744         canonicalizing strudels (@) anymore.
746 2001-05-08  Akim Demaille  <akim@epita.fr>
748         * distdir.am (dist-all): Build all the flavors using a single
749         distdir.
751 2001-05-08  Akim Demaille  <akim@epita.fr>
753         * automake.in (&file_contents_internal): Apply the @cond_stack to
754         the rules and assignments.
755         Don't rely on `$.' as it's biased by &make_paragraphs.
756         Don't remove backslashes in variable values.
758 2001-05-08  Akim Demaille  <akim@epita.fr>
760         * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
761         ($RULE_PATTERN): Use that from `&make_paragraphs'.
762         ($MACRO_PATTERN): Just catch the name of a macro.
763         ($BOGUS_MACRO_PATTERN): Remove.
764         ($ASSIGNMENT_PATTERN): New.
765         (&file_contents_internal, &make_paragraphs): Adjust.
766         (&macro_define): Catch bad macro names.
767         (&cond_stack_endif): Better error message.
768         (&file_contents_internal): Don't remove backslashes in variable
769         values.
770         (&macro_define): Do it for `+=' user variables.
771         (&define_standard_variables): Use `undef' instead of a dummy
772         variable.
773         (&make_paragraph): Be sure not to chop the trail of hash only
774         lines: adjust the `##' regexp.
775         (&rule_define): Fix a bug: don't read $1 but $target.
776         * tests/condincl.test: Strengthen.
778 2001-05-08  Akim Demaille  <akim@epita.fr>
780         * automake.in (Language): Add attributes `Name' and `config_vars'.
781         (&finish): Work properly if there is no _finish.
782         (Automake): Register language Names and AC_SUBST dependencies.
783         Register Fortran 77 variables upon which ratfor and ppf77 depend.
784         (&handle_languages): Once per language, invoke
785         `define_linker_variables', and check its config_vars.
786         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
787         (&lang_java_finish): Remove.
788         (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
790 2001-05-08  Akim Demaille  <akim@epita.fr>
792         * automake.in (&file_contents_internal): Accept $IS_AM.
793         (&handle_compile, &define_standard_variables, &file_contents): Adjust.
795 2001-05-08  Akim Demaille  <akim@epita.fr>
797         * automake.in (am_install_var): Use `next' instead of `if' on the
798         body of $X loop.
800 2001-05-08  Akim Demaille  <akim@epita.fr>
802         * automake.in (Language): Add attributes `lder' and `ld'.
803         (&register_language): Specify for cxx, objc, f77, gcj.
804         (&define_linker_variable): New.
805         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
806         (&lang_java_finish): Adjust.
807         (&libtool_compiler): Remove.
809 2001-05-08  Akim Demaille  <akim@epita.fr>
811         * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
812         argument, as you don't use it.
813         Hence...
814         (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
815         don't use it.
816         Hence...
817         (&handle_programs): Don't mess with %lex_sources, as you don't use
818         it.
820 2001-05-08  Akim Demaille  <akim@epita.fr>
822         * automake.in (Language): Add attribute `link'.
823         (&register_language): Specify for cxx, objc, f77, gcj.
824         (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
825         (&lang_java_finish): Adjust.
827 2001-05-08  Akim Demaille  <akim@epita.fr>
829         * automake.in (&define_compiler_variables): Use only $LANG as
830         argument.
831         (&handle_languages): Adjust.
833 2001-05-08  Akim Demaille  <akim@epita.fr>
835         * automake.in (&define_program_variable): Remove.
836         (&scan_one_autoconf_file): Skip MAKEINFO when found in an
837         AM_MISSING_PROG.
838         (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
839         * texinfos.am: Do it.
841 2001-05-08  Akim Demaille  <akim@epita.fr>
843         * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
844         RUNTEST.
845         * dejagnu.am: Do it.
846         (site.exp): Use `if'.
848 2001-05-08  Akim Demaille  <akim@epita.fr>
850         * automake.in: Formatting changes.
851         (variable_dump, variables_dump): Rename as...
852         (macro_dump, macros_dump): these.
854 2001-05-08  Akim Demaille  <akim@epita.fr>
856         Support `if !COND', `else COND', `end COND'.
858         * automake.texi (Conditionals): Document it.
859         * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
860         ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
861         ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
862         a leading `!' before the condition.
863         (&handle_options): Use `\d'.
864         (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
865         (&read_am_file, &file_contents_internal): Use them.
866         (&transform): No longer substitute `%!COND%', forcing the use of
867         `! %?COND%'.
868         * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
870 2001-05-08  Akim Demaille  <akim@epita.fr>
872         Uniform handling of per-object compilation rules.
873         Note: Automake is repaired.
875         * automake.in (&handle_languages): Output per object rules for all
876         the objects, not only for those which language supports dependency
877         tracking.
878         Fix Automake: when outputting per-object rules, use `-o' if the
879         language has no `output_flag', as it's really needed.
880         (&handle_single_transform_list): Instead of special casing files
881         which need per object rules but which language don't support
882         dependency tracking, keep them in the queue for processing by
883         `&handle_languages'.
885 2001-05-08  Akim Demaille  <akim@epita.fr>
887         * automake.in (&handle_languages): `ext-compile.am' and
888         `depend2.am' are now equivalent for generic rules: output only the
889         latter.
890         * ext-compile.am: Remove.
892 2001-05-08  Akim Demaille  <akim@epita.fr>
894         Note: This patch breaks Automake.  Repaired within two patches.
896         * automake.in (Language): Replace the attribute `output_arg' with
897         `compile_flag' and `output_flag'.
898         (Automake): Adjust language registrations.
899         (&handle_languages): Transform `-c' and `-o' for both suffix and
900         per object rules, instead of `OUTARG' and `LTOUTARG' only for
901         generic rules.
902         (&handle_single_transform_list): Adjust to `compile_flag' and
903         `output_flag'.
904         * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
906 2001-05-08  Akim Demaille  <akim@epita.fr>
908         * automake.in (&handle_languages): Don't transform %COMPILER%.
909         Use `$lang->compiler' instead of `$pfx' to transform generic
910         %COMPILE% and %LTCOMPILE%.
911         * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
912         of %COMPILER% and $<.
914 2001-05-07  Akim Demaille  <akim@epita.fr>
916         * automake.in (&handle_languages): Use the same `%transform' for
917         both `depend2.am' and `ext-compile.am'.
918         Delay the definition of `$flag' so it is right before the first use,
919         and rename as `$flags'.
921 2001-05-07  Akim Demaille  <akim@epita.fr>
923         * automake.in (&handle_languages): Compute `$ltoutarg' and
924         `$outarg' independently of dependency code.
925         There is no use looping on a language's possible extensions since
926         we loop over used extensions.
927         Therefore, there is no use for a local `%transform'.
929 2001-05-07  Akim Demaille  <akim@epita.fr>
931         * automake.in (&handle_languages): Don't use $comp.
933 2001-05-07  Akim Demaille  <akim@epita.fr>
935         * automake.in (&handle_languages): Merge the two loops over
936         %extension_seen/%languages into one and group code to be run once
937         per language together.
939 2001-05-07  Akim Demaille  <akim@epita.fr>
941         * automake.in (&handle_languages): Move the `if
942         ($use_dependencies)' block so that loops over extensions and
943         languages are next to each other.
945 2001-05-07  Akim Demaille  <akim@epita.fr>
947         * automake.in (&depend2): Remove, merged into...
948         (&handle_languages): here.
950 2001-05-07  Akim Demaille  <akim@epita.fr>
952         * automake.in (&finish_languages): Rename as...
953         (&handle_languages): this.
954         Include the body of...
955         (&handle_dependency): this.
956         Remove.
958 2001-05-06  Tom Tromey  <tromey@redhat.com>
960         For PR automake/46:
961         * tests/Makefile.am (TESTS): Add subdir5.test.
962         (XFAIL_TESTS): Likewise.
963         * tests/subdir5.test: New file.
965         * tests/subobj6.test (wish_SOURCES): Use $MAKE.
966         * tests/subobj5.test (wish_SOURCES): Use $MAKE.
968         * automake.in (GNITS_VERSION_PATTERN): Document.  Add `fork
969         identifier'.
970         (handle_options): Handle fork identifier in version number.
972         * automake.texi (Dist): Document distcheck-hook.
974         * tests/confh4.test: Update to reflect DEFS change.
975         For PR automake/132.
977         Fix for PR automake/132:
978         * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
979         compilation.
980         (java): Remove INCLUDES and DEFS from compilation.
981         (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
982         * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
983         (DEFAULT_INCLUDES): New macro.
985         * automake.in (usage): Re-align explanatory text.
986         Fixes PR automake/148.
988         * automake.texi (Uniform): Don't use @PROGRAMS@.
989         Fixes PR automake/154.
991         For PR automake/160:
992         * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
993         (XFAIL_TESTS): Add subobj6.test.
994         * tests/subobj6.test: New file.
996         * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
997         (Top level): Don't mention `flat'.
998         (Extending): Likewise.
999         (User Variables): New node.
1001         * distdir.am (distdir): Make subdirectory for each file.
1002         Fixes test subobj5.test.
1004         * tests/Makefile.am (TESTS): Add new file.
1005         (XFAIL_TESTS): Likewise.
1006         * tests/texinfo10.test: New file.
1008 2001-05-05  Pavel Roskin <proski@gnu.org>
1010         * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1011         in the same way as @defcodeindex and @syncodeindex respectively.
1013 2001-05-05  Tom Tromey  <tromey@redhat.com>
1015         * mans.am (install-man%SECTION%): Minor cleanup.
1016         (uninstall-man%SECTION%): Likewise.
1018         * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1019         * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1020         prefixes.
1021         (uninstall-man%SECTION%): Likewise.
1022         * automake.in (handle_man_pages): Handle dist_ and nodist_
1023         prefixes.
1025         * automake.texi (Future): Removed.
1026         (Depth): Removed.
1027         (Hello): Don't mention `deep'.
1028         (Top level): Likewise.
1030         * automake.in (conditional_true_when): Use a hash, not index().
1031         Also, a TRUE component always results in a true return.
1032         Fixes test cond10.test.  For PR automake/164.
1033         * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1035 2001-05-05  Raja R Harinath  <harinath@cs.umn.edu>
1037         For PR automake/164:
1038         * tests/Makefile.am (TESTS): Added new file.
1039         (XFAIL_TESTS): Likewise.
1040         * tests/cond10.test: New file.
1042 2001-05-05  Tom Tromey  <tromey@redhat.com>
1044         * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1045         prints to stderr.
1046         (install-info-am): Likewise.
1048 2001-05-05  Pavel Roskin <proski@gnu.org>
1050         * automake.in (scan_texinfo_file): Don't push undefined values
1051         to @clean_suffixes.
1053 2001-05-05  Richard Boulton  <richard@tartarus.org>
1055         * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1056         first.
1058 2001-05-05  Robert Collins  <robert.collins@itdomain.com.au>
1060         * automake.in (required_targets): Added uninstall-am.
1062 2001-05-05  Tom Tromey  <tromey@redhat.com>
1064         Fix bug reported by Robert Boehne:
1065         * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1066         substituted.
1067         (handle_dependencies): Likewise.
1068         * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1069         substitution.  Correct diff now has 30 lines.  Look for space
1070         after losing `undef'.
1072 2001-05-04  Peter Eisentraut  <peter_e@gmx.net>
1074         * m4/sanity.m4: Remove the temp file before possible error exits.
1076 2001-05-04  Akim Demaille  <akim@epita.fr>
1078         * configure.in: Set perllibdir.
1079         From Dave Morrison.
1081 2001-05-04  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
1083         * automake.in ($pkgdata_dir): New.
1084         (&require_file_internal): Use it.
1086 2001-05-03  Akim Demaille  <akim@epita.fr>
1088         Case insensitive FS choke on Automake/ vs automake.
1089         Reported by Tim Van Holder.
1091         * Automake/: Move into...
1092         * lib/: this new directory.
1094 2001-05-03  Raja R Harinath  <harinath@cs.umn.edu>
1096         * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1097         echoed.
1099 2001-04-30  Jim Meyering  <meyering@lucent.com>
1101         * automake.in: Remove `/lib' from include directory.
1103 2001-04-27  Akim Demaille  <akim@epita.fr>
1105         AM_INIT_AUTOMAKE is no longer optional.
1107         * automake.in ($seen_make_set, $seen_prog_install)
1108         ($seen_arg_prog): Remove.
1109         (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1110         Remove related code.
1112 2001-04-27  Akim Demaille  <akim@epita.fr>
1114         * tests/specflags4.test, tests/specflags5.test: Remove, merged
1115         into...
1116         * tests/specflags3.test: here.
1118 2001-04-27  Akim Demaille  <akim@epita.fr>
1120         * automake.in ($seen_path_xtra): Remove.
1121         (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1122         (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1124 2001-04-27  Akim Demaille  <akim@epita.fr>
1126         * automake.in (&file_contents_internal): Declare it.
1128 2001-04-27  Akim Demaille  <akim@epita.fr>
1130         * automake.in (&read_am_file, &file_contents_internal): Don't
1131         define macros when `FALSE', to avoid errors on doubly defined
1132         variables but under condition `FALSE'.  In order to allow...
1133         (&am_install_var): When reading the associated file for the first
1134         time, enable `%?FIRST%'.
1135         (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1136         * libs.am: Do it when `%?FIRST%'.
1138 2001-04-27  Akim Demaille  <akim@epita.fr>
1140         * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1141         * ansi2knr.am: Do it.
1142         Prefer `if %?FOO%' to `if %!FOO%'.
1144 2001-04-27  Akim Demaille  <akim@epita.fr>
1146         * automake.in (&register_language, &finish_languages): Use `pure'
1147         as a Boolean.
1148         (&register_language): Use %done properly with objects, not names.
1149         (&finish_languages): Replace `$non_c' with `$needs_c'.
1151 2001-04-27  Akim Demaille  <akim@epita.fr>
1153         Unify LISP, PYTHON and JAVA primaries.
1155         * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1156         return if there are no files, hook elisp-comp on the Autoconf
1157         macro, rely on lisp.am to define variables.
1158         (&handle_python, &handle_java): Likewise.
1159         (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1160         `PYTHON' must be handled here, not in `&handle_python'.
1161         * java.am: Define needed variables and rules.
1163 2001-04-27  Akim Demaille  <akim@epita.fr>
1165         * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1166         * data.am: Use it.
1167         * header.am: Include data.am.
1169 2001-04-27  Akim Demaille  <akim@epita.fr>
1171         * automake.in (&am_install_var): Transform `PRIMARY'.
1172         * data.am: Equip with %PRIMARY%.
1174 2001-04-27  Akim Demaille  <akim@epita.fr>
1176         * automake.in (@conditional_stack): Rename as...
1177         (@cond_stack): this.
1178         (&file_contents_internal): Support inclusion of files.
1180 2001-04-27  Akim Demaille  <akim@epita.fr>
1182         * automake.in (&lang_extensions): Remove.
1183         (&add_depend2, &saw_sources_p): Adjust.
1184         * depend2.am: `%EXT%' no longer includes the dot.
1186 2001-04-27  Akim Demaille  <akim@epita.fr>
1188         * automake.in (&finish_languages, &handle_single_transform_list)
1189         (&add_depend2, &handle_dependencies): No longer use the language
1190         name in `$lang'.  Rename `$lang_obj' as `$lang'.
1192 2001-04-27  Akim Demaille  <akim@epita.fr>
1194         * automake.in (&register_language): Use `new Language' with a hash.
1196 2001-04-27  Akim Demaille  <akim@epita.fr>
1198         * automake.in (&register_language): Rename `output-arg' and
1199         `derived-autodep' as `output_arg' and `derived_autodep' to match
1200         the Language attribute.
1201         Set the defaults in %option instead of $lang.
1203 2001-04-27  Akim Demaille  <akim@epita.fr>
1205         * Automake/: New directory.
1206         * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1207         * automake.in (Language): Use Automake::Struct.
1208         * tests/defs: Adjust to find Struct.
1210 2001-04-23  Pavel Roskin <proski@gnu.org>
1212         * automake.in: Add forward declaration for register_language().
1213         * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1214         passes now.
1216 2001-04-20  Akim Demaille  <akim@epita.fr>
1218         * automake.in (%required_targets): Add `uninstall'.
1219         From Robert Collins.
1221 2001-04-12  Akim Demaille  <akim@epita.fr>
1223         * automake.in (Language): Add attribute `name'.
1224         (&register_language): The name of the language is now given in the
1225         hash.
1226         No longer use `$lang' as the name of the language.
1227         Rename `$lang_obj' as `$lang'.
1229 2001-04-12  Akim Demaille  <akim@epita.fr>
1231         * automake.in (Language): Add attribute `_finish'.
1232         (&finish): New.
1233         (Automake): Adjust.
1234         (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1235         (&lang_asm_finish): Remove.
1237 2001-04-12  Akim Demaille  <akim@epita.fr>
1239         * automake.in (Language): Add attribute `extensions'.
1240         (Automake): Pass a hash to `&register_language' instead of a
1241         list of pseudo assignments.
1242         (&register_language): Adjust.
1243         (&finish_languages): Initialize `$ltoutarg'.
1245 2001-04-12  Akim Demaille  <akim@epita.fr>
1247         * automake.in (Language): Add attribute `output_arg'.
1248         (%language_map): Remove.
1249         (&register_language): Build only the object, and store in
1250         %languages only.
1251         (&finish_languages, &handle_single_transform_list): Adjust.
1253 2001-04-12  Akim Demaille  <akim@epita.fr>
1255         * automake.in (Language): Add attributes `flags', `compile' and
1256         `compiler'.
1257         (&finish_languages, &handle_single_transform_list, &handle_dist)
1258         (&add_depend2, &register_language): Use them and the `linker' and
1259         `pure' attributes.
1261 2001-04-12  Akim Demaille  <akim@epita.fr>
1263         * automake.in (&handle_single_transform_list, &finish_languages)
1264         (&handle_dist, &handle_dependencies): Use the language object for
1265         autodep and derived-autodep too.
1267 2001-04-12  Akim Demaille  <akim@epita.fr>
1269         * automake.in (&macro_define): Ignore Automake definition for
1270         ($var, $cond) if there is already a user definition for ($var, $cond).
1272 2001-04-12  Akim Demaille  <akim@epita.fr>
1274         * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1275         but also @deffn and so on which push data in indexes.
1276         Reported by Derek R. Price.
1278 2001-04-12  Akim Demaille  <akim@epita.fr>
1280         * automake.in (Language): New package, temporarily in this file.
1281         Use Class::Struct.
1282         (Automake): New package.
1283         (%languages): New.
1284         (&handle_single_transform_list): Use the language object's `ansi'
1285         attribute instead of `$language_map{"$lang-ansi-p"}'.
1286         (&register_language): Build and register the language too.
1288 2001-04-11  Tom Tromey  <tromey@redhat.com>
1290         Fixes report from Larry Jones:
1291         * automake.in (handle_dependencies): Add `@_am_quote@' where
1292         appropriate.
1293         * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1295 2001-04-11  Akim Demaille  <akim@epita.fr>
1297         * depend2.am: Fix the `if' condition for Libtool.
1298         Reported by Robert Boehne.
1300 2001-04-10  Robert Collins  <robert.collins@itdomain.com.au>
1302         * tests/subobj5.test: New file.
1304 2001-04-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
1306         * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1307         * tests/Makefile.am (TESTS): Added make.test.
1308         * tests/make.test: New file.
1310 2001-04-10  Tom Tromey  <tromey@redhat.com>
1312         * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1314 2001-04-10  Derek R. Price  <dprice@collab.net>
1316         * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1318 2001-04-10  Akim Demaille  <akim@epita.fr>
1320         * distdir.am: Add a missing backslash.
1322 2001-04-10  Akim Demaille  <akim@epita.fr>
1324         * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1325         variables.
1326         Specify to the caller whether $regen_aclocal_m4.
1327         (&handle_configure): Adjust.
1328         Transform `REGEN-ACLOCAL-M4'.
1329         Reported by Tom.
1330         * configure.am: Use it.
1331         * tests/defs (me): New.
1332         * tests/confdeps.test: New.
1334 2001-04-09  Tom Tromey  <tromey@redhat.com>
1336         * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1337         Fixes report from Jim Meyering.
1339 2001-04-09  Akim Demaille  <akim@epita.fr>
1341         * automake.in (&handle_configure): Don't bother with optimizing
1342         macro uses.
1344 2001-04-09  Akim Demaille  <akim@epita.fr>
1346         * tests/cond3.test (expected): Adjust.
1348 2001-04-09  Akim Demaille  <akim@epita.fr>
1350         * automake.in (&handle_single_transform_list): Remove $xbase,
1351         unused.
1352         (&handle_source_transform): All the variables have conditions now,
1353         simplify.
1354         (&variable_delete): Admit an argument @conds.
1356 2001-04-09  Akim Demaille  <akim@epita.fr>
1358         * automake.in ($source_suffix_pattern): Remove, unused.
1359         %extension_map seems to have replaced it.
1361 2001-04-09  Akim Demaille  <akim@epita.fr>
1363         * ext-compile.am: New file.
1364         * automake.in (&finish_languages): Output it.
1365         Require a C linker if there are several registered source suffixes.
1366         (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1367         extensions, which are discovered in ext-compile.am.
1368         With the help from Robert Boehne.
1370 2001-04-09  Akim Demaille  <akim@epita.fr>
1372         * automake.in (&handle_compile): Extract from...
1373         (&get_object_extension): here.
1374         (&read_am_file): Call it.
1375         ($included_generic_compile, $included_knr_compile)
1376         ($included_libtool_compile): Remove.
1377         ($get_object_extension_was_run): New.
1379 2001-04-09  Akim Demaille  <akim@epita.fr>
1381         Use AM_CONDITIONAL and if/endif for AMDEP.
1383         * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1384         * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1385         to a configure time if/endif), or to `FALSE' (static removal of
1386         the code).
1387         (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1388         * depend2.am: Use if/endif.
1390         Adjust the 101 tests that use dependencies so that they
1391         properly invoke aclocal before automake.  They need to `see'
1392         `AM_CONDITIONAL([AMDEP], ...)'.
1394 2001-04-09  Akim Demaille  <akim@epita.fr>
1396         * tags.am: Fix missing leading tabs.
1398 2001-04-09  Akim Demaille  <akim@epita.fr>
1400         * automake.in: Use simple quotes to define the _PATTERN variables
1401         to unobfuscate the regexps.
1402         ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1404 2001-04-09  Akim Demaille  <akim@epita.fr>
1406         * automake.in (&rule_define): When you discover a suffix rules,
1407         register the extensions for .SUFFIXES.
1408         (&handle_texinfo): Don't register the suffixes.
1409         (&get_object_extension): Don't register suffixes, let them be
1410         discovered in depend2.am.
1411         (&handle_emacs_lisp): Depend on your lisp.am.
1412         * lisp.am: Include the rule &handle_emacs_lisp used to output.
1414 2001-04-09  Akim Demaille  <akim@epita.fr>
1416         * subdirs.am: Don't define info related recursive targets.
1417         * texinfos.am: Do.
1419 2001-04-09  Akim Demaille  <akim@epita.fr>
1421         * subdirs.am (RECURSIVE_TARGETS): New variable.
1422         Use it.
1423         * automake.in (&handle_subdirs): Output it.
1424         (&file_contents_internal): Support value spread on several lines.
1426 2001-04-09  Akim Demaille  <akim@epita.fr>
1428         * automake.in (&handle_man_pages): Rely on mans.am to define
1429         man%SECTION%dir and MANS.
1430         * mans.am: Do it.
1432 2001-04-09  Akim Demaille  <akim@epita.fr>
1434         * automake.in (&variable_dump): Use %var_type properly.
1435         (&macro_define): Enforce better overriding rules.
1436         Handle the special case that used to handle...
1437         (&define_pretty_variable): this.
1438         Hence, don't.
1439         The variables you define are owned by Automake.
1440         (&generate_makefile): PRE_INSTALL and co must not be defined *by
1441         the user*.
1442         (&variable_defined): Now independent of the owner.
1443         (&variable_output, &variable_pretty_output): Adjust to %var_type.
1445 2001-04-09  Akim Demaille  <akim@epita.fr>
1447         * automake.in (%var_was_plus_eq): Rename as...
1448         (%var_type): this.
1449         (%def_type): Remove.
1450         (&macro_define): %var_type may now hold `', `+', or `:'.
1451         (%conditional, %am_vars, %content_lines): Rename as...
1452         (%var_value, %var_comment, %var_line): these.
1454 2001-04-09  Akim Demaille  <akim@epita.fr>
1456         * automake.in (&variable_output): Admit a list of @CONDS.
1457         (&variable_pretty_output): New.
1458         (&define_pretty_variable): Use it.
1459         (&read_am_file, &file_contents_internal): Prepend a separator to
1460         $am_vars only if there is none yet.
1461         (&file_contents_internal): Rename $separator as $spacing to
1462         harmonize with &read_am_file.
1464 2001-04-09  Akim Demaille  <akim@epita.fr>
1466         * automake.in (&am_install_var): Transform DIST, and let the *.am
1467         files handle DIST_COMMON.
1468         * data.am, header.am, java.am, list.am, python.am, script.am: Set
1469         DIST_COMMON.
1471 2001-04-09  Akim Demaille  <akim@epita.fr>
1473         * automake.in (%dist_common): Remove.
1474         (%configure_dist_common): Replace with...
1475         ($configure_dist_common): this.
1476         (&generate_makefile): Read the user file before using
1477         push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1478         that no variable is defined before it is run.
1479         (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1480         (&dist_cmp): Rename as...
1481         (&for_dist_common): this.
1482         (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1483         it.
1484         Adjust to $configure_dist_common.
1485         * configure.am, texi-vers.am: Set DIST_COMMON.
1487 2001-04-09  Akim Demaille  <akim@epita.fr>
1489         * automake.in (&handle_aclocal_m4): Rename as...
1490         (&scan_aclocal_m4): this.
1491         Return the list of aclocal.m4 dependencies.
1492         (&handle_configure): Invoke it, and use it when loading...
1493         * configure.am: Template the rules to recreate aclocal.m4.
1495 2001-04-09  Akim Demaille  <akim@epita.fr>
1497         * automake.in (&get_object_extension): Use ansi2knr.am.
1498         * clean-kr.am, kr-extra.am: Remove, merged into...
1499         * ansi2knr.am: this new file.
1501 2001-04-09  Akim Demaille  <akim@epita.fr>
1503         * automake.in (&transform): Fix an incredible bug which was
1504         breaking the if/endif system.
1505         ($ELSE_PATTERN): Admit an optional argument.
1507 2001-04-09  Akim Demaille  <akim@epita.fr>
1509         * comp-vars.am: Remove, merged into...
1510         * compile.am: here.
1511         * automake.in (&get_object_extension): Adjust.
1513 2001-04-09  Akim Demaille  <akim@epita.fr>
1515         * remake.am: Merge into...
1516         * configure.am: ... here.
1517         * automake.in (&handle_configure): Adjust.
1519 2001-04-09  Akim Demaille  <akim@epita.fr>
1521         * automake.in (&output_lex_build_rule): Output this...
1522         * lex.am: New file.
1524 2001-04-09  Akim Demaille  <akim@epita.fr>
1526         * automake.in (&condition_negate): New.
1527         (&variable_conditions_permutations): Use it.
1528         (&read_am_file, &file_contents): Use it on `else' clauses to
1529         support `if FALSE'.
1530         (&output_yacc_build_rule): Output this...
1531         * yacc.am: New file.
1533 2001-04-09  Akim Demaille  <akim@epita.fr>
1535         * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1536         (&handle_dist): Don't.
1537         (&handle_clean): Don't handle config.status here, let...
1538         * clean.am: ... do it.
1539         * distdir.am: Adjust.
1541 2001-04-09  Akim Demaille  <akim@epita.fr>
1543         * automake.in: Use strict vars and subs.
1544         Declare `%require_file_found'.
1545         (&handle_source_transform, &make_paragraphs): Declare my variables.
1547 2001-04-09  Akim Demaille  <akim@epita.fr>
1549         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1550         * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1551         * java.am (_am_installdirs): Be sure to set it.
1553 2001-04-09  Akim Demaille  <akim@epita.fr>
1555         * automake.in (&make_condition): Return '#' when FALSE.
1556         (&conditional_string): Return FALSE, not '#' in the corresponding
1557         cases.
1558         (&file_contents_internal): Adjust.
1559         (&check_variable_defined_unconditional): Dump the guilty variable.
1561 2001-04-09  Akim Demaille  <akim@epita.fr>
1563         * distdir.am: Use and abuse of if/endif.
1564         * scripts.am: Using if/endif with variables is fine.
1566 2001-04-09  Akim Demaille  <akim@epita.fr>
1568         * automake.in (&make_paragraphs):  Extract from &file_contents.
1569         Make it more robust than the previous RE based scheme.
1570         (&file_contents): Use it.
1572 2001-04-09  Akim Demaille  <akim@epita.fr>
1574         * automake.in (&make_paragraphs):  Extract from &file_contents.
1575         Make it more robust than the previous RE based scheme.
1576         (&file_contents): Use it.
1578 2001-04-09  Akim Demaille  <akim@epita.fr>
1580         * tests/yacc2.test: Don't define several times a variable, as
1581         automake complains.
1583 2001-04-09  Akim Demaille  <akim@epita.fr>
1585         * automake.in (&handle_source_transform): Fix pr72: don't define
1586         $linker if there are no @files.
1588 2001-04-09  Akim Demaille  <akim@epita.fr>
1590         Avoid reading twice header-vars.am as now macro_define
1591         complains.
1593         * automake.in (&define_standard_variables): Don't output the
1594         variables.
1595         (&read_main_am_file): Output first user variables, then Automake
1596         variables.
1597         Don't call twice &define_standard_variables.
1598         Save variable comments in $am_vars.
1599         (&variable_output): New.
1600         (&file_contents_internal): New.
1601         Save variable comments in $am_vars.
1602         (&file_contents): Use it.
1604 2001-04-09  Akim Demaille  <akim@epita.fr>
1606         * automake.in (&macro_define): The user is allowed to override
1607         a value if it was set by Automake, or if it was found in AC_SUBST.
1609 2001-04-09  Akim Demaille  <akim@epita.fr>
1611         * automake.in (&handle_source_transform): Better locality of the
1612         variables.
1613         Use `next' to skip nonexistent variables.
1615 2001-04-09  Akim Demaille  <akim@epita.fr>
1617         * automake.in (&variable_dump): If a variable is undefined, say
1618         it.
1619         (&check_ambiguous_conditional): Give finer error messages.
1620         (&macro_define): Check that a `+=' variable is not set with `='.
1621         Check for ambiguous definitions each time you _set_ (even with `+=')
1622         a variable.
1623         (&read_main_am_file): Perform a deep copy of %conditional.
1625 2001-04-09  Akim Demaille  <akim@epita.fr>
1627         * automake.in (&variable_defined): Some callers, e.g.,
1628         &am_primary_prefixes, really want to know if the variable is
1629         defined for any condition, not `TRUE' by default.
1630         (&am_primary_prefixes): Give a more precise error message.
1632 2001-04-09  Akim Demaille  <akim@epita.fr>
1634         (&variable_conditions): Don't include `FALSE' in the result.
1636 2001-04-09  Akim Demaille  <akim@epita.fr>
1638         * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1639         (&variable_conditions): Don't include `FALSE' in the result.
1641 2001-04-09  Akim Demaille  <akim@epita.fr>
1643         * tests/defs, tests/depend3.test: Remove useless code.
1645 2001-04-09  Akim Demaille  <akim@epita.fr>
1647         * automake.in (&handle_source_transform):  Use
1648         &variable_conditions, don't read $conditional{$var}.
1649         (&variable_conditions_sub): When the call is the top level call,
1650         generate all the permutations of the conditions.
1652 2001-04-09  Akim Demaille  <akim@epita.fr>
1654         * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1655         that it does not get noticed twice by automake, which now
1656         complains for multiple definitions.
1657         * tests/vartar.test: s/INSTALL/install/g, automake now complains
1658         because we defined INSTALL.
1660 2001-04-09  Akim Demaille  <akim@epita.fr>
1662         * automake.in (&generate_makefile) Use macro_define to define
1663         SOURCES and OBJECTS.
1664         (&variable_defined): Don't check for $conditional{VAR}{COND} as
1665         this would make perl create $condition{VAR}, which we don't want.
1667 2001-04-09  Akim Demaille  <akim@epita.fr>
1669         * automake.in (&variable_defined, &define_pretty_variable):
1670         Simplify code which used to handle the cases where not all
1671         variables were in %conditional.
1672         (&define_variable): Use &define_pretty_variable.
1673         (&variable_conditions_sub, &variable_value_as_list_worker)
1674         (&variable_value_as_list, &rule_define): Simplify syntax.
1675         (&read_main_am_file): Dump the guilty predefined variables.
1677 2001-04-09  Akim Demaille  <akim@epita.fr>
1679         * automake.in (&variable_conditions_sub)
1680         (&variable_value_as_list_worker): Remove dead code which used to
1681         handle the cases where not all variables were in %conditional.
1683 2001-04-09  Akim Demaille  <akim@epita.fr>
1685         * automake.in (&handle_source_transform, &read_main_am_file):
1686         Simplify loops which were split in two parts, conditional vs
1687         unconditional variables.
1689 2001-04-09  Akim Demaille  <akim@epita.fr>
1691         Handle unconditional values of variables as conditioned by
1692         `TRUE'.
1694         * automake.in (%contents): Remove.
1695         (&generate_makefile, &handle_ltlibraries, &macro_define)
1696         (&read_am_file, &variable_defined, &variable_conditions_sub)
1697         (&variable_value, &variable_value_as_list_worker)
1698         (&variable_value_as_list, &define_pretty_variable)
1699         (&read_main_am_file): Use
1700         $conditional, not %contents.
1701         (&variable_conditions_permutations): Don't return TRUE and FALSE.
1702         (&variable_conditionally_defined): New.
1703         (&handle_dist): Use it.
1704         (&check_ambiguous_conditional): When multiply defined, specify
1705         under which condition.
1706         (&macro_define): Use it.
1707         (&variable_delete): New.
1708         (&read_am_file): Use it.
1709         (&am_install_var): Simplify, as all the variables are in
1710         %conditional now.
1712 2001-04-07  Tom Tromey  <tromey@redhat.com>
1714         * tests/Makefile.am (XFAIL_TESTS): Added man.test.
1715         (TESTS): Likewise.
1716         * tests/man.test: New file.
1718 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
1720         * depcomp (gcc3): Invert test condition.
1722 2001-04-07  Tom Tromey  <tromey@redhat.com>
1724         * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
1725         statement.  Report from Larry Jones.
1727 2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>
1729         * depcomp (sgi): Fix sed expression.  Report from Robert Boehne.
1731 2001-04-01  Tom Tromey  <tromey@redhat.com>
1733         * java.am (.PHONY clean-am): Removed trailing ":".
1734         From Per Bothner.  Fixes PR automake/139.
1736 2001-03-28  Akim Demaille  <akim@epita.fr>
1738         * program.am: Fix a stupid typo: now *all* (not none) the programs
1739         use `$(EXEEXT)'.
1740         Reported by Robert Boehne.
1742 2001-03-23  Akim Demaille  <akim@epita.fr>
1744         * automake.in (&read_am_file, &file_contents): Avoid name clashes
1745         on $cond.
1747 2001-03-23  Akim Demaille  <akim@epita.fr>
1749         * automake.in (&variable_conditionally_defined): Rename as...
1750         (&check_variable_unconditionally_defined): this.
1751         (&variable_dump): Fix the output.
1752         (&variable_defined, &macro_define): Since conditions are
1753         canonicalized, don't use a loop to look for a condition: read the
1754         hash.
1755         (&macro_define, &rule_define, &read_am_file, &file_contents):
1756         Rename $cond_string as $cond.
1757         * distdir.am (PACKAGE, VERSION): Remove; since they are already
1758         discovered via AC_SUBST, they now trigger a `defined twice' error.
1760 2001-03-23  Akim Demaille  <akim@epita.fr>
1762         * automake.in (&handle_footer, &handle_installdirs)
1763         (&read_main_am_file): Don't read %contents directly, use
1764         &variable_value.
1766 2001-03-23  Akim Demaille  <akim@epita.fr>
1768         * automake.in (&read_am_file): Define the variables in a single
1769         shot.
1770         Factor the $saw_bk code.
1772 2001-03-23  Akim Demaille  <akim@epita.fr>
1774         * automake.in (&read_am_file): Keep $cond_string up to date.
1776 2001-03-23  Akim Demaille  <akim@epita.fr>
1778         * automake.in (&define_variable): Use &macro_define.
1780 2001-03-23  Akim Demaille  <akim@epita.fr>
1782         * automake.in (&macro_define): Don't lose the location if we
1783         redefine a variable.
1784         Don't push all the variables in @var_list, let...
1785         (&read_am_file, &file_contents): ... do it.
1786         (&define_pretty_variable): Use macro_define.
1787         (&am_install_var): Delete the value of variables being redefined
1788         to pacify &macro_define which checks that variables are not
1789         doubly defined.
1791 2001-03-23  Akim Demaille  <akim@epita.fr>
1793         * automake.in (&conditional_dump): Rename as...
1794         (&variables_dump): this.  Use...
1795         (&variable_dump): this new sub.
1797 2001-03-23  Akim Demaille  <akim@epita.fr>
1799         * automake.in (&file_contents): Maintain $cond_string sync with
1800         @cond_stack.
1801         Output rules only if not under `FALSE'.
1802         Define variables under $cond_string.
1803         * scripts.am: For the time being if/endif does not work properly
1804         with macros.
1806 2001-03-23  Akim Demaille  <akim@epita.fr>
1808         * automake.in (IF_PATTERN): Unobfuscate the parens.
1809         (ENDIF_PATTERN): Allow a condition to be specified.
1810         (&file_contents): Use a @cond_stack.
1811         (&transform): At least for an easy transition, also transform
1812         %?FOO% and %!FOO%, as suggested by Lars.
1813         * scripts.am: First test bed for static if/endif use.
1815 2001-03-23  Akim Demaille  <akim@epita.fr>
1817         * automake.in (&file_contents): Use rule_define.
1819 2001-03-23  Akim Demaille  <akim@epita.fr>
1821         * automake.in (&macro_define): Don't rely on $1.
1822         Initialize the variable.
1823         Set its Automakism only if not defined or if given to the user.
1824         When concatenating values, insert a separator only if the value
1825         was not empty.
1826         (&read_am_file): When dumping the @var_list, skip Automake
1827         variables.
1828         (&file_contents): Use macro_define.
1830 2001-03-23  Akim Demaille  <akim@epita.fr>
1832         * automake.in (&rule_define): Extract from...
1833         (&read_am_file): here.
1835 2001-03-23  Akim Demaille  <akim@epita.fr>
1837         * automake.in (&macro_define, &read_am_file): More work for the
1838         former from the latter.  Reorganize the latter.
1840 2001-03-23  Akim Demaille  <akim@epita.fr>
1842         * automake.in (&macro_define): Extract from...
1843         (&read_am_file): here.
1845 2001-03-23  Akim Demaille  <akim@epita.fr>
1847         * automake.in (%am_var_defs): Replace with...
1848         (%var_is_am): this.
1849         (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
1850         (&file_contents, am_primary_&prefixes): Adjust.
1851         (&variable_defined, &define_variable): The actual semantics is
1852         `user defined'.
1853         (&read_main_am_file): Assert the var is user defined when
1854         outputting @var_list.
1856 2001-03-23  Akim Demaille  <akim@epita.fr>
1858         * automake.in (read_am_file): TRUE and FALSE are predefined
1859         conditionals.
1860         (&by_condition): Adjust.
1861         (&conditional_string): Recognize `TRUE' and `FALSE'.
1862         (&make_condition): Use it.
1863         * m4/cond.m4: Reject TRUE and FALSE as conditionals.
1864         * automake.texi (Conditionals): Adjust.
1865         * tests/cond9.test: s/FALSE/WRONG/.
1867 2001-03-12  Pavel Roskin  <proski@gnu.org>
1869         * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
1870         now.
1872 2001-03-12  Akim Demaille  <akim@epita.fr>
1874         * automake.in (&variable_conditions_permutations): Separate the
1875         conditions.
1876         * tests/cond3.test: Improve the sed expression.
1878 2001-03-09  Pavel Roskin  <proski@gnu.org>
1880         * Makefile.am (maintainer-check): Scan all *.am files and tests
1881         for invocations of `rm' without `-f'.
1882         * tests/mclean.test: Adjusted to prevent triggering the above
1883         test.
1885 2001-03-09  Tom Tromey  <tromey@redhat.com>
1887         * automake.in (scan_one_autoconf_file): Fixed comment to avoid
1888         maintainer-check failure.
1890 2001-03-09  Akim Demaille  <akim@epita.fr>
1892         * tests/cond3.test: Strengthen.
1894 2001-03-09  Akim Demaille  <akim@epita.fr>
1896         * automake.in (&conditional_string): Produce a unique string
1897         characterizing a condition stack.
1898         (&conditional_same): Remove, comparing two strings is now enough.
1899         (&variable_defined): Adjust.
1900         (&read_am_file): Use conditional_string.
1902 2001-03-08  Akim Demaille  <akim@epita.fr>
1904         * automake.in: Use -w.
1905         Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
1906         (&parse_arguments): Support --Werror and --Wno-error as a
1907         temporary hack until --warning/-W is properly implemented.
1908         (&handle_single_transform_list): Prototype.
1909         Be sure to define $directory.
1910         Use `exists' instead of testing the value of a maybe undefined
1911         hash value.
1912         (&add_depend2, &handle_configure, &handle_footer, &file_contents)
1913         (&handle_factored_dependencies): Use defined values.
1914         (&scan_one_autoconf_file): Save $_.
1915         * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
1916         Run automake with --Wno-error.
1918 2001-03-07  Akim Demaille  <akim@epita.fr>
1920         * automake.in (&handle_all): Use an array instead of a scalar for
1921         local_headers.
1922         Get rid of all-redirect: let `all' be that target.
1924 2001-03-07  Akim Demaille  <akim@epita.fr>
1926         * automake.in (&handle_merge_targets): Ventilate its non `all'
1927         related content into...
1928         (&generate_makefile): here.
1929         (&handle_merge_targets): Rename as...
1930         (&handle_all): this.
1931         Remove a useless `if': `@all' is obviously not empty, since it
1932         contains at least the `basename ($makefile)' which has just been
1933         unshifted.
1935 2001-03-07  Akim Demaille  <akim@epita.fr>
1937         * automake.in, aclocal.in: Backquote is inert in double quotes.
1939 2001-03-06  Akim Demaille  <akim@epita.fr>
1941         * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
1942         into `grep -v ...'.
1944 2001-03-06  Pavel Roskin  <proski@gnu.org>
1946         * java.am: Use `rm -f' instead of `rm'.
1948 2001-03-06  Akim Demaille  <akim@epita.fr>
1950         * automake.in (&push_dist_common): Simplify.
1952 2001-03-06  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1954         * ltlib.am: Replaced spaces with tab.
1956 2001-03-06  Pavel Roskin  <proski@gnu.org>
1958         * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
1959         fixed now.
1961 2001-03-05  Pavel Roskin  <proski@gnu.org>
1963         * header.am, scripts.am: Use ?INSTALL? in the install and
1964         uninstall rules.
1966 2001-03-05  Pavel Roskin  <proski@gnu.org>
1968         * tests/copy.test: Never use `rm' without `-f' - it may ask
1969         questions, notably for read-only files during `make distcheck'.
1970         * tests/insh.test: Likewise.
1971         * tests/installsh.test: Likewise.
1972         * tests/symlink.test: Likewise.
1973         * tests/symlink2.test: Likewise.
1974         * tests/symlink3.test: Likewise.
1976 2001-03-05  Pavel Roskin  <proski@gnu.org>
1978         * noinstdir.test: New test.
1979         * tests/Makefile.am (TESTS): Add noinstdir.test.
1980         (XFAIL_TESTS): Likewise.
1982 2001-03-05  Akim Demaille  <akim@epita.fr>
1984         * automake.in (&handle_options): Change the RE so that the third
1985         part of the versions always exist.
1986         (&file_contents): Don't pass uninitialized values to &transform.
1988 2001-03-05  Akim Demaille  <akim@epita.fr>
1990         * automake.in (&file_contents): Require a hash as second argument.
1991         Adjust callers.
1993 2001-03-05  Akim Demaille  <akim@epita.fr>
1995         Always use hashes with &file_contents.
1997         * automake.in (&handle_texinfo): texibuild.am does not need
1998         TEXINFODIR.
1999         texinfos.am wants only TEXICLEANS.
2000         (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2001         %transform.
2002         * texinfos.am: Adjust.
2004 2001-03-05  Akim Demaille  <akim@epita.fr>
2006         * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2007         (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2008         (&am_install_var): Forget about `-clean'.
2009         Transform ?INSTALL?.
2010         Always output the *.am file.
2011         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2012         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2013         Remove, merged into the corresponding *.am file.
2014         * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2015         ?INSTALL?.
2017 2001-03-05  Pavel Roskin  <proski@gnu.org>
2019         * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2021 2001-03-05  Akim Demaille  <akim@epita.fr>
2023         If OBJEXT and EXEEXT are not set, provide a default value, and use
2024         them unconditionally.
2026         * automake.in (&generate_makefile): Provide default values for
2027         EXEEXT and OBJEXT.
2028         (&get_object_extension, &finish_languages)
2029         (&handle_single_transform_list, &handle_programs, &add_depend2)
2030         (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2031         them, they are defined.
2032         * compile.am, depend2.am, program.am, progs.am: Likewise.
2033         * remake-hdr.am: Fix a typo.
2034         * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2035         * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2036         * tests/suffix2.test: Adjust.
2038 2001-03-05  Akim Demaille  <akim@epita.fr>
2040         * automake.in (&file_contents): Map MAINTAINER-MODE to
2041         @MAINTAINER_MODE_TRUE@ or nothing.
2042         * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2043         Suggested by Tom.
2045 2001-03-05  Akim Demaille  <akim@epita.fr>
2047         * automake.in (&do_one_merge_target): Remove, was only called from...
2048         (&handle_merge_targets): here for `all'.
2049         Adjust.
2051 2001-03-05  Akim Demaille  <akim@epita.fr>
2053         Make the installation/uninstallation of Info pages follow the
2054         regular am/recursive scheme.
2056         * automake.in (%required_targets, %dependencies): Add
2057         install-info.
2058         (%dependencies): Add install-info, install-info-am, and
2059         unstall-info.
2060         (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2061         reversed BTW.  Does anybody use the option `no-installinfo'?
2062         (&handle_merge_targets): Let the handling of info related targets
2063         to...
2064         (&handle_factored_dependencies): this.
2065         * subdirs.am: Use ?INSTALL-INFO?.
2066         * texinfos.am: Define the install-info, uninstall-info and
2067         uninstall-info-am targets.
2069 2001-03-05  Akim Demaille  <akim@epita.fr>
2071         * automake.in (%required_targets, %dependencies): Add dvi, info,
2072         dvi-am, info-am.
2073         (@info, @dvi): Remove.
2074         (&handle_texinfo, &handle_merge_targets): Adjust.
2075         (&handle_factored_dependencies): Required targets are phony.
2076         * texinfos.am: Build info, dvi, and the corresponding -am or
2077         -recursive targets.
2079 2001-03-05  Akim Demaille  <akim@epita.fr>
2081         * automake.in (&am_install_var): Remove $cygxform, unused.
2083 2001-03-05  Akim Demaille  <akim@epita.fr>
2085         * automake.in (&file_contents): Transform LIBTOOL.
2086         (&am_install_var): Remove $ltxform.
2087         * ltlib.am, progs.am: Adjust.
2089 2001-03-05  Akim Demaille  <akim@epita.fr>
2091         * automake.in: Require AC_PROG_INSTALL in...
2092         (&scan_autoconf_files): here.
2094 2001-03-05  Akim Demaille  <akim@epita.fr>
2096         * configure.am: New file.
2097         * automake.in (&file_contents): Transform CONFIGURE-AC.
2098         (&handle_texinfo, &handle_configure): Don't transform
2099         CONFIGURE_AM.
2100         (&handle_configure): Use `configure.am'.
2101         * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2102         MAINTAINER-MODE and CONFIGURE-AC.
2104 2001-03-05  Akim Demaille  <akim@epita.fr>
2106         * automake.in (&pretty_print_internal): Don't output useless
2107         spaces.
2108         (define_pretty_variable): Don't issue the space after the `=' sign
2109         to avoid trailing spaces in Makefile.ins.
2111 2001-03-05  Akim Demaille  <akim@epita.fr>
2113         * automake.in (&generate_makefile): Invoke &initialize_per_input
2114         *before* setting $am_file_name and $in_file_name.
2116 2001-03-05  Akim Demaille  <akim@epita.fr>
2118         * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2119         Globals, initialized...
2120         (&initialize_per_input): here.
2122 2001-03-05  Akim Demaille  <akim@epita.fr>
2124         * automake.in ($am_relative_dir): Global.
2125         (&initialize_per_input): Init it.
2126         (%make_list, @make_input_list): My them from
2127         (&scan_autoconf_files): here.
2128         (&require_file_internal): Mying changes.
2130 2001-03-05  Akim Demaille  <akim@epita.fr>
2132         * automake.in (%am_vars, @var_list, %def_type): Globals.
2133         (&initialize_per_input): Initialize them.
2134         (&read_main_am_file): Don't local them.
2135         (&get_object_extension): $objext is private.
2136         (&handle_single_transform_list): $lang is.
2137         (&handle_ltlibraries): $libname_rx is.
2138         (&scan_autoconf_config_files): How about actually paying attention
2139         to your arguments, instead of working on $_? (this is no Perl
2140         variable, it's a Perl variable followed by a question mark).
2141         (&file_contents): $contents and $separator are private.
2142         (&am_install_var): Declare @condvals, not $condvals.
2143         (%make_dirs): My.
2145 2001-03-05  Akim Demaille  <akim@epita.fr>
2147         * automake.in (&initialize_per_input): Move to the top.
2148         Precede with the `my' list of its variables.
2150 2001-03-05  Akim Demaille  <akim@epita.fr>
2152         * automake.in ($am_file): Use vars.
2153         ($am_file_name, $in_file_name): Private to &generate_makefile.
2155 2001-03-05  Akim Demaille  <akim@epita.fr>
2157         * automake.in: Preparation for `use strict': Move the
2158         initialization of the constants to the top, from...
2159         (&initialize_global_constants): here.
2161 2001-03-05  Akim Demaille  <akim@epita.fr>
2163         * automake.in (&handle_single_transform_list, &add_depend2): Let
2164         $lang_specific_files{$lang} be a list instead of a string.
2166 2001-03-05  Akim Demaille  <akim@epita.fr>
2168         Let's make it run ten times faster...
2170         * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2171         transformations.
2172         (&file_contents): Let `$command' remove the Automake commands, and
2173         normalize the series of `\n'.
2174         Slurp the file and apply $command in a single step.
2175         No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2176         is already normalized to be handled by &transform.
2178 2001-03-05  Tom Tromey  <tromey@redhat.com>
2180         * automake.in (register_language): Add entry for `-pure'.
2181         Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2182         (finish_languages): Use `-pure' field of language map.
2184 2001-03-03  Tom Tromey  <tromey@redhat.com>
2186         * tests/yaccvpath.test: No need to remove dummy files.
2187         * tests/subobj3.test: No need to remove dummy files.
2188         * tests/pr9.test: No need to remove dummy files.
2189         * tests/pr87.test: No need to remove dummy files.
2190         * tests/pr19.test: No need to remove dummy files.
2191         * tests/install2.test: No need to remove dummy files.
2192         * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2193         and depcomp.
2195 2001-02-27  Pavel Roskin  <proski@gnu.org>
2197         * tests/yaccvpath.test: Add a delay to make parse.c really out
2198         of date. Detect the problem earlier, after `make distdir'. Drop
2199         dependency on flex. Always use the `-y' flag for bison. Comment
2200         changes.
2201         * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2203 2001-03-02  Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2205         * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2207 2001-02-28  Akim Demaille  <akim@epita.fr>
2209         * automake.in (&add_depend2): Transform `GENERIC'.
2210         Get rid of the ad hoc transformation of `@EXT@.o:' which in
2211         addition was broken by the `@ -> %' patch.
2212         * depend2.am: Adjust to use ?GENERIC?.
2214 2001-02-28  Akim Demaille  <akim@epita.fr>
2216         * Makefile.am (maintainer-check): `undef $/' is OK.
2218 2001-02-28  Akim Demaille  <akim@epita.fr>
2220         * automake.in (&handle_configure): Fortunately, $top_reldir,
2221         the definition of which was highly suspicious, was unused.
2223 2001-02-27  Akim Demaille  <akim@epita.fr>
2225         * automake.in (%exec_dir_p): Move to the top so that it is visible
2226         to all routines.
2228 2001-02-27  Pavel Roskin  <proski@gnu.org>
2230         * tests/yaccvpath.test: Prevent automake from looking into ..
2231         and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2233 2001-02-27  Akim Demaille  <akim@epita.fr>
2235         * automake.in (%exec_dir_p): Pulled out from...
2236         (&am_primary_prefixes): here.
2238 2001-02-27  Akim Demaille  <akim@epita.fr>
2240         * automake.in (&usage): Display $0, not $me.
2242 2001-02-27  Akim Demaille  <akim@epita.fr>
2244         * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2245         * automake.in (&handle_clean): Don't escape what's given to
2246         &transform.
2248 2001-02-27  Akim Demaille  <akim@epita.fr>
2250         Distinguish automake substitutions from config.status
2251         substitutions.
2253         * automake.in (&add_depend2): Transform AMDEP.
2254         (&handle_clean): Transform MCFILES and MFILES.
2255         (&file_contents): Transform MAINTAINER_MODE.
2256         (&transform, &am_install_var): Use `%', not `@'.
2257         Adjust all the *.am files.
2258         * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2259         * depend2.am: Display the double dependency on both ?AMDEP? and
2260         @AMDEP@.
2262 2001-02-27  Tom Tromey  <tromey@redhat.com>
2264         * distdir.am (distcheck): Fixed new code.
2266         * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2267         Only configure once.
2269         * distdir.am (distcheck): Print error message if distclean failed
2270         to fully clean.
2272 2001-02-27  Pavel Roskin  <proski@gnu.org>
2274         * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2276 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2278         * tests/Makefile.am (TESTS): Added yaccvpath.test.
2279         * tests/yaccvpath.test: New file.
2281 2001-02-26  Akim Demaille  <akim@epita.fr>
2283         * automake.in (&am_install_var): Recognize whether predefined
2284         directories are `data' or `exec'.
2285         * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2286         ?EXEC?.
2287         * tests/instdata2.test: Update.
2289 2001-02-26  Akim Demaille  <akim@epita.fr>
2291         * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2292         necessarily in infodir.
2294 2001-02-26  Akim Demaille  <akim@epita.fr>
2296         * automake.in ($am_file): Be `local', as my'd variables used in
2297         `foreach' loops are always private to the loop.
2299 2001-02-26  Pavel Roskin  <proski@gnu.org>
2301         * Makefile.am: Add install.am.
2303 2001-02-26  Akim Demaille  <akim@epita.fr>
2305         * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2306         routines, otherwise the elements to compare are passed in @_
2307         instead of $a and $b.
2309 2001-02-26  Akim Demaille  <akim@epita.fr>
2311         * automake.in (%required_targets): `installcheck-am' is needed.
2313 2001-02-26  Akim Demaille  <akim@epita.fr>
2315         * automake.in (&transform_cond): Merge into...
2316         (&transform): this.
2317         Adjust all uses.
2319 2001-02-26  Akim Demaille  <akim@epita.fr>
2321         * automake.in (&handle_dist): Use &transform instead of dedicated
2322         magic for DISTDIRS.
2323         But be sure to always do it.
2324         * distdir.am: Adjust.
2326 2001-02-26  Akim Demaille  <akim@epita.fr>
2328         * automake.in: Use File::Basename.
2329         (&dirname, &basename): Remove.
2331 2001-02-26  Akim Demaille  <akim@epita.fr>
2333         * automake.in ($me): New.
2334         Use it.
2335         (&usage): Display your full name.
2337 2001-02-26  Akim Demaille  <akim@epita.fr>
2339         * automake.texi (Invoking Automake): Remove dead options.
2341 2001-02-26  Akim Demaille  <akim@epita.fr>
2343         * automake.in (&scan_texinfo_file): Also compute the list of files
2344         to clean.
2345         Handle local errors.
2346         (&handle_texinfo): Use it.
2348 2001-02-26  Akim Demaille  <akim@epita.fr>
2350         * automake.in: Don't pass arguments to...
2351         (&parse_arguments): Work on @ARGV.
2352         Use Getopt.
2353         Add support for `-f'.
2354         (&version): New.
2355         (&usage): Update.
2357 2001-02-26  Akim Demaille  <akim@epita.fr>
2359         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2360         handle installcheck and installcheck-am.
2361         * install.am: Do it.
2363 2001-02-26  Akim Demaille  <akim@epita.fr>
2365         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2366         handle install and install-am.
2367         * install.am: Do it.
2369 2001-02-26  Akim Demaille  <akim@epita.fr>
2371         * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2372         work on targets handled by %dependencies.
2373         (&handle_factored_dependencies): Do it.
2374         * install.am: Install install-exec, install-data and uninstall's
2375         suites.
2377 2001-02-26  Akim Demaille  <akim@epita.fr>
2379         * automake.in (&handle_merge_targets): Move `install-strip' from
2380         here...
2381         * install.am: to here.
2383 2001-02-26  Akim Demaille  <akim@epita.fr>
2385         * automake.in (@installdirs): Remove.
2386         (&file_contents): Be able to grow Automake macros with `+='.
2387         (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2388         files define _am_installdirs.
2389         (&handle_installdirs): Remove the code, just output `install.am'.
2390         * install.am: New.
2391         * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2392         * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2394 2001-02-26  Akim Demaille  <akim@epita.fr>
2396         * tests/instdata2.test (libexec_DATA): Exercise more
2397         possibilities.
2399 2001-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
2401         * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2403 2001-02-25  Tom Tromey  <tromey@redhat.com>
2405         * tests/instdata2.test: Added `sbin_DATA' check.
2407         * tests/Makefile.am (TESTS): Added subdircond.test.
2408         * tests/subdircond.test: New file.
2409         * automake.in (handle_gettext): Don't fail if SUBDIRS
2410         conditionally defined.
2412         * automake.in: Use IO::File.
2413         (generate_makefile): Use IO::File.
2414         (scan_texinfo_file): Likewise.
2415         (handle_aclocal_m4): Likewise.
2416         (scan_autoconf_traces): Likewise.
2417         (scan_one_autoconf_file): Likewise.
2418         (read_am_file): Likewise.
2419         (file_contents): Likewise.
2420         (create): Likewise.
2422 2001-02-25  Akim Demaille  <akim@epita.fr>
2424         * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2426 2001-02-25  Akim Demaille  <akim@epita.fr>
2428         * automake.in (&transform): Also call &transform_cond on your
2429         arguments.
2430         (&handle_dist): Adjust.
2431         (&handle_factored_dependencies): Uniq dependencies.
2433 2001-02-25  Akim Demaille  <akim@epita.fr>
2435         * automake.in (&handle_gettext): Simplify redundant `if'.
2436         Used &variable_value, don't read %contents directly.
2438 2001-02-25  Akim Demaille  <akim@epita.fr>
2440         * automake.in ($install_recursive): Remove, replaced with calls to
2441         `&variable_defined ('SUBDIRS')'.
2442         (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2443         (&file_contents): now does.
2445 2001-02-25  Akim Demaille  <akim@epita.fr>
2447         * automake.in (&handle_man_pages): $found is dead.
2449 2001-02-25  Akim Demaille  <akim@epita.fr>
2451         Internally just store the conditionals as space separated lists of
2452         CONDITIONS (instead of @CONDITIONS@).
2454         * automake.in (&conditional_true_when, &variable_conditions_sub):
2455         Split conditions at spaces.
2456         (&handle_dependencies, &variable_conditions_permutations): Don't
2457         put @ around conditions.
2458         (&variable_conditions_cmp): There are no @ to strip.
2459         (&make_condition): New.
2460         (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2461         it.
2462         (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2463         Join @conditional_stack with spaces.
2464         (&read_main_am_file): Adjust the output of variables.
2465         Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2466         true' and no longer `@TEST@TRUE = @TEST@true'.
2467         (&variable_conditions_cmp): Rename as...
2468         (&by_condition): this.
2469         Sort in a human pleasant order.
2470         Use it everywhere a human can see conditions.
2471         (&variable_conditions_reduce): Don't sort conditions, that's
2472         pointless.
2473         * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2475 2001-02-25  Akim Demaille  <akim@epita.fr>
2477         * automake.in: `my' the globals.
2479 2001-02-25  Akim Demaille  <akim@epita.fr>
2481         * automake.in (&initialize_per_input): %targets_conditionals is
2482         new.
2483         (&read_am_file): When slurping a rule, set the target related
2484         variable, and no variable related variable.
2485         (&file_contents): Likewise.
2486         * tests/vartar.test, tests/ctarget1.test: New.
2488 2001-02-25  Akim Demaille  <akim@epita.fr>
2490         * automake.in (&variable_defined, &variable_value_as_list_worker):
2491         If $VAR is effectively a variable, don't die if it's also a
2492         target.
2493         Plus some formatting changes.
2495 2001-02-25  Akim Demaille  <akim@epita.fr>
2497         * automake.in: Mying changes.
2498         * Makefile.am (maintainer-check): Check the stability of the
2499         number of uses of `local'.
2501 2001-02-25  Akim Demaille  <akim@epita.fr>
2503         * automake.in: Mying changes.
2505 2001-02-25  Akim Demaille  <akim@epita.fr>
2507         * automake.in: Mying changes.
2509 2001-02-25  Akim Demaille  <akim@epita.fr>
2511         * automake.in: Mying changes.
2512         (&handle_tags): Fix a bug uncovered by the previous mying changes:
2513         transform CONFIG into $config, not $xform.
2515 2001-02-25  Akim Demaille  <akim@epita.fr>
2517         * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2518         Don't deal with install-data-am, install-exec-am and unstall-am.
2519         (&initialize_per_input): Add them to %dependencies.
2520         Remove %exec_dir_p since the *.am files are now in charge of it.
2521         Remove @uninstall, @install_data, @install_exec.
2522         (&handle_merge_targets): Adjust to these removals.
2523         (&file_contents): Also &transform_cond for --no-installman and
2524         --no-installinfo.
2525         (&do_one_merge_target): Add some magic to install hooks on
2526         %dependencies' targets.
2527         (%required_targets): New.
2528         (&handle_factored_dependencies): Output required targets.
2529         * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2530         * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2531         * texinfos.am: Declare your dependencies on install-data-am,
2532         install-exec-am and uninstall-am.
2533         * tests/instdata2.test (incldata_HEADERS): New test.
2535 2001-02-24  Tom Tromey  <tromey@redhat.com>
2537         * Makefile.am (amfiles): Added texibuild.am.
2538         * texibuild.am: New file.
2539         * tests/Makefile.am (TESTS): Added texinfo9.test.
2540         * tests/texinfo9.test: New file.
2541         * automake.in (handle_texinfo): Keep track of suffixes used.  Give
2542         error if suffix unrecognized.  Removed extraneous newline.
2544 2001-02-23  Akim Demaille  <akim@epita.fr>
2546         * automake.in (&am_install_var): Don't hook on the clean targets
2547         and .PHONY.
2548         * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2549         * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2550         Do it.
2552 2001-02-23  Akim Demaille  <akim@epita.fr>
2554         * automake.in: Promote local `my' over `local'.
2556 2001-02-23  Akim Demaille  <akim@epita.fr>
2558         * automake.in: Formatting and mying changes.
2560 2001-02-23  Akim Demaille  <akim@epita.fr>
2562         * automake.in: Formatting and mying changes.
2564 2001-02-23  Akim Demaille  <akim@epita.fr>
2566         * automake.in (&handle_man_pages): Let install-man and
2567         uninstall-man be handled by the dependency tracker.
2568         (&initialize_per_input): Let %dependencies track them.
2569         * mans.am: Add the needed hooks with the proper dependencies.
2571 2001-02-22  Pavel Roskin  <proski@gnu.org>
2573         * tests/target-cflags.test: Don't use subshell to configure in
2574         subdirectory. Typo fix - run `./foo', not `/foo'.
2576 2001-02-22  Akim Demaille  <akim@epita.fr>
2578         * automake.in: Formatting and mying changes.
2580 2001-02-21  Tom Tromey  <tromey@redhat.com>
2582         * automake.in (handle_dist): Introduce new variable to avoid extra
2583         keys in %dist_dirs.  Fixes distdir.test.
2585         * automake.in (handle_texinfo): Only remove suffixes we can
2586         handle.
2588         * tests/distdir.test: Check to make sure directory isn't made in
2589         build directory.
2591         * automake.in (handle_dist): Do nothing in Cygnus mode.
2593 2001-02-21  Pavel Roskin  <proski@gnu.org>
2595         * header-vars.am: Remove tabs before variable definitions.
2597 2001-02-21  Akim Demaille  <akim@epita.fr>
2599         * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2600         false diagnostics.
2602 2001-02-21  Akim Demaille  <akim@epita.fr>
2604         * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2605         numeric value as required by Perl 5.6.
2607 2001-02-21  Akim Demaille  <akim@epita.fr>
2609         * dist-vars.am: Remove, merge into...
2610         * distdir.am: this.
2611         * automake.in (dirname, basename, backname): Move to the top of
2612         the file so that prototypes are checked,
2613         Use them without `&'.
2614         (&handle_dist): Adjust.
2616 2001-02-21  Akim Demaille  <akim@epita.fr>
2618         * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2619         Use a uniform naming scheme.
2620         (&quote_cond_val, &unquote_cond_val): Delete, dead code.
2621         (&read_am_file): Fix conditional definition of backslash continued
2622         items.
2624 2001-02-21  Akim Demaille  <akim@epita.fr>
2626         Change the handling of conditionals: instead of using an ad-hoc
2627         encoding to store a hash in a string, use hashes.
2629         * automake.in (&conditional_dump): New.
2630         (&check_ambiguous_conditional, &variable_defined)
2631         (&variable_conditions_sub, &variable_value_as_list_worker)
2632         (&define_variable, read_am_file, &read_main_am_file): Be sure to
2633         handle `$conditional{$vars}' as a hash instead of a plain string.
2635 2001-02-21  Akim Demaille  <akim@epita.fr>
2637         * automake.in (&conditional_true_when): Modernize, simplify.
2638         Warning: `$comp' is now private (my), while it used to be
2639         `inherited' from a `local' elsewhere in the code.  AFAICT it was
2640         wrong, but some dirty side effect might show up.
2641         (&conditionals_true_when): New.
2642         (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2644 2001-02-21  Akim Demaille  <akim@epita.fr>
2646         * automake.in ($top_builddir): Remove, used in one place.
2647         (&define_standard_variables): Adjust.
2648         Move the definition of triplet variables into...
2649         * header-vars.am: here.
2651 2001-02-21  Akim Demaille  <akim@epita.fr>
2653         * automake.in (&initialize_global_constants): Don't define $USAGE.
2654         (&usage): Handle the former content of $USAGE.
2655         Don't pretend autoconf cares about Makefile.in.
2656         Classify the options.
2657         (&handle_tests): Formatting and mying changes.
2659 2001-02-21  Akim Demaille  <akim@epita.fr>
2661         * automake.in (&handle_tests_dejagnu): Move the definition of a
2662         default `site.exp' into...
2663         * dejagnu.am (site.exp): here.
2664         Use DOS compliant file names.
2666 2001-02-21  Akim Demaille  <akim@epita.fr>
2668         * automake.in (&dist_cmp): New.
2669         (&handle_dist): Use it.
2670         Promote `my' over `local'.
2672 2001-02-21  Akim Demaille  <akim@epita.fr>
2674         * dist.am: Remove, merge into...
2675         * distdir.am: here.  Use the neat sed snippet for banners.
2676         BTW, distcheck is phony.
2677         * automake.in (&handle_dist_worker): Remove, merge into...
2678         (&handle_dist): this.
2679         (&file_contents): Strip leading new lines.
2680         Be sure to end comments with new lines.
2682 2001-02-21  Akim Demaille  <akim@epita.fr>
2684         * distdir.am (GZIP_ENV): Define.
2685         * automake.in (&handle_dist): Don't.
2686         (&uniq): New.
2687         (&handle_dist_worker, &am_install_var): Use it.
2689 2001-02-21  Akim Demaille  <akim@epita.fr>
2691         * distdir.am (distdir): Handle the DIST-TARGETS.
2692         * automake.in (&handle_dist_worker): Don't.
2694 2001-02-21  Akim Demaille  <akim@epita.fr>
2696         * automake.in (&file_contents): Transform the global options (such
2697         as CYGNUS).
2698         (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2700 2001-02-21  Akim Demaille  <akim@epita.fr>
2702         * distdir.am (distdir): Be sure to have permissive rights on its
2703         contents.
2704         (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
2705         targets.
2706         And BTW, all these guys are phony.
2707         * automake.in (&handle_dist_worker): As its name doesn't indicate,
2708         output distributions.
2709         (&handle_dist): As its name doesn't indicate, don't.
2710         (&initialize_global_constants): Don't define variables which
2711         content is now handled by distdir.am.
2712         But register `dist-all' as a factored target.
2713         (&handle_factored_dependencies): Don't output empty targets.
2715 2001-02-20  Tom Tromey  <tromey@redhat.com>
2717         * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
2718         invocation.
2720 2001-02-18  Tom Tromey  <tromey@redhat.com>
2722         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
2723         Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
2724         (AM_PROG_STRIP): Commented out.
2726 2001-02-17  Raja R Harinath  <harinath@cs.umn.edu>
2728         * depcomp (gcc3): Protect against the compiler deleting
2729         the dependency output file.
2731 2001-02-17  Tom Tromey  <tromey@redhat.com>
2733         * automake.in (handle_merge_targets): Use double quotes around
2734         setting of INSTALL_STRIP_PROGRAM.
2735         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2736         to absolute path at runtime.
2737         (AM_PROG_STRIP): Don't explicitly test $STRIP.
2739 2001-01-28  Alexandre Duret-Lutz  <duret_g@epita.fr>
2741         * m4/strip.m4: New file.
2742         * m4/Makefile.am (m4data_DATA): Add strip.m4.
2743         * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
2744         * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
2745         * automake.in (handle_merge_targets): In the install-strip rule,
2746         set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
2747         to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
2748         * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
2749         don't use INSTALL_STRIP_FLAG any longer.
2751 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2753         * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
2754         argument.
2756 2001-02-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
2758         * automake.in (unquote_m4_arg): New function.
2759         (scan_one_configure_file): Call unquote_m4_arg on
2760         AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
2761         works.
2763 2001-02-15  Tom Tromey  <tromey@redhat.com>
2765         * config.guess, config.sub: New versions from FSF.
2767         * Makefile.am (WGET): New macro.
2768         (FETCHFILES): New macro.
2769         (fetch): New target.
2771         * tests/subobj3.test: Exit with status 77 if gcc not found.
2772         * tests/pr9.test: Exit with status 77 if gzip not found.
2773         * tests/pr87.test: Exit with status 77 if gcc not found.
2774         * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
2775         * tests/install2.test: Exit with status 77 if gzip not found.
2776         * tests/exsource.test: Exit with status 77 if GNU make not found.
2777         * tests/ansi3.test: Exit with status 77 if gcc not found.
2779         * tests/target-cflags.test: Require GNU make.  Exit with status 77
2780         if gcc or make not found.  Fixes PR automake/121.
2782         * configure.in: Require Perl 5.005.
2783         * automake.in: Require 5.005.
2785         * automake.texi (Top): Conditionalize on `nottex', not `info'.
2786         Fixes PR automake/122.
2788 2001-02-14  Tom Tromey  <tromey@redhat.com>
2790         * automake.in (add_depend2): Only emit a given object rule once.
2791         Fixes specflags6.test.
2793 2001-02-14  Richard Boulton  <richard@tartarus.org>
2795         * tests/specflags6.test: New file.
2797 2001-02-14  Tom Tromey  <tromey@redhat.com>
2799         * automake.texi (A Shared Library): Mention -module.
2801 2001-02-13  Tom Tromey  <tromey@redhat.com>
2803         * automake.in (do_one_merge_target): Always register $name and
2804         $name-am as phony.
2806         * automake.in (do_one_merge_target): Register `all' as phony
2807         target.
2809         * configure.in: Updated to 1.4e for cvs.
2811 2001-02-12  Tom Tromey  <tromey@redhat.com>
2813         * configure.in: Updated to 1.4d and released.
2815         * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
2816         names through autoconf.
2818         Fix for subdirbuiltsources.test:
2819         * automake.in (initialize_per_input): [all_target] Initialize to
2820         empty string.
2821         (handle_merge_targets): Use all-redirect target to handle built
2822         sources.
2823         (do_one_merge_target): Don't generate all-redirect rule.
2825 2001-02-11  Peter Muir  <iyhi@yahoo.com>
2827         * tests/subdirbuiltsources.test: New file.
2828         * tests/Makefile.am (TESTS): Added new file.
2830 2001-02-10  Tom Tromey  <tromey@redhat.com>
2832         * tests/condlib.test: New file.
2833         * tests/Makefile.am (TESTS): Added new file.
2835 2001-02-10  Lars J. Aas  <larsa@sim.no>
2837         * automake.in ($MACRO_PATTERN): Include '@' in name regex.
2838         (&canonicalize): New. Includes '@' in canonical range.
2839         (&check_canonical_spelling, &handle_programs, &handle_libraries,
2840         &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
2842 2001-02-10  Raja R Harinath  <harinath@cs.umn.edu>
2844         * automake.in (handle_configure): Revert part of
2845         '2001-02-04  Kevin Ryde <user42@zip.com.au>'.  Don't
2846         set CONFIG_COMMANDS explicitly.
2848 2001-02-09  Raja R Harinath  <harinath@cs.umn.edu>
2850         * depcomp (gcc3): Propagate exit code.
2852 2001-02-09  Lars J. Aas  <larsa@sim.no>
2854         * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
2856 2001-02-09  Tom Tromey  <tromey@redhat.com>
2858         Clean up maintainer-check warnings:
2859         * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
2860         check.
2861         * automake.in (handle_dist_worker): Removed redundant `my $xform'.
2863 2001-02-09  Akim Demaille  <akim@epita.fr>
2865         * automake.in (&file_contents): Remove a dead branch.
2867 2001-02-09  Akim Demaille  <akim@epita.fr>
2869         * automake.in (&transform): Use `my', not `local'.
2870         (&transform_cond): New.
2871         (&get_object_extension, &handle_texinfo, &handle_tags)
2872         (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
2873         (&handle_tests_dejagnu): Use it.
2874         * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
2875         * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
2877 2001-02-09  Akim Demaille  <akim@epita.fr>
2879         * automake.in: Various formatting changes, and modernization of
2880         Perl constructs.
2881         (&backname): New.
2882         (&handle_configure, define_standard_variables): Use it.
2884 2001-02-08  Tom Tromey  <tromey@redhat.com>
2886         * automake.in (file_contents): Only add $actions if any are
2887         found.  Fixes new failure in pr87.test.
2889 2001-02-08  Pavel Roskin  <proski@gnu.org>
2891         * tests/pr87.test: Check foo/Makfile.in after it is created.
2893 2001-02-08  Tom Tromey  <tromey@redhat.com>
2895         * tests/pr87.test: Added check for blank line after `.c.o' rule.
2896         Report from Lars J. Aas.
2898 2001-02-07  Lars J. Aas  <larsa@sim.no>
2900         * lisp.am (install-@DIR@LISP): Removed extra space.
2901         * header.am (install-@DIR@HEADERS): Removed extra space.
2902         * data.am (install-@DIR@DATA): Removed extra space.
2904 2001-02-07  Tom Tromey  <tromey@redhat.com>
2906         * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
2908         * automake.in (handle_dependencies): Use _am_include, not
2909         AMINCLUDE.
2910         * tests/exsource.test: Use _am_include, not AMINCLUDE.
2911         * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
2913         * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
2915         * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
2917         * automake.in (handle_configure): Handle case where output file is
2918         in subdir with no Makefile of its own.  Fixes remake3.test,
2919         distcommon.test.
2921 2001-02-06  Pavel Roskin  <proski@gnu.org>
2923         * automake.in (handle_dependencies): Rename AM_INCLUDE to
2924         AMINCLUDE.
2925         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2926         * tests/exsource.test: Likewise.
2928 2001-02-06  Derek Price  <derek.price@openavenue.com>
2930         * automake.in (handle_configure): Fix syntax error.
2932 2001-02-06  Akim Demaille  <akim@epita.fr>
2934         * subdirs.am: This file is the exception: clean recursive targets
2935         are called by the clean targets, not the clean-am targets.
2936         Otherwise we have a circular dependency: clean -> clean-am ->
2937         clean-recursive -> clean.
2938         * automake.in (handle_clean): Bind `-local' targets to `-am'
2939         targets, not top targets.
2940         Don't declare -recursive dependencies of the clean targets:
2941         `subdirs.am' did it.  Less hard coded knowledge, transfered
2942         into...
2943         * clean.am: here.
2945 2001-02-06  Akim Demaille  <akim@epita.fr>
2947         Monstro unsplitable patch.
2949         The aim is to remove hard coded knowledge about clean targets from
2950         automake.in, leaving them in the *.am files.
2951         In addition to the mechanic needed to factor some dependencies, it
2952         appears some rules (most notably distclean and maintainer-clean)
2953         need factored actions.  So first, be ready to catch factored
2954         rules.
2956         * automake.in (&file_contents): For the time being, use an extended
2957         $RULE_PATTERN which is able to match any kind of rules, with or
2958         without dependency, with or without actions.
2959         Handle all the rules uniformly, storing in %actions the factored
2960         actions.
2961         (&flatten, &target_cmp): New.
2962         (&handle_factored_dependencies): Output the %actions.
2963         No longer special case `clean'.
2964         Output the rules in alphabetical order, but keeping `.PHONY' last.
2966         Now we must not use &push_phony_cleaners, which is doing all sort
2967         of magic to push a bit of everything in all the clean targets.
2968         The biggest problem being that, making a Cartesian product, it
2969         requires many useless targets.  The `*.am' file know better.
2970         But first, register the new factored rules.
2972         * automake.in (&initialize_per_input): Include clean, mostlyclean,
2973         maintainer-clean, distclean and their `*-am' counterpart in
2974         %dependencies.
2975         Initialize %actions.
2976         (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
2977         handle_dependencies, handle_subdirs, handle_configure, handle_clean)
2978         (handle_emacs_lisp, handle_python): Don't play with
2979         &push_phony_cleaners nor &depend and `clean'.
2980         * texinfos.am, texi-vers.am, tags-clean.am:
2981         * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
2982         * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
2983         * clean-kr.am, clean-hdr.am: Do it.
2984         Whenever a target is empty, just remove it, it will no longer be
2985         called.
2987         There is still some magic about clean to hard code.  But really,
2988         that's the end of &do_one_clean_target.
2990         * automake.in (&do_one_clean_target): Kaboom out.
2991         (&handle_clean): Rewrite the magic code.
2992         (&am_install_var): No longer use &push_phony_cleaners, nor depend
2993         on `clean'.
2994         (&push_phony_cleaners): Kaboom too.
2996 2001-02-06  Akim Demaille  <akim@epita.fr>
2998         * automake.in (do_one_clean_target): Don't hard code knowledge
2999         about libtool, and maintainer-clean.
3000         * clean.am, libtool.am: Handle these.
3002 2001-02-05  Akim Demaille  <akim@epita.fr>
3004         * automake.in (handle_texinfo): No longer hard code the clean
3005         targets.
3006         (texinfos.am): Include them.
3008 2001-02-05  Akim Demaille  <akim@epita.fr>
3010         * Makefile.am (perl4-check): Remove, we now require Perl 5.
3011         (maintainer-check): Don't be silent when you find a problem, and
3012         actually, even specify the locations.
3013         Also check that @_ is assigned to arrays.
3015 2001-02-05  Akim Demaille  <akim@epita.fr>
3017         * m4/regex.m4: Use AC_LIBSOURCES.
3018         * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3019         _AC_LIBOBJ_DECL.
3021 2001-02-04  Tom Tromey  <tromey@redhat.com>
3023         * m4/Makefile.am (m4data_DATA): Added make.m4.
3024         * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3025         dependency files.
3026         * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3027         Copy depcomp to subdir.
3028         * m4/make.m4: New file.
3030 2001-02-04  Pavel Roskin  <proski@gnu.org>
3032         * automake.in (handle_dist_worker): Remove a line that is now
3033         in distdir.am.
3035 2001-02-04  Kevin Ryde  <user42@zip.com.au>
3037         * automake.in (handle_configure): Call config.status with empty
3038         CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3040 2001-02-04  Tom Tromey  <tromey@redhat.com>
3042         * depcomp (ddashmd): Removed case.
3043         (sgi): Handle failure exit correctly
3044         (aix): Likewise.  Also, add dummy `.h' targets.
3046 2001-02-04  Akim Demaille  <akim@epita.fr>
3048         * distdir.am (distdir): New file, extracted from...
3049         * automake.in (handle_dist_worker): here.
3050         Adjust.
3052 2001-02-04  Akim Demaille  <akim@epita.fr>
3054         * automake.in (@clean): Remove, replaced by...
3055         ($dependencies{'clean'}): this.
3056         Use `&depend' instead of push'ing into @clean.
3057         (handle_factored_dependencies): For the time being, skip 'clean'.
3058         (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3059         always `clean', and `@clean'.
3061 2001-02-04  Akim Demaille  <akim@epita.fr>
3063         * automake.in (%dependencies): Don't be initialize globally for
3064         all the files, but in...
3065         (&initialize_per_input): here.
3066         (&depend): New.
3067         (@phony): Replace all occurrences with the corresponding &depend
3068         invocation.
3070 2001-02-03  Tom Tromey  <tromey@redhat.com>
3072         * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3073         * header-vars.am (INSTALL_HEADER): New macro.
3075         * automake.texi (Rebuilding): New node.