1 2001-12-31 Tom Tromey <tromey@redhat.com>
3 * automake.texi (Extending): Document installcheck-local. Added
4 installdirs-local index entry.
5 (Tests): Document installcheck-local.
7 * automake.in (handle_single_transform_list): Indentation fix.
9 2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
11 * automake.in (common_files): Add COPYING.DOC.
12 Suggested by Karl Berry.
14 2001-12-30 Tom Tromey <tromey@redhat.com>
16 * automake.in (define_configure_variable): Define a user macro,
17 not an automake macro.
18 * tests/Makefile.am (TESTS): Added ar.test.
19 * tests/ar.test: New file.
22 * automake.in (object_compilation_map): New global.
23 (initialize_per_input): Initialize it.
24 (COMPILE_LIBTOOL): New constant.
25 (COMPILE_ORDINARY): Likewise.
26 * tests/Makefile.am (TESTS): Added pr211.test.
27 * tests/pr211.test: New file.
30 * configure.in: Use AM_AUTOMAKE_OPTIONS.
31 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
32 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
33 (Options): Mention AM_AUTOMAKE_OPTIONS.
34 * automake.in (global_options): New global.
35 (global_options_line): Likewise.
36 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
37 (scan_one_autoconf_file): Likewise.
38 (process_option_list): New function.
39 (handle_options): Use it. Also, handle global options.
40 * m4/Makefile.am (m4data_DATA): Added options.m4.
41 * m4/options.m4: New file.
43 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
45 (?!SUBDIRS?installdirs): Likewise.
46 * automake.in (handle_installdirs): Handle installdirs-local.
47 * automake.texi (Extending): Mention installdirs.
48 * tests/Makefile.am (TESTS): Added installdir.test.
49 * tests/installdir.test: New file.
51 2001-12-30 Akim Demaille <akim@epita.fr>
53 * lib/am/yacc.am: Also rename the possible y.output file.
54 Remove the trailing y.tab.h.
56 2001-12-30 Paolo Bonzini <bonzini@gnu.org>
58 * automake.texi (Install): Remove mention of nonexistent
61 2001-12-30 Alan Modra <amodra@bigpond.net.au>
63 * automake.in (generate_makefile): Unlink output file before
64 opening so that any hard links are not changed.
66 2001-12-30 Tom Tromey <tromey@redhat.com>
68 * tests/pr220.test: Use `required' to pick up gcc.
71 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
73 * tests/Makefile.am (TESTS): Added pr243.test.
74 * tests/pr243.test: New file.
77 * tests/Makefile.am (TESTS): Added pr220.test.
78 * tests/pr220.test: New file.
79 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
80 fail if conditional was never run.
83 * lib/depcomp (tru64): Correctly handle libtool case.
86 2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
88 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
89 Reported by Yann Droneaud.
91 2001-12-29 Tom Tromey <tromey@redhat.com>
94 * tests/Makefile.am (TESTS): Added pr266.test.
95 * tests/pr266.test: New file.
96 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
97 non-standard name for makefile.
100 * automake.in (conditional_ambiguous_p): New sub.
101 (handle_lib_objects_cond): Use it.
102 (check_ambiguous_conditional): Use it.
103 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
104 * tests/pr279.test: New file.
105 * tests/pr279-2.test: New file.
107 2001-12-26 Tom Tromey <tromey@redhat.com>
110 * tests/Makefile.am (TESTS): Added nodist2.test.
111 * tests/nodist2.test: New file
113 2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
115 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
117 2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
119 * configure.in: Test for Autoconf >= 2.52.
120 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
121 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
122 tests/cond4.test, tests/cond9.test, tests/cond16.test,
123 tests/cond18.test, tests/cond19.test, tests/cond20.test,
124 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
125 tests/depend2.test, tests/dirname.test, tests/distname.test,
126 tests/extra5.test, tests/install2.test, tests/lex3.test,
127 tests/make.test, tests/nobase.test, tests/pr9.test,
128 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
129 tests/subdirbuiltsources.test, tests/subobj3.test,
130 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
131 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
132 tests/yaccvpath.test: Do not use $needs_autoconf.
134 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
136 * configure.in: Bump version to 1.5c.
138 2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
140 * configure.in: Bump version to 1.5b.
142 * lib/config.sub, lib/config.guess: New versions from FSF.
144 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
146 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
148 * automake.in (check_gnu_standards, check_gnits_standards): Pass
149 "$am_file.am" as WHERE argument to require_file.
151 2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
153 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
154 in loop until we find one the satisfies the user supplied version.
155 Add python2 to the list of known interpreters. Don't use
156 changequote. Cache the calculation of PYTHON_VERSION and
158 (AM_PYTHON_CHECK_VERSION): New function, extracted from
159 AM_PATH_PYTHON and modernized.
160 * m4/runlog.m4: New file.
161 * m4/Makefile.am (m4data_DATA): Add it.
163 2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
165 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
166 tests/nobase.test, tests/stamph2.test,
167 tests/subdirbuiltsources.test: Require Autoconf.
169 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
171 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
172 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
173 Suggested by Merijn de Jonge.
175 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
177 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
178 like other ID dependencies.
179 Suggested by Christian Cornelssen.
181 2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
183 * automake.in (handle_dist): Distribute common files which
184 do not exist but are target of a Makefile rule.
185 * automake.texi (Dist): Update.
186 * test/builtcommon3.test: New file.
187 * test/Makefile.am (TESTS): Add distcommon3.test.
189 2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
191 * automake.in (macro_define): Fix misuse of chomp introduced on
194 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
196 * automake.in (append_comments): New. Extracted from
197 read_am_file. Match '\n' with a regexp, don't use substr (the
198 perlport man page says '\n' is not always one byte wide).
199 (read_am_file): Use it. Always chomp $_.
200 (file_contents_internal): Use append_comments.
201 (macro_define): Don't treat the trailing '\n' with substr, use
204 2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
206 * tests/defs: Turn on shell traces when VERBOSE=x.
208 2001-11-26 Tom Tromey <tromey@redhat.com>
210 * automake.texi (Assembly Support): Mention .s and .S as only
213 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
215 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
218 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
220 * tests/lex3.test: Require GNU Make.
222 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
224 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
227 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
229 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
230 in $(srcdir), like other TAGS dependencies.
231 Suggested by Christian Cornelssen.
233 2001-11-26 Akim Demaille <akim@epita.fr>
235 * automake.in (¯o_define): Use $where when reporting an error,
236 not the place where the macro was first defined since (i) if this
237 is the first definition, then obviously it was not defined before,
238 and (ii) anyway, the error is with the new definition, not the
241 2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
243 * lib/am/distdir.am (distcheck): Call distcleancheck.
244 (distcleancheck_listfiles, distcleancheck): New, extracted from
246 * automake.texi (Checking the distribution): Document
247 distcleancheck_listfiles and distcleancheck.
249 2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
251 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
252 foreach invocation, otherwise Perl5.005_03 complains about a
253 syntax error. Reported by Yann Droneaud.
255 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
257 * automake.in (scan_texinfo_file): Suppress FIXME about strange
260 2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
262 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
263 gettext.m4 if required.
265 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
267 * automake.in (define_objects_from_sources,
268 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
269 the equivalant substitution.
271 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
273 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
274 set of accepted characters in extensions.
275 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
277 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
279 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
281 * automake.texi (Suffixes): Don't require SUFFIXES, but document
282 its use for the "extreme" cases.
284 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
286 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
287 to match suffix rules for known extensions, or call
288 accept_extensions on suffixe rules for unknown extensions.
289 (var_SUFFIXES_trigger): New function.
290 (macro_define): Call var_VAR_trigger when $VAR is updated.
291 * tests/suffix6.test, tests/suffix7.test: New files.
292 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
294 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
296 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
298 (handle_single_transform_list, lang_yacc_target_hook): Use
299 KNOWN_EXTENSIONS_PATTERN.
300 (accept_extension): New function.
301 (register_language): Call it.
303 2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
305 At every place where an "$extension" is used, include the leading
306 dot in the extension, don't hardcode it when building the filename.
307 That will make any support for a dot-less extension easier to add.
309 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
311 ("main"): Prepend a '.' to the supported extensions of all
312 languages (e.g. 'c' becomes '.c').
313 (handle_languages, handle_single_transform_list,
314 handle_lib_objects_cond, handle_headers, derive_suffix,
315 rule_define): Do not add a dot
316 before extensions, and include dots in matching groups.
317 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
318 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
319 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
320 (%EXT%%DERIVED-EXT%): ... this.
321 * lib/am/yacc.am: Likewise.
323 2001-11-12 Akim Demaille <akim@epita.fr>
325 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
326 Use `"#"' and `"\""', which
327 Autoconf mode prefers over `'#'' and `'"''.
328 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
329 Rely on AC_MSG 2.50's quotation.
331 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
333 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
335 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
337 * lib/am/distdir.am (distdir): Also look for directory in build
338 directory first. (See 2001-05-14.)
339 * tests/Makefile.am (TESTS): Add extra5.test.
340 * tests/extra5.test: New file.
343 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
345 Fix for distcommon2.test:
346 * automake.in (automake_needs_to_reprocess_all_files): New
348 ("main"): Process all Makefiles a second time if
349 $automake_needs_to_reprocess_all_files is set.
350 (maybe_push_required_file): Return 1 or 0 whether the file is
352 (require_file_internal): Set $automake_needs_to_reprocess_all_files
353 if an added file can't be pushed.
355 * test/distcommon2.test: New file.
356 * test/Makefile.am (TESTS): Add distcommon2.test.
359 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
361 * automake.in (exec_dir_p): Remove. Replace by...
362 (EXEC_DIR_PATTERN):... this.
363 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
365 2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
368 * lib/am/header-vars.am (install_sh_DATA): New.
369 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
370 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
371 of $(INSTALL_DATA) for nobase_ targets.
372 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
373 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
374 * tests/nobase.test (configure.in): Append AC_OUTPUT.
375 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
377 2001-11-08 Akim Demaille <akim@epita.fr>
379 * automake.texi: Remove references to stamp-h.in, which no longer
381 * tests/stamph2.test: Formatting change.
383 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
385 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
386 Don't use -Wno-error.
388 2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
390 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
391 * tests/suffix5.test ($AUTOMAKE): Likewise.
393 2001-11-07 Akim Demaille <akim@epita.fr>
395 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
397 Reported by Jim Meyering.
399 2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
401 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
403 2001-11-05 Paul Eggert <eggert@twinsun.com>
405 * lib/am/distdir.am (am__remove_distdir):
406 New macro. Do not change permission of non-directories.
407 Change only user permission, as there's no point to changing group
409 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
412 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
414 * lib/am/python.am: Cleanup the cleaning section.
415 * automake.texi (Python): Remove documentation for PYCFILES
416 and PYOFILES. Update the first paragraphes.
418 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
420 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
421 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
422 Adjust usage everywhere.
424 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
426 * automake.in (libtool_files, libtool_sometimes, common_files,
427 common_sometimes, config_aux_path): Use qw to simplify definition.
428 (scan_texinfo_file) <clean_suffixes, predefined_index,
429 hidden_index>: Likewise.
430 (scan_autoconf_traces) <traced>: Likewise.
431 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
434 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
436 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
437 derive_suffix. Don't use an hardcoded 'o' for object extensions.
438 (derive_suffix): Accept $OBJ as a second argument, don't
440 * tests/suffix5.test: New test.
441 * tests/Makefile.am (TESTS): Add suffix5.test.
442 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
444 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
446 * automake.in (handle_single_transform_list): Don't call
447 $lang->target_hook for undefinied langages.
448 * tests/suffix4.test: New test.
449 * tests/Makefile.am (TESTS): Add suffix4.test.
450 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
452 2001-11-05 Akim Demaille <akim@epita.fr>
454 * automake.in (@common_sometimes, &handle_configure): No longer
456 * lib/am/remake-hdr.am: Adjust.
457 * tests/confh.test: There is no stamp.hin.
459 2001-11-01 Akim Demaille <akim@epita.fr>
461 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
462 `#line' and multiple inclusion guards.
463 * lib/ylwrap: Remove debugging code.
464 (input_dir, input_rx): Move where used.
465 Use the output file name in `#line'.
467 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
469 * automake.in (transform): Update documentation.
471 2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
473 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
474 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
476 2001-10-30 Akim Demaille <akim@epita.fr>
478 * automake.in (&create): Reinstall.
480 2001-10-30 Akim Demaille <akim@epita.fr>
482 * automake.in (&append_exeext): Use macro_delete.
484 2001-10-30 Akim Demaille <akim@epita.fr>
486 * automake.in ($verbose): Remove, inherited from
488 (&variable_delete): Rename as...
489 (¯o_delete): this, for consistency.
490 (&variable_assert): New.
491 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
494 2001-10-29 Akim Demaille <akim@epita.fr>
496 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
497 cluttering configure's stdout.
499 2001-10-28 Akim Demaille <akim@epita.fr>
501 * automake.in: Various formatting changes.
502 (create): Remove, unused.
504 2001-10-28 Akim Demaille <akim@epita.fr>
506 * automake.in (&append_exeext): New.
507 (&am_primary_prefixes): Use it.
509 2001-10-28 Akim Demaille <akim@epita.fr>
511 * automake.in (am_primary_prefixes): Now, in accordance with its
512 comment, return the list of prefixes actually used, not all the
513 possible prefixes for a primary.
514 (&handle_libraries, &handle_ltlibraries, &handle_java)
515 (&am_install_var): Adjust.
516 * Makefile.am (maintainer-check): Allow `local $_;'.
518 2001-10-28 Akim Demaille <akim@epita.fr>
520 * automake.in: Various formatting changes.
521 (&variable_defined): Second argument is optional.
523 2001-10-28 Akim Demaille <akim@epita.fr>
525 * automake.in (&am_primary_prefixes): Now returns a list, not a
527 (&handle_libraries, &handle_ltlibraries, &handle_java)
528 (&am_install_var): Adjust.
530 2001-10-28 Akim Demaille <akim@epita.fr>
532 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
534 (@libtool_files, @libtool_sometimes): these.
535 ($libtool_location): Remove, completely replaced by $seen_libtool.
536 (&require_file_internal): Do not run libtoolize, that's
539 2001-10-28 Akim Demaille <akim@epita.fr>
541 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
542 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
543 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
544 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
545 * tests/conf2.test, tests/config.test, tests/depcomp.test,
546 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
547 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
548 * tests/libobj8.test, tests/output.test, tests/output2.test,
549 * tests/output3.test, tests/output4.test, tests/output5.test,
550 * tests/pr2.test, tests/remake.test, tests/remake2.test,
551 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
552 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
553 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
556 2001-10-28 Akim Demaille <akim@epita.fr>
558 * automake.in (&scan_autoconf_traces): Use eq for equality.
561 (&initialize_per_input): Don't initialize several times the same
564 2001-10-28 Akim Demaille <akim@epita.fr>
566 * automake.in (scan_one_autoconf_file): When using %generalize, be
567 sure to replace only words. AC_FUNC_OBSTACK was matching
570 2001-10-26 Akim Demaille <akim@epita.fr>
572 * tests/stamph2.test: Strengthen.
573 * tests/confh2.test, tests/confh3.test: Remove.
574 These are bad tests: they don't check the effects, but some
575 internal details in Makefile.
576 And they are covered by stamph2.test.
578 2001-10-26 Akim Demaille <akim@epita.fr>
580 Now that stamp-h's are created by config.status, we don't need to
581 handle them in Makefile's.
583 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
584 * m4/header.m4 (_AM_STAMP): New.
585 (_AM_CONFIG_HEADER): Use it.
587 2001-10-26 Akim Demaille <akim@epita.fr>
589 * automake.in (&generate_makefile, &handle_texinfo_helper)
590 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
591 (&define_pretty_variable, &read_am_file, &file_contents_internal)
592 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
593 `join (' ', @list)' into `"@list"'.
595 2001-10-26 Akim Demaille <akim@epita.fr>
597 * automake.in (@config_fullnames, @config_names): Remove.
598 (@config_headers): Now contains the actual spec used in
600 (&split_config_file_spec): New.
601 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
602 (&scan_one_autoconf_file): Adjust.
603 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
606 2001-10-26 Akim Demaille <akim@epita.fr>
608 * m4/header.m4 (_AM_CONFIG_HEADER): New.
609 (AM_CONFIG_HEADER): Use it.
611 2001-10-26 Akim Demaille <akim@epita.fr>
613 * automake.in (&handle_configure): Use the config.status 2.50
614 invocation syntax for config files and headers.
615 autoheader needs the name of the file to create, not from what it
616 must be created, hence CONFIG_HEADER_FULL is $one_name, not
618 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
619 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
621 Strengthen: Use the non-default config.hin source.
622 Strengthen: Make sure config.h is properly updated when config.hin
625 2001-10-26 Akim Demaille <akim@epita.fr>
627 * automake.in (&handle_configure): Seeing Automake files in
628 @other_input_files is a programming error, not merely something to
630 Factor slightly the code.
632 2001-10-26 Akim Demaille <akim@epita.fr>
634 * automake.in ($canonical_location): New.
636 (&require_config_file, $line_error): Remove.
638 2001-10-24 Akim Demaille <akim@epita.fr>
640 * automake.in: Use &verbose.
641 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
644 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
646 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
647 Have the basename step optional and use %NDIR% instead of %DIR% in
648 filenames in order to support 'nobase_'.
650 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
652 * automake.in (handle_languages, handle_single_transform_list,
653 lang_c_rewrite): Use require_conf_file instead of
654 require_config_file to require depcomp or compile from
655 Makefile.am. (This is a part of my patch of 2001-10-15 which got
656 mistakenly reverted.)
658 2001-10-24 Akim Demaille <akim@epita.fr>
660 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
663 2001-10-24 Akim Demaille <akim@epita.fr>
665 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
666 appear in Makefile.in in the clean rule.
668 * tests/cxxansi.test: Adjust.
670 2001-10-24 Akim Demaille <akim@epita.fr>
672 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
673 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
675 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
676 (&conf_error, &file_warning): these.
677 (&file_warning): Fix the prototype and argument handling.
678 (&am_line_warning): Remove, unused.
680 Also, repair the misapplication of previous patches.
682 2001-10-21 Akim Demaille <akim@epita.fr>
684 * automake.in ($ac_output_location): Replace with...
685 ($ac_config_files_location): this.
686 (&scan_autoconf_traces): We don't need $file and $line, $here is
688 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
689 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
691 2001-10-21 Akim Demaille <akim@epita.fr>
693 * automake.in (&require_file_with_macro): Use &require_file.
694 (&read_am_file): Move the definition of $here at its proper place.
696 2001-10-21 Akim Demaille <akim@epita.fr>
698 * automake.in ($libtool_line, $seen_pythondir): Replace with...
699 ($libtool_location, $pythondir_location): these.
700 (&require_conf_file_with_line, &require_conf_file_with_line):
702 (&require_file): Don't forget $where.
703 (&require_conf_file): Ahem... Fix the name.
704 (&require_config_file): Invoke &require_conf_file, not yourself.
705 (&am_line_error): Fix the default am_file_error invocation.
707 2001-10-21 Akim Demaille <akim@epita.fr>
709 * automake.in ($seen_lispdir): Replace with...
710 ($am_lispdir_location): this.
711 (&require_conf_file): New.
712 (&require_config_file, &require_conf_file_with_line,
713 (&require_conf_file_with_conf_line): Use it.
714 (&require_conf_file_with_macro): New.
716 2001-10-21 Akim Demaille <akim@epita.fr>
718 * automake.in ($config_header_line, $ac_output_line)
719 ($ac_gettext_line, $package_version_line): Replace with...
720 ($config_header_location, $ac_output_location)
721 ($ac_gettext_location, $package_version_location): these.
722 (&require_file_with_conf_line, &require_file_with_line): Remove,
725 2001-10-21 Akim Demaille <akim@epita.fr>
727 * automake.in (&require_file_internal): Instead of $file and $line,
728 take $where as first argument.
730 (&require_file_with_macro): New.
731 Use it where internal black magic was used to recover the location
732 of a macro definition.
734 2001-10-21 Akim Demaille <akim@epita.fr>
736 * automake.in (&read_am_file): Define and use `$here'.
737 Avoid using am_line_error.
739 2001-10-21 Akim Demaille <akim@epita.fr>
741 * automake.in (&am_target_error): New.
742 Use it where appropriate instead of...
743 (&am_line_error): this.
744 Using it for a target is a croak error.
746 2001-10-21 Akim Demaille <akim@epita.fr>
748 * automake.in (&am_macro_error): New.
749 Use it where appropriate instead of...
750 (&am_line_error): this.
751 Using it for a macro is a croak error.
753 2001-10-21 Akim Demaille <akim@epita.fr>
755 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
756 AC_OUTPUT a Makefile.
758 2001-10-21 Akim Demaille <akim@epita.fr>
760 * automake.in (%var_line): Rename as...
761 (%var_location): this.
762 Use it consistently as the location where the macro is defined,
763 file and line when possible, otherwise just file.
764 (&read_am_file): Rules have their own location tracking, don't
765 pollute %var_location.
767 2001-10-21 Akim Demaille <akim@epita.fr>
769 * automake.in (am_line_error): Clarify.
771 2001-10-21 Akim Demaille <akim@epita.fr>
773 * automake.in (&am_print_error): Set $exit_status since all your
775 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
777 (&am_conf_line_error, &am_conf_line_warning): Remove.
778 Adjust callers to use &am_file_error and...
779 (&am_file_warning): new.
781 2001-10-21 Akim Demaille <akim@epita.fr>
783 * m4/regex.m4: Use AC_LIBOBJ.
784 Require 2.50, and use AC_LIBSOURCES freely.
785 * tests/asm.tests: Formatting changes.
788 2001-10-21 Akim Demaille <akim@epita.fr>
790 * tests/install.test: This test is an empty shell, do not run
792 * tests/Makefile.am (TESTS): Don't run it.
793 * tests/defs (ACLOCAL): When using gettext, pass in the installed
795 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
797 * tests/obsolete2.test: Remove, merged into...
798 * tests/obsolete.test: here.
799 Both aclocal and automake should complain.
801 2001-10-21 Akim Demaille <akim@epita.fr>
803 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
804 for symbols which cannot be Make macro names.
805 (scan_one_autoconf_file): `$here' is new.
806 Use it consistently instead of `1' to remember a token was seen.
808 2001-10-21 Akim Demaille <akim@epita.fr>
810 * tests/subdircond.test: Requires gettext.
811 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
812 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
813 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
814 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
815 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
816 Produce valid configure.in, use aclocal appropriately, declare
817 when libtool is required.
819 2001-10-21 Akim Demaille <akim@epita.fr>
821 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
822 * automake.texi (Macros, Yacc and Lex): Adjust.
823 * automake.in ($seen_decl_yytext): Rename as...
824 ($seen_prog_lex): this.
825 (&scan_autoconf_traces): Add AC_PROG_LEX support.
826 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
828 2001-10-21 Akim Demaille <akim@epita.fr>
830 * automake.in (&scan_autoconf_traces): Add support for
831 AM_PATH_LISPDIR and AM_PATH_PYTHON.
833 2001-10-21 Akim Demaille <akim@epita.fr>
835 * tests/defs (ACLOCAL): Point to the installed aclocaldir if
837 * tests/lex.test: Run AC_INIT once.
838 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
840 * tests/header.test: Build a correct configure.in.
841 * tests/defun2.test (configure.in): Be a bit respectful with
842 Autoconf, close the macro invocations.
843 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
846 * automake.in (scan_autoconf_traces): Add support for
847 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
848 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
849 * tests/condincl.test (target): Better pattern, to avoid matching
850 the definition of `target_alias' which is now properly discovered
851 as an AC_SUBST by traces.
852 * cond4.test: Better grep pattern: After all, why shouldn't
853 TWO_FALSE be AC_SUBST properly.
854 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
856 2001-10-20 Kevin Ryde <user42@zip.com.au>
858 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
859 actually using ansi2knr.
861 * automake.in (handle_configure): Always put a number on $stamp_name,
862 to match AM_CONFIG_HEADER.
864 2001-10-20 Tom Tromey <tromey@redhat.com>
866 * tests/Makefile.am (TESTS): Added condd.test.
867 (XFAIL_TESTS): Added condd.test.
868 * tests/condd.test: New file.
870 2001-10-20 Akim Demaille <akim@epita.fr>
872 * automake.in (&scan_autoconf_traces): Add support for
873 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
875 * tests/alpha.test (configure.in): Automake wants a Makefile.
877 2001-10-20 Akim Demaille <akim@epita.fr>
879 * automake.in (scan_autoconf_traces): Use an unlikely to be used
880 separator between trace arguments, in particular not `:' as it is
881 within AC_CONFIG_FILES's $1.
883 2001-10-20 Akim Demaille <akim@epita.fr>
885 * tests/alpha.test (configure.in): Create, don't append. A single
888 2001-10-20 Akim Demaille <akim@epita.fr>
890 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
891 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
892 * tests/alpha.test, tests/ansi.test, tests/asm.test,
893 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
894 * tests/badline.test, tests/block.test, tests/canon2.test,
895 * tests/check.test, tests/checkall.test, tests/clean.test,
896 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
897 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
898 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
899 * tests/comment.test, tests/comment3.test, tests/cond.test,
900 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
901 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
902 * tests/condman2.test, tests/confdist.test, tests/confh.test,
903 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
904 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
905 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
906 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
907 * tests/else.test, tests/empty.test, tests/exdir.test,
908 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
909 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
910 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
911 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
912 * tests/include.test, tests/info.test, tests/insh.test,
913 * tests/insh2.test, tests/install.test, tests/installsh.test,
914 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
915 * tests/insthook.test, tests/instman.test, tests/instman2.test,
916 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
917 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
918 * tests/man.test, tests/mclean.test, tests/mdate.test,
919 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
920 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
921 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
922 * tests/outdir.test, tests/output.test, tests/output2.test,
923 * tests/output3.test, tests/output4.test, tests/output5.test,
924 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
925 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
926 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
927 * tests/primary.test, tests/proginst.test, tests/python.test,
928 * tests/remake.test, tests/remake2.test, tests/remake3.test,
929 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
930 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
931 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
932 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
933 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
934 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
935 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
936 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
937 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
938 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
939 * tests/version.test, tests/version2.test, tests/version3.test,
940 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
941 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
943 2001-10-20 Akim Demaille <akim@epita.fr>
945 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
946 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
947 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
948 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
949 * tests/conf2.test, tests/confh.test, tests/confh2.test,
950 * tests/confh3.test, tests/confh4.test, tests/config.test,
951 * tests/confsub.test, tests/depend3.test, tests/discover.test,
952 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
953 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
954 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
955 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
956 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
957 * tests/output.test, tests/output2.test, tests/output3.test,
958 * tests/output4.test, tests/output5.test, tests/package.test,
959 * tests/parse.test, tests/pr2.test, tests/remake.test,
960 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
961 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
962 * tests/subdir4.test, tests/subdirbuiltsources.test,
963 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
964 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
965 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
966 since AM_INIT_AUTOMAKE requires them.
968 2001-10-20 Akim Demaille <akim@epita.fr>
970 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
972 Don't run AC_ARG_PROGRAM another time, it is required by
974 * tests/aclocal.test: Work on the default configure.in
975 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
976 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
978 Be realistic in testing: AC_INIT is required for Autoconf.
979 Broken so called optimized tests break trace handling.
981 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
982 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
983 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
984 * tests/colon.test, tests/colon2.test, tests/colon3.test,
985 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
986 * tests/colon7.test, tests/cond.test, tests/cond2.test,
987 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
988 * tests/confh.test, tests/confh2.test, tests/confh3.test,
989 * tests/confh4.test, tests/config.test, tests/confsub.test,
990 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
991 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
992 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
993 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
994 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
995 * tests/libobj9.test, tests/output.test, tests/output2.test,
996 * tests/output3.test, tests/output4.test, tests/parse.test,
997 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
998 * tests/remake.test, tests/remake2.test, tests/remake3.test,
999 * tests/req.test, tests/scripts.test, tests/subdir.test,
1000 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1001 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1002 * tests/version2.test: Add AC_INIT in `configure.in'.
1004 2001-10-20 Akim Demaille <akim@epita.fr>
1006 * automake.in (&scan_autoconf_traces): Add support for
1007 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1008 Let @args have a more natural M4 correspondence: $1 is args[1], no
1010 (&scan_autoconf_files): Using autoconf traces is no longer a
1011 complement of the previous ad hoc scheme: use either.
1013 2001-10-20 Akim Demaille <akim@epita.fr>
1015 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1016 factors dedicated $libsources assignments.
1018 2001-10-20 Akim Demaille <akim@epita.fr>
1020 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1021 Remove, since Autoconf 2.52 has them.
1022 * automake.in, aclocal.in, automake.texi: Adjust.
1024 2001-10-19 Akim Demaille <akim@epita.fr>
1026 * automake.in (&read_main_am_file): s/generated automatically/
1028 Insert @configure_input@, since 2.50 no longer output this
1029 automatically for Makefiles.
1031 2001-10-19 Kevin Ryde <user42@zip.com.au>
1033 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1034 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1036 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1038 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1039 * tests/nobase.test: New file. Based on a bug report
1040 from Martin Frydl <martin@idoox.com>.
1042 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1044 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1045 this with $nodir_name only. Use $nodir_name where appropriate.
1047 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1049 * automake.in (handle_languages, handle_single_transform_list,
1050 lang_c_rewrite): Use require_conf_file instead of
1051 require_config_file to require depcomp or compile from Makefile.am.
1052 (require_aux_file_with_line): New function, adapted from
1053 require_conf_gile_with_line.
1054 (require_conf_file_with_line, require_conf_file_with_conf_line):
1055 Simplify using require_aux_file_with_line.
1056 (require_config_file): Simplify using require_conf_file_with_conf_line.
1057 (require_conf_file): New function.
1059 2001-10-15 Akim Demaille <akim@epita.fr>
1061 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1062 normally, what is wrong is that automake outputs a variable
1063 definition for it, hence...
1064 * automake.in (scan_one_autoconf_file): don't.
1066 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1068 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1069 Use AC_CONFIG_COMMANDS.
1070 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1072 2001-10-15 Akim Demaille <akim@epita.fr>
1074 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1076 2001-10-15 Akim Demaille <akim@epita.fr>
1078 * automake.in (&variable_conditions): Be deterministic and Perl
1079 version independent: sort the result.
1080 (&variable_output, &variable_pretty_output): Sort all the @conds,
1081 not only when defaulted.
1082 * tests/cond3.test: Adjust.
1084 2001-10-15 Akim Demaille <akim@epita.fr>
1086 * automake.in: Formatting changes.
1088 2001-10-15 Akim Demaille <akim@epita.fr>
1090 * aclocal.in: Use Automake::General and Automake::XFile.
1091 Use find_configure_ac.
1092 Output the Emacs tags for Autoconf mode selection.
1094 2001-10-10 Akim Demaille <akim@epita.fr>
1096 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1099 2001-10-09 Akim Demaille <akim@epita.fr>
1101 Do not use Autoconf internals.
1103 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1104 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1105 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1106 macro in GNU M4 1.5.
1108 2001-10-08 Akim Demaille <akim@epita.fr>
1110 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1113 2001-10-05 Akim Demaille <akim@epita.fr>
1115 * automake.in (scan_autoconf_files): Use find_configure_ac from
1118 2001-10-02 Akim Demaille <akim@epita.fr>
1120 * lib/Automake/Struct.pm: Update from Autoconf.
1121 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1123 * automake.in: Use them.
1124 (&uniq, $me): Remove, as they are provided by Automake::General.
1126 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1128 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1129 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1130 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1131 * lib/am/distdir.am (distcheck): Likewise.
1132 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1133 using cd so we don't have to fiddle with CDPATH.
1134 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1135 DOSish path separator.
1137 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1139 * lib/am/python.am (install-%DIR%PYTHON,
1140 uninstall-%DIR%PYTHON): Strip path of source file.
1141 (clean-python): Comment out.
1143 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1145 * automake.in (handle_python): Use require_conf_file_with_conf_line
1146 instead of require_file_with_conf_line, so that elisp-comp and
1147 py-compile are installed in the aux-directory.
1148 (handle_emacs_lisp): Likewise. Define elisp_comp.
1149 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1151 2001-10-01 Akim Demaille <akim@epita.fr>
1153 * lib/am/distdir.am (distcheck): Report the trailing files.
1154 Run `dist-gzip', not `dist', as it may leave other distribution
1157 2001-09-29 Paul Eggert <eggert@twinsun.com>
1159 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1160 bugs when making file names with unusual characters. Quote chmod
1161 arg "$dirmode", in case it contains white space.
1163 Incorporate the following change from autoconf mkinstalldirs:
1165 1999-04-10 Ben Elliston <bje@cygnus.com>
1167 Add `-m' flag to specify the mode of a newly created
1168 directory. Add command line usage and `-h', `--help' options.
1169 Contributed by Jeff Garzik.
1171 2001-09-27 Akim Demaille <akim@epita.fr>
1173 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1175 2001-09-27 Akim Demaille <akim@epita.fr>
1177 * lib/am/distdir.am (dist): Rename as...
1179 (dist): Additional name for dist-all.
1180 * automake.texi (Options, Dist): Adjust.
1182 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1184 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1185 * automake.in (obsolete_macros): Likewise.
1186 (seen_objext): Remove (unused).
1187 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1188 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1189 PATH_SEPARATOR): New variables.
1190 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1192 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1194 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1195 neutralize CDPATH for us.
1196 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1197 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1200 2001-09-22 Akim Demaille <akim@epita.fr>
1202 * configure.in, NEWS: Bump to 1.5a.
1205 2001-09-22 Paul Eggert <eggert@twinsun.com>
1207 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1208 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1209 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1210 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1211 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1212 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1213 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1214 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1215 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1216 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1218 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1219 which has a copyright notice.
1221 * m4/strtod.m4: Correct the dates on the copyright notice.
1223 2001-09-17 Akim Demaille <akim@epita.fr>
1225 * lib/missing (autom4te): New.
1226 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1229 2001-08-27 Tom Tromey <tromey@redhat.com>
1231 * automake.texi (A Shared Library): Clarify installation
1233 (Install): Typo. From Adrian Bunk.
1235 2001-08-27 Tom Tromey <tromey@redhat.com>
1237 * automake.texi (Macros): Typo fix.
1238 From Christian Cornelssen
1240 2001-08-27 Tom Tromey <tromey@redhat.com>
1242 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1243 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1244 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1245 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1246 tests/substref.test: Clear CFLAGS.
1248 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1249 From Alexey Mahotkin.
1251 2001-08-27 Tom Tromey <tromey@redhat.com>
1253 * tests/yacc7.test: Use test -f, not test -e.
1255 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
1257 * automake.texi (etags): Typo fix.
1259 2001-08-27 Guido Draheim <guidod@gmx.de>
1261 * automake.in : restrict ansi2knr option to be a filepath
1263 2001-08-23 Richard Boulton <richard@tartarus.org>
1265 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1267 2001-08-22 Tom Tromey <tromey@redhat.com>
1269 * automake.texi (Conditionals): Mention that conditionals must
1270 always be invoked. For PR automake/220.
1272 2001-08-22 Richard Boulton <richard@tartarus.org>
1273 Tom Tromey <tromey@redhat.com>
1275 * automake.in (lang_yacc_target_hook): Make header file depend on
1276 .c file, not .y file.
1277 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1278 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1279 * tests/yacc7.test: New file.
1280 * tests/Makefile.am (TESTS): Added yacc7.test.
1282 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1284 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1286 2001-08-18 Tom Tromey <tromey@redhat.com>
1288 * automake.texi (Dist): Mention dist-all.
1290 2001-08-18 Tom Tromey <tromey@redhat.com>
1292 * tests/cond3.test: Use portable sed expression.
1293 From Richard Boulton.
1295 2001-08-13 Richard Boulton <richard@tartarus.org>
1297 * automake.in (handle_source_transform): Call
1298 define_objects_from_sources() instead of calling
1299 variable_value_as_list(), handle_single_transform_list() and
1300 define_pretty_variable() directly.
1301 (handle_single_transform_list): Add $topparent parameter, used for
1302 error messages. Improved error message.
1303 (define_objects_from_sources): New function.
1304 (subobjname): New function.
1305 (variable_conditions_recursive): New name for variable conditions.
1306 (variable_value_as_list_recursive): New name for variable_value_as_list.
1307 (variable_value_as_list_worker): Renamed to ...
1308 (variable_value_as_list_recursive_worker): ... this.
1309 (variable_conditions_sub): Renamed to ...
1310 (variable_conditions_recursive_sub): ... this.
1311 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1312 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1313 (substfroms): New global.
1314 (substtos): New global.
1315 (substnums): New global.
1316 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1317 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1318 * tests/sourcesub2.test: New test.
1319 * tests/Makefile.am (TEST): Added sourcesub2.test.
1321 2001-08-11 Tom Tromey <tromey@redhat.com>
1323 * configure.in: Upped to 1.4s.
1325 2001-08-09 Richard Boulton <richard@tartarus.org>
1327 * automake.in (handle_single_transform_list): Use new global,
1328 `%linkers_used', to store the linkers used, rather than an internal
1329 variable. Enables correct linker to be calculated across a group
1330 of calls to &handle_single_transform_list. Return only list of
1331 objects, since linker to be used is now externally determined.
1332 (handle_source_transform): adapted for new calling conventions of
1333 handle_single_transform_list. Calls resolve_linker() on a set of
1334 all the linkers used for any prefix, rather than for each prefix in
1336 (linkers_used): New global.
1337 * tests/link_dist.test: New test.
1338 * tests/Makefile.am (TESTS): Added link_dist.test.
1340 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1342 Dissociate testsuite 'make' invocations from outer 'make'.
1343 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1344 environment variables.
1345 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1347 * tests/substref.test: Likewise.
1349 2001-08-08 Richard Boulton <richard@tartarus.org>
1351 * tests/cond18.test: New file.
1352 * tests/cond19.test: New file.
1353 * tests/cond20.test: New file.
1354 * tests/cond4.test: Updated to check the generated _OBJECTS more
1356 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1359 2001-08-08 Richard Boulton <richard@tartarus.org>
1361 * automake.in (file_contents_internal): if a rule is conditionally
1362 defined, define the standard automake definition for it for those
1363 conditions which are not conditionally defined.
1364 (invert_conditions): New function: invert a list of conditionals.
1366 * tests/cond14.test: New file.
1367 * tests/cond15.test: New file.
1368 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1370 2001-08-05 Tom Tromey <tromey@redhat.com>
1372 * tests/Makefile.am (TESTS): Added dejagnu2.test.
1373 * tests/dejagnu2.test: New file.
1374 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1375 * automake.in (handle_scripts): Removed dead code.
1376 (handle_tests_dejagnu): Don't handle site.exp generation
1379 2001-08-04 Richard Boulton <richard@tartarus.org>
1381 * tests/cond17.test: New file: test for being able to define an
1382 object to be generated in different ways according to a
1384 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1385 (TESTS): Added cond17.test.
1387 2001-08-02 Richard Boulton <richard@tartarus.org>
1389 * automake.in (variable_conditions_sub): Handle variable
1390 substitution refs when computing conditions based on subvariable
1391 conditions. Fixes substitution refs of system variables when sub
1392 variable is conditional.
1393 (SUBST_REF_PATTERN): New global.
1394 * tests/cond16.test: New file: regression test for variable
1396 * test/Makefile.am (TESTS): Added cond16.test.
1398 2001-08-03 Tom Tromey <tromey@redhat.com>
1400 * tests/substref.test: Require GNU make; backed out previous
1403 * tests/substref.test: Handle entering/leaving directory
1406 2001-08-03 Richard Boulton <richard@tartarus.org>
1408 * automake.in (value_to_list): Check for whether $from is defined,
1409 rather than whether it is true, so that empty $froms are allowed in
1410 substitution reference patterns.
1412 * tests/substref.test: New file: test behavior of substitution
1413 references when the $from side of the substitution is empty.
1414 * tests/Makefile.am (TESTS): Added substref.test.
1416 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
1418 * m4/install-sh.m4: New file.
1419 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
1420 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
1421 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
1422 for install.sh any longer, always use install-sh, don't even
1423 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
1424 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
1426 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
1428 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
1430 * automake.texi (EXEEXT): Clarify.
1432 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1434 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
1436 * m4/auxdir.m4: More comments.
1438 2001-07-31 Richard Boulton <richard@tartarus.org>
1439 Raja R Harinath <harinath@cs.umn.edu>
1441 * automake.in (variable_conditions_sub): Remove @parent_conds
1442 argument. This was old logic - duplicate or impossible
1443 conditionals are removed later by &variable_conditions_reduce().
1444 Fixes tests/cond13.test.
1445 (conditionals_true_when): Removed.
1446 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
1448 2001-07-31 Tom Tromey <tromey@redhat.com>
1450 * tests/Makefile.am (TESTS): Added cond13.test.
1451 (XFAIL_TESTS): Likewise.
1452 * tests/cond13.test: New file.
1454 * configure.in: Upped to version 1.4k.
1456 * configure.in: Released 1.4j.
1458 * lib/config.guess: Updated from master sources.
1459 * lib/config.sub: Likewise.
1461 2001-07-30 Tom Tromey <tromey@redhat.com>
1463 * automake.texi (A Program): Typo. Added subsections and more
1464 text about conditional compilation.
1465 (A Shared Library): Moved earlier.
1466 (Program variables): Updated LINK text. Added AM_CFLAGS.
1467 (C++ Support): Added AM_CXXFLAGS.
1468 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
1471 * tests/Makefile.am (TESTS): Added aclibobj.test.
1472 * tests/aclibobj.test: New file.
1473 * automake.in (handle_lib_objects_cond): Avoid undefined variable
1475 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
1477 * automake.texi (Dist): Mention other distribution types.
1480 2001-07-29 Tom Tromey <tromey@redhat.com>
1482 * automake.texi (Program and Library Variables): Texinfo fix.
1483 From Alexey Mahotkin.
1485 2001-07-28 Tom Tromey <tromey@redhat.com>
1487 * automake.texi (Strictness): Mention Cygnus mode.
1489 (Uniform): Likewise.
1490 (Canonicalization): Likewise.
1491 (Install): Add `nobase_' to example; typo fix.
1493 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
1495 (Options): Texinfo fixes; some text updates.
1498 2001-07-27 Tom Tromey <tromey@redhat.com>
1500 * automake.texi (Invoking Automake): Document --Werror and
1503 2001-07-26 Tom Tromey <tromey@redhat.com>
1505 * tests/nolink.test: Added no-exeext.
1507 * automake.in (check_variable_defined_unconditionally): Don't call
1510 * automake.texi (Optional): Don't mention ALL_LINGUAS.
1511 (gettext): Likewise.
1512 * automake.in (seen_linguas, all_linguas, all_linguas_line):
1514 (handle_gettext): Don't do any checking of the languages.
1515 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
1517 * automake.in (am_print_error): New function.
1519 (am_file_error): Likewise.
1520 (am_line_error): Likewise.
1521 (am_conf_error): Likewise.
1522 (am_conf_line_error): Likewise.
1524 * automake.texi (Options): Document no-exeext.
1525 * automake.in (handle_options): Recognize no-exeext.
1526 (rule_define): Handle no-exeext.
1527 * tests/Makefile.am (TESTS): Added new file.
1528 * tests/exeext2.test: New file.
1530 * automake.in (make_input_list): Removed.
1531 (scan_autoconf_config_files): Don't add to make_input_list.
1532 (scan_one_autoconf_file): Don't use make_input_list.
1533 (scan_autoconf_files): Use make_list, not make_input_list.
1534 (scan_autoconf_files): Likewise.
1536 * automake.in (seen_exeext): Removed.
1537 (generate_makefile): Don't define EXEEXT or OBJEXT.
1538 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
1539 (am_install_var): Don't check $seen_exeext.
1540 (handle_programs): Likewise.
1541 (rule_define): Allow x to override x$(EXEEXT), for now.
1542 (file_contents_internal): Only define rule if rule_define allows
1544 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
1546 2001-07-25 Tom Tromey <tromey@redhat.com>
1549 * tests/pr9.test: Require GNU make.
1550 * tests/dirname.test: Don't use `-u'.
1552 2001-07-22 Tom Tromey <tromey@redhat.com>
1554 * tests/Makefile.am (TESTS): Added auxdir2.test.
1555 (XFAIL_TESTS): Likewise.
1556 * tests/auxdir2.test: New file.
1558 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
1559 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
1561 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
1562 * automake.in (am_install_var): Add $(EXEEXT) even if program name
1563 holds `.'. Don't add $(EXEEXT) if program name already has it.
1564 (handle_programs): Don't add $(EXEEXT) if user already did.
1565 (make_paragraphs): Don't compute EXEEXT.
1567 * tests/Makefile.am (TESTS): Added exeext.test.
1568 (XFAIL_TESTS): Likewise.
1569 * tests/exeext.test: New file.
1571 2001-07-22 Tom Tromey <tromey@redhat.com>
1573 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
1574 `prog.exe' on Cygwin with libtool. From Robert Collins.
1576 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1578 * tests/dirname.test: Explicitly use $SHELL to run the
1579 script; this avoids failures on DJGPP.
1580 * tests/install2.test: Skip if 'chmod 000' doesn't make
1583 2001-07-21 Tom Tromey <tromey@redhat.com>
1585 * tests/libtool2.test: Check for libtoolize.
1587 * tests/Makefile.am (TESTS): Added substtarg.test.
1588 (XFAIL_TESTS): Likewise.
1589 * tests/substtarg.test: New file.
1591 * automake.in (handle_dist): Handle case where aux dir doesn't
1592 have a Makefile. Fixes depdist.test.
1593 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
1594 * tests/depdist.test: Look for config/depcomp.
1596 * tests/Makefile.am (TESTS): Added depdist.test.
1597 (XFAIL_TESTS): Likewise.
1598 * tests/depdist.test: New file. From Eric Magnien.
1600 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
1601 AC_PROG_CC_C_O does require AC_PROG_CC.
1604 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
1606 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
1607 output is suitable for make.
1609 * automake.texi (Macros): Document AM_PROG_AS.
1610 (Assembly Support): New node.
1611 * m4/Makefile.am (m4data_DATA): Added as.m4.
1612 * m4/as.m4: New file.
1614 * automake.texi (Tags): Added uref to global tags.
1616 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1618 * automake.in (handle_single_transform_list): Use $(DEPDIR)
1619 instead of hardcoding '.deps'.
1620 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
1622 2001-07-20 Derek Price <dprice@collab.net>
1624 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
1626 * tests/dirname.test: New test.
1627 * tests/stamph2.test: New test.
1628 * tests/Makefile.am: Add new tests.
1629 * tests/Makefile.in: Regenerated.
1631 2001-07-19 Tom Tromey <tromey@redhat.com>
1633 * automake.texi (Tags): Document GTAGS_ARGS.
1634 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1636 2001-07-19 Tom Tromey <tromey@redhat.com>
1637 Alexandre Duret-Lutz <duret_g@epita.fr>
1639 Fix for ccnoco.test, subobj8.test:
1640 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1641 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1643 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1644 Use AM_AUX_DIR_EXPAND.
1645 * lib/compile: Handle case where `-o' argument is the name of an
1646 executable, not an object file.
1647 * m4/auxdir.m4: New file, from...
1648 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1649 * automake.in (handle_single_transform_list, lang_c_rewrite):
1650 Require compile using `require_config_file'.
1652 2001-07-19 Tom Tromey <tromey@redhat.com>
1654 * automake.texi (Program and Library Variables): Added X example
1657 2001-07-19 Tom Tromey <tromey@redhat.com>
1659 * automake.texi (Distributing): Updated to reflect new license.
1661 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1663 * automake.in (require_build_directory): New function, extracted
1665 (handle_single_transform_list): ... here.
1666 (require_build_directory_maybe): New function.
1667 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1668 require_build_directory_maybe() to ensure the subdirectory
1669 in which a target may lie will exist when the target is created.
1670 (handle_libraries, handle_ltlibraries): Use basename before
1671 checking library name.
1672 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1673 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1674 * lib/am/program.am (%PROGRAM%): Likewise.
1676 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1678 * m4/missing.m4: Reword comment.
1680 2001-07-18 Pavel Roskin <proski@gnu.org>
1682 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1683 * tests/gcj.test: Likewise.
1684 * tests/gcj2.test: Likewise.
1685 * tests/gcj3.test: Likewise.
1687 2001-07-18 Tom Tromey <tromey@redhat.com>
1689 * lib/compile: Change how lockdir is computed. If linking or
1690 compiling without `-o', just run the compiler.
1692 * tests/Makefile.am (TESTS): Added ccnoco.test.
1693 (XFAIL_TESTS): Likewise.
1694 * tests/ccnoco.test: New file.
1696 2001-07-17 Tom Tromey <tromey@redhat.com>
1698 * lib/ylwrap: Added special exception.
1699 * lib/py-compile: Added license.
1700 * lib/mdate-sh: Added special exception.
1701 * lib/elisp-comp: Added special exception.
1702 * lib/compile: Added special exception.
1703 * lib/depcomp: Added special exception.
1705 Report from Motoyuki Kasahara:
1706 * tests/make.test: Use am__include.
1707 * tests/exsource.test: Use am__include.
1708 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1709 * automake.in (handle_languages): Use am__include and am__quote.
1711 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1712 * m4/init.m4: Updated callers.
1714 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1716 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1717 * aclocal.in (scan_configure, add_file): Handle the full macro
1718 name even if it contains numbers, such as I18N.
1720 2001-07-16 Tom Tromey <tromey@redhat.com>
1722 * automake.texi (Dependencies): Link to dependency tracking page.
1723 (Data): Mention dist_.
1724 (Clean): Mention clean heuristics.
1725 (Install): Mention nobase_.
1727 * automake.texi (Program and Library Variables): Document _LINK.
1729 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1731 * automake.in (handle_libraries): Allow libraries to lie in
1732 a subdirectory by constraining only the basename to start
1733 with 'lib', not the whole path.
1735 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1737 * tests/subobj8.test: New file.
1738 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1740 2001-07-16 Tom Tromey <tromey@redhat.com>
1742 Fix for PR automake/212:
1743 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1744 (uninstall-%DIR%LISP): Likewise.
1746 2001-07-15 Tom Tromey <tromey@redhat.com>
1748 * automake.in (usage): Rewrote code to handle columnization.
1749 From Alexey Mahotkin and Maxim Sinev.
1751 Report from Ralf Corsepius:
1752 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1753 (SUFFIX_RULE_PATTERN): Likewise.
1754 * tests/Makefile.am (TESTS): Added cxx.test.
1755 * tests/cxx.test: New file.
1757 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1758 From Shigio Yamaguchi.
1760 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1762 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1763 remain after "make uninstall".
1765 2001-07-14 Tom Tromey <tromey@redhat.com>
1767 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1769 * lib/missing (makeinfo): Redirect stdout and stderr outside
1770 subshell. From Alexandre Oliva.
1772 2001-07-14 Akim Demaille <akim@epita.fr>
1774 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1775 `\b(foo|bar)\b' is what we want.
1776 * aclocal.in: Likewise.
1778 2001-07-14 Akim Demaille <akim@epita.fr>
1780 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1782 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1783 actually modified to require AM_DEPENDENCIES.
1784 Rename `confdir' as `conftest.dir' so that the configure trap
1787 2001-07-04 Tom Tromey <tromey@redhat.com>
1789 Fix for nolink.test:
1790 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1791 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1792 * automake.in (am_install_var): Only rewrite PROGRAMS if
1794 (make_paragraphs): Always define %EXEEXT%.
1796 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1798 * tests/nolink.test: New file.
1799 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1801 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1803 * automake.in (scan_texinfo_file): Add the second argument to
1804 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1805 itself may not be used directly.
1807 2001-07-04 Tom Tromey <tromey@redhat.com>
1810 * lib/missing (makeinfo): Use subshell, not explicit sh
1813 * automake.texi (Headers): Mention that we prefer uninstalled
1814 headers in _SOURCES.
1815 (ANSI): Mention cross-compilation limitation.
1817 2001-07-03 Tom Tromey <tromey@redhat.com>
1819 * configure.in: Upped to 1.4i.
1821 * configure.in: Released 1.4h.
1823 * lib/config.guess, lib/config.sub: Updated.
1825 2001-07-02 Tom Tromey <tromey@redhat.com>
1827 Fix for libtool2.test:
1828 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1829 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1830 * automake.in (generate_makefile): Call handle_libtool
1832 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1834 * tests/libtool2.test: Look for `.lo' files to be removed.
1836 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1838 * tests/Makefile.am (TESTS): Removed dup.test.
1839 * tests/dup.test: Removed.
1840 * aclocal.in (scan_file): Don't give error for duplicate macro.
1842 2001-07-01 Tom Tromey <tromey@redhat.com>
1844 * automake.texi (Program and Library Variables): Document
1845 subdir-objects. Document fact that per-object flags override AM_
1847 (Options): Likewise.
1848 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1849 (Multilibs): New node.
1850 (Macros): Documented missing macros.
1851 (Auxiliary Programs): New node.
1853 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1854 mode, then simply fail.
1856 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1858 * lib/ylwrap: Improve support for DOS paths (and paths
1859 containing backslashes in general).
1861 2001-07-01 Tom Tromey <tromey@redhat.com>
1863 * lib/missing: Added special exception to license.
1866 * lib/missing: Updated. Added comment explaining configure.ac
1869 * lib/depcomp: Reorder arguments to gcc3.
1870 From Per Oyvind Hvidsten.
1872 * tests/Makefile.am (TESTS): Added libtool2.test.
1873 * tests/libtool2.test: New file.
1875 * automake.texi (Program and Library Variables): Added example for
1878 2001-06-29 Tom Tromey <tromey@redhat.com>
1880 * tests/cond11.test: Use `=', not `=='.
1881 * tests/cond12.test: Look for automake in build directory, not
1884 2001-06-29 Richard Boulton <richard@tartarus.org>
1886 * automake.in (conditionals_true_when): Pass first parameters by
1887 reference, avoiding bug which put all parameters in @CONDS instead
1888 of @WHENS. Report by Kalle Olavi Niemitalo.
1889 Take a single WHEN instead of an array of WHENS.
1890 Remove FIXME; can't now have an empty @WHENS.
1891 (conditional_is_redundant): New sub.
1892 (variable_conditions_reduce): Check whether each condition is
1893 implied by any of the other conditions (other those already
1894 discarded), rather than checking only against those already
1895 considered (and kept). Also, fix sense of check: was keeping
1896 tautologous terms instead of discarding them. Use
1897 conditional_is_redundant instead of conditionals_true_when.
1898 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1899 * tests/cond11.test: New file.
1900 * tests/cond12.test: New file.
1902 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1904 * automake.in (saw_sources_p): Work even if there are more
1905 than one header files, and more than of one type of header.
1906 * tests/Makefile.am (TESTS): Added new file.
1907 * tests/depend4.test: New file.
1909 2001-06-28 Tom Tromey <tromey@redhat.com>
1911 * lib/am/libs.am (RANLIB): Don't define.
1913 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1915 * automake.in (am_install_var): Assign 1 to $first on
1918 2001-06-23 Tom Tromey <tromey@redhat.com>
1921 * lib/ylwrap: Changed usage.
1922 * lib/am/yacc.am: Rewrote to use new substitutions.
1923 * lib/am/lex.am: Likewise.
1924 * automake.in (handle_languages): Skip files whose language
1925 doesn't have a compiler. Handle `define_flag' attribute.
1926 Changed '$' to "\$" to aid Emacs fontification.
1927 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1928 `_target_hook' and `define_flag'.
1929 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1930 and `compiler' attributes. Removed `linker', `derived_autodep',
1931 and `ansi' attributes. Added `define_flag'.
1932 (yacc, yaccxx): Added `_target_hook'.
1933 (saw_extension): Count number of times extension seen.
1934 (count_files_for_language): New sub.
1935 (saw_sources_p): Use it.
1936 (handle_single_transform_list): Allow language rewrite function
1937 to return a new source extension. Call target_hook.
1938 (yacc_sources, lex_sources): Removed.
1939 (initialize_per_input): Don't initialize yacc_sources or
1941 (lang_yacc_rewrite): Rewrote.
1942 (lang_yaccxx_rewrite): Likewise.
1943 (lang_lex_rewrite): Likewise.
1944 (lang_lexxx_rewrite): Likewise.
1945 (output_yacc_build_rule): Removed.
1946 (output_lex_build_rule): Removed.
1947 (lang_yacc_finish): Removed build rule generation.
1948 (lang_lex_finish): Likewise.
1949 (DASH_D_PATTERN): New global.
1950 (lang_yacc_target_hook): New function.
1951 (_target_hook): New function.
1952 (register_language): Default `define_flag'.
1953 * tests/yacc5.test: Updated test.
1954 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1955 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1956 for all YFLAGS variables.
1958 2001-06-20 Tom Tromey <tromey@redhat.com>
1960 * tests/yacc5.test: Check for per-executable YFLAGS.
1962 2001-06-19 Tom Tromey <tromey@redhat.com>
1964 * tests/Makefile.am (TESTS): Added yacc5.test.
1965 * tests/yacc5.test: New file.
1967 2001-06-17 Tom Tromey <tromey@redhat.com>
1969 * automake.in (require_file_internal): Check for already-required
1970 file after searching for it, and only if it is not found. Don't
1971 use `readlink' when checking for dangling symlink. Work if
1972 --force-missing specified.
1973 * tests/acoutput2.test: Also test --force-missing.
1975 Fix for libtool.test:
1976 * automake.in (generate_makefile): Call handle_libtool.
1977 (handle_libtool): New sub.
1978 (handle_compile): Don't read `libtool' file.
1980 * tests/acoutput2.test: New file.
1981 * tests/Makefile.am (TESTS): Added acoutput2.test.
1983 2001-06-15 Tom Tromey <tromey@redhat.com>
1985 * tests/Makefile.am (TESTS): Added libtool.test.
1986 * tests/libtool.test: New file.
1988 2001-06-14 Tom Tromey <tromey@redhat.com>
1990 Fix some lisp bugs reported by Bruno Haible:
1991 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1993 (install-%DIR%LISP): Handle case where lispdir is not defined.
1994 (uninstall-%DIR%LISP): Likewise.
1995 (.el.elc): Added `else' clause.
1997 Fix for bug reported by Steve M. Robbins:
1998 * automake.in (handle_single_transform_list): When building a file
1999 from a subdirectory, continue to use `AM_' prefix.
2000 * tests/Makefile.am (TESTS): Added subobj7.test.
2001 * tests/subobj7.test: New file.
2003 * lib/am/configure.am ($(top_builddir)/config.status): Added
2004 $(top_builddir) prefix to work around problems with some vendor
2005 makes. From Nicolas Joly.
2007 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2008 top_srcdir. From Tim Van Holder.
2009 * tests/Makefile.am (TESTS): Added yacc6.test.
2010 * tests/yacc6.test: New file.
2012 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2014 * tests/defs, tests/installsh.test: Properly support
2017 2001-06-14 Tom Tromey <tromey@redhat.com>
2019 * tests/Makefile.am (TESTS): Added mdate4.test.
2020 * tests/mdate4.test: New file.
2022 * aclocal.in (scan_m4_files): Removed unused variable.
2024 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2026 * aclocal.in (scan_m4_files): Tweak the building of &search so
2027 that multiple macro names can be found on the same line. Ensure
2028 we match whole macro name, not only substrings.
2030 2001-06-12 Tom Tromey <tromey@redhat.com>
2032 * automake.texi (ANSI): Minor clarification.
2033 (Other GNU Tools): Don't mention Guile.
2035 (Java Support): Mention file extensions.
2036 (Man pages): Mention dist_. Don't mention info pages.
2038 2001-06-11 Tom Tromey <tromey@redhat.com>
2040 * automake.texi (Program variables): Document AM_CPPFLAGS.
2042 (Java Support): Document AM_GCJFLAGS.
2043 (Support for Other Languages): Removed `fixme'; added link to
2044 suffix rule handling.
2046 * automake.texi (Program and Library Variables): Document _LIBADD,
2047 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2049 2001-06-11 Kevin Dalley <kevind@rahul.net>
2051 * missing: Support configure.ac.
2053 2001-06-08 Tom Tromey <tromey@redhat.com>
2055 * tests/version4.test: New file.
2056 * automake.in (version_check): New sub.
2057 (handle_options): Use it.
2058 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2059 (TESTS): Added version4.test.
2060 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2061 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2063 2001-06-04 Kevin Dalley <kevind@rahul.net>
2065 * lib/am/dejagnu.am (site.exp): Fix typo.
2067 2001-06-02 Tom Tromey <tromey@redhat.com>
2069 * automake.in (variable_conditions_sub): Move parent-only code
2071 (variable_conditions): ... to here.
2072 (variable_conditions_sub): Include this variable's conditions in
2073 the resulting condition list.
2074 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2076 2001-06-01 Tom Tromey <tromey@redhat.com>
2078 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2080 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2082 2001-05-31 Tom Tromey <tromey@redhat.com>
2084 * automake.texi (Alternative): New node.
2085 (Macros): Use new name for gcc.
2086 (Java Support): Likewise.
2087 (Dependencies): Rewrote.
2088 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2091 * automake.texi (Top level): Removed erroneous spaces. Documented
2094 2001-05-29 Tom Tromey <tromey@redhat.com>
2096 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2098 * automake.texi (Include): Rewrote.
2099 (Suffixes): Remove Java example.
2100 (Java): Added more explanation. Document variables.
2101 (Uniform): Mention JAVA as a primary.
2102 (Python): Updated for new Python support.
2103 (Sources): Added a weak example.
2105 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2107 * automake.texi (A Program): Mention `check' prefix.
2108 (Program and Library Variables): New node.
2109 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2111 (etags): Mention per-program flags.
2112 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2115 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2118 2001-05-28 Tom Tromey <tromey@redhat.com>
2120 * m4/Makefile.am (MAINT_CHARSET): Removed.
2121 * Makefile.am (MAINT_CHARSET): Removed.
2122 * automake.in (maint_charset, dist_charset): Removed.
2123 (local_maint_charset): Removed.
2124 (initialize_per_input): Don't use maint_charset.
2125 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2127 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2129 (.%SUFFIX%.dvi): Likewise.
2130 (.%SUFFIX%): Likewise.
2132 2001-05-27 Tom Tromey <tromey@redhat.com>
2134 * automake.in (handle_multilib): Only add multilib support code at
2136 * lib/am/multilib.am: Handle invocation of *-multi targets
2137 differently for SUBDIRS and non-SUBDIRS Makefiles.
2138 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2139 Only add multilib code when the Makefile in question is actually
2142 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2144 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2146 * automake.in (handle_single_transform_list): Skip unknown
2149 2001-05-25 Tom Tromey <tromey@redhat.com>
2151 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2153 2001-05-24 Tom Tromey <tromey@redhat.com>
2155 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2156 directory in some situations.
2158 * automake.in (generate_makefile): Better explanation for ansi2knr
2161 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2163 * automake.in (handle_languages): Skip unknown extensions.
2164 (derive_suffix): Check whether $extension_map{$source_ext}
2165 is undefined, not empty.
2167 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2169 * automake.in (read_am_file): Ignore trailing backslash on
2172 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2174 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2176 2001-05-21 Akim Demaille <akim@epita.fr>
2178 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2179 multiple times'' warning.
2181 2001-05-20 Tom Tromey <tromey@redhat.com>
2183 * configure.in: Updated to 1.4g.
2185 * configure.in: Updated to 1.4f.
2187 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2189 * lib/ansi2knr.c: New version.
2191 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2194 2001-05-19 Tom Tromey <tromey@redhat.com>
2196 * config.guess, config.sub: New versions from FSF.
2198 * Makefile.am (fetch): Compare against files in srcdir.
2200 For for ansi2knr report from Harlan Stenn:
2201 * automake.in (generate_makefile): Run handle_compile before
2204 2001-05-18 Tom Tromey <tromey@redhat.com>
2206 * automake.in: Reverted erroneous checkin.
2208 2001-05-18 Akim Demaille <akim@epita.fr>
2210 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2211 to missing `install-info'.
2213 2001-05-17 Tom Tromey <tromey@redhat.com>
2215 * automake.in (lang_c_finish): Use `rm -f'.
2217 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2218 * tests/Makefile.am (TESTS): Added new file.
2219 * tests/ansi5.test: New file.
2221 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2223 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2225 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2226 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2227 * automake.texi (Requirements): Document the use of the STRIP
2228 variable in cross-compilation environments.
2230 2001-05-17 Tom Tromey <tromey@redhat.com>
2232 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2233 to no dependency tracking.
2234 * tests/Makefile.am (TESTS): Added depcomp2.test.
2235 * tests/depcomp2.test: New file. From Pavel Roskin.
2237 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2239 * lib/depcomp (tru64): New dependency tracking mode.
2241 Fix for PR automake/159:
2242 * lib/depcomp (aix): Rewrote.
2245 Fix for PR automake/174:
2246 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2247 * automake.in (read_am_file): Warn if `#' is at start of rule.
2249 2001-05-16 Tom Tromey <tromey@redhat.com>
2251 For PR automake/174:
2252 * tests/Makefile.am (TESTS): Added comment3.test.
2253 (XFAIL_TESTS): Likewise.
2254 * tests/comment3.test: New file.
2256 Fix for PR automake/175:
2257 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2258 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2259 `Leaving directory' messages.
2261 For PR automake/175:
2262 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2263 * tests/make.test: Run test with `make -w'.
2265 * tests/Makefile.am (TESTS): Removed maintclean.test.
2266 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2268 * lib/am/configure.am (maintainer-clean-am): Removed.
2269 (maintainer-clean-conf): Removed.
2270 * tests/maintclean.test: Removed.
2272 2001-05-15 Tom Tromey <tromey@redhat.com>
2274 Fix for PR automake/177:
2275 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2276 automake or aclocal.
2278 Fix for maintclean.test:
2279 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2280 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2282 (distclean, maintainer-clean): Moved to...
2283 * lib/am/configure.am: ... here.
2284 (distclean): Remove config.cache and config.log.
2285 (maintainer-clean): Removed.
2286 (maintainer-clean-conf): New target.
2287 (maintainer-clean-am): New target.
2289 * tests/Makefile.am (TESTS): Added maintclean.test.
2290 (XFAIL_TESTS): Likewise.
2291 * tests/maintclean.test: New file.
2293 Fixes PR automake/175:
2294 * tests/target-cflags.test: Use $needs_gnu_make.
2295 * tests/exsource.test: Use $needs_gnu_make.
2296 * tests/make.test: Require GNU make.
2297 * tests/defs (needs_gnu_make): Compute.
2299 2001-05-14 Tom Tromey <tromey@redhat.com>
2301 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2304 Fix for texinfo10.test.
2305 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2306 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2307 * automake.in (handle_texinfo_helper): New sub.
2308 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2309 * tests/texinfo10.test: Added more cases.
2311 Fix for yaccvpath.test:
2312 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2313 * lib/am/distdir.am (distdir): Always look for file in build
2315 * lib/ylwrap: Quote the `#line' regular expression.
2316 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2317 change; don't run sed on the generated file.
2318 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2319 to make sure parser will be rebuilt at dist time.
2321 2001-05-13 Pavel Roskin <proski@gnu.org>
2323 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2324 beginning with `##'.
2325 * automake.texi (General Operation): Document it.
2327 2001-05-13 Tom Tromey <tromey@redhat.com>
2329 Reported by Rainer Orth:
2330 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2332 * tests/Makefile.am (TESTS): Added distname.test.
2333 * tests/distname.test: New file.
2335 * Makefile.am (dist_pkgdata_DATA): Removed.
2337 * tests/defs: Find files to copy in lib/.
2338 * automake.in (perllibdir): Set to Automake directory.
2339 * ansi2knr.c, ansi2knr.1: Removed.
2340 * Makefile.am (dist_am_DATA): Removed.
2342 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2344 (scriptdir): Removed.
2345 (dist_script_DATA): Likewise.
2346 (install-data-hook): Likewise.
2347 (installcheck-local): Likewise.
2348 (TAGS_FILES): Removed amfiles.
2349 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2350 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2351 point it to the right directory.
2352 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2353 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2354 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2355 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2356 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2357 mans.am, multilib.am, program.am, progs.am, python.am,
2358 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2359 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2360 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2361 (AUTOMAKE): Use --libdir, not --amdir.
2362 Ues AC_CONFIG_AUX_DIR.
2363 * lib/Makefile.am (SUBDIRS): Added `am'.
2364 (scriptdir): New macro.
2365 (dist_script_DATA): Likewise.
2366 (dist_pkgdata_DATA): Likewise.
2367 (install-data-hook): New target.
2368 (installcheck-local): Likewise.
2369 * lib/am/Makefile.in: New file.
2370 * lib/am/Makefile.am: Removed everything except amdir and
2373 2001-05-13 Akim Demaille <akim@epita.fr>
2375 * automake.in ($pkgdata_dir): Rename as...
2377 ($am_dir): Remove, replace its uses with $libdir.
2378 (&parse_arguments): Replace --amdir with --libdir.
2379 * automake.texi (Invoking Automake): Document --libdir, not
2381 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2383 2001-05-13 Tom Tromey <tromey@redhat.com>
2385 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2387 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2388 Correctly look at AMDEP_TRUE, not AMDEP.
2390 Report from Robert Boehne:
2391 * tests/Makefile.am (TESTS): Added depend2.test.
2392 * tests/depend2.test: New file.
2394 2001-05-13 James Henstridge <james@daa.com.au>
2396 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2397 Point pythondir at site-packages directory. Rename
2398 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
2399 pyexecdir. Removed package/module argument. Removed
2400 PYTHON_SITE_INSTALL. Added version checking.
2402 2001-05-14 Jim Meyering <meyering@lucent.com>
2404 * automake.in (macro_define): Change one remaining use of
2405 `variable_dump' to `macro_dump'.
2407 2001-05-13 Tom Tromey <tromey@redhat.com>
2409 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
2412 2001-05-13 Akim Demaille <akim@epita.fr>
2414 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
2415 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
2416 (&am_primary_prefixes): Use `map' rather than `grep'.
2418 2001-05-13 Akim Demaille <akim@epita.fr>
2420 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
2422 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
2423 (&lang_asm_finish): Remove, set asm's finisher to C's one.
2425 2001-05-13 Akim Demaille <akim@epita.fr>
2427 * lang-compile.am: New file, loaded once per language.
2428 * depend2.am: Move definitions loaded once per language in the
2429 aforementioned file.
2430 * automake.in (&handle_languages): Load it.
2431 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
2432 handled by lang-compile.am.
2434 2001-05-13 Tom Tromey <tromey@redhat.com>
2436 * tests/Makefile.am (TESTS): Added python.test.
2437 * tests/python.test: New file.
2438 * automake.in (handle_languages): Use
2439 config_aux_dir_set_in_configure_in.
2440 (handle_python): Correctly mention AM_PATH_PYTHON. Use
2441 py-compile, not py_comp. Define py_compile macro.
2443 2001-05-13 Derek Price <dprice@openavenue.com>
2445 * automake.in (require_file_with_conf_line,
2446 require_file_with_line, require_file): Pass a @require_file_path
2447 of $relative_dir instead of '.' to require_file_internal so that
2448 all the special casing of '.' can be removed elsewhere.
2449 (require_config_file, require_conf_file_with_line,
2450 require_conf_file_with_conf_line): Remove special casing for '.'
2451 and make sure $config_aux_dir is maintained properly.
2452 (require_file_internal): Remove special casing of '.' and set
2453 @require_file_path when missing files are added.
2454 (maybe_push_required_file): Remove special casing of '.'
2455 (handle_dependencies): Remove a workaround for a bug now fixed
2456 and remove $config_aux_dir special casing.
2457 (handle_configure): Remove special casing for $config_aux_dir
2458 (handle_python): Ditto.
2459 (yacc_lex_finish_helper): Change $config_aux_dir switch to
2460 switch on the value of $config_aux_dir_set_in_configure_in.
2461 (handle_texinfo): Ditto.
2462 (scan_one_configure_file): Set $config_aux_dir and
2463 $config_aux_dir_set_in_configure_in properly so special casing
2464 on the value of $config_aux_dir can be removed elsewhere.
2465 * tests/depcomp.test: New file.
2466 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
2467 first subdir containing a C file.
2468 * tests/libobj2.test: Ditto.
2469 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
2471 2001-05-12 Tom Tromey <tromey@redhat.com>
2473 * tests/gcj.test: Updated for gcj dependency tracking.
2474 * tests/gcj2.test: Likewise.
2476 Fixes PR automake/169.
2477 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
2479 * automake.in (java): Added autodep entry.
2480 * tests/Makefile.am (TESTS): Added gcj3.test.
2481 * tests/gcj3.test: New file.
2483 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
2485 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
2486 stop at the first '='.
2487 * tests/Makefile.am (TESTS): Added vars.test.
2488 * tests/vars.test: New file.
2490 2001-05-12 Akim Demaille <akim@epita.fr>
2492 * automake.in (&handle_single_transform_list): Simplify
2493 computation of $object and $this_obj_ext.
2494 * tests/lex3.test: Merge into...
2495 * tests/lex.test: here.
2496 * tests/pr19.test: Improve and rename as...
2497 * tests/lex3.test: this.
2499 2001-05-09 Tom Tromey <tromey@redhat.com>
2501 * automake.in (read_am_file): Correctly compute $saw_bk.
2502 (scan_autoconf_files): Ensure configure_dist_common is always
2504 * tests/defs (AUTOMAKE): Added --Werror.
2506 2001-05-09 Pavel Roskin <proski@gnu.org>
2508 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
2511 2001-05-09 Tom Tromey <tromey@redhat.com>
2513 * tests/werror.test: Use `rm -f'.
2515 2001-05-09 Akim Demaille <akim@epita.fr>
2517 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
2519 2001-05-09 Akim Demaille <akim@epita.fr>
2521 * automake.in: Remove some code left from bad patches.
2522 (&handle_dependency): Remove, for the same reason.
2524 2001-05-09 Akim Demaille <akim@epita.fr>
2526 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
2527 (&handle_tests_dejagnu, &define_standard_variables): Don't.
2528 (&define_standard_variables): Don't transform %top_builddir% since...
2529 * header-vars.am: Use %TOPDIR% instead.
2531 2001-05-09 Akim Demaille <akim@epita.fr>
2533 * automake.in (@objects): Remove, unused.
2534 Remove all the code related to it, and to former `$(OBJECTS)'.
2536 2001-05-08 Tom Tromey <tromey@redhat.com>
2539 * ylwrap: Handle arguments to program. Remove old code that tried
2540 to avoid absolute paths and add new code to do it in all cases.
2541 Removed ancient logic that tried to deal with relative path.
2542 * tests/Makefile.am (TESTS): Added yacc4.test.
2543 * tests/yacc4.test: New file.
2545 Fix for PR automake/149 and werror.test:
2546 * automake.in (require_file_internal): Use am_line_warning or
2547 am_conf_line_warning when suppressing error.
2548 (am_line_warning): New sub.
2549 (am_conf_line_warning): Save and restore warning signal.
2550 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
2552 Fix for PR automake/36:
2553 * tests/Makefile.am (TESTS): Added asm.test.
2554 * tests/asm.test: New file.
2555 * automake.in (asm): Use ASFLAGS and AS.
2556 (lang_asm_finish): New sub.
2558 * automake.in (read_am_file): Removed debugging code.
2560 For PR automake/149:
2561 * tests/Makefile.am (TESTS): Added werror.test.
2562 (XFAIL_TESTS): Likewise.
2563 * tests/werror.test: New file.
2565 * automake.in (conditional_true_when): Don't return if we see
2568 * tests/objc.test: Removed.
2569 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
2572 * automake.in (subst): New sub.
2573 (handle_languages): Use it.
2574 (output_lex_build_rule): Likewise; also use _am_quote.
2575 (check_libobjs_sources): Likewise.
2576 (make_paragraphs): Use subst.
2578 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
2581 * automake.in (file_contents_internal): Prototype now `$$%'.
2582 (register_language): Prototype now `%'.
2584 Fixes test subobj6.test and PR automake/160:
2585 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
2586 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
2587 (distclean-compile): Added DISTRMS.
2588 * tests/subobj6.test (wish_SOURCES): Updated to reflect
2589 `mostlyclean' use; added test for non-subdir case.
2590 * automake.in (compile_clean_files): New global.
2591 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
2592 (initialize_per_input): Initialize compile_clean_files.
2593 (handle_single_transform_list): Set compile_clean_files entries.
2594 (handle_compile): Handle compilation cleanups.
2596 2001-05-08 Lars J. Aas <larsa@sim.no>
2598 * automake.texi (Canonicalizing Automake macros): Document not
2599 canonicalizing strudels (@) anymore.
2601 2001-05-08 Akim Demaille <akim@epita.fr>
2603 * distdir.am (dist-all): Build all the flavors using a single
2606 2001-05-08 Akim Demaille <akim@epita.fr>
2608 * automake.in (&file_contents_internal): Apply the @cond_stack to
2609 the rules and assignments.
2610 Don't rely on `$.' as it's biased by &make_paragraphs.
2611 Don't remove backslashes in variable values.
2613 2001-05-08 Akim Demaille <akim@epita.fr>
2615 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
2616 ($RULE_PATTERN): Use that from `&make_paragraphs'.
2617 ($MACRO_PATTERN): Just catch the name of a macro.
2618 ($BOGUS_MACRO_PATTERN): Remove.
2619 ($ASSIGNMENT_PATTERN): New.
2620 (&file_contents_internal, &make_paragraphs): Adjust.
2621 (¯o_define): Catch bad macro names.
2622 (&cond_stack_endif): Better error message.
2623 (&file_contents_internal): Don't remove backslashes in variable
2625 (¯o_define): Do it for `+=' user variables.
2626 (&define_standard_variables): Use `undef' instead of a dummy
2628 (&make_paragraph): Be sure not to chop the trail of hash only
2629 lines: adjust the `##' regexp.
2630 (&rule_define): Fix a bug: don't read $1 but $target.
2631 * tests/condincl.test: Strengthen.
2633 2001-05-08 Akim Demaille <akim@epita.fr>
2635 * automake.in (Language): Add attributes `Name' and `config_vars'.
2636 (&finish): Work properly if there is no _finish.
2637 (Automake): Register language Names and AC_SUBST dependencies.
2638 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2639 (&handle_languages): Once per language, invoke
2640 `define_linker_variables', and check its config_vars.
2641 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2642 (&lang_java_finish): Remove.
2643 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2645 2001-05-08 Akim Demaille <akim@epita.fr>
2647 * automake.in (&file_contents_internal): Accept $IS_AM.
2648 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2650 2001-05-08 Akim Demaille <akim@epita.fr>
2652 * automake.in (am_install_var): Use `next' instead of `if' on the
2655 2001-05-08 Akim Demaille <akim@epita.fr>
2657 * automake.in (Language): Add attributes `lder' and `ld'.
2658 (®ister_language): Specify for cxx, objc, f77, gcj.
2659 (&define_linker_variable): New.
2660 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2661 (&lang_java_finish): Adjust.
2662 (&libtool_compiler): Remove.
2664 2001-05-08 Akim Demaille <akim@epita.fr>
2666 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2667 argument, as you don't use it.
2669 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2672 (&handle_programs): Don't mess with %lex_sources, as you don't use
2675 2001-05-08 Akim Demaille <akim@epita.fr>
2677 * automake.in (Language): Add attribute `link'.
2678 (®ister_language): Specify for cxx, objc, f77, gcj.
2679 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2680 (&lang_java_finish): Adjust.
2682 2001-05-08 Akim Demaille <akim@epita.fr>
2684 * automake.in (&define_compiler_variables): Use only $LANG as
2686 (&handle_languages): Adjust.
2688 2001-05-08 Akim Demaille <akim@epita.fr>
2690 * automake.in (&define_program_variable): Remove.
2691 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2693 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2694 * texinfos.am: Do it.
2696 2001-05-08 Akim Demaille <akim@epita.fr>
2698 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2700 * dejagnu.am: Do it.
2701 (site.exp): Use `if'.
2703 2001-05-08 Akim Demaille <akim@epita.fr>
2705 * automake.in: Formatting changes.
2706 (variable_dump, variables_dump): Rename as...
2707 (macro_dump, macros_dump): these.
2709 2001-05-08 Akim Demaille <akim@epita.fr>
2711 Support `if !COND', `else COND', `end COND'.
2713 * automake.texi (Conditionals): Document it.
2714 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2715 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2716 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2717 a leading `!' before the condition.
2718 (&handle_options): Use `\d'.
2719 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2720 (&read_am_file, &file_contents_internal): Use them.
2721 (&transform): No longer substitute `%!COND%', forcing the use of
2723 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2725 2001-05-08 Akim Demaille <akim@epita.fr>
2727 Uniform handling of per-object compilation rules.
2728 Note: Automake is repaired.
2730 * automake.in (&handle_languages): Output per object rules for all
2731 the objects, not only for those which language supports dependency
2733 Fix Automake: when outputting per-object rules, use `-o' if the
2734 language has no `output_flag', as it's really needed.
2735 (&handle_single_transform_list): Instead of special casing files
2736 which need per object rules but which language don't support
2737 dependency tracking, keep them in the queue for processing by
2738 `&handle_languages'.
2740 2001-05-08 Akim Demaille <akim@epita.fr>
2742 * automake.in (&handle_languages): `ext-compile.am' and
2743 `depend2.am' are now equivalent for generic rules: output only the
2745 * ext-compile.am: Remove.
2747 2001-05-08 Akim Demaille <akim@epita.fr>
2749 Note: This patch breaks Automake. Repaired within two patches.
2751 * automake.in (Language): Replace the attribute `output_arg' with
2752 `compile_flag' and `output_flag'.
2753 (Automake): Adjust language registrations.
2754 (&handle_languages): Transform `-c' and `-o' for both suffix and
2755 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2757 (&handle_single_transform_list): Adjust to `compile_flag' and
2759 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2761 2001-05-08 Akim Demaille <akim@epita.fr>
2763 * automake.in (&handle_languages): Don't transform %COMPILER%.
2764 Use `$lang->compiler' instead of `$pfx' to transform generic
2765 %COMPILE% and %LTCOMPILE%.
2766 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2767 of %COMPILER% and $<.
2769 2001-05-07 Akim Demaille <akim@epita.fr>
2771 * automake.in (&handle_languages): Use the same `%transform' for
2772 both `depend2.am' and `ext-compile.am'.
2773 Delay the definition of `$flag' so it is right before the first use,
2774 and rename as `$flags'.
2776 2001-05-07 Akim Demaille <akim@epita.fr>
2778 * automake.in (&handle_languages): Compute `$ltoutarg' and
2779 `$outarg' independently of dependency code.
2780 There is no use looping on a language's possible extensions since
2781 we loop over used extensions.
2782 Therefore, there is no use for a local `%transform'.
2784 2001-05-07 Akim Demaille <akim@epita.fr>
2786 * automake.in (&handle_languages): Don't use $comp.
2788 2001-05-07 Akim Demaille <akim@epita.fr>
2790 * automake.in (&handle_languages): Merge the two loops over
2791 %extension_seen/%languages into one and group code to be run once
2792 per language together.
2794 2001-05-07 Akim Demaille <akim@epita.fr>
2796 * automake.in (&handle_languages): Move the `if
2797 ($use_dependencies)' block so that loops over extensions and
2798 languages are next to each other.
2800 2001-05-07 Akim Demaille <akim@epita.fr>
2802 * automake.in (&depend2): Remove, merged into...
2803 (&handle_languages): here.
2805 2001-05-07 Akim Demaille <akim@epita.fr>
2807 * automake.in (&finish_languages): Rename as...
2808 (&handle_languages): this.
2809 Include the body of...
2810 (&handle_dependency): this.
2813 2001-05-06 Tom Tromey <tromey@redhat.com>
2816 * tests/Makefile.am (TESTS): Add subdir5.test.
2817 (XFAIL_TESTS): Likewise.
2818 * tests/subdir5.test: New file.
2820 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2821 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2823 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2825 (handle_options): Handle fork identifier in version number.
2827 * automake.texi (Dist): Document distcheck-hook.
2829 * tests/confh4.test: Update to reflect DEFS change.
2830 For PR automake/132.
2832 Fix for PR automake/132:
2833 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2835 (java): Remove INCLUDES and DEFS from compilation.
2836 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2837 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2838 (DEFAULT_INCLUDES): New macro.
2840 * automake.in (usage): Re-align explanatory text.
2841 Fixes PR automake/148.
2843 * automake.texi (Uniform): Don't use @PROGRAMS@.
2844 Fixes PR automake/154.
2846 For PR automake/160:
2847 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2848 (XFAIL_TESTS): Add subobj6.test.
2849 * tests/subobj6.test: New file.
2851 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2852 (Top level): Don't mention `flat'.
2853 (Extending): Likewise.
2854 (User Variables): New node.
2856 * distdir.am (distdir): Make subdirectory for each file.
2857 Fixes test subobj5.test.
2859 * tests/Makefile.am (TESTS): Add new file.
2860 (XFAIL_TESTS): Likewise.
2861 * tests/texinfo10.test: New file.
2863 2001-05-05 Pavel Roskin <proski@gnu.org>
2865 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2866 in the same way as @defcodeindex and @syncodeindex respectively.
2868 2001-05-05 Tom Tromey <tromey@redhat.com>
2870 * mans.am (install-man%SECTION%): Minor cleanup.
2871 (uninstall-man%SECTION%): Likewise.
2873 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2874 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2876 (uninstall-man%SECTION%): Likewise.
2877 * automake.in (handle_man_pages): Handle dist_ and nodist_
2880 * automake.texi (Future): Removed.
2882 (Hello): Don't mention `deep'.
2883 (Top level): Likewise.
2885 * automake.in (conditional_true_when): Use a hash, not index().
2886 Also, a TRUE component always results in a true return.
2887 Fixes test cond10.test. For PR automake/164.
2888 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2890 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2892 For PR automake/164:
2893 * tests/Makefile.am (TESTS): Added new file.
2894 (XFAIL_TESTS): Likewise.
2895 * tests/cond10.test: New file.
2897 2001-05-05 Tom Tromey <tromey@redhat.com>
2899 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2901 (install-info-am): Likewise.
2903 2001-05-05 Pavel Roskin <proski@gnu.org>
2905 * automake.in (scan_texinfo_file): Don't push undefined values
2908 2001-05-05 Richard Boulton <richard@tartarus.org>
2910 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2913 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2915 * automake.in (required_targets): Added uninstall-am.
2917 2001-05-05 Tom Tromey <tromey@redhat.com>
2919 Fix bug reported by Robert Boehne:
2920 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2922 (handle_dependencies): Likewise.
2923 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2924 substitution. Correct diff now has 30 lines. Look for space
2925 after losing `undef'.
2927 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2929 * m4/sanity.m4: Remove the temp file before possible error exits.
2931 2001-05-04 Akim Demaille <akim@epita.fr>
2933 * configure.in: Set perllibdir.
2936 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2938 * automake.in ($pkgdata_dir): New.
2939 (&require_file_internal): Use it.
2941 2001-05-03 Akim Demaille <akim@epita.fr>
2943 Case insensitive FS choke on Automake/ vs automake.
2944 Reported by Tim Van Holder.
2946 * Automake/: Move into...
2947 * lib/: this new directory.
2949 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2951 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2954 2001-04-30 Jim Meyering <meyering@lucent.com>
2956 * automake.in: Remove `/lib' from include directory.
2958 2001-04-27 Akim Demaille <akim@epita.fr>
2960 AM_INIT_AUTOMAKE is no longer optional.
2962 * automake.in ($seen_make_set, $seen_prog_install)
2963 ($seen_arg_prog): Remove.
2964 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2965 Remove related code.
2967 2001-04-27 Akim Demaille <akim@epita.fr>
2969 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2971 * tests/specflags3.test: here.
2973 2001-04-27 Akim Demaille <akim@epita.fr>
2975 * automake.in ($seen_path_xtra): Remove.
2976 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2977 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2979 2001-04-27 Akim Demaille <akim@epita.fr>
2981 * automake.in (&file_contents_internal): Declare it.
2983 2001-04-27 Akim Demaille <akim@epita.fr>
2985 * automake.in (&read_am_file, &file_contents_internal): Don't
2986 define macros when `FALSE', to avoid errors on doubly defined
2987 variables but under condition `FALSE'. In order to allow...
2988 (&am_install_var): When reading the associated file for the first
2989 time, enable `%?FIRST%'.
2990 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2991 * libs.am: Do it when `%?FIRST%'.
2993 2001-04-27 Akim Demaille <akim@epita.fr>
2995 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2996 * ansi2knr.am: Do it.
2997 Prefer `if %?FOO%' to `if %!FOO%'.
2999 2001-04-27 Akim Demaille <akim@epita.fr>
3001 * automake.in (®ister_language, &finish_languages): Use `pure'
3003 (®ister_language): Use %done properly with objects, not names.
3004 (&finish_languages): Replace `$non_c' with `$needs_c'.
3006 2001-04-27 Akim Demaille <akim@epita.fr>
3008 Unify LISP, PYTHON and JAVA primaries.
3010 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3011 return if there are no files, hook elisp-comp on the Autoconf
3012 macro, rely on lisp.am to define variables.
3013 (&handle_python, &handle_java): Likewise.
3014 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3015 `PYTHON' must be handled here, not in `&handle_python'.
3016 * java.am: Define needed variables and rules.
3018 2001-04-27 Akim Demaille <akim@epita.fr>
3020 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3022 * header.am: Include data.am.
3024 2001-04-27 Akim Demaille <akim@epita.fr>
3026 * automake.in (&am_install_var): Transform `PRIMARY'.
3027 * data.am: Equip with %PRIMARY%.
3029 2001-04-27 Akim Demaille <akim@epita.fr>
3031 * automake.in (@conditional_stack): Rename as...
3032 (@cond_stack): this.
3033 (&file_contents_internal): Support inclusion of files.
3035 2001-04-27 Akim Demaille <akim@epita.fr>
3037 * automake.in (&lang_extensions): Remove.
3038 (&add_depend2, &saw_sources_p): Adjust.
3039 * depend2.am: `%EXT%' no longer includes the dot.
3041 2001-04-27 Akim Demaille <akim@epita.fr>
3043 * automake.in (&finish_languages, &handle_single_transform_list)
3044 (&add_depend2, &handle_dependencies): No longer use the language
3045 name in `$lang'. Rename `$lang_obj' as `$lang'.
3047 2001-04-27 Akim Demaille <akim@epita.fr>
3049 * automake.in (®ister_language): Use `new Language' with a hash.
3051 2001-04-27 Akim Demaille <akim@epita.fr>
3053 * automake.in (®ister_language): Rename `output-arg' and
3054 `derived-autodep' as `output_arg' and `derived_autodep' to match
3055 the Language attribute.
3056 Set the defaults in %option instead of $lang.
3058 2001-04-27 Akim Demaille <akim@epita.fr>
3060 * Automake/: New directory.
3061 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3062 * automake.in (Language): Use Automake::Struct.
3063 * tests/defs: Adjust to find Struct.
3065 2001-04-23 Pavel Roskin <proski@gnu.org>
3067 * automake.in: Add forward declaration for register_language().
3068 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3071 2001-04-20 Akim Demaille <akim@epita.fr>
3073 * automake.in (%required_targets): Add `uninstall'.
3074 From Robert Collins.
3076 2001-04-12 Akim Demaille <akim@epita.fr>
3078 * automake.in (Language): Add attribute `name'.
3079 (®ister_language): The name of the language is now given in the
3081 No longer use `$lang' as the name of the language.
3082 Rename `$lang_obj' as `$lang'.
3084 2001-04-12 Akim Demaille <akim@epita.fr>
3086 * automake.in (Language): Add attribute `_finish'.
3089 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3090 (&lang_asm_finish): Remove.
3092 2001-04-12 Akim Demaille <akim@epita.fr>
3094 * automake.in (Language): Add attribute `extensions'.
3095 (Automake): Pass a hash to `®ister_language' instead of a
3096 list of pseudo assignments.
3097 (®ister_language): Adjust.
3098 (&finish_languages): Initialize `$ltoutarg'.
3100 2001-04-12 Akim Demaille <akim@epita.fr>
3102 * automake.in (Language): Add attribute `output_arg'.
3103 (%language_map): Remove.
3104 (®ister_language): Build only the object, and store in
3106 (&finish_languages, &handle_single_transform_list): Adjust.
3108 2001-04-12 Akim Demaille <akim@epita.fr>
3110 * automake.in (Language): Add attributes `flags', `compile' and
3112 (&finish_languages, &handle_single_transform_list, &handle_dist)
3113 (&add_depend2, ®ister_language): Use them and the `linker' and
3116 2001-04-12 Akim Demaille <akim@epita.fr>
3118 * automake.in (&handle_single_transform_list, &finish_languages)
3119 (&handle_dist, &handle_dependencies): Use the language object for
3120 autodep and derived-autodep too.
3122 2001-04-12 Akim Demaille <akim@epita.fr>
3124 * automake.in (¯o_define): Ignore Automake definition for
3125 ($var, $cond) if there is already a user definition for ($var, $cond).
3127 2001-04-12 Akim Demaille <akim@epita.fr>
3129 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3130 but also @deffn and so on which push data in indexes.
3131 Reported by Derek R. Price.
3133 2001-04-12 Akim Demaille <akim@epita.fr>
3135 * automake.in (Language): New package, temporarily in this file.
3137 (Automake): New package.
3139 (&handle_single_transform_list): Use the language object's `ansi'
3140 attribute instead of `$language_map{"$lang-ansi-p"}'.
3141 (®ister_language): Build and register the language too.
3143 2001-04-11 Tom Tromey <tromey@redhat.com>
3145 Fixes report from Larry Jones:
3146 * automake.in (handle_dependencies): Add `@_am_quote@' where
3148 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3150 2001-04-11 Akim Demaille <akim@epita.fr>
3152 * depend2.am: Fix the `if' condition for Libtool.
3153 Reported by Robert Boehne.
3155 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3157 * tests/subobj5.test: New file.
3159 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3161 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3162 * tests/Makefile.am (TESTS): Added make.test.
3163 * tests/make.test: New file.
3165 2001-04-10 Tom Tromey <tromey@redhat.com>
3167 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3169 2001-04-10 Derek R. Price <dprice@collab.net>
3171 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3173 2001-04-10 Akim Demaille <akim@epita.fr>
3175 * distdir.am: Add a missing backslash.
3177 2001-04-10 Akim Demaille <akim@epita.fr>
3179 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3181 Specify to the caller whether $regen_aclocal_m4.
3182 (&handle_configure): Adjust.
3183 Transform `REGEN-ACLOCAL-M4'.
3185 * configure.am: Use it.
3186 * tests/defs (me): New.
3187 * tests/confdeps.test: New.
3189 2001-04-09 Tom Tromey <tromey@redhat.com>
3191 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3192 Fixes report from Jim Meyering.
3194 2001-04-09 Akim Demaille <akim@epita.fr>
3196 * automake.in (&handle_configure): Don't bother with optimizing
3199 2001-04-09 Akim Demaille <akim@epita.fr>
3201 * tests/cond3.test (expected): Adjust.
3203 2001-04-09 Akim Demaille <akim@epita.fr>
3205 * automake.in (&handle_single_transform_list): Remove $xbase,
3207 (&handle_source_transform): All the variables have conditions now,
3209 (&variable_delete): Admit an argument @conds.
3211 2001-04-09 Akim Demaille <akim@epita.fr>
3213 * automake.in ($source_suffix_pattern): Remove, unused.
3214 %extension_map seems to have replaced it.
3216 2001-04-09 Akim Demaille <akim@epita.fr>
3218 * ext-compile.am: New file.
3219 * automake.in (&finish_languages): Output it.
3220 Require a C linker if there are several registered source suffixes.
3221 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3222 extensions, which are discovered in ext-compile.am.
3223 With the help from Robert Boehne.
3225 2001-04-09 Akim Demaille <akim@epita.fr>
3227 * automake.in (&handle_compile): Extract from...
3228 (&get_object_extension): here.
3229 (&read_am_file): Call it.
3230 ($included_generic_compile, $included_knr_compile)
3231 ($included_libtool_compile): Remove.
3232 ($get_object_extension_was_run): New.
3234 2001-04-09 Akim Demaille <akim@epita.fr>
3236 Use AM_CONDITIONAL and if/endif for AMDEP.
3238 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3239 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3240 to a configure time if/endif), or to `FALSE' (static removal of
3242 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3243 * depend2.am: Use if/endif.
3245 Adjust the 101 tests that use dependencies so that they
3246 properly invoke aclocal before automake. They need to `see'
3247 `AM_CONDITIONAL([AMDEP], ...)'.
3249 2001-04-09 Akim Demaille <akim@epita.fr>
3251 * tags.am: Fix missing leading tabs.
3253 2001-04-09 Akim Demaille <akim@epita.fr>
3255 * automake.in: Use simple quotes to define the _PATTERN variables
3256 to unobfuscate the regexps.
3257 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3259 2001-04-09 Akim Demaille <akim@epita.fr>
3261 * automake.in (&rule_define): When you discover a suffix rules,
3262 register the extensions for .SUFFIXES.
3263 (&handle_texinfo): Don't register the suffixes.
3264 (&get_object_extension): Don't register suffixes, let them be
3265 discovered in depend2.am.
3266 (&handle_emacs_lisp): Depend on your lisp.am.
3267 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3269 2001-04-09 Akim Demaille <akim@epita.fr>
3271 * subdirs.am: Don't define info related recursive targets.
3274 2001-04-09 Akim Demaille <akim@epita.fr>
3276 * subdirs.am (RECURSIVE_TARGETS): New variable.
3278 * automake.in (&handle_subdirs): Output it.
3279 (&file_contents_internal): Support value spread on several lines.
3281 2001-04-09 Akim Demaille <akim@epita.fr>
3283 * automake.in (&handle_man_pages): Rely on mans.am to define
3284 man%SECTION%dir and MANS.
3287 2001-04-09 Akim Demaille <akim@epita.fr>
3289 * automake.in (&variable_dump): Use %var_type properly.
3290 (¯o_define): Enforce better overriding rules.
3291 Handle the special case that used to handle...
3292 (&define_pretty_variable): this.
3294 The variables you define are owned by Automake.
3295 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3297 (&variable_defined): Now independent of the owner.
3298 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3300 2001-04-09 Akim Demaille <akim@epita.fr>
3302 * automake.in (%var_was_plus_eq): Rename as...
3304 (%def_type): Remove.
3305 (¯o_define): %var_type may now hold `', `+', or `:'.
3306 (%conditional, %am_vars, %content_lines): Rename as...
3307 (%var_value, %var_comment, %var_line): these.
3309 2001-04-09 Akim Demaille <akim@epita.fr>
3311 * automake.in (&variable_output): Admit a list of @CONDS.
3312 (&variable_pretty_output): New.
3313 (&define_pretty_variable): Use it.
3314 (&read_am_file, &file_contents_internal): Prepend a separator to
3315 $am_vars only if there is none yet.
3316 (&file_contents_internal): Rename $separator as $spacing to
3317 harmonize with &read_am_file.
3319 2001-04-09 Akim Demaille <akim@epita.fr>
3321 * automake.in (&am_install_var): Transform DIST, and let the *.am
3322 files handle DIST_COMMON.
3323 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3326 2001-04-09 Akim Demaille <akim@epita.fr>
3328 * automake.in (%dist_common): Remove.
3329 (%configure_dist_common): Replace with...
3330 ($configure_dist_common): this.
3331 (&generate_makefile): Read the user file before using
3332 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3333 that no variable is defined before it is run.
3334 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3335 (&dist_cmp): Rename as...
3336 (&for_dist_common): this.
3337 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3339 Adjust to $configure_dist_common.
3340 * configure.am, texi-vers.am: Set DIST_COMMON.
3342 2001-04-09 Akim Demaille <akim@epita.fr>
3344 * automake.in (&handle_aclocal_m4): Rename as...
3345 (&scan_aclocal_m4): this.
3346 Return the list of aclocal.m4 dependencies.
3347 (&handle_configure): Invoke it, and use it when loading...
3348 * configure.am: Template the rules to recreate aclocal.m4.
3350 2001-04-09 Akim Demaille <akim@epita.fr>
3352 * automake.in (&get_object_extension): Use ansi2knr.am.
3353 * clean-kr.am, kr-extra.am: Remove, merged into...
3354 * ansi2knr.am: this new file.
3356 2001-04-09 Akim Demaille <akim@epita.fr>
3358 * automake.in (&transform): Fix an incredible bug which was
3359 breaking the if/endif system.
3360 ($ELSE_PATTERN): Admit an optional argument.
3362 2001-04-09 Akim Demaille <akim@epita.fr>
3364 * comp-vars.am: Remove, merged into...
3366 * automake.in (&get_object_extension): Adjust.
3368 2001-04-09 Akim Demaille <akim@epita.fr>
3370 * remake.am: Merge into...
3371 * configure.am: ... here.
3372 * automake.in (&handle_configure): Adjust.
3374 2001-04-09 Akim Demaille <akim@epita.fr>
3376 * automake.in (&output_lex_build_rule): Output this...
3379 2001-04-09 Akim Demaille <akim@epita.fr>
3381 * automake.in (&condition_negate): New.
3382 (&variable_conditions_permutations): Use it.
3383 (&read_am_file, &file_contents): Use it on `else' clauses to
3385 (&output_yacc_build_rule): Output this...
3386 * yacc.am: New file.
3388 2001-04-09 Akim Demaille <akim@epita.fr>
3390 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3391 (&handle_dist): Don't.
3392 (&handle_clean): Don't handle config.status here, let...
3393 * clean.am: ... do it.
3394 * distdir.am: Adjust.
3396 2001-04-09 Akim Demaille <akim@epita.fr>
3398 * automake.in: Use strict vars and subs.
3399 Declare `%require_file_found'.
3400 (&handle_source_transform, &make_paragraphs): Declare my variables.
3402 2001-04-09 Akim Demaille <akim@epita.fr>
3404 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3405 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
3406 * java.am (_am_installdirs): Be sure to set it.
3408 2001-04-09 Akim Demaille <akim@epita.fr>
3410 * automake.in (&make_condition): Return '#' when FALSE.
3411 (&conditional_string): Return FALSE, not '#' in the corresponding
3413 (&file_contents_internal): Adjust.
3414 (&check_variable_defined_unconditional): Dump the guilty variable.
3416 2001-04-09 Akim Demaille <akim@epita.fr>
3418 * distdir.am: Use and abuse of if/endif.
3419 * scripts.am: Using if/endif with variables is fine.
3421 2001-04-09 Akim Demaille <akim@epita.fr>
3423 * automake.in (&make_paragraphs): Extract from &file_contents.
3424 Make it more robust than the previous RE based scheme.
3425 (&file_contents): Use it.
3427 2001-04-09 Akim Demaille <akim@epita.fr>
3429 * automake.in (&make_paragraphs): Extract from &file_contents.
3430 Make it more robust than the previous RE based scheme.
3431 (&file_contents): Use it.
3433 2001-04-09 Akim Demaille <akim@epita.fr>
3435 * tests/yacc2.test: Don't define several times a variable, as
3438 2001-04-09 Akim Demaille <akim@epita.fr>
3440 * automake.in (&handle_source_transform): Fix pr72: don't define
3441 $linker if there are no @files.
3443 2001-04-09 Akim Demaille <akim@epita.fr>
3445 Avoid reading twice header-vars.am as now macro_define
3448 * automake.in (&define_standard_variables): Don't output the
3450 (&read_main_am_file): Output first user variables, then Automake
3452 Don't call twice &define_standard_variables.
3453 Save variable comments in $am_vars.
3454 (&variable_output): New.
3455 (&file_contents_internal): New.
3456 Save variable comments in $am_vars.
3457 (&file_contents): Use it.
3459 2001-04-09 Akim Demaille <akim@epita.fr>
3461 * automake.in (¯o_define): The user is allowed to override
3462 a value if it was set by Automake, or if it was found in AC_SUBST.
3464 2001-04-09 Akim Demaille <akim@epita.fr>
3466 * automake.in (&handle_source_transform): Better locality of the
3468 Use `next' to skip nonexistent variables.
3470 2001-04-09 Akim Demaille <akim@epita.fr>
3472 * automake.in (&variable_dump): If a variable is undefined, say
3474 (&check_ambiguous_conditional): Give finer error messages.
3475 (¯o_define): Check that a `+=' variable is not set with `='.
3476 Check for ambiguous definitions each time you _set_ (even with `+=')
3478 (&read_main_am_file): Perform a deep copy of %conditional.
3480 2001-04-09 Akim Demaille <akim@epita.fr>
3482 * automake.in (&variable_defined): Some callers, e.g.,
3483 &am_primary_prefixes, really want to know if the variable is
3484 defined for any condition, not `TRUE' by default.
3485 (&am_primary_prefixes): Give a more precise error message.
3487 2001-04-09 Akim Demaille <akim@epita.fr>
3489 (&variable_conditions): Don't include `FALSE' in the result.
3491 2001-04-09 Akim Demaille <akim@epita.fr>
3493 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
3494 (&variable_conditions): Don't include `FALSE' in the result.
3496 2001-04-09 Akim Demaille <akim@epita.fr>
3498 * tests/defs, tests/depend3.test: Remove useless code.
3500 2001-04-09 Akim Demaille <akim@epita.fr>
3502 * automake.in (&handle_source_transform): Use
3503 &variable_conditions, don't read $conditional{$var}.
3504 (&variable_conditions_sub): When the call is the top level call,
3505 generate all the permutations of the conditions.
3507 2001-04-09 Akim Demaille <akim@epita.fr>
3509 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
3510 that it does not get noticed twice by automake, which now
3511 complains for multiple definitions.
3512 * tests/vartar.test: s/INSTALL/install/g, automake now complains
3513 because we defined INSTALL.
3515 2001-04-09 Akim Demaille <akim@epita.fr>
3517 * automake.in (&generate_makefile) Use macro_define to define
3518 SOURCES and OBJECTS.
3519 (&variable_defined): Don't check for $conditional{VAR}{COND} as
3520 this would make perl create $condition{VAR}, which we don't want.
3522 2001-04-09 Akim Demaille <akim@epita.fr>
3524 * automake.in (&variable_defined, &define_pretty_variable):
3525 Simplify code which used to handle the cases where not all
3526 variables were in %conditional.
3527 (&define_variable): Use &define_pretty_variable.
3528 (&variable_conditions_sub, &variable_value_as_list_worker)
3529 (&variable_value_as_list, &rule_define): Simplify syntax.
3530 (&read_main_am_file): Dump the guilty predefined variables.
3532 2001-04-09 Akim Demaille <akim@epita.fr>
3534 * automake.in (&variable_conditions_sub)
3535 (&variable_value_as_list_worker): Remove dead code which used to
3536 handle the cases where not all variables were in %conditional.
3538 2001-04-09 Akim Demaille <akim@epita.fr>
3540 * automake.in (&handle_source_transform, &read_main_am_file):
3541 Simplify loops which were split in two parts, conditional vs
3542 unconditional variables.
3544 2001-04-09 Akim Demaille <akim@epita.fr>
3546 Handle unconditional values of variables as conditioned by
3549 * automake.in (%contents): Remove.
3550 (&generate_makefile, &handle_ltlibraries, ¯o_define)
3551 (&read_am_file, &variable_defined, &variable_conditions_sub)
3552 (&variable_value, &variable_value_as_list_worker)
3553 (&variable_value_as_list, &define_pretty_variable)
3554 (&read_main_am_file): Use
3555 $conditional, not %contents.
3556 (&variable_conditions_permutations): Don't return TRUE and FALSE.
3557 (&variable_conditionally_defined): New.
3558 (&handle_dist): Use it.
3559 (&check_ambiguous_conditional): When multiply defined, specify
3560 under which condition.
3561 (¯o_define): Use it.
3562 (&variable_delete): New.
3563 (&read_am_file): Use it.
3564 (&am_install_var): Simplify, as all the variables are in
3567 2001-04-07 Tom Tromey <tromey@redhat.com>
3569 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
3571 * tests/man.test: New file.
3573 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3575 * depcomp (gcc3): Invert test condition.
3577 2001-04-07 Tom Tromey <tromey@redhat.com>
3579 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
3580 statement. Report from Larry Jones.
3582 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3584 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
3586 2001-04-01 Tom Tromey <tromey@redhat.com>
3588 * java.am (.PHONY clean-am): Removed trailing ":".
3589 From Per Bothner. Fixes PR automake/139.
3591 2001-03-28 Akim Demaille <akim@epita.fr>
3593 * program.am: Fix a stupid typo: now *all* (not none) the programs
3595 Reported by Robert Boehne.
3597 2001-03-23 Akim Demaille <akim@epita.fr>
3599 * automake.in (&read_am_file, &file_contents): Avoid name clashes
3602 2001-03-23 Akim Demaille <akim@epita.fr>
3604 * automake.in (&variable_conditionally_defined): Rename as...
3605 (&check_variable_unconditionally_defined): this.
3606 (&variable_dump): Fix the output.
3607 (&variable_defined, ¯o_define): Since conditions are
3608 canonicalized, don't use a loop to look for a condition: read the
3610 (¯o_define, &rule_define, &read_am_file, &file_contents):
3611 Rename $cond_string as $cond.
3612 * distdir.am (PACKAGE, VERSION): Remove; since they are already
3613 discovered via AC_SUBST, they now trigger a `defined twice' error.
3615 2001-03-23 Akim Demaille <akim@epita.fr>
3617 * automake.in (&handle_footer, &handle_installdirs)
3618 (&read_main_am_file): Don't read %contents directly, use
3621 2001-03-23 Akim Demaille <akim@epita.fr>
3623 * automake.in (&read_am_file): Define the variables in a single
3625 Factor the $saw_bk code.
3627 2001-03-23 Akim Demaille <akim@epita.fr>
3629 * automake.in (&read_am_file): Keep $cond_string up to date.
3631 2001-03-23 Akim Demaille <akim@epita.fr>
3633 * automake.in (&define_variable): Use ¯o_define.
3635 2001-03-23 Akim Demaille <akim@epita.fr>
3637 * automake.in (¯o_define): Don't lose the location if we
3638 redefine a variable.
3639 Don't push all the variables in @var_list, let...
3640 (&read_am_file, &file_contents): ... do it.
3641 (&define_pretty_variable): Use macro_define.
3642 (&am_install_var): Delete the value of variables being redefined
3643 to pacify ¯o_define which checks that variables are not
3646 2001-03-23 Akim Demaille <akim@epita.fr>
3648 * automake.in (&conditional_dump): Rename as...
3649 (&variables_dump): this. Use...
3650 (&variable_dump): this new sub.
3652 2001-03-23 Akim Demaille <akim@epita.fr>
3654 * automake.in (&file_contents): Maintain $cond_string sync with
3656 Output rules only if not under `FALSE'.
3657 Define variables under $cond_string.
3658 * scripts.am: For the time being if/endif does not work properly
3661 2001-03-23 Akim Demaille <akim@epita.fr>
3663 * automake.in (IF_PATTERN): Unobfuscate the parens.
3664 (ENDIF_PATTERN): Allow a condition to be specified.
3665 (&file_contents): Use a @cond_stack.
3666 (&transform): At least for an easy transition, also transform
3667 %?FOO% and %!FOO%, as suggested by Lars.
3668 * scripts.am: First test bed for static if/endif use.
3670 2001-03-23 Akim Demaille <akim@epita.fr>
3672 * automake.in (&file_contents): Use rule_define.
3674 2001-03-23 Akim Demaille <akim@epita.fr>
3676 * automake.in (¯o_define): Don't rely on $1.
3677 Initialize the variable.
3678 Set its Automakism only if not defined or if given to the user.
3679 When concatenating values, insert a separator only if the value
3681 (&read_am_file): When dumping the @var_list, skip Automake
3683 (&file_contents): Use macro_define.
3685 2001-03-23 Akim Demaille <akim@epita.fr>
3687 * automake.in (&rule_define): Extract from...
3688 (&read_am_file): here.
3690 2001-03-23 Akim Demaille <akim@epita.fr>
3692 * automake.in (¯o_define, &read_am_file): More work for the
3693 former from the latter. Reorganize the latter.
3695 2001-03-23 Akim Demaille <akim@epita.fr>
3697 * automake.in (¯o_define): Extract from...
3698 (&read_am_file): here.
3700 2001-03-23 Akim Demaille <akim@epita.fr>
3702 * automake.in (%am_var_defs): Replace with...
3704 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3705 (&file_contents, am_primary_&prefixes): Adjust.
3706 (&variable_defined, &define_variable): The actual semantics is
3708 (&read_main_am_file): Assert the var is user defined when
3709 outputting @var_list.
3711 2001-03-23 Akim Demaille <akim@epita.fr>
3713 * automake.in (read_am_file): TRUE and FALSE are predefined
3715 (&by_condition): Adjust.
3716 (&conditional_string): Recognize `TRUE' and `FALSE'.
3717 (&make_condition): Use it.
3718 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3719 * automake.texi (Conditionals): Adjust.
3720 * tests/cond9.test: s/FALSE/WRONG/.
3722 2001-03-12 Pavel Roskin <proski@gnu.org>
3724 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3727 2001-03-12 Akim Demaille <akim@epita.fr>
3729 * automake.in (&variable_conditions_permutations): Separate the
3731 * tests/cond3.test: Improve the sed expression.
3733 2001-03-09 Pavel Roskin <proski@gnu.org>
3735 * Makefile.am (maintainer-check): Scan all *.am files and tests
3736 for invocations of `rm' without `-f'.
3737 * tests/mclean.test: Adjusted to prevent triggering the above
3740 2001-03-09 Tom Tromey <tromey@redhat.com>
3742 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3743 maintainer-check failure.
3745 2001-03-09 Akim Demaille <akim@epita.fr>
3747 * tests/cond3.test: Strengthen.
3749 2001-03-09 Akim Demaille <akim@epita.fr>
3751 * automake.in (&conditional_string): Produce a unique string
3752 characterizing a condition stack.
3753 (&conditional_same): Remove, comparing two strings is now enough.
3754 (&variable_defined): Adjust.
3755 (&read_am_file): Use conditional_string.
3757 2001-03-08 Akim Demaille <akim@epita.fr>
3759 * automake.in: Use -w.
3760 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3761 (&parse_arguments): Support --Werror and --Wno-error as a
3762 temporary hack until --warning/-W is properly implemented.
3763 (&handle_single_transform_list): Prototype.
3764 Be sure to define $directory.
3765 Use `exists' instead of testing the value of a maybe undefined
3767 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3768 (&handle_factored_dependencies): Use defined values.
3769 (&scan_one_autoconf_file): Save $_.
3770 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3771 Run automake with --Wno-error.
3773 2001-03-07 Akim Demaille <akim@epita.fr>
3775 * automake.in (&handle_all): Use an array instead of a scalar for
3777 Get rid of all-redirect: let `all' be that target.
3779 2001-03-07 Akim Demaille <akim@epita.fr>
3781 * automake.in (&handle_merge_targets): Ventilate its non `all'
3782 related content into...
3783 (&generate_makefile): here.
3784 (&handle_merge_targets): Rename as...
3785 (&handle_all): this.
3786 Remove a useless `if': `@all' is obviously not empty, since it
3787 contains at least the `basename ($makefile)' which has just been
3790 2001-03-07 Akim Demaille <akim@epita.fr>
3792 * automake.in, aclocal.in: Backquote is inert in double quotes.
3794 2001-03-06 Akim Demaille <akim@epita.fr>
3796 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3799 2001-03-06 Pavel Roskin <proski@gnu.org>
3801 * java.am: Use `rm -f' instead of `rm'.
3803 2001-03-06 Akim Demaille <akim@epita.fr>
3805 * automake.in (&push_dist_common): Simplify.
3807 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3809 * ltlib.am: Replaced spaces with tab.
3811 2001-03-06 Pavel Roskin <proski@gnu.org>
3813 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3816 2001-03-05 Pavel Roskin <proski@gnu.org>
3818 * header.am, scripts.am: Use ?INSTALL? in the install and
3821 2001-03-05 Pavel Roskin <proski@gnu.org>
3823 * tests/copy.test: Never use `rm' without `-f' - it may ask
3824 questions, notably for read-only files during `make distcheck'.
3825 * tests/insh.test: Likewise.
3826 * tests/installsh.test: Likewise.
3827 * tests/symlink.test: Likewise.
3828 * tests/symlink2.test: Likewise.
3829 * tests/symlink3.test: Likewise.
3831 2001-03-05 Pavel Roskin <proski@gnu.org>
3833 * noinstdir.test: New test.
3834 * tests/Makefile.am (TESTS): Add noinstdir.test.
3835 (XFAIL_TESTS): Likewise.
3837 2001-03-05 Akim Demaille <akim@epita.fr>
3839 * automake.in (&handle_options): Change the RE so that the third
3840 part of the versions always exist.
3841 (&file_contents): Don't pass uninitialized values to &transform.
3843 2001-03-05 Akim Demaille <akim@epita.fr>
3845 * automake.in (&file_contents): Require a hash as second argument.
3848 2001-03-05 Akim Demaille <akim@epita.fr>
3850 Always use hashes with &file_contents.
3852 * automake.in (&handle_texinfo): texibuild.am does not need
3854 texinfos.am wants only TEXICLEANS.
3855 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3857 * texinfos.am: Adjust.
3859 2001-03-05 Akim Demaille <akim@epita.fr>
3861 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3862 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3863 (&am_install_var): Forget about `-clean'.
3864 Transform ?INSTALL?.
3865 Always output the *.am file.
3866 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3867 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3868 Remove, merged into the corresponding *.am file.
3869 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3872 2001-03-05 Pavel Roskin <proski@gnu.org>
3874 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3876 2001-03-05 Akim Demaille <akim@epita.fr>
3878 If OBJEXT and EXEEXT are not set, provide a default value, and use
3879 them unconditionally.
3881 * automake.in (&generate_makefile): Provide default values for
3883 (&get_object_extension, &finish_languages)
3884 (&handle_single_transform_list, &handle_programs, &add_depend2)
3885 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3886 them, they are defined.
3887 * compile.am, depend2.am, program.am, progs.am: Likewise.
3888 * remake-hdr.am: Fix a typo.
3889 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3890 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3891 * tests/suffix2.test: Adjust.
3893 2001-03-05 Akim Demaille <akim@epita.fr>
3895 * automake.in (&file_contents): Map MAINTAINER-MODE to
3896 @MAINTAINER_MODE_TRUE@ or nothing.
3897 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3900 2001-03-05 Akim Demaille <akim@epita.fr>
3902 * automake.in (&do_one_merge_target): Remove, was only called from...
3903 (&handle_merge_targets): here for `all'.
3906 2001-03-05 Akim Demaille <akim@epita.fr>
3908 Make the installation/uninstallation of Info pages follow the
3909 regular am/recursive scheme.
3911 * automake.in (%required_targets, %dependencies): Add
3913 (%dependencies): Add install-info, install-info-am, and
3915 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3916 reversed BTW. Does anybody use the option `no-installinfo'?
3917 (&handle_merge_targets): Let the handling of info related targets
3919 (&handle_factored_dependencies): this.
3920 * subdirs.am: Use ?INSTALL-INFO?.
3921 * texinfos.am: Define the install-info, uninstall-info and
3922 uninstall-info-am targets.
3924 2001-03-05 Akim Demaille <akim@epita.fr>
3926 * automake.in (%required_targets, %dependencies): Add dvi, info,
3928 (@info, @dvi): Remove.
3929 (&handle_texinfo, &handle_merge_targets): Adjust.
3930 (&handle_factored_dependencies): Required targets are phony.
3931 * texinfos.am: Build info, dvi, and the corresponding -am or
3934 2001-03-05 Akim Demaille <akim@epita.fr>
3936 * automake.in (&am_install_var): Remove $cygxform, unused.
3938 2001-03-05 Akim Demaille <akim@epita.fr>
3940 * automake.in (&file_contents): Transform LIBTOOL.
3941 (&am_install_var): Remove $ltxform.
3942 * ltlib.am, progs.am: Adjust.
3944 2001-03-05 Akim Demaille <akim@epita.fr>
3946 * automake.in: Require AC_PROG_INSTALL in...
3947 (&scan_autoconf_files): here.
3949 2001-03-05 Akim Demaille <akim@epita.fr>
3951 * configure.am: New file.
3952 * automake.in (&file_contents): Transform CONFIGURE-AC.
3953 (&handle_texinfo, &handle_configure): Don't transform
3955 (&handle_configure): Use `configure.am'.
3956 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3957 MAINTAINER-MODE and CONFIGURE-AC.
3959 2001-03-05 Akim Demaille <akim@epita.fr>
3961 * automake.in (&pretty_print_internal): Don't output useless
3963 (define_pretty_variable): Don't issue the space after the `=' sign
3964 to avoid trailing spaces in Makefile.ins.
3966 2001-03-05 Akim Demaille <akim@epita.fr>
3968 * automake.in (&generate_makefile): Invoke &initialize_per_input
3969 *before* setting $am_file_name and $in_file_name.
3971 2001-03-05 Akim Demaille <akim@epita.fr>
3973 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3974 Globals, initialized...
3975 (&initialize_per_input): here.
3977 2001-03-05 Akim Demaille <akim@epita.fr>
3979 * automake.in ($am_relative_dir): Global.
3980 (&initialize_per_input): Init it.
3981 (%make_list, @make_input_list): My them from
3982 (&scan_autoconf_files): here.
3983 (&require_file_internal): Mying changes.
3985 2001-03-05 Akim Demaille <akim@epita.fr>
3987 * automake.in (%am_vars, @var_list, %def_type): Globals.
3988 (&initialize_per_input): Initialize them.
3989 (&read_main_am_file): Don't local them.
3990 (&get_object_extension): $objext is private.
3991 (&handle_single_transform_list): $lang is.
3992 (&handle_ltlibraries): $libname_rx is.
3993 (&scan_autoconf_config_files): How about actually paying attention
3994 to your arguments, instead of working on $_? (this is no Perl
3995 variable, it's a Perl variable followed by a question mark).
3996 (&file_contents): $contents and $separator are private.
3997 (&am_install_var): Declare @condvals, not $condvals.
4000 2001-03-05 Akim Demaille <akim@epita.fr>
4002 * automake.in (&initialize_per_input): Move to the top.
4003 Precede with the `my' list of its variables.
4005 2001-03-05 Akim Demaille <akim@epita.fr>
4007 * automake.in ($am_file): Use vars.
4008 ($am_file_name, $in_file_name): Private to &generate_makefile.
4010 2001-03-05 Akim Demaille <akim@epita.fr>
4012 * automake.in: Preparation for `use strict': Move the
4013 initialization of the constants to the top, from...
4014 (&initialize_global_constants): here.
4016 2001-03-05 Akim Demaille <akim@epita.fr>
4018 * automake.in (&handle_single_transform_list, &add_depend2): Let
4019 $lang_specific_files{$lang} be a list instead of a string.
4021 2001-03-05 Akim Demaille <akim@epita.fr>
4023 Let's make it run ten times faster...
4025 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4027 (&file_contents): Let `$command' remove the Automake commands, and
4028 normalize the series of `\n'.
4029 Slurp the file and apply $command in a single step.
4030 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4031 is already normalized to be handled by &transform.
4033 2001-03-05 Tom Tromey <tromey@redhat.com>
4035 * automake.in (register_language): Add entry for `-pure'.
4036 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4037 (finish_languages): Use `-pure' field of language map.
4039 2001-03-03 Tom Tromey <tromey@redhat.com>
4041 * tests/yaccvpath.test: No need to remove dummy files.
4042 * tests/subobj3.test: No need to remove dummy files.
4043 * tests/pr9.test: No need to remove dummy files.
4044 * tests/pr87.test: No need to remove dummy files.
4045 * tests/pr19.test: No need to remove dummy files.
4046 * tests/install2.test: No need to remove dummy files.
4047 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4050 2001-02-27 Pavel Roskin <proski@gnu.org>
4052 * tests/yaccvpath.test: Add a delay to make parse.c really out
4053 of date. Detect the problem earlier, after `make distdir'. Drop
4054 dependency on flex. Always use the `-y' flag for bison. Comment
4056 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4058 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4060 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4062 2001-02-28 Akim Demaille <akim@epita.fr>
4064 * automake.in (&add_depend2): Transform `GENERIC'.
4065 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4066 addition was broken by the `@ -> %' patch.
4067 * depend2.am: Adjust to use ?GENERIC?.
4069 2001-02-28 Akim Demaille <akim@epita.fr>
4071 * Makefile.am (maintainer-check): `undef $/' is OK.
4073 2001-02-28 Akim Demaille <akim@epita.fr>
4075 * automake.in (&handle_configure): Fortunately, $top_reldir,
4076 the definition of which was highly suspicious, was unused.
4078 2001-02-27 Akim Demaille <akim@epita.fr>
4080 * automake.in (%exec_dir_p): Move to the top so that it is visible
4083 2001-02-27 Pavel Roskin <proski@gnu.org>
4085 * tests/yaccvpath.test: Prevent automake from looking into ..
4086 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4088 2001-02-27 Akim Demaille <akim@epita.fr>
4090 * automake.in (%exec_dir_p): Pulled out from...
4091 (&am_primary_prefixes): here.
4093 2001-02-27 Akim Demaille <akim@epita.fr>
4095 * automake.in (&usage): Display $0, not $me.
4097 2001-02-27 Akim Demaille <akim@epita.fr>
4099 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4100 * automake.in (&handle_clean): Don't escape what's given to
4103 2001-02-27 Akim Demaille <akim@epita.fr>
4105 Distinguish automake substitutions from config.status
4108 * automake.in (&add_depend2): Transform AMDEP.
4109 (&handle_clean): Transform MCFILES and MFILES.
4110 (&file_contents): Transform MAINTAINER_MODE.
4111 (&transform, &am_install_var): Use `%', not `@'.
4112 Adjust all the *.am files.
4113 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4114 * depend2.am: Display the double dependency on both ?AMDEP? and
4117 2001-02-27 Tom Tromey <tromey@redhat.com>
4119 * distdir.am (distcheck): Fixed new code.
4121 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4122 Only configure once.
4124 * distdir.am (distcheck): Print error message if distclean failed
4127 2001-02-27 Pavel Roskin <proski@gnu.org>
4129 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4131 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4133 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4134 * tests/yaccvpath.test: New file.
4136 2001-02-26 Akim Demaille <akim@epita.fr>
4138 * automake.in (&am_install_var): Recognize whether predefined
4139 directories are `data' or `exec'.
4140 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4142 * tests/instdata2.test: Update.
4144 2001-02-26 Akim Demaille <akim@epita.fr>
4146 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4147 necessarily in infodir.
4149 2001-02-26 Akim Demaille <akim@epita.fr>
4151 * automake.in ($am_file): Be `local', as my'd variables used in
4152 `foreach' loops are always private to the loop.
4154 2001-02-26 Pavel Roskin <proski@gnu.org>
4156 * Makefile.am: Add install.am.
4158 2001-02-26 Akim Demaille <akim@epita.fr>
4160 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4161 routines, otherwise the elements to compare are passed in @_
4162 instead of $a and $b.
4164 2001-02-26 Akim Demaille <akim@epita.fr>
4166 * automake.in (%required_targets): `installcheck-am' is needed.
4168 2001-02-26 Akim Demaille <akim@epita.fr>
4170 * automake.in (&transform_cond): Merge into...
4174 2001-02-26 Akim Demaille <akim@epita.fr>
4176 * automake.in (&handle_dist): Use &transform instead of dedicated
4178 But be sure to always do it.
4179 * distdir.am: Adjust.
4181 2001-02-26 Akim Demaille <akim@epita.fr>
4183 * automake.in: Use File::Basename.
4184 (&dirname, &basename): Remove.
4186 2001-02-26 Akim Demaille <akim@epita.fr>
4188 * automake.in ($me): New.
4190 (&usage): Display your full name.
4192 2001-02-26 Akim Demaille <akim@epita.fr>
4194 * automake.texi (Invoking Automake): Remove dead options.
4196 2001-02-26 Akim Demaille <akim@epita.fr>
4198 * automake.in (&scan_texinfo_file): Also compute the list of files
4200 Handle local errors.
4201 (&handle_texinfo): Use it.
4203 2001-02-26 Akim Demaille <akim@epita.fr>
4205 * automake.in: Don't pass arguments to...
4206 (&parse_arguments): Work on @ARGV.
4208 Add support for `-f'.
4212 2001-02-26 Akim Demaille <akim@epita.fr>
4214 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4215 handle installcheck and installcheck-am.
4216 * install.am: Do it.
4218 2001-02-26 Akim Demaille <akim@epita.fr>
4220 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4221 handle install and install-am.
4222 * install.am: Do it.
4224 2001-02-26 Akim Demaille <akim@epita.fr>
4226 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4227 work on targets handled by %dependencies.
4228 (&handle_factored_dependencies): Do it.
4229 * install.am: Install install-exec, install-data and uninstall's
4232 2001-02-26 Akim Demaille <akim@epita.fr>
4234 * automake.in (&handle_merge_targets): Move `install-strip' from
4236 * install.am: to here.
4238 2001-02-26 Akim Demaille <akim@epita.fr>
4240 * automake.in (@installdirs): Remove.
4241 (&file_contents): Be able to grow Automake macros with `+='.
4242 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4243 files define _am_installdirs.
4244 (&handle_installdirs): Remove the code, just output `install.am'.
4246 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4247 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4249 2001-02-26 Akim Demaille <akim@epita.fr>
4251 * tests/instdata2.test (libexec_DATA): Exercise more
4254 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4256 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4258 2001-02-25 Tom Tromey <tromey@redhat.com>
4260 * tests/instdata2.test: Added `sbin_DATA' check.
4262 * tests/Makefile.am (TESTS): Added subdircond.test.
4263 * tests/subdircond.test: New file.
4264 * automake.in (handle_gettext): Don't fail if SUBDIRS
4265 conditionally defined.
4267 * automake.in: Use IO::File.
4268 (generate_makefile): Use IO::File.
4269 (scan_texinfo_file): Likewise.
4270 (handle_aclocal_m4): Likewise.
4271 (scan_autoconf_traces): Likewise.
4272 (scan_one_autoconf_file): Likewise.
4273 (read_am_file): Likewise.
4274 (file_contents): Likewise.
4277 2001-02-25 Akim Demaille <akim@epita.fr>
4279 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4281 2001-02-25 Akim Demaille <akim@epita.fr>
4283 * automake.in (&transform): Also call &transform_cond on your
4285 (&handle_dist): Adjust.
4286 (&handle_factored_dependencies): Uniq dependencies.
4288 2001-02-25 Akim Demaille <akim@epita.fr>
4290 * automake.in (&handle_gettext): Simplify redundant `if'.
4291 Used &variable_value, don't read %contents directly.
4293 2001-02-25 Akim Demaille <akim@epita.fr>
4295 * automake.in ($install_recursive): Remove, replaced with calls to
4296 `&variable_defined ('SUBDIRS')'.
4297 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4298 (&file_contents): now does.
4300 2001-02-25 Akim Demaille <akim@epita.fr>
4302 * automake.in (&handle_man_pages): $found is dead.
4304 2001-02-25 Akim Demaille <akim@epita.fr>
4306 Internally just store the conditionals as space separated lists of
4307 CONDITIONS (instead of @CONDITIONS@).
4309 * automake.in (&conditional_true_when, &variable_conditions_sub):
4310 Split conditions at spaces.
4311 (&handle_dependencies, &variable_conditions_permutations): Don't
4312 put @ around conditions.
4313 (&variable_conditions_cmp): There are no @ to strip.
4314 (&make_condition): New.
4315 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4317 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4318 Join @conditional_stack with spaces.
4319 (&read_main_am_file): Adjust the output of variables.
4320 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4321 true' and no longer `@TEST@TRUE = @TEST@true'.
4322 (&variable_conditions_cmp): Rename as...
4323 (&by_condition): this.
4324 Sort in a human pleasant order.
4325 Use it everywhere a human can see conditions.
4326 (&variable_conditions_reduce): Don't sort conditions, that's
4328 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4330 2001-02-25 Akim Demaille <akim@epita.fr>
4332 * automake.in: `my' the globals.
4334 2001-02-25 Akim Demaille <akim@epita.fr>
4336 * automake.in (&initialize_per_input): %targets_conditionals is
4338 (&read_am_file): When slurping a rule, set the target related
4339 variable, and no variable related variable.
4340 (&file_contents): Likewise.
4341 * tests/vartar.test, tests/ctarget1.test: New.
4343 2001-02-25 Akim Demaille <akim@epita.fr>
4345 * automake.in (&variable_defined, &variable_value_as_list_worker):
4346 If $VAR is effectively a variable, don't die if it's also a
4348 Plus some formatting changes.
4350 2001-02-25 Akim Demaille <akim@epita.fr>
4352 * automake.in: Mying changes.
4353 * Makefile.am (maintainer-check): Check the stability of the
4354 number of uses of `local'.
4356 2001-02-25 Akim Demaille <akim@epita.fr>
4358 * automake.in: Mying changes.
4360 2001-02-25 Akim Demaille <akim@epita.fr>
4362 * automake.in: Mying changes.
4364 2001-02-25 Akim Demaille <akim@epita.fr>
4366 * automake.in: Mying changes.
4367 (&handle_tags): Fix a bug uncovered by the previous mying changes:
4368 transform CONFIG into $config, not $xform.
4370 2001-02-25 Akim Demaille <akim@epita.fr>
4372 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4373 Don't deal with install-data-am, install-exec-am and unstall-am.
4374 (&initialize_per_input): Add them to %dependencies.
4375 Remove %exec_dir_p since the *.am files are now in charge of it.
4376 Remove @uninstall, @install_data, @install_exec.
4377 (&handle_merge_targets): Adjust to these removals.
4378 (&file_contents): Also &transform_cond for --no-installman and
4380 (&do_one_merge_target): Add some magic to install hooks on
4381 %dependencies' targets.
4382 (%required_targets): New.
4383 (&handle_factored_dependencies): Output required targets.
4384 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4385 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4386 * texinfos.am: Declare your dependencies on install-data-am,
4387 install-exec-am and uninstall-am.
4388 * tests/instdata2.test (incldata_HEADERS): New test.
4390 2001-02-24 Tom Tromey <tromey@redhat.com>
4392 * Makefile.am (amfiles): Added texibuild.am.
4393 * texibuild.am: New file.
4394 * tests/Makefile.am (TESTS): Added texinfo9.test.
4395 * tests/texinfo9.test: New file.
4396 * automake.in (handle_texinfo): Keep track of suffixes used. Give
4397 error if suffix unrecognized. Removed extraneous newline.
4399 2001-02-23 Akim Demaille <akim@epita.fr>
4401 * automake.in (&am_install_var): Don't hook on the clean targets
4403 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4404 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4407 2001-02-23 Akim Demaille <akim@epita.fr>
4409 * automake.in: Promote local `my' over `local'.
4411 2001-02-23 Akim Demaille <akim@epita.fr>
4413 * automake.in: Formatting and mying changes.
4415 2001-02-23 Akim Demaille <akim@epita.fr>
4417 * automake.in: Formatting and mying changes.
4419 2001-02-23 Akim Demaille <akim@epita.fr>
4421 * automake.in (&handle_man_pages): Let install-man and
4422 uninstall-man be handled by the dependency tracker.
4423 (&initialize_per_input): Let %dependencies track them.
4424 * mans.am: Add the needed hooks with the proper dependencies.
4426 2001-02-22 Pavel Roskin <proski@gnu.org>
4428 * tests/target-cflags.test: Don't use subshell to configure in
4429 subdirectory. Typo fix - run `./foo', not `/foo'.
4431 2001-02-22 Akim Demaille <akim@epita.fr>
4433 * automake.in: Formatting and mying changes.
4435 2001-02-21 Tom Tromey <tromey@redhat.com>
4437 * automake.in (handle_dist): Introduce new variable to avoid extra
4438 keys in %dist_dirs. Fixes distdir.test.
4440 * automake.in (handle_texinfo): Only remove suffixes we can
4443 * tests/distdir.test: Check to make sure directory isn't made in
4446 * automake.in (handle_dist): Do nothing in Cygnus mode.
4448 2001-02-21 Pavel Roskin <proski@gnu.org>
4450 * header-vars.am: Remove tabs before variable definitions.
4452 2001-02-21 Akim Demaille <akim@epita.fr>
4454 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
4457 2001-02-21 Akim Demaille <akim@epita.fr>
4459 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
4460 numeric value as required by Perl 5.6.
4462 2001-02-21 Akim Demaille <akim@epita.fr>
4464 * dist-vars.am: Remove, merge into...
4466 * automake.in (dirname, basename, backname): Move to the top of
4467 the file so that prototypes are checked,
4468 Use them without `&'.
4469 (&handle_dist): Adjust.
4471 2001-02-21 Akim Demaille <akim@epita.fr>
4473 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
4474 Use a uniform naming scheme.
4475 ("e_cond_val, &unquote_cond_val): Delete, dead code.
4476 (&read_am_file): Fix conditional definition of backslash continued
4479 2001-02-21 Akim Demaille <akim@epita.fr>
4481 Change the handling of conditionals: instead of using an ad-hoc
4482 encoding to store a hash in a string, use hashes.
4484 * automake.in (&conditional_dump): New.
4485 (&check_ambiguous_conditional, &variable_defined)
4486 (&variable_conditions_sub, &variable_value_as_list_worker)
4487 (&define_variable, read_am_file, &read_main_am_file): Be sure to
4488 handle `$conditional{$vars}' as a hash instead of a plain string.
4490 2001-02-21 Akim Demaille <akim@epita.fr>
4492 * automake.in (&conditional_true_when): Modernize, simplify.
4493 Warning: `$comp' is now private (my), while it used to be
4494 `inherited' from a `local' elsewhere in the code. AFAICT it was
4495 wrong, but some dirty side effect might show up.
4496 (&conditionals_true_when): New.
4497 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
4499 2001-02-21 Akim Demaille <akim@epita.fr>
4501 * automake.in ($top_builddir): Remove, used in one place.
4502 (&define_standard_variables): Adjust.
4503 Move the definition of triplet variables into...
4504 * header-vars.am: here.
4506 2001-02-21 Akim Demaille <akim@epita.fr>
4508 * automake.in (&initialize_global_constants): Don't define $USAGE.
4509 (&usage): Handle the former content of $USAGE.
4510 Don't pretend autoconf cares about Makefile.in.
4511 Classify the options.
4512 (&handle_tests): Formatting and mying changes.
4514 2001-02-21 Akim Demaille <akim@epita.fr>
4516 * automake.in (&handle_tests_dejagnu): Move the definition of a
4517 default `site.exp' into...
4518 * dejagnu.am (site.exp): here.
4519 Use DOS compliant file names.
4521 2001-02-21 Akim Demaille <akim@epita.fr>
4523 * automake.in (&dist_cmp): New.
4524 (&handle_dist): Use it.
4525 Promote `my' over `local'.
4527 2001-02-21 Akim Demaille <akim@epita.fr>
4529 * dist.am: Remove, merge into...
4530 * distdir.am: here. Use the neat sed snippet for banners.
4531 BTW, distcheck is phony.
4532 * automake.in (&handle_dist_worker): Remove, merge into...
4533 (&handle_dist): this.
4534 (&file_contents): Strip leading new lines.
4535 Be sure to end comments with new lines.
4537 2001-02-21 Akim Demaille <akim@epita.fr>
4539 * distdir.am (GZIP_ENV): Define.
4540 * automake.in (&handle_dist): Don't.
4542 (&handle_dist_worker, &am_install_var): Use it.
4544 2001-02-21 Akim Demaille <akim@epita.fr>
4546 * distdir.am (distdir): Handle the DIST-TARGETS.
4547 * automake.in (&handle_dist_worker): Don't.
4549 2001-02-21 Akim Demaille <akim@epita.fr>
4551 * automake.in (&file_contents): Transform the global options (such
4553 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
4555 2001-02-21 Akim Demaille <akim@epita.fr>
4557 * distdir.am (distdir): Be sure to have permissive rights on its
4559 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
4561 And BTW, all these guys are phony.
4562 * automake.in (&handle_dist_worker): As its name doesn't indicate,
4563 output distributions.
4564 (&handle_dist): As its name doesn't indicate, don't.
4565 (&initialize_global_constants): Don't define variables which
4566 content is now handled by distdir.am.
4567 But register `dist-all' as a factored target.
4568 (&handle_factored_dependencies): Don't output empty targets.
4570 2001-02-20 Tom Tromey <tromey@redhat.com>
4572 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
4575 2001-02-18 Tom Tromey <tromey@redhat.com>
4577 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
4578 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
4579 (AM_PROG_STRIP): Commented out.
4581 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
4583 * depcomp (gcc3): Protect against the compiler deleting
4584 the dependency output file.
4586 2001-02-17 Tom Tromey <tromey@redhat.com>
4588 * automake.in (handle_merge_targets): Use double quotes around
4589 setting of INSTALL_STRIP_PROGRAM.
4590 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
4591 to absolute path at runtime.
4592 (AM_PROG_STRIP): Don't explicitly test $STRIP.
4594 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
4596 * m4/strip.m4: New file.
4597 * m4/Makefile.am (m4data_DATA): Add strip.m4.
4598 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
4599 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
4600 * automake.in (handle_merge_targets): In the install-strip rule,
4601 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
4602 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
4603 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
4604 don't use INSTALL_STRIP_FLAG any longer.
4606 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4608 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
4611 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4613 * automake.in (unquote_m4_arg): New function.
4614 (scan_one_configure_file): Call unquote_m4_arg on
4615 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
4618 2001-02-15 Tom Tromey <tromey@redhat.com>
4620 * config.guess, config.sub: New versions from FSF.
4622 * Makefile.am (WGET): New macro.
4623 (FETCHFILES): New macro.
4624 (fetch): New target.
4626 * tests/subobj3.test: Exit with status 77 if gcc not found.
4627 * tests/pr9.test: Exit with status 77 if gzip not found.
4628 * tests/pr87.test: Exit with status 77 if gcc not found.
4629 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
4630 * tests/install2.test: Exit with status 77 if gzip not found.
4631 * tests/exsource.test: Exit with status 77 if GNU make not found.
4632 * tests/ansi3.test: Exit with status 77 if gcc not found.
4634 * tests/target-cflags.test: Require GNU make. Exit with status 77
4635 if gcc or make not found. Fixes PR automake/121.
4637 * configure.in: Require Perl 5.005.
4638 * automake.in: Require 5.005.
4640 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4641 Fixes PR automake/122.
4643 2001-02-14 Tom Tromey <tromey@redhat.com>
4645 * automake.in (add_depend2): Only emit a given object rule once.
4646 Fixes specflags6.test.
4648 2001-02-14 Richard Boulton <richard@tartarus.org>
4650 * tests/specflags6.test: New file.
4652 2001-02-14 Tom Tromey <tromey@redhat.com>
4654 * automake.texi (A Shared Library): Mention -module.
4656 2001-02-13 Tom Tromey <tromey@redhat.com>
4658 * automake.in (do_one_merge_target): Always register $name and
4661 * automake.in (do_one_merge_target): Register `all' as phony
4664 * configure.in: Updated to 1.4e for cvs.
4666 2001-02-12 Tom Tromey <tromey@redhat.com>
4668 * configure.in: Updated to 1.4d and released.
4670 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4671 names through autoconf.
4673 Fix for subdirbuiltsources.test:
4674 * automake.in (initialize_per_input): [all_target] Initialize to
4676 (handle_merge_targets): Use all-redirect target to handle built
4678 (do_one_merge_target): Don't generate all-redirect rule.
4680 2001-02-11 Peter Muir <iyhi@yahoo.com>
4682 * tests/subdirbuiltsources.test: New file.
4683 * tests/Makefile.am (TESTS): Added new file.
4685 2001-02-10 Tom Tromey <tromey@redhat.com>
4687 * tests/condlib.test: New file.
4688 * tests/Makefile.am (TESTS): Added new file.
4690 2001-02-10 Lars J. Aas <larsa@sim.no>
4692 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4693 (&canonicalize): New. Includes '@' in canonical range.
4694 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4695 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4697 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4699 * automake.in (handle_configure): Revert part of
4700 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4701 set CONFIG_COMMANDS explicitly.
4703 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4705 * depcomp (gcc3): Propagate exit code.
4707 2001-02-09 Lars J. Aas <larsa@sim.no>
4709 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4711 2001-02-09 Tom Tromey <tromey@redhat.com>
4713 Clean up maintainer-check warnings:
4714 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4716 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4718 2001-02-09 Akim Demaille <akim@epita.fr>
4720 * automake.in (&file_contents): Remove a dead branch.
4722 2001-02-09 Akim Demaille <akim@epita.fr>
4724 * automake.in (&transform): Use `my', not `local'.
4725 (&transform_cond): New.
4726 (&get_object_extension, &handle_texinfo, &handle_tags)
4727 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4728 (&handle_tests_dejagnu): Use it.
4729 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4730 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4732 2001-02-09 Akim Demaille <akim@epita.fr>
4734 * automake.in: Various formatting changes, and modernization of
4737 (&handle_configure, define_standard_variables): Use it.
4739 2001-02-08 Tom Tromey <tromey@redhat.com>
4741 * automake.in (file_contents): Only add $actions if any are
4742 found. Fixes new failure in pr87.test.
4744 2001-02-08 Pavel Roskin <proski@gnu.org>
4746 * tests/pr87.test: Check foo/Makfile.in after it is created.
4748 2001-02-08 Tom Tromey <tromey@redhat.com>
4750 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4751 Report from Lars J. Aas.
4753 2001-02-07 Lars J. Aas <larsa@sim.no>
4755 * lisp.am (install-@DIR@LISP): Removed extra space.
4756 * header.am (install-@DIR@HEADERS): Removed extra space.
4757 * data.am (install-@DIR@DATA): Removed extra space.
4759 2001-02-07 Tom Tromey <tromey@redhat.com>
4761 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4763 * automake.in (handle_dependencies): Use _am_include, not
4765 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4766 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4768 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4770 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4772 * automake.in (handle_configure): Handle case where output file is
4773 in subdir with no Makefile of its own. Fixes remake3.test,
4776 2001-02-06 Pavel Roskin <proski@gnu.org>
4778 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4780 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4781 * tests/exsource.test: Likewise.
4783 2001-02-06 Derek Price <derek.price@openavenue.com>
4785 * automake.in (handle_configure): Fix syntax error.
4787 2001-02-06 Akim Demaille <akim@epita.fr>
4789 * subdirs.am: This file is the exception: clean recursive targets
4790 are called by the clean targets, not the clean-am targets.
4791 Otherwise we have a circular dependency: clean -> clean-am ->
4792 clean-recursive -> clean.
4793 * automake.in (handle_clean): Bind `-local' targets to `-am'
4794 targets, not top targets.
4795 Don't declare -recursive dependencies of the clean targets:
4796 `subdirs.am' did it. Less hard coded knowledge, transfered
4800 2001-02-06 Akim Demaille <akim@epita.fr>
4802 Monstro unsplitable patch.
4804 The aim is to remove hard coded knowledge about clean targets from
4805 automake.in, leaving them in the *.am files.
4806 In addition to the mechanic needed to factor some dependencies, it
4807 appears some rules (most notably distclean and maintainer-clean)
4808 need factored actions. So first, be ready to catch factored
4811 * automake.in (&file_contents): For the time being, use an extended
4812 $RULE_PATTERN which is able to match any kind of rules, with or
4813 without dependency, with or without actions.
4814 Handle all the rules uniformly, storing in %actions the factored
4816 (&flatten, &target_cmp): New.
4817 (&handle_factored_dependencies): Output the %actions.
4818 No longer special case `clean'.
4819 Output the rules in alphabetical order, but keeping `.PHONY' last.
4821 Now we must not use &push_phony_cleaners, which is doing all sort
4822 of magic to push a bit of everything in all the clean targets.
4823 The biggest problem being that, making a Cartesian product, it
4824 requires many useless targets. The `*.am' file know better.
4825 But first, register the new factored rules.
4827 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4828 maintainer-clean, distclean and their `*-am' counterpart in
4830 Initialize %actions.
4831 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4832 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4833 (handle_emacs_lisp, handle_python): Don't play with
4834 &push_phony_cleaners nor &depend and `clean'.
4835 * texinfos.am, texi-vers.am, tags-clean.am:
4836 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4837 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4838 * clean-kr.am, clean-hdr.am: Do it.
4839 Whenever a target is empty, just remove it, it will no longer be
4842 There is still some magic about clean to hard code. But really,
4843 that's the end of &do_one_clean_target.
4845 * automake.in (&do_one_clean_target): Kaboom out.
4846 (&handle_clean): Rewrite the magic code.
4847 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4849 (&push_phony_cleaners): Kaboom too.
4851 2001-02-06 Akim Demaille <akim@epita.fr>
4853 * automake.in (do_one_clean_target): Don't hard code knowledge
4854 about libtool, and maintainer-clean.
4855 * clean.am, libtool.am: Handle these.
4857 2001-02-05 Akim Demaille <akim@epita.fr>
4859 * automake.in (handle_texinfo): No longer hard code the clean
4861 (texinfos.am): Include them.
4863 2001-02-05 Akim Demaille <akim@epita.fr>
4865 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4866 (maintainer-check): Don't be silent when you find a problem, and
4867 actually, even specify the locations.
4868 Also check that @_ is assigned to arrays.
4870 2001-02-05 Akim Demaille <akim@epita.fr>
4872 * m4/regex.m4: Use AC_LIBSOURCES.
4873 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4876 2001-02-04 Tom Tromey <tromey@redhat.com>
4878 * m4/Makefile.am (m4data_DATA): Added make.m4.
4879 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4881 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4882 Copy depcomp to subdir.
4883 * m4/make.m4: New file.
4885 2001-02-04 Pavel Roskin <proski@gnu.org>
4887 * automake.in (handle_dist_worker): Remove a line that is now
4890 2001-02-04 Kevin Ryde <user42@zip.com.au>
4892 * automake.in (handle_configure): Call config.status with empty
4893 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4895 2001-02-04 Tom Tromey <tromey@redhat.com>
4897 * depcomp (ddashmd): Removed case.
4898 (sgi): Handle failure exit correctly
4899 (aix): Likewise. Also, add dummy `.h' targets.
4901 2001-02-04 Akim Demaille <akim@epita.fr>
4903 * distdir.am (distdir): New file, extracted from...
4904 * automake.in (handle_dist_worker): here.
4907 2001-02-04 Akim Demaille <akim@epita.fr>
4909 * automake.in (@clean): Remove, replaced by...
4910 ($dependencies{'clean'}): this.
4911 Use `&depend' instead of push'ing into @clean.
4912 (handle_factored_dependencies): For the time being, skip 'clean'.
4913 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4914 always `clean', and `@clean'.
4916 2001-02-04 Akim Demaille <akim@epita.fr>
4918 * automake.in (%dependencies): Don't be initialize globally for
4919 all the files, but in...
4920 (&initialize_per_input): here.
4922 (@phony): Replace all occurrences with the corresponding &depend
4925 2001-02-03 Tom Tromey <tromey@redhat.com>
4927 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4928 * header-vars.am (INSTALL_HEADER): New macro.
4930 * automake.texi (Rebuilding): New node.
4934 Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4936 Copying and distribution of this file, with or without modification, are
4937 permitted provided the copyright notice and this notice are preserved.