1 2001-05-20 Tom Tromey <tromey@redhat.com>
3 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
5 * lib/ansi2knr.c: New version.
7 * Makefile.am (FETCHFILES): Added ansi2knr.c.
10 2001-05-19 Tom Tromey <tromey@redhat.com>
12 * config.guess, config.sub: New versions from FSF.
14 * Makefile.am (fetch): Compare against files in srcdir.
16 For for ansi2knr report from Harlan Stenn:
17 * automake.in (generate_makefile): Run handle_compile before
20 2001-05-18 Tom Tromey <tromey@redhat.com>
22 * automake.in: Reverted erroneous checkin.
24 2001-05-18 Akim Demaille <akim@epita.fr>
26 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
27 to missing `install-info'.
29 2001-05-17 Tom Tromey <tromey@redhat.com>
31 * automake.in (lang_c_finish): Use `rm -f'.
33 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
34 * tests/Makefile.am (TESTS): Added new file.
35 * tests/ansi5.test: New file.
37 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
39 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
41 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
42 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
43 * automake.texi (Requirements): Document the use of the STRIP
44 variable in cross-compilation environments.
46 2001-05-17 Tom Tromey <tromey@redhat.com>
48 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
49 to no dependency tracking.
50 * tests/Makefile.am (TESTS): Added depcomp2.test.
51 * tests/depcomp2.test: New file. From Pavel Roskin.
53 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
55 * lib/depcomp (tru64): New dependency tracking mode.
57 Fix for PR automake/159:
58 * lib/depcomp (aix): Rewrote.
61 Fix for PR automake/174:
62 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
63 * automake.in (read_am_file): Warn if `#' is at start of rule.
65 2001-05-16 Tom Tromey <tromey@redhat.com>
68 * tests/Makefile.am (TESTS): Added comment3.test.
69 (XFAIL_TESTS): Likewise.
70 * tests/comment3.test: New file.
72 Fix for PR automake/175:
73 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
74 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
75 `Leaving directory' messages.
78 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
79 * tests/make.test: Run test with `make -w'.
81 * tests/Makefile.am (TESTS): Removed maintclean.test.
82 * lib/am/clean.am (maintainer-clean-generic): Don't remove
84 * lib/am/configure.am (maintainer-clean-am): Removed.
85 (maintainer-clean-conf): Removed.
86 * tests/maintclean.test: Removed.
88 2001-05-15 Tom Tromey <tromey@redhat.com>
90 Fix for PR automake/177:
91 * Makefile.am (maintainer-clean): Set perllibdir before invoking
94 Fix for maintclean.test:
95 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
96 * lib/am/clean.am (distclean-generic): Don't remove config.cache
98 (distclean, maintainer-clean): Moved to...
99 * lib/am/configure.am: ... here.
100 (distclean): Remove config.cache and config.log.
101 (maintainer-clean): Removed.
102 (maintainer-clean-conf): New target.
103 (maintainer-clean-am): New target.
105 * tests/Makefile.am (TESTS): Added maintclean.test.
106 (XFAIL_TESTS): Likewise.
107 * tests/maintclean.test: New file.
109 Fixes PR automake/175:
110 * tests/target-cflags.test: Use $needs_gnu_make.
111 * tests/exsource.test: Use $needs_gnu_make.
112 * tests/make.test: Require GNU make.
113 * tests/defs (needs_gnu_make): Compute.
115 2001-05-14 Tom Tromey <tromey@redhat.com>
117 * lib/ylwrap: Fixed quoting on regular expression. Fixes
120 Fix for texinfo10.test.
121 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
122 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
123 * automake.in (handle_texinfo_helper): New sub.
124 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
125 * tests/texinfo10.test: Added more cases.
127 Fix for yaccvpath.test:
128 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
129 * lib/am/distdir.am (distdir): Always look for file in build
131 * lib/ylwrap: Quote the `#line' regular expression.
132 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
133 change; don't run sed on the generated file.
134 * tests/yaccvpath.test: Create new parser in srcdir. Added test
135 to make sure parser will be rebuilt at dist time.
137 2001-05-13 Pavel Roskin <proski@gnu.org>
139 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
141 * automake.texi (General Operation): Document it.
143 2001-05-13 Tom Tromey <tromey@redhat.com>
145 Reported by Rainer Orth:
146 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
148 * tests/Makefile.am (TESTS): Added distname.test.
149 * tests/distname.test: New file.
151 * Makefile.am (dist_pkgdata_DATA): Removed.
153 * tests/defs: Find files to copy in lib/.
154 * automake.in (perllibdir): Set to Automake directory.
155 * ansi2knr.c, ansi2knr.1: Removed.
156 * Makefile.am (dist_am_DATA): Removed.
158 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
160 (scriptdir): Removed.
161 (dist_script_DATA): Likewise.
162 (install-data-hook): Likewise.
163 (installcheck-local): Likewise.
164 (TAGS_FILES): Removed amfiles.
165 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
166 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
167 point it to the right directory.
168 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
169 compile.am, configure.am, data.am, dejagnu.am, depend.am,
170 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
171 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
172 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
173 mans.am, multilib.am, program.am, progs.am, python.am,
174 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
175 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
176 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
177 (AUTOMAKE): Use --libdir, not --amdir.
178 Ues AC_CONFIG_AUX_DIR.
179 * lib/Makefile.am (SUBDIRS): Added `am'.
180 (scriptdir): New macro.
181 (dist_script_DATA): Likewise.
182 (dist_pkgdata_DATA): Likewise.
183 (install-data-hook): New target.
184 (installcheck-local): Likewise.
185 * lib/am/Makefile.in: New file.
186 * lib/am/Makefile.am: Removed everything except amdir and
189 2001-05-13 Akim Demaille <akim@epita.fr>
191 * automake.in ($pkgdata_dir): Rename as...
193 ($am_dir): Remove, replace its uses with $libdir.
194 (&parse_arguments): Replace --amdir with --libdir.
195 * automake.texi (Invoking Automake): Document --libdir, not
197 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
199 2001-05-13 Tom Tromey <tromey@redhat.com>
201 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
203 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
204 Correctly look at AMDEP_TRUE, not AMDEP.
206 Report from Robert Boehne:
207 * tests/Makefile.am (TESTS): Added depend2.test.
208 * tests/depend2.test: New file.
210 2001-05-13 James Henstridge <james@daa.com.au>
212 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
213 Point pythondir at site-packages directory. Rename
214 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
215 pyexecdir. Removed package/module argument. Removed
216 PYTHON_SITE_INSTALL. Added version checking.
218 2001-05-14 Jim Meyering <meyering@lucent.com>
220 * automake.in (macro_define): Change one remaining use of
221 `variable_dump' to `macro_dump'.
223 2001-05-13 Tom Tromey <tromey@redhat.com>
225 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
228 2001-05-13 Akim Demaille <akim@epita.fr>
230 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
231 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
232 (&am_primary_prefixes): Use `map' rather than `grep'.
234 2001-05-13 Akim Demaille <akim@epita.fr>
236 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
238 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
239 (&lang_asm_finish): Remove, set asm's finisher to C's one.
241 2001-05-13 Akim Demaille <akim@epita.fr>
243 * lang-compile.am: New file, loaded once per language.
244 * depend2.am: Move definitions loaded once per language in the
246 * automake.in (&handle_languages): Load it.
247 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
248 handled by lang-compile.am.
250 2001-05-13 Tom Tromey <tromey@redhat.com>
252 * tests/Makefile.am (TESTS): Added python.test.
253 * tests/python.test: New file.
254 * automake.in (handle_languages): Use
255 config_aux_dir_set_in_configure_in.
256 (handle_python): Correctly mention AM_PATH_PYTHON. Use
257 py-compile, not py_comp. Define py_compile macro.
259 2001-05-13 Derek Price <dprice@openavenue.com>
261 * automake.in (require_file_with_conf_line,
262 require_file_with_line, require_file): Pass a @require_file_path
263 of $relative_dir instead of '.' to require_file_internal so that
264 all the special casing of '.' can be removed elsewhere.
265 (require_config_file, require_conf_file_with_line,
266 require_conf_file_with_conf_line): Remove special casing for '.'
267 and make sure $config_aux_dir is maintained properly.
268 (require_file_internal): Remove special casing of '.' and set
269 @require_file_path when missing files are added.
270 (maybe_push_required_file): Remove special casing of '.'
271 (handle_dependencies): Remove a workaround for a bug now fixed
272 and remove $config_aux_dir special casing.
273 (handle_configure): Remove special casing for $config_aux_dir
274 (handle_python): Ditto.
275 (yacc_lex_finish_helper): Change $config_aux_dir switch to
276 switch on the value of $config_aux_dir_set_in_configure_in.
277 (handle_texinfo): Ditto.
278 (scan_one_configure_file): Set $config_aux_dir and
279 $config_aux_dir_set_in_configure_in properly so special casing
280 on the value of $config_aux_dir can be removed elsewhere.
281 * tests/depcomp.test: New file.
282 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
283 first subdir containing a C file.
284 * tests/libobj2.test: Ditto.
285 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
287 2001-05-12 Tom Tromey <tromey@redhat.com>
289 * tests/gcj.test: Updated for gcj dependency tracking.
290 * tests/gcj2.test: Likewise.
292 Fixes PR automake/169.
293 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
295 * automake.in (java): Added autodep entry.
296 * tests/Makefile.am (TESTS): Added gcj3.test.
297 * tests/gcj3.test: New file.
299 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
301 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
302 stop at the first '='.
303 * tests/Makefile.am (TESTS): Added vars.test.
304 * tests/vars.test: New file.
306 2001-05-12 Akim Demaille <akim@epita.fr>
308 * automake.in (&handle_single_transform_list): Simplify
309 computation of $object and $this_obj_ext.
310 * tests/lex3.test: Merge into...
311 * tests/lex.test: here.
312 * tests/pr19.test: Improve and rename as...
313 * tests/lex3.test: this.
315 2001-05-09 Tom Tromey <tromey@redhat.com>
317 * automake.in (read_am_file): Correctly compute $saw_bk.
318 (scan_autoconf_files): Ensure configure_dist_common is always
320 * tests/defs (AUTOMAKE): Added --Werror.
322 2001-05-09 Pavel Roskin <proski@gnu.org>
324 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
327 2001-05-09 Tom Tromey <tromey@redhat.com>
329 * tests/werror.test: Use `rm -f'.
331 2001-05-09 Akim Demaille <akim@epita.fr>
333 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
335 2001-05-09 Akim Demaille <akim@epita.fr>
337 * automake.in: Remove some code left from bad patches.
338 (&handle_dependency): Remove, for the same reason.
340 2001-05-09 Akim Demaille <akim@epita.fr>
342 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
343 (&handle_tests_dejagnu, &define_standard_variables): Don't.
344 (&define_standard_variables): Don't transform %top_builddir% since...
345 * header-vars.am: Use %TOPDIR% instead.
347 2001-05-09 Akim Demaille <akim@epita.fr>
349 * automake.in (@objects): Remove, unused.
350 Remove all the code related to it, and to former `$(OBJECTS)'.
352 2001-05-08 Tom Tromey <tromey@redhat.com>
355 * ylwrap: Handle arguments to program. Remove old code that tried
356 to avoid absolute paths and add new code to do it in all cases.
357 Removed ancient logic that tried to deal with relative path.
358 * tests/Makefile.am (TESTS): Added yacc4.test.
359 * tests/yacc4.test: New file.
361 Fix for PR automake/149 and werror.test:
362 * automake.in (require_file_internal): Use am_line_warning or
363 am_conf_line_warning when suppressing error.
364 (am_line_warning): New sub.
365 (am_conf_line_warning): Save and restore warning signal.
366 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
368 Fix for PR automake/36:
369 * tests/Makefile.am (TESTS): Added asm.test.
370 * tests/asm.test: New file.
371 * automake.in (asm): Use ASFLAGS and AS.
372 (lang_asm_finish): New sub.
374 * automake.in (read_am_file): Removed debugging code.
377 * tests/Makefile.am (TESTS): Added werror.test.
378 (XFAIL_TESTS): Likewise.
379 * tests/werror.test: New file.
381 * automake.in (conditional_true_when): Don't return if we see
384 * tests/objc.test: Removed.
385 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
388 * automake.in (subst): New sub.
389 (handle_languages): Use it.
390 (output_lex_build_rule): Likewise; also use _am_quote.
391 (check_libobjs_sources): Likewise.
392 (make_paragraphs): Use subst.
394 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
397 * automake.in (file_contents_internal): Prototype now `$$%'.
398 (register_language): Prototype now `%'.
400 Fixes test subobj6.test and PR automake/160:
401 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
402 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
403 (distclean-compile): Added DISTRMS.
404 * tests/subobj6.test (wish_SOURCES): Updated to reflect
405 `mostlyclean' use; added test for non-subdir case.
406 * automake.in (compile_clean_files): New global.
407 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
408 (initialize_per_input): Initialize compile_clean_files.
409 (handle_single_transform_list): Set compile_clean_files entries.
410 (handle_compile): Handle compilation cleanups.
412 2001-05-08 Lars J. Aas <larsa@sim.no>
414 * automake.texi (Canonicalizing Automake macros): Document not
415 canonicalizing strudels (@) anymore.
417 2001-05-08 Akim Demaille <akim@epita.fr>
419 * distdir.am (dist-all): Build all the flavors using a single
422 2001-05-08 Akim Demaille <akim@epita.fr>
424 * automake.in (&file_contents_internal): Apply the @cond_stack to
425 the rules and assignments.
426 Don't rely on `$.' as it's biased by &make_paragraphs.
427 Don't remove backslashes in variable values.
429 2001-05-08 Akim Demaille <akim@epita.fr>
431 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
432 ($RULE_PATTERN): Use that from `&make_paragraphs'.
433 ($MACRO_PATTERN): Just catch the name of a macro.
434 ($BOGUS_MACRO_PATTERN): Remove.
435 ($ASSIGNMENT_PATTERN): New.
436 (&file_contents_internal, &make_paragraphs): Adjust.
437 (¯o_define): Catch bad macro names.
438 (&cond_stack_endif): Better error message.
439 (&file_contents_internal): Don't remove backslashes in variable
441 (¯o_define): Do it for `+=' user variables.
442 (&define_standard_variables): Use `undef' instead of a dummy
444 (&make_paragraph): Be sure not to chop the trail of hash only
445 lines: adjust the `##' regexp.
446 (&rule_define): Fix a bug: don't read $1 but $target.
447 * tests/condincl.test: Strengthen.
449 2001-05-08 Akim Demaille <akim@epita.fr>
451 * automake.in (Language): Add attributes `Name' and `config_vars'.
452 (&finish): Work properly if there is no _finish.
453 (Automake): Register language Names and AC_SUBST dependencies.
454 Register Fortran 77 variables upon which ratfor and ppf77 depend.
455 (&handle_languages): Once per language, invoke
456 `define_linker_variables', and check its config_vars.
457 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
458 (&lang_java_finish): Remove.
459 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
461 2001-05-08 Akim Demaille <akim@epita.fr>
463 * automake.in (&file_contents_internal): Accept $IS_AM.
464 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
466 2001-05-08 Akim Demaille <akim@epita.fr>
468 * automake.in (am_install_var): Use `next' instead of `if' on the
471 2001-05-08 Akim Demaille <akim@epita.fr>
473 * automake.in (Language): Add attributes `lder' and `ld'.
474 (®ister_language): Specify for cxx, objc, f77, gcj.
475 (&define_linker_variable): New.
476 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
477 (&lang_java_finish): Adjust.
478 (&libtool_compiler): Remove.
480 2001-05-08 Akim Demaille <akim@epita.fr>
482 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
483 argument, as you don't use it.
485 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
488 (&handle_programs): Don't mess with %lex_sources, as you don't use
491 2001-05-08 Akim Demaille <akim@epita.fr>
493 * automake.in (Language): Add attribute `link'.
494 (®ister_language): Specify for cxx, objc, f77, gcj.
495 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
496 (&lang_java_finish): Adjust.
498 2001-05-08 Akim Demaille <akim@epita.fr>
500 * automake.in (&define_compiler_variables): Use only $LANG as
502 (&handle_languages): Adjust.
504 2001-05-08 Akim Demaille <akim@epita.fr>
506 * automake.in (&define_program_variable): Remove.
507 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
509 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
510 * texinfos.am: Do it.
512 2001-05-08 Akim Demaille <akim@epita.fr>
514 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
517 (site.exp): Use `if'.
519 2001-05-08 Akim Demaille <akim@epita.fr>
521 * automake.in: Formatting changes.
522 (variable_dump, variables_dump): Rename as...
523 (macro_dump, macros_dump): these.
525 2001-05-08 Akim Demaille <akim@epita.fr>
527 Support `if !COND', `else COND', `end COND'.
529 * automake.texi (Conditionals): Document it.
530 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
531 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
532 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
533 a leading `!' before the condition.
534 (&handle_options): Use `\d'.
535 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
536 (&read_am_file, &file_contents_internal): Use them.
537 (&transform): No longer substitute `%!COND%', forcing the use of
539 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
541 2001-05-08 Akim Demaille <akim@epita.fr>
543 Uniform handling of per-object compilation rules.
544 Note: Automake is repaired.
546 * automake.in (&handle_languages): Output per object rules for all
547 the objects, not only for those which language supports dependency
549 Fix Automake: when outputting per-object rules, use `-o' if the
550 language has no `output_flag', as it's really needed.
551 (&handle_single_transform_list): Instead of special casing files
552 which need per object rules but which language don't support
553 dependency tracking, keep them in the queue for processing by
556 2001-05-08 Akim Demaille <akim@epita.fr>
558 * automake.in (&handle_languages): `ext-compile.am' and
559 `depend2.am' are now equivalent for generic rules: output only the
561 * ext-compile.am: Remove.
563 2001-05-08 Akim Demaille <akim@epita.fr>
565 Note: This patch breaks Automake. Repaired within two patches.
567 * automake.in (Language): Replace the attribute `output_arg' with
568 `compile_flag' and `output_flag'.
569 (Automake): Adjust language registrations.
570 (&handle_languages): Transform `-c' and `-o' for both suffix and
571 per object rules, instead of `OUTARG' and `LTOUTARG' only for
573 (&handle_single_transform_list): Adjust to `compile_flag' and
575 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
577 2001-05-08 Akim Demaille <akim@epita.fr>
579 * automake.in (&handle_languages): Don't transform %COMPILER%.
580 Use `$lang->compiler' instead of `$pfx' to transform generic
581 %COMPILE% and %LTCOMPILE%.
582 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
583 of %COMPILER% and $<.
585 2001-05-07 Akim Demaille <akim@epita.fr>
587 * automake.in (&handle_languages): Use the same `%transform' for
588 both `depend2.am' and `ext-compile.am'.
589 Delay the definition of `$flag' so it is right before the first use,
590 and rename as `$flags'.
592 2001-05-07 Akim Demaille <akim@epita.fr>
594 * automake.in (&handle_languages): Compute `$ltoutarg' and
595 `$outarg' independently of dependency code.
596 There is no use looping on a language's possible extensions since
597 we loop over used extensions.
598 Therefore, there is no use for a local `%transform'.
600 2001-05-07 Akim Demaille <akim@epita.fr>
602 * automake.in (&handle_languages): Don't use $comp.
604 2001-05-07 Akim Demaille <akim@epita.fr>
606 * automake.in (&handle_languages): Merge the two loops over
607 %extension_seen/%languages into one and group code to be run once
608 per language together.
610 2001-05-07 Akim Demaille <akim@epita.fr>
612 * automake.in (&handle_languages): Move the `if
613 ($use_dependencies)' block so that loops over extensions and
614 languages are next to each other.
616 2001-05-07 Akim Demaille <akim@epita.fr>
618 * automake.in (&depend2): Remove, merged into...
619 (&handle_languages): here.
621 2001-05-07 Akim Demaille <akim@epita.fr>
623 * automake.in (&finish_languages): Rename as...
624 (&handle_languages): this.
625 Include the body of...
626 (&handle_dependency): this.
629 2001-05-06 Tom Tromey <tromey@redhat.com>
632 * tests/Makefile.am (TESTS): Add subdir5.test.
633 (XFAIL_TESTS): Likewise.
634 * tests/subdir5.test: New file.
636 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
637 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
639 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
641 (handle_options): Handle fork identifier in version number.
643 * automake.texi (Dist): Document distcheck-hook.
645 * tests/confh4.test: Update to reflect DEFS change.
648 Fix for PR automake/132:
649 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
651 (java): Remove INCLUDES and DEFS from compilation.
652 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
653 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
654 (DEFAULT_INCLUDES): New macro.
656 * automake.in (usage): Re-align explanatory text.
657 Fixes PR automake/148.
659 * automake.texi (Uniform): Don't use @PROGRAMS@.
660 Fixes PR automake/154.
663 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
664 (XFAIL_TESTS): Add subobj6.test.
665 * tests/subobj6.test: New file.
667 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
668 (Top level): Don't mention `flat'.
669 (Extending): Likewise.
670 (User Variables): New node.
672 * distdir.am (distdir): Make subdirectory for each file.
673 Fixes test subobj5.test.
675 * tests/Makefile.am (TESTS): Add new file.
676 (XFAIL_TESTS): Likewise.
677 * tests/texinfo10.test: New file.
679 2001-05-05 Pavel Roskin <proski@gnu.org>
681 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
682 in the same way as @defcodeindex and @syncodeindex respectively.
684 2001-05-05 Tom Tromey <tromey@redhat.com>
686 * mans.am (install-man%SECTION%): Minor cleanup.
687 (uninstall-man%SECTION%): Likewise.
689 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
690 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
692 (uninstall-man%SECTION%): Likewise.
693 * automake.in (handle_man_pages): Handle dist_ and nodist_
696 * automake.texi (Future): Removed.
698 (Hello): Don't mention `deep'.
699 (Top level): Likewise.
701 * automake.in (conditional_true_when): Use a hash, not index().
702 Also, a TRUE component always results in a true return.
703 Fixes test cond10.test. For PR automake/164.
704 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
706 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
709 * tests/Makefile.am (TESTS): Added new file.
710 (XFAIL_TESTS): Likewise.
711 * tests/cond10.test: New file.
713 2001-05-05 Tom Tromey <tromey@redhat.com>
715 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
717 (install-info-am): Likewise.
719 2001-05-05 Pavel Roskin <proski@gnu.org>
721 * automake.in (scan_texinfo_file): Don't push undefined values
724 2001-05-05 Richard Boulton <richard@tartarus.org>
726 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
729 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
731 * automake.in (required_targets): Added uninstall-am.
733 2001-05-05 Tom Tromey <tromey@redhat.com>
735 Fix bug reported by Robert Boehne:
736 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
738 (handle_dependencies): Likewise.
739 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
740 substitution. Correct diff now has 30 lines. Look for space
741 after losing `undef'.
743 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
745 * m4/sanity.m4: Remove the temp file before possible error exits.
747 2001-05-04 Akim Demaille <akim@epita.fr>
749 * configure.in: Set perllibdir.
752 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
754 * automake.in ($pkgdata_dir): New.
755 (&require_file_internal): Use it.
757 2001-05-03 Akim Demaille <akim@epita.fr>
759 Case insensitive FS choke on Automake/ vs automake.
760 Reported by Tim Van Holder.
762 * Automake/: Move into...
763 * lib/: this new directory.
765 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
767 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
770 2001-04-30 Jim Meyering <meyering@lucent.com>
772 * automake.in: Remove `/lib' from include directory.
774 2001-04-27 Akim Demaille <akim@epita.fr>
776 AM_INIT_AUTOMAKE is no longer optional.
778 * automake.in ($seen_make_set, $seen_prog_install)
779 ($seen_arg_prog): Remove.
780 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
783 2001-04-27 Akim Demaille <akim@epita.fr>
785 * tests/specflags4.test, tests/specflags5.test: Remove, merged
787 * tests/specflags3.test: here.
789 2001-04-27 Akim Demaille <akim@epita.fr>
791 * automake.in ($seen_path_xtra): Remove.
792 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
793 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
795 2001-04-27 Akim Demaille <akim@epita.fr>
797 * automake.in (&file_contents_internal): Declare it.
799 2001-04-27 Akim Demaille <akim@epita.fr>
801 * automake.in (&read_am_file, &file_contents_internal): Don't
802 define macros when `FALSE', to avoid errors on doubly defined
803 variables but under condition `FALSE'. In order to allow...
804 (&am_install_var): When reading the associated file for the first
805 time, enable `%?FIRST%'.
806 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
807 * libs.am: Do it when `%?FIRST%'.
809 2001-04-27 Akim Demaille <akim@epita.fr>
811 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
812 * ansi2knr.am: Do it.
813 Prefer `if %?FOO%' to `if %!FOO%'.
815 2001-04-27 Akim Demaille <akim@epita.fr>
817 * automake.in (®ister_language, &finish_languages): Use `pure'
819 (®ister_language): Use %done properly with objects, not names.
820 (&finish_languages): Replace `$non_c' with `$needs_c'.
822 2001-04-27 Akim Demaille <akim@epita.fr>
824 Unify LISP, PYTHON and JAVA primaries.
826 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
827 return if there are no files, hook elisp-comp on the Autoconf
828 macro, rely on lisp.am to define variables.
829 (&handle_python, &handle_java): Likewise.
830 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
831 `PYTHON' must be handled here, not in `&handle_python'.
832 * java.am: Define needed variables and rules.
834 2001-04-27 Akim Demaille <akim@epita.fr>
836 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
838 * header.am: Include data.am.
840 2001-04-27 Akim Demaille <akim@epita.fr>
842 * automake.in (&am_install_var): Transform `PRIMARY'.
843 * data.am: Equip with %PRIMARY%.
845 2001-04-27 Akim Demaille <akim@epita.fr>
847 * automake.in (@conditional_stack): Rename as...
849 (&file_contents_internal): Support inclusion of files.
851 2001-04-27 Akim Demaille <akim@epita.fr>
853 * automake.in (&lang_extensions): Remove.
854 (&add_depend2, &saw_sources_p): Adjust.
855 * depend2.am: `%EXT%' no longer includes the dot.
857 2001-04-27 Akim Demaille <akim@epita.fr>
859 * automake.in (&finish_languages, &handle_single_transform_list)
860 (&add_depend2, &handle_dependencies): No longer use the language
861 name in `$lang'. Rename `$lang_obj' as `$lang'.
863 2001-04-27 Akim Demaille <akim@epita.fr>
865 * automake.in (®ister_language): Use `new Language' with a hash.
867 2001-04-27 Akim Demaille <akim@epita.fr>
869 * automake.in (®ister_language): Rename `output-arg' and
870 `derived-autodep' as `output_arg' and `derived_autodep' to match
871 the Language attribute.
872 Set the defaults in %option instead of $lang.
874 2001-04-27 Akim Demaille <akim@epita.fr>
876 * Automake/: New directory.
877 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
878 * automake.in (Language): Use Automake::Struct.
879 * tests/defs: Adjust to find Struct.
881 2001-04-23 Pavel Roskin <proski@gnu.org>
883 * automake.in: Add forward declaration for register_language().
884 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
887 2001-04-20 Akim Demaille <akim@epita.fr>
889 * automake.in (%required_targets): Add `uninstall'.
892 2001-04-12 Akim Demaille <akim@epita.fr>
894 * automake.in (Language): Add attribute `name'.
895 (®ister_language): The name of the language is now given in the
897 No longer use `$lang' as the name of the language.
898 Rename `$lang_obj' as `$lang'.
900 2001-04-12 Akim Demaille <akim@epita.fr>
902 * automake.in (Language): Add attribute `_finish'.
905 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
906 (&lang_asm_finish): Remove.
908 2001-04-12 Akim Demaille <akim@epita.fr>
910 * automake.in (Language): Add attribute `extensions'.
911 (Automake): Pass a hash to `®ister_language' instead of a
912 list of pseudo assignments.
913 (®ister_language): Adjust.
914 (&finish_languages): Initialize `$ltoutarg'.
916 2001-04-12 Akim Demaille <akim@epita.fr>
918 * automake.in (Language): Add attribute `output_arg'.
919 (%language_map): Remove.
920 (®ister_language): Build only the object, and store in
922 (&finish_languages, &handle_single_transform_list): Adjust.
924 2001-04-12 Akim Demaille <akim@epita.fr>
926 * automake.in (Language): Add attributes `flags', `compile' and
928 (&finish_languages, &handle_single_transform_list, &handle_dist)
929 (&add_depend2, ®ister_language): Use them and the `linker' and
932 2001-04-12 Akim Demaille <akim@epita.fr>
934 * automake.in (&handle_single_transform_list, &finish_languages)
935 (&handle_dist, &handle_dependencies): Use the language object for
936 autodep and derived-autodep too.
938 2001-04-12 Akim Demaille <akim@epita.fr>
940 * automake.in (¯o_define): Ignore Automake definition for
941 ($var, $cond) if there is already a user definition for ($var, $cond).
943 2001-04-12 Akim Demaille <akim@epita.fr>
945 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
946 but also @deffn and so on which push data in indexes.
947 Reported by Derek R. Price.
949 2001-04-12 Akim Demaille <akim@epita.fr>
951 * automake.in (Language): New package, temporarily in this file.
953 (Automake): New package.
955 (&handle_single_transform_list): Use the language object's `ansi'
956 attribute instead of `$language_map{"$lang-ansi-p"}'.
957 (®ister_language): Build and register the language too.
959 2001-04-11 Tom Tromey <tromey@redhat.com>
961 Fixes report from Larry Jones:
962 * automake.in (handle_dependencies): Add `@_am_quote@' where
964 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
966 2001-04-11 Akim Demaille <akim@epita.fr>
968 * depend2.am: Fix the `if' condition for Libtool.
969 Reported by Robert Boehne.
971 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
973 * tests/subobj5.test: New file.
975 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
977 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
978 * tests/Makefile.am (TESTS): Added make.test.
979 * tests/make.test: New file.
981 2001-04-10 Tom Tromey <tromey@redhat.com>
983 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
985 2001-04-10 Derek R. Price <dprice@collab.net>
987 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
989 2001-04-10 Akim Demaille <akim@epita.fr>
991 * distdir.am: Add a missing backslash.
993 2001-04-10 Akim Demaille <akim@epita.fr>
995 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
997 Specify to the caller whether $regen_aclocal_m4.
998 (&handle_configure): Adjust.
999 Transform `REGEN-ACLOCAL-M4'.
1001 * configure.am: Use it.
1002 * tests/defs (me): New.
1003 * tests/confdeps.test: New.
1005 2001-04-09 Tom Tromey <tromey@redhat.com>
1007 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1008 Fixes report from Jim Meyering.
1010 2001-04-09 Akim Demaille <akim@epita.fr>
1012 * automake.in (&handle_configure): Don't bother with optimizing
1015 2001-04-09 Akim Demaille <akim@epita.fr>
1017 * tests/cond3.test (expected): Adjust.
1019 2001-04-09 Akim Demaille <akim@epita.fr>
1021 * automake.in (&handle_single_transform_list): Remove $xbase,
1023 (&handle_source_transform): All the variables have conditions now,
1025 (&variable_delete): Admit an argument @conds.
1027 2001-04-09 Akim Demaille <akim@epita.fr>
1029 * automake.in ($source_suffix_pattern): Remove, unused.
1030 %extension_map seems to have replaced it.
1032 2001-04-09 Akim Demaille <akim@epita.fr>
1034 * ext-compile.am: New file.
1035 * automake.in (&finish_languages): Output it.
1036 Require a C linker if there are several registered source suffixes.
1037 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1038 extensions, which are discovered in ext-compile.am.
1039 With the help from Robert Boehne.
1041 2001-04-09 Akim Demaille <akim@epita.fr>
1043 * automake.in (&handle_compile): Extract from...
1044 (&get_object_extension): here.
1045 (&read_am_file): Call it.
1046 ($included_generic_compile, $included_knr_compile)
1047 ($included_libtool_compile): Remove.
1048 ($get_object_extension_was_run): New.
1050 2001-04-09 Akim Demaille <akim@epita.fr>
1052 Use AM_CONDITIONAL and if/endif for AMDEP.
1054 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1055 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1056 to a configure time if/endif), or to `FALSE' (static removal of
1058 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1059 * depend2.am: Use if/endif.
1061 Adjust the 101 tests that use dependencies so that they
1062 properly invoke aclocal before automake. They need to `see'
1063 `AM_CONDITIONAL([AMDEP], ...)'.
1065 2001-04-09 Akim Demaille <akim@epita.fr>
1067 * tags.am: Fix missing leading tabs.
1069 2001-04-09 Akim Demaille <akim@epita.fr>
1071 * automake.in: Use simple quotes to define the _PATTERN variables
1072 to unobfuscate the regexps.
1073 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1075 2001-04-09 Akim Demaille <akim@epita.fr>
1077 * automake.in (&rule_define): When you discover a suffix rules,
1078 register the extensions for .SUFFIXES.
1079 (&handle_texinfo): Don't register the suffixes.
1080 (&get_object_extension): Don't register suffixes, let them be
1081 discovered in depend2.am.
1082 (&handle_emacs_lisp): Depend on your lisp.am.
1083 * lisp.am: Include the rule &handle_emacs_lisp used to output.
1085 2001-04-09 Akim Demaille <akim@epita.fr>
1087 * subdirs.am: Don't define info related recursive targets.
1090 2001-04-09 Akim Demaille <akim@epita.fr>
1092 * subdirs.am (RECURSIVE_TARGETS): New variable.
1094 * automake.in (&handle_subdirs): Output it.
1095 (&file_contents_internal): Support value spread on several lines.
1097 2001-04-09 Akim Demaille <akim@epita.fr>
1099 * automake.in (&handle_man_pages): Rely on mans.am to define
1100 man%SECTION%dir and MANS.
1103 2001-04-09 Akim Demaille <akim@epita.fr>
1105 * automake.in (&variable_dump): Use %var_type properly.
1106 (¯o_define): Enforce better overriding rules.
1107 Handle the special case that used to handle...
1108 (&define_pretty_variable): this.
1110 The variables you define are owned by Automake.
1111 (&generate_makefile): PRE_INSTALL and co must not be defined *by
1113 (&variable_defined): Now independent of the owner.
1114 (&variable_output, &variable_pretty_output): Adjust to %var_type.
1116 2001-04-09 Akim Demaille <akim@epita.fr>
1118 * automake.in (%var_was_plus_eq): Rename as...
1120 (%def_type): Remove.
1121 (¯o_define): %var_type may now hold `', `+', or `:'.
1122 (%conditional, %am_vars, %content_lines): Rename as...
1123 (%var_value, %var_comment, %var_line): these.
1125 2001-04-09 Akim Demaille <akim@epita.fr>
1127 * automake.in (&variable_output): Admit a list of @CONDS.
1128 (&variable_pretty_output): New.
1129 (&define_pretty_variable): Use it.
1130 (&read_am_file, &file_contents_internal): Prepend a separator to
1131 $am_vars only if there is none yet.
1132 (&file_contents_internal): Rename $separator as $spacing to
1133 harmonize with &read_am_file.
1135 2001-04-09 Akim Demaille <akim@epita.fr>
1137 * automake.in (&am_install_var): Transform DIST, and let the *.am
1138 files handle DIST_COMMON.
1139 * data.am, header.am, java.am, list.am, python.am, script.am: Set
1142 2001-04-09 Akim Demaille <akim@epita.fr>
1144 * automake.in (%dist_common): Remove.
1145 (%configure_dist_common): Replace with...
1146 ($configure_dist_common): this.
1147 (&generate_makefile): Read the user file before using
1148 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1149 that no variable is defined before it is run.
1150 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1151 (&dist_cmp): Rename as...
1152 (&for_dist_common): this.
1153 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1155 Adjust to $configure_dist_common.
1156 * configure.am, texi-vers.am: Set DIST_COMMON.
1158 2001-04-09 Akim Demaille <akim@epita.fr>
1160 * automake.in (&handle_aclocal_m4): Rename as...
1161 (&scan_aclocal_m4): this.
1162 Return the list of aclocal.m4 dependencies.
1163 (&handle_configure): Invoke it, and use it when loading...
1164 * configure.am: Template the rules to recreate aclocal.m4.
1166 2001-04-09 Akim Demaille <akim@epita.fr>
1168 * automake.in (&get_object_extension): Use ansi2knr.am.
1169 * clean-kr.am, kr-extra.am: Remove, merged into...
1170 * ansi2knr.am: this new file.
1172 2001-04-09 Akim Demaille <akim@epita.fr>
1174 * automake.in (&transform): Fix an incredible bug which was
1175 breaking the if/endif system.
1176 ($ELSE_PATTERN): Admit an optional argument.
1178 2001-04-09 Akim Demaille <akim@epita.fr>
1180 * comp-vars.am: Remove, merged into...
1182 * automake.in (&get_object_extension): Adjust.
1184 2001-04-09 Akim Demaille <akim@epita.fr>
1186 * remake.am: Merge into...
1187 * configure.am: ... here.
1188 * automake.in (&handle_configure): Adjust.
1190 2001-04-09 Akim Demaille <akim@epita.fr>
1192 * automake.in (&output_lex_build_rule): Output this...
1195 2001-04-09 Akim Demaille <akim@epita.fr>
1197 * automake.in (&condition_negate): New.
1198 (&variable_conditions_permutations): Use it.
1199 (&read_am_file, &file_contents): Use it on `else' clauses to
1201 (&output_yacc_build_rule): Output this...
1202 * yacc.am: New file.
1204 2001-04-09 Akim Demaille <akim@epita.fr>
1206 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1207 (&handle_dist): Don't.
1208 (&handle_clean): Don't handle config.status here, let...
1209 * clean.am: ... do it.
1210 * distdir.am: Adjust.
1212 2001-04-09 Akim Demaille <akim@epita.fr>
1214 * automake.in: Use strict vars and subs.
1215 Declare `%require_file_found'.
1216 (&handle_source_transform, &make_paragraphs): Declare my variables.
1218 2001-04-09 Akim Demaille <akim@epita.fr>
1220 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1221 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1222 * java.am (_am_installdirs): Be sure to set it.
1224 2001-04-09 Akim Demaille <akim@epita.fr>
1226 * automake.in (&make_condition): Return '#' when FALSE.
1227 (&conditional_string): Return FALSE, not '#' in the corresponding
1229 (&file_contents_internal): Adjust.
1230 (&check_variable_defined_unconditional): Dump the guilty variable.
1232 2001-04-09 Akim Demaille <akim@epita.fr>
1234 * distdir.am: Use and abuse of if/endif.
1235 * scripts.am: Using if/endif with variables is fine.
1237 2001-04-09 Akim Demaille <akim@epita.fr>
1239 * automake.in (&make_paragraphs): Extract from &file_contents.
1240 Make it more robust than the previous RE based scheme.
1241 (&file_contents): Use it.
1243 2001-04-09 Akim Demaille <akim@epita.fr>
1245 * automake.in (&make_paragraphs): Extract from &file_contents.
1246 Make it more robust than the previous RE based scheme.
1247 (&file_contents): Use it.
1249 2001-04-09 Akim Demaille <akim@epita.fr>
1251 * tests/yacc2.test: Don't define several times a variable, as
1254 2001-04-09 Akim Demaille <akim@epita.fr>
1256 * automake.in (&handle_source_transform): Fix pr72: don't define
1257 $linker if there are no @files.
1259 2001-04-09 Akim Demaille <akim@epita.fr>
1261 Avoid reading twice header-vars.am as now macro_define
1264 * automake.in (&define_standard_variables): Don't output the
1266 (&read_main_am_file): Output first user variables, then Automake
1268 Don't call twice &define_standard_variables.
1269 Save variable comments in $am_vars.
1270 (&variable_output): New.
1271 (&file_contents_internal): New.
1272 Save variable comments in $am_vars.
1273 (&file_contents): Use it.
1275 2001-04-09 Akim Demaille <akim@epita.fr>
1277 * automake.in (¯o_define): The user is allowed to override
1278 a value if it was set by Automake, or if it was found in AC_SUBST.
1280 2001-04-09 Akim Demaille <akim@epita.fr>
1282 * automake.in (&handle_source_transform): Better locality of the
1284 Use `next' to skip nonexistent variables.
1286 2001-04-09 Akim Demaille <akim@epita.fr>
1288 * automake.in (&variable_dump): If a variable is undefined, say
1290 (&check_ambiguous_conditional): Give finer error messages.
1291 (¯o_define): Check that a `+=' variable is not set with `='.
1292 Check for ambiguous definitions each time you _set_ (even with `+=')
1294 (&read_main_am_file): Perform a deep copy of %conditional.
1296 2001-04-09 Akim Demaille <akim@epita.fr>
1298 * automake.in (&variable_defined): Some callers, e.g.,
1299 &am_primary_prefixes, really want to know if the variable is
1300 defined for any condition, not `TRUE' by default.
1301 (&am_primary_prefixes): Give a more precise error message.
1303 2001-04-09 Akim Demaille <akim@epita.fr>
1305 (&variable_conditions): Don't include `FALSE' in the result.
1307 2001-04-09 Akim Demaille <akim@epita.fr>
1309 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1310 (&variable_conditions): Don't include `FALSE' in the result.
1312 2001-04-09 Akim Demaille <akim@epita.fr>
1314 * tests/defs, tests/depend3.test: Remove useless code.
1316 2001-04-09 Akim Demaille <akim@epita.fr>
1318 * automake.in (&handle_source_transform): Use
1319 &variable_conditions, don't read $conditional{$var}.
1320 (&variable_conditions_sub): When the call is the top level call,
1321 generate all the permutations of the conditions.
1323 2001-04-09 Akim Demaille <akim@epita.fr>
1325 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1326 that it does not get noticed twice by automake, which now
1327 complains for multiple definitions.
1328 * tests/vartar.test: s/INSTALL/install/g, automake now complains
1329 because we defined INSTALL.
1331 2001-04-09 Akim Demaille <akim@epita.fr>
1333 * automake.in (&generate_makefile) Use macro_define to define
1334 SOURCES and OBJECTS.
1335 (&variable_defined): Don't check for $conditional{VAR}{COND} as
1336 this would make perl create $condition{VAR}, which we don't want.
1338 2001-04-09 Akim Demaille <akim@epita.fr>
1340 * automake.in (&variable_defined, &define_pretty_variable):
1341 Simplify code which used to handle the cases where not all
1342 variables were in %conditional.
1343 (&define_variable): Use &define_pretty_variable.
1344 (&variable_conditions_sub, &variable_value_as_list_worker)
1345 (&variable_value_as_list, &rule_define): Simplify syntax.
1346 (&read_main_am_file): Dump the guilty predefined variables.
1348 2001-04-09 Akim Demaille <akim@epita.fr>
1350 * automake.in (&variable_conditions_sub)
1351 (&variable_value_as_list_worker): Remove dead code which used to
1352 handle the cases where not all variables were in %conditional.
1354 2001-04-09 Akim Demaille <akim@epita.fr>
1356 * automake.in (&handle_source_transform, &read_main_am_file):
1357 Simplify loops which were split in two parts, conditional vs
1358 unconditional variables.
1360 2001-04-09 Akim Demaille <akim@epita.fr>
1362 Handle unconditional values of variables as conditioned by
1365 * automake.in (%contents): Remove.
1366 (&generate_makefile, &handle_ltlibraries, ¯o_define)
1367 (&read_am_file, &variable_defined, &variable_conditions_sub)
1368 (&variable_value, &variable_value_as_list_worker)
1369 (&variable_value_as_list, &define_pretty_variable)
1370 (&read_main_am_file): Use
1371 $conditional, not %contents.
1372 (&variable_conditions_permutations): Don't return TRUE and FALSE.
1373 (&variable_conditionally_defined): New.
1374 (&handle_dist): Use it.
1375 (&check_ambiguous_conditional): When multiply defined, specify
1376 under which condition.
1377 (¯o_define): Use it.
1378 (&variable_delete): New.
1379 (&read_am_file): Use it.
1380 (&am_install_var): Simplify, as all the variables are in
1383 2001-04-07 Tom Tromey <tromey@redhat.com>
1385 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
1387 * tests/man.test: New file.
1389 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1391 * depcomp (gcc3): Invert test condition.
1393 2001-04-07 Tom Tromey <tromey@redhat.com>
1395 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
1396 statement. Report from Larry Jones.
1398 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1400 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
1402 2001-04-01 Tom Tromey <tromey@redhat.com>
1404 * java.am (.PHONY clean-am): Removed trailing ":".
1405 From Per Bothner. Fixes PR automake/139.
1407 2001-03-28 Akim Demaille <akim@epita.fr>
1409 * program.am: Fix a stupid typo: now *all* (not none) the programs
1411 Reported by Robert Boehne.
1413 2001-03-23 Akim Demaille <akim@epita.fr>
1415 * automake.in (&read_am_file, &file_contents): Avoid name clashes
1418 2001-03-23 Akim Demaille <akim@epita.fr>
1420 * automake.in (&variable_conditionally_defined): Rename as...
1421 (&check_variable_unconditionally_defined): this.
1422 (&variable_dump): Fix the output.
1423 (&variable_defined, ¯o_define): Since conditions are
1424 canonicalized, don't use a loop to look for a condition: read the
1426 (¯o_define, &rule_define, &read_am_file, &file_contents):
1427 Rename $cond_string as $cond.
1428 * distdir.am (PACKAGE, VERSION): Remove; since they are already
1429 discovered via AC_SUBST, they now trigger a `defined twice' error.
1431 2001-03-23 Akim Demaille <akim@epita.fr>
1433 * automake.in (&handle_footer, &handle_installdirs)
1434 (&read_main_am_file): Don't read %contents directly, use
1437 2001-03-23 Akim Demaille <akim@epita.fr>
1439 * automake.in (&read_am_file): Define the variables in a single
1441 Factor the $saw_bk code.
1443 2001-03-23 Akim Demaille <akim@epita.fr>
1445 * automake.in (&read_am_file): Keep $cond_string up to date.
1447 2001-03-23 Akim Demaille <akim@epita.fr>
1449 * automake.in (&define_variable): Use ¯o_define.
1451 2001-03-23 Akim Demaille <akim@epita.fr>
1453 * automake.in (¯o_define): Don't lose the location if we
1454 redefine a variable.
1455 Don't push all the variables in @var_list, let...
1456 (&read_am_file, &file_contents): ... do it.
1457 (&define_pretty_variable): Use macro_define.
1458 (&am_install_var): Delete the value of variables being redefined
1459 to pacify ¯o_define which checks that variables are not
1462 2001-03-23 Akim Demaille <akim@epita.fr>
1464 * automake.in (&conditional_dump): Rename as...
1465 (&variables_dump): this. Use...
1466 (&variable_dump): this new sub.
1468 2001-03-23 Akim Demaille <akim@epita.fr>
1470 * automake.in (&file_contents): Maintain $cond_string sync with
1472 Output rules only if not under `FALSE'.
1473 Define variables under $cond_string.
1474 * scripts.am: For the time being if/endif does not work properly
1477 2001-03-23 Akim Demaille <akim@epita.fr>
1479 * automake.in (IF_PATTERN): Unobfuscate the parens.
1480 (ENDIF_PATTERN): Allow a condition to be specified.
1481 (&file_contents): Use a @cond_stack.
1482 (&transform): At least for an easy transition, also transform
1483 %?FOO% and %!FOO%, as suggested by Lars.
1484 * scripts.am: First test bed for static if/endif use.
1486 2001-03-23 Akim Demaille <akim@epita.fr>
1488 * automake.in (&file_contents): Use rule_define.
1490 2001-03-23 Akim Demaille <akim@epita.fr>
1492 * automake.in (¯o_define): Don't rely on $1.
1493 Initialize the variable.
1494 Set its Automakism only if not defined or if given to the user.
1495 When concatenating values, insert a separator only if the value
1497 (&read_am_file): When dumping the @var_list, skip Automake
1499 (&file_contents): Use macro_define.
1501 2001-03-23 Akim Demaille <akim@epita.fr>
1503 * automake.in (&rule_define): Extract from...
1504 (&read_am_file): here.
1506 2001-03-23 Akim Demaille <akim@epita.fr>
1508 * automake.in (¯o_define, &read_am_file): More work for the
1509 former from the latter. Reorganize the latter.
1511 2001-03-23 Akim Demaille <akim@epita.fr>
1513 * automake.in (¯o_define): Extract from...
1514 (&read_am_file): here.
1516 2001-03-23 Akim Demaille <akim@epita.fr>
1518 * automake.in (%am_var_defs): Replace with...
1520 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
1521 (&file_contents, am_primary_&prefixes): Adjust.
1522 (&variable_defined, &define_variable): The actual semantics is
1524 (&read_main_am_file): Assert the var is user defined when
1525 outputting @var_list.
1527 2001-03-23 Akim Demaille <akim@epita.fr>
1529 * automake.in (read_am_file): TRUE and FALSE are predefined
1531 (&by_condition): Adjust.
1532 (&conditional_string): Recognize `TRUE' and `FALSE'.
1533 (&make_condition): Use it.
1534 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
1535 * automake.texi (Conditionals): Adjust.
1536 * tests/cond9.test: s/FALSE/WRONG/.
1538 2001-03-12 Pavel Roskin <proski@gnu.org>
1540 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
1543 2001-03-12 Akim Demaille <akim@epita.fr>
1545 * automake.in (&variable_conditions_permutations): Separate the
1547 * tests/cond3.test: Improve the sed expression.
1549 2001-03-09 Pavel Roskin <proski@gnu.org>
1551 * Makefile.am (maintainer-check): Scan all *.am files and tests
1552 for invocations of `rm' without `-f'.
1553 * tests/mclean.test: Adjusted to prevent triggering the above
1556 2001-03-09 Tom Tromey <tromey@redhat.com>
1558 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
1559 maintainer-check failure.
1561 2001-03-09 Akim Demaille <akim@epita.fr>
1563 * tests/cond3.test: Strengthen.
1565 2001-03-09 Akim Demaille <akim@epita.fr>
1567 * automake.in (&conditional_string): Produce a unique string
1568 characterizing a condition stack.
1569 (&conditional_same): Remove, comparing two strings is now enough.
1570 (&variable_defined): Adjust.
1571 (&read_am_file): Use conditional_string.
1573 2001-03-08 Akim Demaille <akim@epita.fr>
1575 * automake.in: Use -w.
1576 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
1577 (&parse_arguments): Support --Werror and --Wno-error as a
1578 temporary hack until --warning/-W is properly implemented.
1579 (&handle_single_transform_list): Prototype.
1580 Be sure to define $directory.
1581 Use `exists' instead of testing the value of a maybe undefined
1583 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
1584 (&handle_factored_dependencies): Use defined values.
1585 (&scan_one_autoconf_file): Save $_.
1586 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
1587 Run automake with --Wno-error.
1589 2001-03-07 Akim Demaille <akim@epita.fr>
1591 * automake.in (&handle_all): Use an array instead of a scalar for
1593 Get rid of all-redirect: let `all' be that target.
1595 2001-03-07 Akim Demaille <akim@epita.fr>
1597 * automake.in (&handle_merge_targets): Ventilate its non `all'
1598 related content into...
1599 (&generate_makefile): here.
1600 (&handle_merge_targets): Rename as...
1601 (&handle_all): this.
1602 Remove a useless `if': `@all' is obviously not empty, since it
1603 contains at least the `basename ($makefile)' which has just been
1606 2001-03-07 Akim Demaille <akim@epita.fr>
1608 * automake.in, aclocal.in: Backquote is inert in double quotes.
1610 2001-03-06 Akim Demaille <akim@epita.fr>
1612 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
1615 2001-03-06 Pavel Roskin <proski@gnu.org>
1617 * java.am: Use `rm -f' instead of `rm'.
1619 2001-03-06 Akim Demaille <akim@epita.fr>
1621 * automake.in (&push_dist_common): Simplify.
1623 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1625 * ltlib.am: Replaced spaces with tab.
1627 2001-03-06 Pavel Roskin <proski@gnu.org>
1629 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
1632 2001-03-05 Pavel Roskin <proski@gnu.org>
1634 * header.am, scripts.am: Use ?INSTALL? in the install and
1637 2001-03-05 Pavel Roskin <proski@gnu.org>
1639 * tests/copy.test: Never use `rm' without `-f' - it may ask
1640 questions, notably for read-only files during `make distcheck'.
1641 * tests/insh.test: Likewise.
1642 * tests/installsh.test: Likewise.
1643 * tests/symlink.test: Likewise.
1644 * tests/symlink2.test: Likewise.
1645 * tests/symlink3.test: Likewise.
1647 2001-03-05 Pavel Roskin <proski@gnu.org>
1649 * noinstdir.test: New test.
1650 * tests/Makefile.am (TESTS): Add noinstdir.test.
1651 (XFAIL_TESTS): Likewise.
1653 2001-03-05 Akim Demaille <akim@epita.fr>
1655 * automake.in (&handle_options): Change the RE so that the third
1656 part of the versions always exist.
1657 (&file_contents): Don't pass uninitialized values to &transform.
1659 2001-03-05 Akim Demaille <akim@epita.fr>
1661 * automake.in (&file_contents): Require a hash as second argument.
1664 2001-03-05 Akim Demaille <akim@epita.fr>
1666 Always use hashes with &file_contents.
1668 * automake.in (&handle_texinfo): texibuild.am does not need
1670 texinfos.am wants only TEXICLEANS.
1671 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
1673 * texinfos.am: Adjust.
1675 2001-03-05 Akim Demaille <akim@epita.fr>
1677 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
1678 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
1679 (&am_install_var): Forget about `-clean'.
1680 Transform ?INSTALL?.
1681 Always output the *.am file.
1682 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
1683 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
1684 Remove, merged into the corresponding *.am file.
1685 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
1688 2001-03-05 Pavel Roskin <proski@gnu.org>
1690 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
1692 2001-03-05 Akim Demaille <akim@epita.fr>
1694 If OBJEXT and EXEEXT are not set, provide a default value, and use
1695 them unconditionally.
1697 * automake.in (&generate_makefile): Provide default values for
1699 (&get_object_extension, &finish_languages)
1700 (&handle_single_transform_list, &handle_programs, &add_depend2)
1701 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
1702 them, they are defined.
1703 * compile.am, depend2.am, program.am, progs.am: Likewise.
1704 * remake-hdr.am: Fix a typo.
1705 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
1706 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
1707 * tests/suffix2.test: Adjust.
1709 2001-03-05 Akim Demaille <akim@epita.fr>
1711 * automake.in (&file_contents): Map MAINTAINER-MODE to
1712 @MAINTAINER_MODE_TRUE@ or nothing.
1713 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
1716 2001-03-05 Akim Demaille <akim@epita.fr>
1718 * automake.in (&do_one_merge_target): Remove, was only called from...
1719 (&handle_merge_targets): here for `all'.
1722 2001-03-05 Akim Demaille <akim@epita.fr>
1724 Make the installation/uninstallation of Info pages follow the
1725 regular am/recursive scheme.
1727 * automake.in (%required_targets, %dependencies): Add
1729 (%dependencies): Add install-info, install-info-am, and
1731 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
1732 reversed BTW. Does anybody use the option `no-installinfo'?
1733 (&handle_merge_targets): Let the handling of info related targets
1735 (&handle_factored_dependencies): this.
1736 * subdirs.am: Use ?INSTALL-INFO?.
1737 * texinfos.am: Define the install-info, uninstall-info and
1738 uninstall-info-am targets.
1740 2001-03-05 Akim Demaille <akim@epita.fr>
1742 * automake.in (%required_targets, %dependencies): Add dvi, info,
1744 (@info, @dvi): Remove.
1745 (&handle_texinfo, &handle_merge_targets): Adjust.
1746 (&handle_factored_dependencies): Required targets are phony.
1747 * texinfos.am: Build info, dvi, and the corresponding -am or
1750 2001-03-05 Akim Demaille <akim@epita.fr>
1752 * automake.in (&am_install_var): Remove $cygxform, unused.
1754 2001-03-05 Akim Demaille <akim@epita.fr>
1756 * automake.in (&file_contents): Transform LIBTOOL.
1757 (&am_install_var): Remove $ltxform.
1758 * ltlib.am, progs.am: Adjust.
1760 2001-03-05 Akim Demaille <akim@epita.fr>
1762 * automake.in: Require AC_PROG_INSTALL in...
1763 (&scan_autoconf_files): here.
1765 2001-03-05 Akim Demaille <akim@epita.fr>
1767 * configure.am: New file.
1768 * automake.in (&file_contents): Transform CONFIGURE-AC.
1769 (&handle_texinfo, &handle_configure): Don't transform
1771 (&handle_configure): Use `configure.am'.
1772 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
1773 MAINTAINER-MODE and CONFIGURE-AC.
1775 2001-03-05 Akim Demaille <akim@epita.fr>
1777 * automake.in (&pretty_print_internal): Don't output useless
1779 (define_pretty_variable): Don't issue the space after the `=' sign
1780 to avoid trailing spaces in Makefile.ins.
1782 2001-03-05 Akim Demaille <akim@epita.fr>
1784 * automake.in (&generate_makefile): Invoke &initialize_per_input
1785 *before* setting $am_file_name and $in_file_name.
1787 2001-03-05 Akim Demaille <akim@epita.fr>
1789 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
1790 Globals, initialized...
1791 (&initialize_per_input): here.
1793 2001-03-05 Akim Demaille <akim@epita.fr>
1795 * automake.in ($am_relative_dir): Global.
1796 (&initialize_per_input): Init it.
1797 (%make_list, @make_input_list): My them from
1798 (&scan_autoconf_files): here.
1799 (&require_file_internal): Mying changes.
1801 2001-03-05 Akim Demaille <akim@epita.fr>
1803 * automake.in (%am_vars, @var_list, %def_type): Globals.
1804 (&initialize_per_input): Initialize them.
1805 (&read_main_am_file): Don't local them.
1806 (&get_object_extension): $objext is private.
1807 (&handle_single_transform_list): $lang is.
1808 (&handle_ltlibraries): $libname_rx is.
1809 (&scan_autoconf_config_files): How about actually paying attention
1810 to your arguments, instead of working on $_? (this is no Perl
1811 variable, it's a Perl variable followed by a question mark).
1812 (&file_contents): $contents and $separator are private.
1813 (&am_install_var): Declare @condvals, not $condvals.
1816 2001-03-05 Akim Demaille <akim@epita.fr>
1818 * automake.in (&initialize_per_input): Move to the top.
1819 Precede with the `my' list of its variables.
1821 2001-03-05 Akim Demaille <akim@epita.fr>
1823 * automake.in ($am_file): Use vars.
1824 ($am_file_name, $in_file_name): Private to &generate_makefile.
1826 2001-03-05 Akim Demaille <akim@epita.fr>
1828 * automake.in: Preparation for `use strict': Move the
1829 initialization of the constants to the top, from...
1830 (&initialize_global_constants): here.
1832 2001-03-05 Akim Demaille <akim@epita.fr>
1834 * automake.in (&handle_single_transform_list, &add_depend2): Let
1835 $lang_specific_files{$lang} be a list instead of a string.
1837 2001-03-05 Akim Demaille <akim@epita.fr>
1839 Let's make it run ten times faster...
1841 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
1843 (&file_contents): Let `$command' remove the Automake commands, and
1844 normalize the series of `\n'.
1845 Slurp the file and apply $command in a single step.
1846 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
1847 is already normalized to be handled by &transform.
1849 2001-03-05 Tom Tromey <tromey@redhat.com>
1851 * automake.in (register_language): Add entry for `-pure'.
1852 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
1853 (finish_languages): Use `-pure' field of language map.
1855 2001-03-03 Tom Tromey <tromey@redhat.com>
1857 * tests/yaccvpath.test: No need to remove dummy files.
1858 * tests/subobj3.test: No need to remove dummy files.
1859 * tests/pr9.test: No need to remove dummy files.
1860 * tests/pr87.test: No need to remove dummy files.
1861 * tests/pr19.test: No need to remove dummy files.
1862 * tests/install2.test: No need to remove dummy files.
1863 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
1866 2001-02-27 Pavel Roskin <proski@gnu.org>
1868 * tests/yaccvpath.test: Add a delay to make parse.c really out
1869 of date. Detect the problem earlier, after `make distdir'. Drop
1870 dependency on flex. Always use the `-y' flag for bison. Comment
1872 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
1874 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1876 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
1878 2001-02-28 Akim Demaille <akim@epita.fr>
1880 * automake.in (&add_depend2): Transform `GENERIC'.
1881 Get rid of the ad hoc transformation of `@EXT@.o:' which in
1882 addition was broken by the `@ -> %' patch.
1883 * depend2.am: Adjust to use ?GENERIC?.
1885 2001-02-28 Akim Demaille <akim@epita.fr>
1887 * Makefile.am (maintainer-check): `undef $/' is OK.
1889 2001-02-28 Akim Demaille <akim@epita.fr>
1891 * automake.in (&handle_configure): Fortunately, $top_reldir,
1892 the definition of which was highly suspicious, was unused.
1894 2001-02-27 Akim Demaille <akim@epita.fr>
1896 * automake.in (%exec_dir_p): Move to the top so that it is visible
1899 2001-02-27 Pavel Roskin <proski@gnu.org>
1901 * tests/yaccvpath.test: Prevent automake from looking into ..
1902 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
1904 2001-02-27 Akim Demaille <akim@epita.fr>
1906 * automake.in (%exec_dir_p): Pulled out from...
1907 (&am_primary_prefixes): here.
1909 2001-02-27 Akim Demaille <akim@epita.fr>
1911 * automake.in (&usage): Display $0, not $me.
1913 2001-02-27 Akim Demaille <akim@epita.fr>
1915 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
1916 * automake.in (&handle_clean): Don't escape what's given to
1919 2001-02-27 Akim Demaille <akim@epita.fr>
1921 Distinguish automake substitutions from config.status
1924 * automake.in (&add_depend2): Transform AMDEP.
1925 (&handle_clean): Transform MCFILES and MFILES.
1926 (&file_contents): Transform MAINTAINER_MODE.
1927 (&transform, &am_install_var): Use `%', not `@'.
1928 Adjust all the *.am files.
1929 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
1930 * depend2.am: Display the double dependency on both ?AMDEP? and
1933 2001-02-27 Tom Tromey <tromey@redhat.com>
1935 * distdir.am (distcheck): Fixed new code.
1937 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
1938 Only configure once.
1940 * distdir.am (distcheck): Print error message if distclean failed
1943 2001-02-27 Pavel Roskin <proski@gnu.org>
1945 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
1947 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1949 * tests/Makefile.am (TESTS): Added yaccvpath.test.
1950 * tests/yaccvpath.test: New file.
1952 2001-02-26 Akim Demaille <akim@epita.fr>
1954 * automake.in (&am_install_var): Recognize whether predefined
1955 directories are `data' or `exec'.
1956 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
1958 * tests/instdata2.test: Update.
1960 2001-02-26 Akim Demaille <akim@epita.fr>
1962 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
1963 necessarily in infodir.
1965 2001-02-26 Akim Demaille <akim@epita.fr>
1967 * automake.in ($am_file): Be `local', as my'd variables used in
1968 `foreach' loops are always private to the loop.
1970 2001-02-26 Pavel Roskin <proski@gnu.org>
1972 * Makefile.am: Add install.am.
1974 2001-02-26 Akim Demaille <akim@epita.fr>
1976 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
1977 routines, otherwise the elements to compare are passed in @_
1978 instead of $a and $b.
1980 2001-02-26 Akim Demaille <akim@epita.fr>
1982 * automake.in (%required_targets): `installcheck-am' is needed.
1984 2001-02-26 Akim Demaille <akim@epita.fr>
1986 * automake.in (&transform_cond): Merge into...
1990 2001-02-26 Akim Demaille <akim@epita.fr>
1992 * automake.in (&handle_dist): Use &transform instead of dedicated
1994 But be sure to always do it.
1995 * distdir.am: Adjust.
1997 2001-02-26 Akim Demaille <akim@epita.fr>
1999 * automake.in: Use File::Basename.
2000 (&dirname, &basename): Remove.
2002 2001-02-26 Akim Demaille <akim@epita.fr>
2004 * automake.in ($me): New.
2006 (&usage): Display your full name.
2008 2001-02-26 Akim Demaille <akim@epita.fr>
2010 * automake.texi (Invoking Automake): Remove dead options.
2012 2001-02-26 Akim Demaille <akim@epita.fr>
2014 * automake.in (&scan_texinfo_file): Also compute the list of files
2016 Handle local errors.
2017 (&handle_texinfo): Use it.
2019 2001-02-26 Akim Demaille <akim@epita.fr>
2021 * automake.in: Don't pass arguments to...
2022 (&parse_arguments): Work on @ARGV.
2024 Add support for `-f'.
2028 2001-02-26 Akim Demaille <akim@epita.fr>
2030 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2031 handle installcheck and installcheck-am.
2032 * install.am: Do it.
2034 2001-02-26 Akim Demaille <akim@epita.fr>
2036 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2037 handle install and install-am.
2038 * install.am: Do it.
2040 2001-02-26 Akim Demaille <akim@epita.fr>
2042 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2043 work on targets handled by %dependencies.
2044 (&handle_factored_dependencies): Do it.
2045 * install.am: Install install-exec, install-data and uninstall's
2048 2001-02-26 Akim Demaille <akim@epita.fr>
2050 * automake.in (&handle_merge_targets): Move `install-strip' from
2052 * install.am: to here.
2054 2001-02-26 Akim Demaille <akim@epita.fr>
2056 * automake.in (@installdirs): Remove.
2057 (&file_contents): Be able to grow Automake macros with `+='.
2058 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2059 files define _am_installdirs.
2060 (&handle_installdirs): Remove the code, just output `install.am'.
2062 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2063 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2065 2001-02-26 Akim Demaille <akim@epita.fr>
2067 * tests/instdata2.test (libexec_DATA): Exercise more
2070 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2072 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2074 2001-02-25 Tom Tromey <tromey@redhat.com>
2076 * tests/instdata2.test: Added `sbin_DATA' check.
2078 * tests/Makefile.am (TESTS): Added subdircond.test.
2079 * tests/subdircond.test: New file.
2080 * automake.in (handle_gettext): Don't fail if SUBDIRS
2081 conditionally defined.
2083 * automake.in: Use IO::File.
2084 (generate_makefile): Use IO::File.
2085 (scan_texinfo_file): Likewise.
2086 (handle_aclocal_m4): Likewise.
2087 (scan_autoconf_traces): Likewise.
2088 (scan_one_autoconf_file): Likewise.
2089 (read_am_file): Likewise.
2090 (file_contents): Likewise.
2093 2001-02-25 Akim Demaille <akim@epita.fr>
2095 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2097 2001-02-25 Akim Demaille <akim@epita.fr>
2099 * automake.in (&transform): Also call &transform_cond on your
2101 (&handle_dist): Adjust.
2102 (&handle_factored_dependencies): Uniq dependencies.
2104 2001-02-25 Akim Demaille <akim@epita.fr>
2106 * automake.in (&handle_gettext): Simplify redundant `if'.
2107 Used &variable_value, don't read %contents directly.
2109 2001-02-25 Akim Demaille <akim@epita.fr>
2111 * automake.in ($install_recursive): Remove, replaced with calls to
2112 `&variable_defined ('SUBDIRS')'.
2113 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2114 (&file_contents): now does.
2116 2001-02-25 Akim Demaille <akim@epita.fr>
2118 * automake.in (&handle_man_pages): $found is dead.
2120 2001-02-25 Akim Demaille <akim@epita.fr>
2122 Internally just store the conditionals as space separated lists of
2123 CONDITIONS (instead of @CONDITIONS@).
2125 * automake.in (&conditional_true_when, &variable_conditions_sub):
2126 Split conditions at spaces.
2127 (&handle_dependencies, &variable_conditions_permutations): Don't
2128 put @ around conditions.
2129 (&variable_conditions_cmp): There are no @ to strip.
2130 (&make_condition): New.
2131 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2133 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2134 Join @conditional_stack with spaces.
2135 (&read_main_am_file): Adjust the output of variables.
2136 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2137 true' and no longer `@TEST@TRUE = @TEST@true'.
2138 (&variable_conditions_cmp): Rename as...
2139 (&by_condition): this.
2140 Sort in a human pleasant order.
2141 Use it everywhere a human can see conditions.
2142 (&variable_conditions_reduce): Don't sort conditions, that's
2144 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2146 2001-02-25 Akim Demaille <akim@epita.fr>
2148 * automake.in: `my' the globals.
2150 2001-02-25 Akim Demaille <akim@epita.fr>
2152 * automake.in (&initialize_per_input): %targets_conditionals is
2154 (&read_am_file): When slurping a rule, set the target related
2155 variable, and no variable related variable.
2156 (&file_contents): Likewise.
2157 * tests/vartar.test, tests/ctarget1.test: New.
2159 2001-02-25 Akim Demaille <akim@epita.fr>
2161 * automake.in (&variable_defined, &variable_value_as_list_worker):
2162 If $VAR is effectively a variable, don't die if it's also a
2164 Plus some formatting changes.
2166 2001-02-25 Akim Demaille <akim@epita.fr>
2168 * automake.in: Mying changes.
2169 * Makefile.am (maintainer-check): Check the stability of the
2170 number of uses of `local'.
2172 2001-02-25 Akim Demaille <akim@epita.fr>
2174 * automake.in: Mying changes.
2176 2001-02-25 Akim Demaille <akim@epita.fr>
2178 * automake.in: Mying changes.
2180 2001-02-25 Akim Demaille <akim@epita.fr>
2182 * automake.in: Mying changes.
2183 (&handle_tags): Fix a bug uncovered by the previous mying changes:
2184 transform CONFIG into $config, not $xform.
2186 2001-02-25 Akim Demaille <akim@epita.fr>
2188 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2189 Don't deal with install-data-am, install-exec-am and unstall-am.
2190 (&initialize_per_input): Add them to %dependencies.
2191 Remove %exec_dir_p since the *.am files are now in charge of it.
2192 Remove @uninstall, @install_data, @install_exec.
2193 (&handle_merge_targets): Adjust to these removals.
2194 (&file_contents): Also &transform_cond for --no-installman and
2196 (&do_one_merge_target): Add some magic to install hooks on
2197 %dependencies' targets.
2198 (%required_targets): New.
2199 (&handle_factored_dependencies): Output required targets.
2200 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2201 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2202 * texinfos.am: Declare your dependencies on install-data-am,
2203 install-exec-am and uninstall-am.
2204 * tests/instdata2.test (incldata_HEADERS): New test.
2206 2001-02-24 Tom Tromey <tromey@redhat.com>
2208 * Makefile.am (amfiles): Added texibuild.am.
2209 * texibuild.am: New file.
2210 * tests/Makefile.am (TESTS): Added texinfo9.test.
2211 * tests/texinfo9.test: New file.
2212 * automake.in (handle_texinfo): Keep track of suffixes used. Give
2213 error if suffix unrecognized. Removed extraneous newline.
2215 2001-02-23 Akim Demaille <akim@epita.fr>
2217 * automake.in (&am_install_var): Don't hook on the clean targets
2219 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2220 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2223 2001-02-23 Akim Demaille <akim@epita.fr>
2225 * automake.in: Promote local `my' over `local'.
2227 2001-02-23 Akim Demaille <akim@epita.fr>
2229 * automake.in: Formatting and mying changes.
2231 2001-02-23 Akim Demaille <akim@epita.fr>
2233 * automake.in: Formatting and mying changes.
2235 2001-02-23 Akim Demaille <akim@epita.fr>
2237 * automake.in (&handle_man_pages): Let install-man and
2238 uninstall-man be handled by the dependency tracker.
2239 (&initialize_per_input): Let %dependencies track them.
2240 * mans.am: Add the needed hooks with the proper dependencies.
2242 2001-02-22 Pavel Roskin <proski@gnu.org>
2244 * tests/target-cflags.test: Don't use subshell to configure in
2245 subdirectory. Typo fix - run `./foo', not `/foo'.
2247 2001-02-22 Akim Demaille <akim@epita.fr>
2249 * automake.in: Formatting and mying changes.
2251 2001-02-21 Tom Tromey <tromey@redhat.com>
2253 * automake.in (handle_dist): Introduce new variable to avoid extra
2254 keys in %dist_dirs. Fixes distdir.test.
2256 * automake.in (handle_texinfo): Only remove suffixes we can
2259 * tests/distdir.test: Check to make sure directory isn't made in
2262 * automake.in (handle_dist): Do nothing in Cygnus mode.
2264 2001-02-21 Pavel Roskin <proski@gnu.org>
2266 * header-vars.am: Remove tabs before variable definitions.
2268 2001-02-21 Akim Demaille <akim@epita.fr>
2270 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2273 2001-02-21 Akim Demaille <akim@epita.fr>
2275 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2276 numeric value as required by Perl 5.6.
2278 2001-02-21 Akim Demaille <akim@epita.fr>
2280 * dist-vars.am: Remove, merge into...
2282 * automake.in (dirname, basename, backname): Move to the top of
2283 the file so that prototypes are checked,
2284 Use them without `&'.
2285 (&handle_dist): Adjust.
2287 2001-02-21 Akim Demaille <akim@epita.fr>
2289 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2290 Use a uniform naming scheme.
2291 ("e_cond_val, &unquote_cond_val): Delete, dead code.
2292 (&read_am_file): Fix conditional definition of backslash continued
2295 2001-02-21 Akim Demaille <akim@epita.fr>
2297 Change the handling of conditionals: instead of using an ad-hoc
2298 encoding to store a hash in a string, use hashes.
2300 * automake.in (&conditional_dump): New.
2301 (&check_ambiguous_conditional, &variable_defined)
2302 (&variable_conditions_sub, &variable_value_as_list_worker)
2303 (&define_variable, read_am_file, &read_main_am_file): Be sure to
2304 handle `$conditional{$vars}' as a hash instead of a plain string.
2306 2001-02-21 Akim Demaille <akim@epita.fr>
2308 * automake.in (&conditional_true_when): Modernize, simplify.
2309 Warning: `$comp' is now private (my), while it used to be
2310 `inherited' from a `local' elsewhere in the code. AFAICT it was
2311 wrong, but some dirty side effect might show up.
2312 (&conditionals_true_when): New.
2313 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2315 2001-02-21 Akim Demaille <akim@epita.fr>
2317 * automake.in ($top_builddir): Remove, used in one place.
2318 (&define_standard_variables): Adjust.
2319 Move the definition of triplet variables into...
2320 * header-vars.am: here.
2322 2001-02-21 Akim Demaille <akim@epita.fr>
2324 * automake.in (&initialize_global_constants): Don't define $USAGE.
2325 (&usage): Handle the former content of $USAGE.
2326 Don't pretend autoconf cares about Makefile.in.
2327 Classify the options.
2328 (&handle_tests): Formatting and mying changes.
2330 2001-02-21 Akim Demaille <akim@epita.fr>
2332 * automake.in (&handle_tests_dejagnu): Move the definition of a
2333 default `site.exp' into...
2334 * dejagnu.am (site.exp): here.
2335 Use DOS compliant file names.
2337 2001-02-21 Akim Demaille <akim@epita.fr>
2339 * automake.in (&dist_cmp): New.
2340 (&handle_dist): Use it.
2341 Promote `my' over `local'.
2343 2001-02-21 Akim Demaille <akim@epita.fr>
2345 * dist.am: Remove, merge into...
2346 * distdir.am: here. Use the neat sed snippet for banners.
2347 BTW, distcheck is phony.
2348 * automake.in (&handle_dist_worker): Remove, merge into...
2349 (&handle_dist): this.
2350 (&file_contents): Strip leading new lines.
2351 Be sure to end comments with new lines.
2353 2001-02-21 Akim Demaille <akim@epita.fr>
2355 * distdir.am (GZIP_ENV): Define.
2356 * automake.in (&handle_dist): Don't.
2358 (&handle_dist_worker, &am_install_var): Use it.
2360 2001-02-21 Akim Demaille <akim@epita.fr>
2362 * distdir.am (distdir): Handle the DIST-TARGETS.
2363 * automake.in (&handle_dist_worker): Don't.
2365 2001-02-21 Akim Demaille <akim@epita.fr>
2367 * automake.in (&file_contents): Transform the global options (such
2369 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2371 2001-02-21 Akim Demaille <akim@epita.fr>
2373 * distdir.am (distdir): Be sure to have permissive rights on its
2375 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
2377 And BTW, all these guys are phony.
2378 * automake.in (&handle_dist_worker): As its name doesn't indicate,
2379 output distributions.
2380 (&handle_dist): As its name doesn't indicate, don't.
2381 (&initialize_global_constants): Don't define variables which
2382 content is now handled by distdir.am.
2383 But register `dist-all' as a factored target.
2384 (&handle_factored_dependencies): Don't output empty targets.
2386 2001-02-20 Tom Tromey <tromey@redhat.com>
2388 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
2391 2001-02-18 Tom Tromey <tromey@redhat.com>
2393 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
2394 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
2395 (AM_PROG_STRIP): Commented out.
2397 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
2399 * depcomp (gcc3): Protect against the compiler deleting
2400 the dependency output file.
2402 2001-02-17 Tom Tromey <tromey@redhat.com>
2404 * automake.in (handle_merge_targets): Use double quotes around
2405 setting of INSTALL_STRIP_PROGRAM.
2406 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2407 to absolute path at runtime.
2408 (AM_PROG_STRIP): Don't explicitly test $STRIP.
2410 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2412 * m4/strip.m4: New file.
2413 * m4/Makefile.am (m4data_DATA): Add strip.m4.
2414 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
2415 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
2416 * automake.in (handle_merge_targets): In the install-strip rule,
2417 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
2418 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
2419 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
2420 don't use INSTALL_STRIP_FLAG any longer.
2422 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2424 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
2427 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2429 * automake.in (unquote_m4_arg): New function.
2430 (scan_one_configure_file): Call unquote_m4_arg on
2431 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
2434 2001-02-15 Tom Tromey <tromey@redhat.com>
2436 * config.guess, config.sub: New versions from FSF.
2438 * Makefile.am (WGET): New macro.
2439 (FETCHFILES): New macro.
2440 (fetch): New target.
2442 * tests/subobj3.test: Exit with status 77 if gcc not found.
2443 * tests/pr9.test: Exit with status 77 if gzip not found.
2444 * tests/pr87.test: Exit with status 77 if gcc not found.
2445 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
2446 * tests/install2.test: Exit with status 77 if gzip not found.
2447 * tests/exsource.test: Exit with status 77 if GNU make not found.
2448 * tests/ansi3.test: Exit with status 77 if gcc not found.
2450 * tests/target-cflags.test: Require GNU make. Exit with status 77
2451 if gcc or make not found. Fixes PR automake/121.
2453 * configure.in: Require Perl 5.005.
2454 * automake.in: Require 5.005.
2456 * automake.texi (Top): Conditionalize on `nottex', not `info'.
2457 Fixes PR automake/122.
2459 2001-02-14 Tom Tromey <tromey@redhat.com>
2461 * automake.in (add_depend2): Only emit a given object rule once.
2462 Fixes specflags6.test.
2464 2001-02-14 Richard Boulton <richard@tartarus.org>
2466 * tests/specflags6.test: New file.
2468 2001-02-14 Tom Tromey <tromey@redhat.com>
2470 * automake.texi (A Shared Library): Mention -module.
2472 2001-02-13 Tom Tromey <tromey@redhat.com>
2474 * automake.in (do_one_merge_target): Always register $name and
2477 * automake.in (do_one_merge_target): Register `all' as phony
2480 * configure.in: Updated to 1.4e for cvs.
2482 2001-02-12 Tom Tromey <tromey@redhat.com>
2484 * configure.in: Updated to 1.4d and released.
2486 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
2487 names through autoconf.
2489 Fix for subdirbuiltsources.test:
2490 * automake.in (initialize_per_input): [all_target] Initialize to
2492 (handle_merge_targets): Use all-redirect target to handle built
2494 (do_one_merge_target): Don't generate all-redirect rule.
2496 2001-02-11 Peter Muir <iyhi@yahoo.com>
2498 * tests/subdirbuiltsources.test: New file.
2499 * tests/Makefile.am (TESTS): Added new file.
2501 2001-02-10 Tom Tromey <tromey@redhat.com>
2503 * tests/condlib.test: New file.
2504 * tests/Makefile.am (TESTS): Added new file.
2506 2001-02-10 Lars J. Aas <larsa@sim.no>
2508 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
2509 (&canonicalize): New. Includes '@' in canonical range.
2510 (&check_canonical_spelling, &handle_programs, &handle_libraries,
2511 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
2513 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
2515 * automake.in (handle_configure): Revert part of
2516 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
2517 set CONFIG_COMMANDS explicitly.
2519 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
2521 * depcomp (gcc3): Propagate exit code.
2523 2001-02-09 Lars J. Aas <larsa@sim.no>
2525 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
2527 2001-02-09 Tom Tromey <tromey@redhat.com>
2529 Clean up maintainer-check warnings:
2530 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
2532 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
2534 2001-02-09 Akim Demaille <akim@epita.fr>
2536 * automake.in (&file_contents): Remove a dead branch.
2538 2001-02-09 Akim Demaille <akim@epita.fr>
2540 * automake.in (&transform): Use `my', not `local'.
2541 (&transform_cond): New.
2542 (&get_object_extension, &handle_texinfo, &handle_tags)
2543 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
2544 (&handle_tests_dejagnu): Use it.
2545 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
2546 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
2548 2001-02-09 Akim Demaille <akim@epita.fr>
2550 * automake.in: Various formatting changes, and modernization of
2553 (&handle_configure, define_standard_variables): Use it.
2555 2001-02-08 Tom Tromey <tromey@redhat.com>
2557 * automake.in (file_contents): Only add $actions if any are
2558 found. Fixes new failure in pr87.test.
2560 2001-02-08 Pavel Roskin <proski@gnu.org>
2562 * tests/pr87.test: Check foo/Makfile.in after it is created.
2564 2001-02-08 Tom Tromey <tromey@redhat.com>
2566 * tests/pr87.test: Added check for blank line after `.c.o' rule.
2567 Report from Lars J. Aas.
2569 2001-02-07 Lars J. Aas <larsa@sim.no>
2571 * lisp.am (install-@DIR@LISP): Removed extra space.
2572 * header.am (install-@DIR@HEADERS): Removed extra space.
2573 * data.am (install-@DIR@DATA): Removed extra space.
2575 2001-02-07 Tom Tromey <tromey@redhat.com>
2577 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
2579 * automake.in (handle_dependencies): Use _am_include, not
2581 * tests/exsource.test: Use _am_include, not AMINCLUDE.
2582 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
2584 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
2586 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
2588 * automake.in (handle_configure): Handle case where output file is
2589 in subdir with no Makefile of its own. Fixes remake3.test,
2592 2001-02-06 Pavel Roskin <proski@gnu.org>
2594 * automake.in (handle_dependencies): Rename AM_INCLUDE to
2596 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2597 * tests/exsource.test: Likewise.
2599 2001-02-06 Derek Price <derek.price@openavenue.com>
2601 * automake.in (handle_configure): Fix syntax error.
2603 2001-02-06 Akim Demaille <akim@epita.fr>
2605 * subdirs.am: This file is the exception: clean recursive targets
2606 are called by the clean targets, not the clean-am targets.
2607 Otherwise we have a circular dependency: clean -> clean-am ->
2608 clean-recursive -> clean.
2609 * automake.in (handle_clean): Bind `-local' targets to `-am'
2610 targets, not top targets.
2611 Don't declare -recursive dependencies of the clean targets:
2612 `subdirs.am' did it. Less hard coded knowledge, transfered
2616 2001-02-06 Akim Demaille <akim@epita.fr>
2618 Monstro unsplitable patch.
2620 The aim is to remove hard coded knowledge about clean targets from
2621 automake.in, leaving them in the *.am files.
2622 In addition to the mechanic needed to factor some dependencies, it
2623 appears some rules (most notably distclean and maintainer-clean)
2624 need factored actions. So first, be ready to catch factored
2627 * automake.in (&file_contents): For the time being, use an extended
2628 $RULE_PATTERN which is able to match any kind of rules, with or
2629 without dependency, with or without actions.
2630 Handle all the rules uniformly, storing in %actions the factored
2632 (&flatten, &target_cmp): New.
2633 (&handle_factored_dependencies): Output the %actions.
2634 No longer special case `clean'.
2635 Output the rules in alphabetical order, but keeping `.PHONY' last.
2637 Now we must not use &push_phony_cleaners, which is doing all sort
2638 of magic to push a bit of everything in all the clean targets.
2639 The biggest problem being that, making a Cartesian product, it
2640 requires many useless targets. The `*.am' file know better.
2641 But first, register the new factored rules.
2643 * automake.in (&initialize_per_input): Include clean, mostlyclean,
2644 maintainer-clean, distclean and their `*-am' counterpart in
2646 Initialize %actions.
2647 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
2648 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
2649 (handle_emacs_lisp, handle_python): Don't play with
2650 &push_phony_cleaners nor &depend and `clean'.
2651 * texinfos.am, texi-vers.am, tags-clean.am:
2652 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
2653 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
2654 * clean-kr.am, clean-hdr.am: Do it.
2655 Whenever a target is empty, just remove it, it will no longer be
2658 There is still some magic about clean to hard code. But really,
2659 that's the end of &do_one_clean_target.
2661 * automake.in (&do_one_clean_target): Kaboom out.
2662 (&handle_clean): Rewrite the magic code.
2663 (&am_install_var): No longer use &push_phony_cleaners, nor depend
2665 (&push_phony_cleaners): Kaboom too.
2667 2001-02-06 Akim Demaille <akim@epita.fr>
2669 * automake.in (do_one_clean_target): Don't hard code knowledge
2670 about libtool, and maintainer-clean.
2671 * clean.am, libtool.am: Handle these.
2673 2001-02-05 Akim Demaille <akim@epita.fr>
2675 * automake.in (handle_texinfo): No longer hard code the clean
2677 (texinfos.am): Include them.
2679 2001-02-05 Akim Demaille <akim@epita.fr>
2681 * Makefile.am (perl4-check): Remove, we now require Perl 5.
2682 (maintainer-check): Don't be silent when you find a problem, and
2683 actually, even specify the locations.
2684 Also check that @_ is assigned to arrays.
2686 2001-02-05 Akim Demaille <akim@epita.fr>
2688 * m4/regex.m4: Use AC_LIBSOURCES.
2689 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
2692 2001-02-04 Tom Tromey <tromey@redhat.com>
2694 * m4/Makefile.am (m4data_DATA): Added make.m4.
2695 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
2697 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
2698 Copy depcomp to subdir.
2699 * m4/make.m4: New file.
2701 2001-02-04 Pavel Roskin <proski@gnu.org>
2703 * automake.in (handle_dist_worker): Remove a line that is now
2706 2001-02-04 Kevin Ryde <user42@zip.com.au>
2708 * automake.in (handle_configure): Call config.status with empty
2709 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
2711 2001-02-04 Tom Tromey <tromey@redhat.com>
2713 * depcomp (ddashmd): Removed case.
2714 (sgi): Handle failure exit correctly
2715 (aix): Likewise. Also, add dummy `.h' targets.
2717 2001-02-04 Akim Demaille <akim@epita.fr>
2719 * distdir.am (distdir): New file, extracted from...
2720 * automake.in (handle_dist_worker): here.
2723 2001-02-04 Akim Demaille <akim@epita.fr>
2725 * automake.in (@clean): Remove, replaced by...
2726 ($dependencies{'clean'}): this.
2727 Use `&depend' instead of push'ing into @clean.
2728 (handle_factored_dependencies): For the time being, skip 'clean'.
2729 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
2730 always `clean', and `@clean'.
2732 2001-02-04 Akim Demaille <akim@epita.fr>
2734 * automake.in (%dependencies): Don't be initialize globally for
2735 all the files, but in...
2736 (&initialize_per_input): here.
2738 (@phony): Replace all occurrences with the corresponding &depend
2741 2001-02-03 Tom Tromey <tromey@redhat.com>
2743 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
2744 * header-vars.am (INSTALL_HEADER): New macro.
2746 * automake.texi (Rebuilding): New node.