1 2001-04-09 Akim Demaille <akim@epita.fr>
3 * ext-compile.am: New file.
4 * automake.in (&finish_languages): Output it.
5 Require a C linker if there are several registered source suffixes.
6 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
7 extensions, which are discovered in ext-compile.am.
8 With the help from Robert Boehne.
10 2001-04-09 Akim Demaille <akim@epita.fr>
12 * automake.in (&handle_compile): Extract from...
13 (&get_object_extension): here.
14 (&read_am_file): Call it.
15 ($included_generic_compile, $included_knr_compile)
16 ($included_libtool_compile): Remove.
17 ($get_object_extension_was_run): New.
19 2001-04-09 Akim Demaille <akim@epita.fr>
21 Use AM_CONDITIONAL and if/endif for AMDEP.
23 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
24 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
25 to a configure time if/endif), or to `FALSE' (static removal of
27 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
28 * depend2.am: Use if/endif.
30 Adjust the 101 tests that use dependencies so that they
31 properly invoke aclocal before automake. They need to `see'
32 `AM_CONDITIONAL([AMDEP], ...)'.
34 2001-04-09 Akim Demaille <akim@epita.fr>
36 * tags.am: Fix missing leading tabs.
38 2001-04-09 Akim Demaille <akim@epita.fr>
40 * automake.in: Use simple quotes to define the _PATTERN variables
41 to unobfuscate the regexps.
42 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
45 2001-04-09 Akim Demaille <akim@epita.fr>
47 * automake.in (&rule_define): When you discover a suffix rules,
48 register the extensions for .SUFFIXES.
49 (&handle_texinfo): Don't register the suffixes.
50 (&get_object_extension): Don't register suffixes, let them be
51 discovered in depend2.am.
52 (&handle_emacs_lisp): Depend on your lisp.am.
53 * lisp.am: Include the rule &handle_emacs_lisp used to output.
55 2001-04-09 Akim Demaille <akim@epita.fr>
57 * subdirs.am: Don't define info related recursive targets.
60 2001-04-09 Akim Demaille <akim@epita.fr>
62 * subdirs.am (RECURSIVE_TARGETS): New variable.
64 * automake.in (&handle_subdirs): Output it.
65 (&file_contents_internal): Support value spread on several lines.
67 2001-04-09 Akim Demaille <akim@epita.fr>
69 * automake.in (&handle_man_pages): Rely on mans.am to define
70 man%SECTION%dir and MANS.
73 2001-04-09 Akim Demaille <akim@epita.fr>
75 * automake.in (&variable_dump): Use %var_type properly.
76 (¯o_define): Enforce better overriding rules.
77 Handle the special case that used to handle...
78 (&define_pretty_variable): this.
80 The variables you define are owned by Automake.
81 (&generate_makefile): PRE_INSTALL and co must not be defined *by
83 (&variable_defined): Now independent from the owner.
84 (&variable_output, &variable_pretty_output): Adjust to %var_type.
86 2001-04-09 Akim Demaille <akim@epita.fr>
88 * automake.in (%var_was_plus_eq): Rename as...
91 (¯o_define): %var_type may now hold `', `+', or `:'.
92 (%conditional, %am_vars, %content_lines): Rename as...
93 (%var_value, %var_comment, %var_line): these.
95 2001-04-09 Akim Demaille <akim@epita.fr>
97 * automake.in (&variable_output): Admit a list of @CONDS.
98 (&variable_pretty_output): New.
99 (&define_pretty_variable): Use it.
100 (&read_am_file, &file_contents_internal): Prepend a separator to
101 $am_vars only if there is none yet.
102 (&file_contents_internal): Rename $separator as $spacing to
103 harmonize with &read_am_file.
105 2001-04-09 Akim Demaille <akim@epita.fr>
107 * automake.in (&am_install_var): Transform DIST, and let the *.am
108 files handle DIST_COMMON.
109 * data.am, header.am, java.am, list.am, python.am, script.am: Set
112 2001-04-09 Akim Demaille <akim@epita.fr>
114 * automake.in (%dist_common): Remove.
115 (%configure_dist_common): Replace with...
116 ($configure_dist_common): this.
117 (&generate_makefile): Read the user file before using
118 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
119 that no variable is defined before it is run.
120 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
121 (&dist_cmp): Rename as...
122 (&for_dist_common): this.
123 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
125 Adjust to $configure_dist_common.
126 * configure.am, texi-vers.am: Set DIST_COMMON.
128 2001-04-09 Akim Demaille <akim@epita.fr>
130 * automake.in (&handle_aclocal_m4): Rename as...
131 (&scan_aclocal_m4): this.
132 Return the list of aclocal.m4 dependencies.
133 (&handle_configure): Invoke it, and use it when loading...
134 * configure.am: Template the rules to recreate aclocal.m4.
136 2001-04-09 Akim Demaille <akim@epita.fr>
138 * automake.in (&get_object_extension): Use ansi2knr.am.
139 * clean-kr.am, kr-extra.am: Remove, merged into...
140 * ansi2knr.am: this new file.
142 2001-04-09 Akim Demaille <akim@epita.fr>
144 * automake.in (&transform): Fix an incredible bug which was
145 breaking the if/endif system.
146 ($ELSE_PATTERN): Admit an optional argument.
148 2001-04-09 Akim Demaille <akim@epita.fr>
150 * comp-vars.am: Remove, merged into...
152 * automake.in (&get_object_extension): Adjust.
154 2001-04-09 Akim Demaille <akim@epita.fr>
156 * remake.am: Merge into...
157 * configure.am: ... here.
158 * automake.in (&handle_configure): Adjust.
160 2001-04-09 Akim Demaille <akim@epita.fr>
162 * automake.in (&output_lex_build_rule): Output this...
165 2001-04-09 Akim Demaille <akim@epita.fr>
167 * automake.in (&condition_negate): New.
168 (&variable_conditions_permutations): Use it.
169 (&read_am_file, &file_contents): Use it on `else' clauses to
171 (&output_yacc_build_rule): Output this...
174 2001-04-09 Akim Demaille <akim@epita.fr>
176 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
177 (&handle_dist): Don't.
178 (&handle_clean): Don't handle config.status here, let...
179 * clean.am: ... do it.
180 * distdir.am: Adjust.
182 2001-04-09 Akim Demaille <akim@epita.fr>
184 * automake.in: Use strict vars and subs.
185 Declare `%require_file_found'.
186 (&handle_source_transform, &make_paragraphs): Declare my variables.
188 2001-04-09 Akim Demaille <akim@epita.fr>
190 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
191 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
192 * java.am (_am_installdirs): Be sure to set it.
194 2001-04-09 Akim Demaille <akim@epita.fr>
196 * automake.in (&make_condition): Return '#' when FALSE.
197 (&conditional_string): Return FALSE, not '#' in the corresponding
199 (&file_contents_internal): Adjust.
200 (&check_variable_defined_unconditional): Dump the guilty variable.
202 2001-04-09 Akim Demaille <akim@epita.fr>
204 * distdir.am: Use and abuse of if/endif.
205 * scripts.am: Using if/endif with variables is fine.
207 2001-04-09 Akim Demaille <akim@epita.fr>
209 * automake.in (&make_paragraphs): Extract from &file_contents.
210 Make it more robust than the previous RE based scheme.
211 (&file_contents): Use it.
213 2001-04-09 Akim Demaille <akim@epita.fr>
215 * automake.in (&make_paragraphs): Extract from &file_contents.
216 Make it more robust than the previous RE based scheme.
217 (&file_contents): Use it.
219 2001-04-09 Akim Demaille <akim@epita.fr>
221 * tests/yacc2.test: Don't define several times a variable, as
224 2001-04-09 Akim Demaille <akim@epita.fr>
226 * automake.in (&handle_source_transform): Fix pr72: don't define
227 $linker if there are no @files.
229 2001-04-09 Akim Demaille <akim@epita.fr>
231 Avoid reading twice header-vars.am as now macro_define
234 * automake.in (&define_standard_variables): Don't output the
236 (&read_main_am_file): Output first user variables, then Automake
238 Don't call twice &define_standard_variables.
239 Save variable comments in $am_vars.
240 (&variable_output): New.
241 (&file_contents_internal): New.
242 Save variable comments in $am_vars.
243 (&file_contents): Use it.
245 2001-04-09 Akim Demaille <akim@epita.fr>
247 * automake.in (¯o_define): The user is allowed to override
248 a value if it was set by Automake, or if it was found in AC_SUBST.
250 2001-04-09 Akim Demaille <akim@epita.fr>
252 * automake.in (&handle_source_transform): Better locality of the
254 Use `next' to skip nonexistent variables.
256 2001-04-09 Akim Demaille <akim@epita.fr>
258 * automake.in (&variable_dump): If a variable is undefined, say
260 (&check_ambiguous_conditional): Give finer error messages.
261 (¯o_define): Check that a `+=' variable is not set with `='.
262 Check for ambiguous definitions each time you _set_ (even with `+=')
264 (&read_main_am_file): Perform a deep copy of %conditional.
266 2001-04-09 Akim Demaille <akim@epita.fr>
268 * automake.in (&variable_defined): Some callers, e.g.,
269 &am_primary_prefixes, really want to know if the variable is
270 defined for any condition, not `TRUE' by default.
271 (&am_primary_prefixes): Give a more precise error message.
273 2001-04-09 Akim Demaille <akim@epita.fr>
275 (&variable_conditions): Don't include `FALSE' in the result.
277 2001-04-09 Akim Demaille <akim@epita.fr>
279 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
280 (&variable_conditions): Don't include `FALSE' in the result.
282 2001-04-09 Akim Demaille <akim@epita.fr>
284 * tests/defs, tests/depend3.test: Remove useless code.
286 2001-04-09 Akim Demaille <akim@epita.fr>
288 * automake.in (&handle_source_transform): Use
289 &variable_conditions, don't read $conditional{$var}.
290 (&variable_conditions_sub): When the call is the top level call,
291 generate all the permutations of the conditions.
293 2001-04-09 Akim Demaille <akim@epita.fr>
295 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
296 that it does not get noticed twice by automake, which now
297 complains for multiple definitions.
298 * tests/vartar.test: s/INSTALL/install/g, automake now complains
299 because we defined INSTALL.
301 2001-04-09 Akim Demaille <akim@epita.fr>
303 * automake.in (&generate_makefile) Use macro_define to define
305 (&variable_defined): Don't check for $conditional{VAR}{COND} as
306 this would make perl create $condition{VAR}, which we don't want.
308 2001-04-09 Akim Demaille <akim@epita.fr>
310 * automake.in (&variable_defined, &define_pretty_variable):
311 Simplify code which used to handle the cases where not all
312 variables were in %conditional.
313 (&define_variable): Use &define_pretty_variable.
314 (&variable_conditions_sub, &variable_value_as_list_worker)
315 (&variable_value_as_list, &rule_define): Simplify syntax.
316 (&read_main_am_file): Dump the guilty predefined variables.
318 2001-04-09 Akim Demaille <akim@epita.fr>
320 * automake.in (&variable_conditions_sub)
321 (&variable_value_as_list_worker): Remove dead code which used to
322 handle the cases where not all variables were in %conditional.
324 2001-04-09 Akim Demaille <akim@epita.fr>
326 * automake.in (&handle_source_transform, &read_main_am_file):
327 Simplify loops which were split in two parts, conditional vs
328 unconditional variables.
330 2001-04-09 Akim Demaille <akim@epita.fr>
332 Handle unconditional values of variables as conditioned by
335 * automake.in (%contents): Remove.
336 (&generate_makefile, &handle_ltlibraries, ¯o_define)
337 (&read_am_file, &variable_defined, &variable_conditions_sub)
338 (&variable_value, &variable_value_as_list_worker)
339 (&variable_value_as_list, &define_pretty_variable)
340 (&read_main_am_file): Use
341 $conditional, not %contents.
342 (&variable_conditions_permutations): Don't return TRUE and FALSE.
343 (&variable_conditionally_defined): New.
344 (&handle_dist): Use it.
345 (&check_ambiguous_conditional): When multiply defined, specify
346 under which condition.
347 (¯o_define): Use it.
348 (&variable_delete): New.
349 (&read_am_file): Use it.
350 (&am_install_var): Simplify, as all the variables are in
353 2001-04-07 Tom Tromey <tromey@redhat.com>
355 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
357 * tests/man.test: New file.
359 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
361 * depcomp (gcc3): Invert test condition.
363 2001-04-07 Tom Tromey <tromey@redhat.com>
365 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
366 statement. Report from Larry Jones.
368 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
370 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
372 2001-04-01 Tom Tromey <tromey@redhat.com>
374 * java.am (.PHONY clean-am): Removed trailing ":".
375 From Per Bothner. Fixes PR automake/139.
377 2001-03-28 Akim Demaille <akim@epita.fr>
379 * program.am: Fix a stupid typo: now *all* (not none) the programs
381 Reported by Robert Boehne.
383 2001-03-23 Akim Demaille <akim@epita.fr>
385 * automake.in (&read_am_file, &file_contents): Avoid name clashes
388 2001-03-23 Akim Demaille <akim@epita.fr>
390 * automake.in (&variable_conditionally_defined): Rename as...
391 (&check_variable_unconditionally_defined): this.
392 (&variable_dump): Fix the output.
393 (&variable_defined, ¯o_define): Since conditions are
394 canonicalized, don't use a loop to look for a condition: read the
396 (¯o_define, &rule_define, &read_am_file, &file_contents):
397 Rename $cond_string as $cond.
398 * distdir.am (PACKAGE, VERSION): Remove; since they are already
399 discovered via AC_SUBST, they now trigger a `defined twice' error.
401 2001-03-23 Akim Demaille <akim@epita.fr>
403 * automake.in (&handle_footer, &handle_installdirs)
404 (&read_main_am_file): Don't read %contents directly, use
407 2001-03-23 Akim Demaille <akim@epita.fr>
409 * automake.in (&read_am_file): Define the variables in a single
411 Factor the $saw_bk code.
413 2001-03-23 Akim Demaille <akim@epita.fr>
415 * automake.in (&read_am_file): Keep $cond_string up to date.
417 2001-03-23 Akim Demaille <akim@epita.fr>
419 * automake.in (&define_variable): Use ¯o_define.
421 2001-03-23 Akim Demaille <akim@epita.fr>
423 * automake.in (¯o_define): Don't lose the location if we
425 Don't push all the variables in @var_list, let...
426 (&read_am_file, &file_contents): ... do it.
427 (&define_pretty_variable): Use macro_define.
428 (&am_install_var): Delete the value of variables being redefined
429 to pacify ¯o_define which checks that variables are not
432 2001-03-23 Akim Demaille <akim@epita.fr>
434 * automake.in (&conditional_dump): Rename as...
435 (&variables_dump): this. Use...
436 (&variable_dump): this new sub.
438 2001-03-23 Akim Demaille <akim@epita.fr>
440 * automake.in (&file_contents): Maintain $cond_string sync with
442 Output rules only if not under `FALSE'.
443 Define variables under $cond_string.
444 * scripts.am: For the time being if/endif does not work properly
447 2001-03-23 Akim Demaille <akim@epita.fr>
449 * automake.in (IF_PATTERN): Unobfuscate the parens.
450 (ENDIF_PATTERN): Allow a condition to be specified.
451 (&file_contents): Use a @cond_stack.
452 (&transform): At least for an easy transition, also transform
453 %?FOO% and %!FOO%, as suggested by Lars.
454 * scripts.am: First test bed for static if/endif use.
456 2001-03-23 Akim Demaille <akim@epita.fr>
458 * automake.in (&file_contents): Use rule_define.
460 2001-03-23 Akim Demaille <akim@epita.fr>
462 * automake.in (¯o_define): Don't rely on $1.
463 Initialize the variable.
464 Set its Automakism only if not defined or if given to the user.
465 When concatenating values, insert a separator only if the value
467 (&read_am_file): When dumping the @var_list, skip Automake
469 (&file_contents): Use macro_define.
471 2001-03-23 Akim Demaille <akim@epita.fr>
473 * automake.in (&rule_define): Extract from...
474 (&read_am_file): here.
476 2001-03-23 Akim Demaille <akim@epita.fr>
478 * automake.in (¯o_define, &read_am_file): More work for the
479 former from the latter. Reorganize the latter.
481 2001-03-23 Akim Demaille <akim@epita.fr>
483 * automake.in (¯o_define): Extract from...
484 (&read_am_file): here.
486 2001-03-23 Akim Demaille <akim@epita.fr>
488 * automake.in (%am_var_defs): Replace with...
490 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
491 (&file_contents, am_primary_&prefixes): Adjust.
492 (&variable_defined, &define_variable): The actual semantics is
494 (&read_main_am_file): Assert the var is user defined when
495 outputting @var_list.
497 2001-03-23 Akim Demaille <akim@epita.fr>
499 * automake.in (read_am_file): TRUE and FALSE are predefined
501 (&by_condition): Adjust.
502 (&conditional_string): Recognize `TRUE' and `FALSE'.
503 (&make_condition): Use it.
504 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
505 * automake.texi (Conditionals): Adjust.
506 * tests/cond9.test: s/FALSE/WRONG/.
508 2001-03-12 Pavel Roskin <proski@gnu.org>
510 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
513 2001-03-12 Akim Demaille <akim@epita.fr>
515 * automake.in (&variable_conditions_permutations): Separate the
517 * tests/cond3.test: Improve the sed expression.
519 2001-03-09 Pavel Roskin <proski@gnu.org>
521 * Makefile.am (maintainer-check): Scan all *.am files and tests
522 for invocations of `rm' without `-f'.
523 * tests/mclean.test: Adjusted to prevent triggering the above
526 2001-03-09 Tom Tromey <tromey@redhat.com>
528 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
529 maintainer-check failure.
531 2001-03-09 Akim Demaille <akim@epita.fr>
533 * tests/cond3.test: Strengthen.
535 2001-03-09 Akim Demaille <akim@epita.fr>
537 * automake.in (&conditional_string): Produce a unique string
538 characterizing a condition stack.
539 (&conditional_same): Remove, comparing two strings is now enough.
540 (&variable_defined): Adjust.
541 (&read_am_file): Use conditional_string.
543 2001-03-08 Akim Demaille <akim@epita.fr>
545 * automake.in: Use -w.
546 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
547 (&parse_arguments): Support --Werror and --Wno-error as a
548 temporary hack until --warning/-W is properly implemented.
549 (&handle_single_transform_list): Prototype.
550 Be sure to define $directory.
551 Use `exists' instead of testing the value of a maybe undefined
553 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
554 (&handle_factored_dependencies): Use defined values.
555 (&scan_one_autoconf_file): Save $_.
556 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
557 Run automake with --Wno-error.
559 2001-03-07 Akim Demaille <akim@epita.fr>
561 * automake.in (&handle_all): Use an array instead of a scalar for
563 Get rid of all-redirect: let `all' be that target.
565 2001-03-07 Akim Demaille <akim@epita.fr>
567 * automake.in (&handle_merge_targets): Ventilate its non `all'
568 related content into...
569 (&generate_makefile): here.
570 (&handle_merge_targets): Rename as...
572 Remove a useless `if': `@all' is obviously not empty, since it
573 contains at least the `basename ($makefile)' which has just been
576 2001-03-07 Akim Demaille <akim@epita.fr>
578 * automake.in, aclocal.in: Backquote is inert in double quotes.
580 2001-03-06 Akim Demaille <akim@epita.fr>
582 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
585 2001-03-06 Pavel Roskin <proski@gnu.org>
587 * java.am: Use `rm -f' instead of `rm'.
589 2001-03-06 Akim Demaille <akim@epita.fr>
591 * automake.in (&push_dist_common): Simplify.
593 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
595 * ltlib.am: Replaced spaces with tab.
597 2001-03-06 Pavel Roskin <proski@gnu.org>
599 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
602 2001-03-05 Pavel Roskin <proski@gnu.org>
604 * header.am, scripts.am: Use ?INSTALL? in the install and
607 2001-03-05 Pavel Roskin <proski@gnu.org>
609 * tests/copy.test: Never use `rm' without `-f' - it may ask
610 questions, notably for read-only files during `make distcheck'.
611 * tests/insh.test: Likewise.
612 * tests/installsh.test: Likewise.
613 * tests/symlink.test: Likewise.
614 * tests/symlink2.test: Likewise.
615 * tests/symlink3.test: Likewise.
617 2001-03-05 Pavel Roskin <proski@gnu.org>
619 * noinstdir.test: New test.
620 * tests/Makefile.am (TESTS): Add noinstdir.test.
621 (XFAIL_TESTS): Likewise.
623 2001-03-05 Akim Demaille <akim@epita.fr>
625 * automake.in (&handle_options): Change the RE so that the third
626 part of the versions always exist.
627 (&file_contents): Don't pass uninitialized values to &transform.
629 2001-03-05 Akim Demaille <akim@epita.fr>
631 * automake.in (&file_contents): Require a hash as second argument.
634 2001-03-05 Akim Demaille <akim@epita.fr>
636 Always use hashes with &file_contents.
638 * automake.in (&handle_texinfo): texibuild.am does not need
640 texinfos.am wants only TEXICLEANS.
641 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
643 * texinfos.am: Adjust.
645 2001-03-05 Akim Demaille <akim@epita.fr>
647 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
648 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
649 (&am_install_var): Forget about `-clean'.
651 Always output the *.am file.
652 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
653 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
654 Remove, merged into the corresponding *.am file.
655 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
658 2001-03-05 Pavel Roskin <proski@gnu.org>
660 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
662 2001-03-05 Akim Demaille <akim@epita.fr>
664 If OBJEXT and EXEEXT are not set, provide a default value, and use
665 them unconditionally.
667 * automake.in (&generate_makefile): Provide default values for
669 (&get_object_extension, &finish_languages)
670 (&handle_single_transform_list, &handle_programs, &add_depend2)
671 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
672 them, they are defined.
673 * compile.am, depend2.am, program.am, progs.am: Likewise.
674 * remake-hdr.am: Fix a typo.
675 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
676 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
677 * tests/suffix2.test: Adjust.
679 2001-03-05 Akim Demaille <akim@epita.fr>
681 * automake.in (&file_contents): Map MAINTAINER-MODE to
682 @MAINTAINER_MODE_TRUE@ or nothing.
683 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
686 2001-03-05 Akim Demaille <akim@epita.fr>
688 * automake.in (&do_one_merge_target): Remove, was only called from...
689 (&handle_merge_targets): here for `all'.
692 2001-03-05 Akim Demaille <akim@epita.fr>
694 Make the installation/uninstallation of Info pages follow the
695 regular am/recursive scheme.
697 * automake.in (%required_targets, %dependencies): Add
699 (%dependencies): Add install-info, install-info-am, and
701 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
702 reversed BTW. Does anybody use the option `no-installinfo'?
703 (&handle_merge_targets): Let the handling of info related targets
705 (&handle_factored_dependencies): this.
706 * subdirs.am: Use ?INSTALL-INFO?.
707 * texinfos.am: Define the install-info, uninstall-info and
708 uninstall-info-am targets.
710 2001-03-05 Akim Demaille <akim@epita.fr>
712 * automake.in (%required_targets, %dependencies): Add dvi, info,
714 (@info, @dvi): Remove.
715 (&handle_texinfo, &handle_merge_targets): Adjust.
716 (&handle_factored_dependencies): Required targets are phony.
717 * texinfos.am: Build info, dvi, and the corresponding -am or
720 2001-03-05 Akim Demaille <akim@epita.fr>
722 * automake.in (&am_install_var): Remove $cygxform, unused.
724 2001-03-05 Akim Demaille <akim@epita.fr>
726 * automake.in (&file_contents): Transform LIBTOOL.
727 (&am_install_var): Remove $ltxform.
728 * ltlib.am, progs.am: Adjust.
730 2001-03-05 Akim Demaille <akim@epita.fr>
732 * automake.in: Require AC_PROG_INSTALL in...
733 (&scan_autoconf_files): here.
735 2001-03-05 Akim Demaille <akim@epita.fr>
737 * configure.am: New file.
738 * automake.in (&file_contents): Transform CONFIGURE-AC.
739 (&handle_texinfo, &handle_configure): Don't transform
741 (&handle_configure): Use `configure.am'.
742 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
743 MAINTAINER-MODE and CONFIGURE-AC.
745 2001-03-05 Akim Demaille <akim@epita.fr>
747 * automake.in (&pretty_print_internal): Don't output useless
749 (define_pretty_variable): Don't issue the space after the `=' sign
750 to avoid trailing spaces in Makefile.ins.
752 2001-03-05 Akim Demaille <akim@epita.fr>
754 * automake.in (&generate_makefile): Invoke &initialize_per_input
755 *before* setting $am_file_name and $in_file_name.
757 2001-03-05 Akim Demaille <akim@epita.fr>
759 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
760 Globals, initialized...
761 (&initialize_per_input): here.
763 2001-03-05 Akim Demaille <akim@epita.fr>
765 * automake.in ($am_relative_dir): Global.
766 (&initialize_per_input): Init it.
767 (%make_list, @make_input_list): My them from
768 (&scan_autoconf_files): here.
769 (&require_file_internal): Mying changes.
771 2001-03-05 Akim Demaille <akim@epita.fr>
773 * automake.in (%am_vars, @var_list, %def_type): Globals.
774 (&initialize_per_input): Initialize them.
775 (&read_main_am_file): Don't local them.
776 (&get_object_extension): $objext is private.
777 (&handle_single_transform_list): $lang is.
778 (&handle_ltlibraries): $libname_rx is.
779 (&scan_autoconf_config_files): How about actually paying attention
780 to your arguments, instead of working on $_? (this is no Perl
781 variable, it's a Perl variable followed by a question mark).
782 (&file_contents): $contents and $separator are private.
783 (&am_install_var): Declare @condvals, not $condvals.
786 2001-03-05 Akim Demaille <akim@epita.fr>
788 * automake.in (&initialize_per_input): Move to the top.
789 Precede with the `my' list of its variables.
791 2001-03-05 Akim Demaille <akim@epita.fr>
793 * automake.in ($am_file): Use vars.
794 ($am_file_name, $in_file_name): Private to &generate_makefile.
796 2001-03-05 Akim Demaille <akim@epita.fr>
798 * automake.in: Preparation for `use strict': Move the
799 initialization of the constants to the top, from...
800 (&initialize_global_constants): here.
802 2001-03-05 Akim Demaille <akim@epita.fr>
804 * automake.in (&handle_single_transform_list, &add_depend2): Let
805 $lang_specific_files{$lang} be a list instead of a string.
807 2001-03-05 Akim Demaille <akim@epita.fr>
809 Let's make it run ten times faster...
811 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
813 (&file_contents): Let `$command' remove the Automake commands, and
814 normalize the series of `\n'.
815 Slurp the file and apply $command in a single step.
816 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
817 is already normalized to be handled by &transform.
819 2001-03-05 Tom Tromey <tromey@redhat.com>
821 * automake.in (register_language): Add entry for `-pure'.
822 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
823 (finish_languages): Use `-pure' field of language map.
825 2001-03-03 Tom Tromey <tromey@redhat.com>
827 * tests/yaccvpath.test: No need to remove dummy files.
828 * tests/subobj3.test: No need to remove dummy files.
829 * tests/pr9.test: No need to remove dummy files.
830 * tests/pr87.test: No need to remove dummy files.
831 * tests/pr19.test: No need to remove dummy files.
832 * tests/install2.test: No need to remove dummy files.
833 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
836 2001-02-27 Pavel Roskin <proski@gnu.org>
838 * tests/yaccvpath.test: Add a delay to make parse.c really out
839 of date. Detect the problem earlier, after `make distdir'. Drop
840 dependency on flex. Always use the `-y' flag for bison. Comment
842 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
844 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
846 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
848 2001-02-28 Akim Demaille <akim@epita.fr>
850 * automake.in (&add_depend2): Transform `GENERIC'.
851 Get rid of the ad hoc transformation of `@EXT@.o:' which in
852 addition was broken by the `@ -> %' patch.
853 * depend2.am: Adjust to use ?GENERIC?.
855 2001-02-28 Akim Demaille <akim@epita.fr>
857 * Makefile.am (maintainer-check): `undef $/' is OK.
859 2001-02-28 Akim Demaille <akim@epita.fr>
861 * automake.in (&handle_configure): Fortunately, $top_reldir,
862 the definition of which was highly suspicious, was unused.
864 2001-02-27 Akim Demaille <akim@epita.fr>
866 * automake.in (%exec_dir_p): Move to the top so that it is visible
869 2001-02-27 Pavel Roskin <proski@gnu.org>
871 * tests/yaccvpath.test: Prevent automake from looking into ..
872 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
874 2001-02-27 Akim Demaille <akim@epita.fr>
876 * automake.in (%exec_dir_p): Pulled out from...
877 (&am_primary_prefixes): here.
879 2001-02-27 Akim Demaille <akim@epita.fr>
881 * automake.in (&usage): Display $0, not $me.
883 2001-02-27 Akim Demaille <akim@epita.fr>
885 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
886 * automake.in (&handle_clean): Don't escape what's given to
889 2001-02-27 Akim Demaille <akim@epita.fr>
891 Distinguish automake substitutions from config.status
894 * automake.in (&add_depend2): Transform AMDEP.
895 (&handle_clean): Transform MCFILES and MFILES.
896 (&file_contents): Transform MAINTAINER_MODE.
897 (&transform, &am_install_var): Use `%', not `@'.
898 Adjust all the *.am files.
899 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
900 * depend2.am: Display the double dependency on both ?AMDEP? and
903 2001-02-27 Tom Tromey <tromey@redhat.com>
905 * distdir.am (distcheck): Fixed new code.
907 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
910 * distdir.am (distcheck): Print error message if distclean failed
913 2001-02-27 Pavel Roskin <proski@gnu.org>
915 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
917 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
919 * tests/Makefile.am (TESTS): Added yaccvpath.test.
920 * tests/yaccvpath.test: New file.
922 2001-02-26 Akim Demaille <akim@epita.fr>
924 * automake.in (&am_install_var): Recognize whether predefined
925 directories are `data' or `exec'.
926 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
928 * tests/instdata2.test: Update.
930 2001-02-26 Akim Demaille <akim@epita.fr>
932 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
933 necessarily in infodir.
935 2001-02-26 Akim Demaille <akim@epita.fr>
937 * automake.in ($am_file): Be `local', as my'd variables used in
938 `foreach' loops are always private to the loop.
940 2001-02-26 Pavel Roskin <proski@gnu.org>
942 * Makefile.am: Add install.am.
944 2001-02-26 Akim Demaille <akim@epita.fr>
946 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
947 routines, otherwise the elements to compare are passed in @_
948 instead of $a and $b.
950 2001-02-26 Akim Demaille <akim@epita.fr>
952 * automake.in (%required_targets): `installcheck-am' is needed.
954 2001-02-26 Akim Demaille <akim@epita.fr>
956 * automake.in (&transform_cond): Merge into...
960 2001-02-26 Akim Demaille <akim@epita.fr>
962 * automake.in (&handle_dist): Use &transform instead of dedicated
964 But be sure to always do it.
965 * distdir.am: Adjust.
967 2001-02-26 Akim Demaille <akim@epita.fr>
969 * automake.in: Use File::Basename.
970 (&dirname, &basename): Remove.
972 2001-02-26 Akim Demaille <akim@epita.fr>
974 * automake.in ($me): New.
976 (&usage): Display your full name.
978 2001-02-26 Akim Demaille <akim@epita.fr>
980 * automake.texi (Invoking Automake): Remove dead options.
982 2001-02-26 Akim Demaille <akim@epita.fr>
984 * automake.in (&scan_texinfo_file): Also compute the list of files
987 (&handle_texinfo): Use it.
989 2001-02-26 Akim Demaille <akim@epita.fr>
991 * automake.in: Don't pass arguments to...
992 (&parse_arguments): Work on @ARGV.
994 Add support for `-f'.
998 2001-02-26 Akim Demaille <akim@epita.fr>
1000 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1001 handle installcheck and installcheck-am.
1002 * install.am: Do it.
1004 2001-02-26 Akim Demaille <akim@epita.fr>
1006 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1007 handle install and install-am.
1008 * install.am: Do it.
1010 2001-02-26 Akim Demaille <akim@epita.fr>
1012 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1013 work on targets handled by %dependencies.
1014 (&handle_factored_dependencies): Do it.
1015 * install.am: Install install-exec, install-data and uninstall's
1018 2001-02-26 Akim Demaille <akim@epita.fr>
1020 * automake.in (&handle_merge_targets): Move `install-strip' from
1022 * install.am: to here.
1024 2001-02-26 Akim Demaille <akim@epita.fr>
1026 * automake.in (@installdirs): Remove.
1027 (&file_contents): Be able to grow Automake macros with `+='.
1028 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
1029 files define _am_installdirs.
1030 (&handle_installdirs): Remove the code, just output `install.am'.
1032 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
1033 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
1035 2001-02-26 Akim Demaille <akim@epita.fr>
1037 * tests/instdata2.test (libexec_DATA): Exercise more
1040 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1042 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
1044 2001-02-25 Tom Tromey <tromey@redhat.com>
1046 * tests/instdata2.test: Added `sbin_DATA' check.
1048 * tests/Makefile.am (TESTS): Added subdircond.test.
1049 * tests/subdircond.test: New file.
1050 * automake.in (handle_gettext): Don't fail if SUBDIRS
1051 conditionally defined.
1053 * automake.in: Use IO::File.
1054 (generate_makefile): Use IO::File.
1055 (scan_texinfo_file): Likewise.
1056 (handle_aclocal_m4): Likewise.
1057 (scan_autoconf_traces): Likewise.
1058 (scan_one_autoconf_file): Likewise.
1059 (read_am_file): Likewise.
1060 (file_contents): Likewise.
1063 2001-02-25 Akim Demaille <akim@epita.fr>
1065 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
1067 2001-02-25 Akim Demaille <akim@epita.fr>
1069 * automake.in (&transform): Also call &transform_cond on your
1071 (&handle_dist): Adjust.
1072 (&handle_factored_dependencies): Uniq dependencies.
1074 2001-02-25 Akim Demaille <akim@epita.fr>
1076 * automake.in (&handle_gettext): Simplify redundant `if'.
1077 Used &variable_value, don't read %contents directly.
1079 2001-02-25 Akim Demaille <akim@epita.fr>
1081 * automake.in ($install_recursive): Remove, replaced with calls to
1082 `&variable_defined ('SUBDIRS')'.
1083 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
1084 (&file_contents): now does.
1086 2001-02-25 Akim Demaille <akim@epita.fr>
1088 * automake.in (&handle_man_pages): $found is dead.
1090 2001-02-25 Akim Demaille <akim@epita.fr>
1092 Internally just store the conditionals as space separated lists of
1093 CONDITIONS (instead of @CONDITIONS@).
1095 * automake.in (&conditional_true_when, &variable_conditions_sub):
1096 Split conditions at spaces.
1097 (&handle_dependencies, &variable_conditions_permutations): Don't
1098 put @ around conditions.
1099 (&variable_conditions_cmp): There are no @ to strip.
1100 (&make_condition): New.
1101 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
1103 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
1104 Join @conditional_stack with spaces.
1105 (&read_main_am_file): Adjust the output of variables.
1106 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
1107 true' and no longer `@TEST@TRUE = @TEST@true'.
1108 (&variable_conditions_cmp): Rename as...
1109 (&by_condition): this.
1110 Sort in a human pleasant order.
1111 Use it everywhere a human can see conditions.
1112 (&variable_conditions_reduce): Don't sort conditions, that's
1114 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
1116 2001-02-25 Akim Demaille <akim@epita.fr>
1118 * automake.in: `my' the globals.
1120 2001-02-25 Akim Demaille <akim@epita.fr>
1122 * automake.in (&initialize_per_input): %targets_conditionals is
1124 (&read_am_file): When slurping a rule, set the target related
1125 variable, and no variable related variable.
1126 (&file_contents): Likewise.
1127 * tests/vartar.test, tests/ctarget1.test: New.
1129 2001-02-25 Akim Demaille <akim@epita.fr>
1131 * automake.in (&variable_defined, &variable_value_as_list_worker):
1132 If $VAR is effectively a variable, don't die if it's also a
1134 Plus some formatting changes.
1136 2001-02-25 Akim Demaille <akim@epita.fr>
1138 * automake.in: Mying changes.
1139 * Makefile.am (maintainer-check): Check the stability of the
1140 number of uses of `local'.
1142 2001-02-25 Akim Demaille <akim@epita.fr>
1144 * automake.in: Mying changes.
1146 2001-02-25 Akim Demaille <akim@epita.fr>
1148 * automake.in: Mying changes.
1150 2001-02-25 Akim Demaille <akim@epita.fr>
1152 * automake.in: Mying changes.
1153 (&handle_tags): Fix a bug uncovered by the previous mying changes:
1154 transform CONFIG into $config, not $xform.
1156 2001-02-25 Akim Demaille <akim@epita.fr>
1158 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
1159 Don't deal with install-data-am, install-exec-am and unstall-am.
1160 (&initialize_per_input): Add them to %dependencies.
1161 Remove %exec_dir_p since the *.am files are now in charge of it.
1162 Remove @uninstall, @install_data, @install_exec.
1163 (&handle_merge_targets): Adjust to these removals.
1164 (&file_contents): Also &transform_cond for --no-installman and
1166 (&do_one_merge_target): Add some magic to install hooks on
1167 %dependencies' targets.
1168 (%required_targets): New.
1169 (&handle_factored_dependencies): Output required targets.
1170 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1171 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
1172 * texinfos.am: Declare your dependencies on install-data-am,
1173 install-exec-am and uninstall-am.
1174 * tests/instdata2.test (incldata_HEADERS): New test.
1176 2001-02-24 Tom Tromey <tromey@redhat.com>
1178 * Makefile.am (amfiles): Added texibuild.am.
1179 * texibuild.am: New file.
1180 * tests/Makefile.am (TESTS): Added texinfo9.test.
1181 * tests/texinfo9.test: New file.
1182 * automake.in (handle_texinfo): Keep track of suffixes used. Give
1183 error if suffix unrecognized. Removed extraneous newline.
1185 2001-02-23 Akim Demaille <akim@epita.fr>
1187 * automake.in (&am_install_var): Don't hook on the clean targets
1189 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
1190 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
1193 2001-02-23 Akim Demaille <akim@epita.fr>
1195 * automake.in: Promote local `my' over `local'.
1197 2001-02-23 Akim Demaille <akim@epita.fr>
1199 * automake.in: Formatting and mying changes.
1201 2001-02-23 Akim Demaille <akim@epita.fr>
1203 * automake.in: Formatting and mying changes.
1205 2001-02-23 Akim Demaille <akim@epita.fr>
1207 * automake.in (&handle_man_pages): Let install-man and
1208 uninstall-man be handled by the dependency tracker.
1209 (&initialize_per_input): Let %dependencies track them.
1210 * mans.am: Add the needed hooks with the proper dependencies.
1212 2001-02-22 Pavel Roskin <proski@gnu.org>
1214 * tests/target-cflags.test: Don't use subshell to configure in
1215 subdirectory. Typo fix - run `./foo', not `/foo'.
1217 2001-02-22 Akim Demaille <akim@epita.fr>
1219 * automake.in: Formatting and mying changes.
1221 2001-02-21 Tom Tromey <tromey@redhat.com>
1223 * automake.in (handle_dist): Introduce new variable to avoid extra
1224 keys in %dist_dirs. Fixes distdir.test.
1226 * automake.in (handle_texinfo): Only remove suffixes we can
1229 * tests/distdir.test: Check to make sure directory isn't made in
1232 * automake.in (handle_dist): Do nothing in Cygnus mode.
1234 2001-02-21 Pavel Roskin <proski@gnu.org>
1236 * header-vars.am: Remove tabs before variable definitions.
1238 2001-02-21 Akim Demaille <akim@epita.fr>
1240 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
1243 2001-02-21 Akim Demaille <akim@epita.fr>
1245 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
1246 numeric value as required by Perl 5.6.
1248 2001-02-21 Akim Demaille <akim@epita.fr>
1250 * dist-vars.am: Remove, merge into...
1252 * automake.in (dirname, basename, backname): Move to the top of
1253 the file so that prototypes are checked,
1254 Use them without `&'.
1255 (&handle_dist): Adjust.
1257 2001-02-21 Akim Demaille <akim@epita.fr>
1259 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
1260 Use a uniform naming scheme.
1261 ("e_cond_val, &unquote_cond_val): Delete, dead code.
1262 (&read_am_file): Fix conditional definition of backslash continued
1265 2001-02-21 Akim Demaille <akim@epita.fr>
1267 Change the handling of conditionals: instead of using an ad-hoc
1268 encoding to store a hash in a string, use hashes.
1270 * automake.in (&conditional_dump): New.
1271 (&check_ambiguous_conditional, &variable_defined)
1272 (&variable_conditions_sub, &variable_value_as_list_worker)
1273 (&define_variable, read_am_file, &read_main_am_file): Be sure to
1274 handle `$conditional{$vars}' as a hash instead of a plain string.
1276 2001-02-21 Akim Demaille <akim@epita.fr>
1278 * automake.in (&conditional_true_when): Modernize, simplify.
1279 Warning: `$comp' is now private (my), while it used to be
1280 `inherited' from a `local' elsewhere in the code. AFAICT it was
1281 wrong, but some dirty side effect might show up.
1282 (&conditionals_true_when): New.
1283 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
1285 2001-02-21 Akim Demaille <akim@epita.fr>
1287 * automake.in ($top_builddir): Remove, used in one place.
1288 (&define_standard_variables): Adjust.
1289 Move the definition of triplet variables into...
1290 * header-vars.am: here.
1292 2001-02-21 Akim Demaille <akim@epita.fr>
1294 * automake.in (&initialize_global_constants): Don't define $USAGE.
1295 (&usage): Handle the former content of $USAGE.
1296 Don't pretend autoconf cares about Makefile.in.
1297 Classify the options.
1298 (&handle_tests): Formatting and mying changes.
1300 2001-02-21 Akim Demaille <akim@epita.fr>
1302 * automake.in (&handle_tests_dejagnu): Move the definition of a
1303 default `site.exp' into...
1304 * dejagnu.am (site.exp): here.
1305 Use DOS compliant file names.
1307 2001-02-21 Akim Demaille <akim@epita.fr>
1309 * automake.in (&dist_cmp): New.
1310 (&handle_dist): Use it.
1311 Promote `my' over `local'.
1313 2001-02-21 Akim Demaille <akim@epita.fr>
1315 * dist.am: Remove, merge into...
1316 * distdir.am: here. Use the neat sed snippet for banners.
1317 BTW, distcheck is phony.
1318 * automake.in (&handle_dist_worker): Remove, merge into...
1319 (&handle_dist): this.
1320 (&file_contents): Strip leading new lines.
1321 Be sure to end comments with new lines.
1323 2001-02-21 Akim Demaille <akim@epita.fr>
1325 * distdir.am (GZIP_ENV): Define.
1326 * automake.in (&handle_dist): Don't.
1328 (&handle_dist_worker, &am_install_var): Use it.
1330 2001-02-21 Akim Demaille <akim@epita.fr>
1332 * distdir.am (distdir): Handle the DIST-TARGETS.
1333 * automake.in (&handle_dist_worker): Don't.
1335 2001-02-21 Akim Demaille <akim@epita.fr>
1337 * automake.in (&file_contents): Transform the global options (such
1339 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
1341 2001-02-21 Akim Demaille <akim@epita.fr>
1343 * distdir.am (distdir): Be sure to have permissive rights on its
1345 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
1347 And BTW, all these guys are phony.
1348 * automake.in (&handle_dist_worker): As its name doesn't indicate,
1349 output distributions.
1350 (&handle_dist): As its name doesn't indicate, don't.
1351 (&initialize_global_constants): Don't define variables which
1352 content is now handled by distdir.am.
1353 But register `dist-all' as a factored target.
1354 (&handle_factored_dependencies): Don't output empty targets.
1356 2001-02-20 Tom Tromey <tromey@redhat.com>
1358 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
1361 2001-02-18 Tom Tromey <tromey@redhat.com>
1363 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
1364 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
1365 (AM_PROG_STRIP): Commented out.
1367 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
1369 * depcomp (gcc3): Protect against the compiler deleting
1370 the dependency output file.
1372 2001-02-17 Tom Tromey <tromey@redhat.com>
1374 * automake.in (handle_merge_targets): Use double quotes around
1375 setting of INSTALL_STRIP_PROGRAM.
1376 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1377 to absolute path at runtime.
1378 (AM_PROG_STRIP): Don't explicitly test $STRIP.
1380 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1382 * m4/strip.m4: New file.
1383 * m4/Makefile.am (m4data_DATA): Add strip.m4.
1384 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
1385 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
1386 * automake.in (handle_merge_targets): In the install-strip rule,
1387 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
1388 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
1389 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
1390 don't use INSTALL_STRIP_FLAG any longer.
1392 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1394 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
1397 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1399 * automake.in (unquote_m4_arg): New function.
1400 (scan_one_configure_file): Call unquote_m4_arg on
1401 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
1404 2001-02-15 Tom Tromey <tromey@redhat.com>
1406 * config.guess, config.sub: New versions from FSF.
1408 * Makefile.am (WGET): New macro.
1409 (FETCHFILES): New macro.
1410 (fetch): New target.
1412 * tests/subobj3.test: Exit with status 77 if gcc not found.
1413 * tests/pr9.test: Exit with status 77 if gzip not found.
1414 * tests/pr87.test: Exit with status 77 if gcc not found.
1415 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
1416 * tests/install2.test: Exit with status 77 if gzip not found.
1417 * tests/exsource.test: Exit with status 77 if GNU make not found.
1418 * tests/ansi3.test: Exit with status 77 if gcc not found.
1420 * tests/target-cflags.test: Require GNU make. Exit with status 77
1421 if gcc or make not found. Fixes PR automake/121.
1423 * configure.in: Require Perl 5.005.
1424 * automake.in: Require 5.005.
1426 * automake.texi (Top): Conditionalize on `nottex', not `info'.
1427 Fixes PR automake/122.
1429 2001-02-14 Tom Tromey <tromey@redhat.com>
1431 * automake.in (add_depend2): Only emit a given object rule once.
1432 Fixes specflags6.test.
1434 2001-02-14 Richard Boulton <richard@tartarus.org>
1436 * tests/specflags6.test: New file.
1438 2001-02-14 Tom Tromey <tromey@redhat.com>
1440 * automake.texi (A Shared Library): Mention -module.
1442 2001-02-13 Tom Tromey <tromey@redhat.com>
1444 * automake.in (do_one_merge_target): Always register $name and
1447 * automake.in (do_one_merge_target): Register `all' as phony
1450 * configure.in: Updated to 1.4e for cvs.
1452 2001-02-12 Tom Tromey <tromey@redhat.com>
1454 * configure.in: Updated to 1.4d and released.
1456 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
1457 names through autoconf.
1459 Fix for subdirbuiltsources.test:
1460 * automake.in (initialize_per_input): [all_target] Initialize to
1462 (handle_merge_targets): Use all-redirect target to handle built
1464 (do_one_merge_target): Don't generate all-redirect rule.
1466 2001-02-11 Peter Muir <iyhi@yahoo.com>
1468 * tests/subdirbuiltsources.test: New file.
1469 * tests/Makefile.am (TESTS): Added new file.
1471 2001-02-10 Tom Tromey <tromey@redhat.com>
1473 * tests/condlib.test: New file.
1474 * tests/Makefile.am (TESTS): Added new file.
1476 2001-02-10 Lars J. Aas <larsa@sim.no>
1478 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
1479 (&canonicalize): New. Includes '@' in canonical range.
1480 (&check_canonical_spelling, &handle_programs, &handle_libraries,
1481 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
1483 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
1485 * automake.in (handle_configure): Revert part of
1486 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
1487 set CONFIG_COMMANDS explicitly.
1489 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
1491 * depcomp (gcc3): Propagate exit code.
1493 2001-02-09 Lars J. Aas <larsa@sim.no>
1495 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
1497 2001-02-09 Tom Tromey <tromey@redhat.com>
1499 Clean up maintainer-check warnings:
1500 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
1502 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
1504 2001-02-09 Akim Demaille <akim@epita.fr>
1506 * automake.in (&file_contents): Remove a dead branch.
1508 2001-02-09 Akim Demaille <akim@epita.fr>
1510 * automake.in (&transform): Use `my', not `local'.
1511 (&transform_cond): New.
1512 (&get_object_extension, &handle_texinfo, &handle_tags)
1513 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
1514 (&handle_tests_dejagnu): Use it.
1515 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
1516 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
1518 2001-02-09 Akim Demaille <akim@epita.fr>
1520 * automake.in: Various formatting changes, and modernization of
1523 (&handle_configure, define_standard_variables): Use it.
1525 2001-02-08 Tom Tromey <tromey@redhat.com>
1527 * automake.in (file_contents): Only add $actions if any are
1528 found. Fixes new failure in pr87.test.
1530 2001-02-08 Pavel Roskin <proski@gnu.org>
1532 * tests/pr87.test: Check foo/Makfile.in after it is created.
1534 2001-02-08 Tom Tromey <tromey@redhat.com>
1536 * tests/pr87.test: Added check for blank line after `.c.o' rule.
1537 Report from Lars J. Aas.
1539 2001-02-07 Lars J. Aas <larsa@sim.no>
1541 * lisp.am (install-@DIR@LISP): Removed extra space.
1542 * header.am (install-@DIR@HEADERS): Removed extra space.
1543 * data.am (install-@DIR@DATA): Removed extra space.
1545 2001-02-07 Tom Tromey <tromey@redhat.com>
1547 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
1549 * automake.in (handle_dependencies): Use _am_include, not
1551 * tests/exsource.test: Use _am_include, not AMINCLUDE.
1552 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
1554 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
1556 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
1558 * automake.in (handle_configure): Handle case where output file is
1559 in subdir with no Makefile of its own. Fixes remake3.test,
1562 2001-02-06 Pavel Roskin <proski@gnu.org>
1564 * automake.in (handle_dependencies): Rename AM_INCLUDE to
1566 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
1567 * tests/exsource.test: Likewise.
1569 2001-02-06 Derek Price <derek.price@openavenue.com>
1571 * automake.in (handle_configure): Fix syntax error.
1573 2001-02-06 Akim Demaille <akim@epita.fr>
1575 * subdirs.am: This file is the exception: clean recursive targets
1576 are called by the clean targets, not the clean-am targets.
1577 Otherwise we have a circular dependency: clean -> clean-am ->
1578 clean-recursive -> clean.
1579 * automake.in (handle_clean): Bind `-local' targets to `-am'
1580 targets, not top targets.
1581 Don't declare -recursive dependencies of the clean targets:
1582 `subdirs.am' did it. Less hard coded knowledge, transfered
1586 2001-02-06 Akim Demaille <akim@epita.fr>
1588 Monstro unsplitable patch.
1590 The aim is to remove hard coded knowledge about clean targets from
1591 automake.in, leaving them in the *.am files.
1592 In addition to the mechanic needed to factor some dependencies, it
1593 appears some rules (most notably distclean and maintainer-clean)
1594 need factored actions. So first, be ready to catch factored
1597 * automake.in (&file_contents): For the time being, use an extended
1598 $RULE_PATTERN which is able to match any kind of rules, with or
1599 without dependency, with or without actions.
1600 Handle all the rules uniformly, storing in %actions the factored
1602 (&flatten, &target_cmp): New.
1603 (&handle_factored_dependencies): Output the %actions.
1604 No longer special case `clean'.
1605 Output the rules in alphabetical order, but keeping `.PHONY' last.
1607 Now we must not use &push_phony_cleaners, which is doing all sort
1608 of magic to push a bit of everything in all the clean targets.
1609 The biggest problem being that, making a Cartesian product, it
1610 requires many useless targets. The `*.am' file know better.
1611 But first, register the new factored rules.
1613 * automake.in (&initialize_per_input): Include clean, mostlyclean,
1614 maintainer-clean, distclean and their `*-am' counterpart in
1616 Initialize %actions.
1617 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
1618 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
1619 (handle_emacs_lisp, handle_python): Don't play with
1620 &push_phony_cleaners nor &depend and `clean'.
1621 * texinfos.am, texi-vers.am, tags-clean.am:
1622 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
1623 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
1624 * clean-kr.am, clean-hdr.am: Do it.
1625 Whenever a target is empty, just remove it, it will no longer be
1628 There is still some magic about clean to hard code. But really,
1629 that's the end of &do_one_clean_target.
1631 * automake.in (&do_one_clean_target): Kaboom out.
1632 (&handle_clean): Rewrite the magic code.
1633 (&am_install_var): No longer use &push_phony_cleaners, nor depend
1635 (&push_phony_cleaners): Kaboom too.
1637 2001-02-06 Akim Demaille <akim@epita.fr>
1639 * automake.in (do_one_clean_target): Don't hard code knowledge
1640 about libtool, and maintainer-clean.
1641 * clean.am, libtool.am: Handle these.
1643 2001-02-05 Akim Demaille <akim@epita.fr>
1645 * automake.in (handle_texinfo): No longer hard code the clean
1647 (texinfos.am): Include them.
1649 2001-02-05 Akim Demaille <akim@epita.fr>
1651 * Makefile.am (perl4-check): Remove, we now require Perl 5.
1652 (maintainer-check): Don't be silent when you find a problem, and
1653 actually, even specify the locations.
1654 Also check that @_ is assigned to arrays.
1656 2001-02-05 Akim Demaille <akim@epita.fr>
1658 * m4/regex.m4: Use AC_LIBSOURCES.
1659 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
1662 2001-02-04 Tom Tromey <tromey@redhat.com>
1664 * m4/Makefile.am (m4data_DATA): Added make.m4.
1665 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
1667 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
1668 Copy depcomp to subdir.
1669 * m4/make.m4: New file.
1671 2001-02-04 Pavel Roskin <proski@gnu.org>
1673 * automake.in (handle_dist_worker): Remove a line that is now
1676 2001-02-04 Kevin Ryde <user42@zip.com.au>
1678 * automake.in (handle_configure): Call config.status with empty
1679 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
1681 2001-02-04 Tom Tromey <tromey@redhat.com>
1683 * depcomp (ddashmd): Removed case.
1684 (sgi): Handle failure exit correctly
1685 (aix): Likewise. Also, add dummy `.h' targets.
1687 2001-02-04 Akim Demaille <akim@epita.fr>
1689 * distdir.am (distdir): New file, extracted from...
1690 * automake.in (handle_dist_worker): here.
1693 2001-02-04 Akim Demaille <akim@epita.fr>
1695 * automake.in (@clean): Remove, replaced by...
1696 ($dependencies{'clean'}): this.
1697 Use `&depend' instead of push'ing into @clean.
1698 (handle_factored_dependencies): For the time being, skip 'clean'.
1699 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
1700 always `clean', and `@clean'.
1702 2001-02-04 Akim Demaille <akim@epita.fr>
1704 * automake.in (%dependencies): Don't be initialize globally for
1705 all the files, but in...
1706 (&initialize_per_input): here.
1708 (@phony): Replace all occurrences with the corresponding &depend
1711 2001-02-03 Tom Tromey <tromey@redhat.com>
1713 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
1714 * header-vars.am (INSTALL_HEADER): New macro.
1716 * automake.texi (Rebuilding): New node.
1718 2000-12-29 Derek Price <derek.price@openavenue.com>
1720 * automake.in (handle_dependencies): Switched the DEP_FILES
1721 definition to be conditional on @AMDEP@.
1723 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
1725 * depcomp (aix): New side-effect dependency tracking mode, for
1726 the C for AIX compiler.
1727 * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
1728 `conftest.h' for each test.
1730 2001-02-03 Tom Tromey <tromey@redhat.com>
1732 * automake.texi (Dist): Updated to mention caveat of putting
1733 directory in EXTRA_DIST and also providing a nice example of
1734 removing the CVS dir.
1735 From Ganesan Rajagopal.
1737 * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
1740 * automake.in (scan_one_autoconf_file): Disable warning about
1743 * automake.in (handle_configure): Don't modify variable which
1744 aliases list element. Don't push @inputs onto the dist list.
1746 (initialize_per_input) [dist_dirs]: New variable.
1747 (handle_dist_worker): Use global dist_dirs.
1748 (handle_configure): Set dist_dirs entries at toplevel.
1750 2001-02-02 Gordon Sadler <gbsadler1@lcisp.com>
1752 * automake.texi (Java Support): Added index, @section.
1754 2001-02-02 Pavel Roskin <proski@gnu.org>
1756 * automake.in (scan_autoconf_traces): Restore trace messages.
1758 * automake.in (handle_aclocal_m4): Fix stripping of the initial
1759 "./" from the dependencies of aclocal.m4.
1760 Reported by Ralf Corsepius.
1762 2001-02-01 Pavel Roskin <proski@gnu.org>
1764 * aclocal.in: Rename "verbosity" to "verbose". Always prepend
1765 "aclocal: " to the verbose output.
1767 * automake.in: Remove all debugging messages.
1769 2001-01-31 Akim Demaille <akim@epita.fr>
1771 * automake.in (add_depend2): Quote properly $obj and $source.
1773 2001-01-31 Akim Demaille <akim@epita.fr>
1775 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
1776 then replacing `$(@PFX@COMPILE)' for the files that need some
1777 special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
1778 Try to document this file.
1779 * automake.in (add_depend2): Adjust to these changes.
1781 2001-01-31 Akim Demaille <akim@epita.fr>
1783 * automake.in (%factored_dependencies): New.
1784 (file_contents): Use it.
1785 (handle_phony): Rename as...
1786 (handle_factored_dependencies): this.
1787 * subdirs.am: No need for convolved syntax to declare .PHONY.
1789 2001-01-31 Akim Demaille <akim@epita.fr>
1791 * automake.in: maintainer-check fixes.
1793 2001-01-31 Akim Demaille <akim@epita.fr>
1795 * automake.in (file_contents): Rewrite: instead of trying to parse
1796 it line by line, first swallow it completely into $CONTENTS,
1797 *then*, parse it *paragraph* by paragraph.
1799 2001-01-30 Akim Demaille <akim@epita.fr>
1801 * automake.in (file_contents): Remove.
1802 (file_contents_with_transform): Swap the order of the arguments,
1804 (file_contents): this.
1807 2001-01-30 Tom Tromey <tromey@redhat.com>
1809 * automake.in (scan_one_autoconf_file): Don't mention
1812 2001-01-29 Akim Demaille <akim@epita.fr>
1814 * automake.in (&scan_autoconf_config_files): Extract from
1815 &scan_one_autoconf_file.
1816 (&scan_one_autoconf_file): Use it.
1817 (&scan_autoconf_traces): New.
1818 ($scan_autoconf_files): Use it.
1820 2001-01-29 Akim Demaille <akim@epita.fr>
1822 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
1824 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
1825 (handle_etags, handle_subdirs): Don't push into @phony.
1827 2001-01-29 Akim Demaille <akim@epita.fr>
1829 * automake.in (scan_one_autoconf_file): Correctly recognize
1832 2001-01-29 Akim Demaille <akim@epita.fr>
1834 * automake.in (handle_tests_dejagnu): New, extracted from...
1835 (handle_tests): here. Use `.PHONY:'.
1837 2001-01-29 Akim Demaille <akim@epita.fr>
1839 * automake.in (handle_phony): Sort.
1840 (file_contents_with_transform): Catch `.PHONY:'.
1841 (handle_tests): Instead dumping the hard coded target check-TESTS
1842 and registering its .PHONYsm, get them from...
1843 * check.am: here, new file.
1845 2001-01-29 Akim Demaille <akim@epita.fr>
1847 * automake.in (add_depend2): Use &transform.
1849 2001-01-29 Akim Demaille <akim@epita.fr>
1851 * automake.in (handle_tags): Use &transform.
1852 (am_error, am_line_error, am_conf_error, read_am_file): Use
1853 directly arrays in strings, no need for &join.
1855 * Makefile.am (maintainer-check): Use grep -w when looking for
1858 2001-01-29 Akim Demaille <akim@epita.fr>
1860 * automake.in (prog_error): New.
1863 2001-01-29 Akim Demaille <akim@epita.fr>
1865 * automake.in (handle_single_transform_list): if (@list) { foreach
1866 (@list) ...} can be written as a simple `foreach' loop.
1868 2001-01-29 Akim Demaille <akim@epita.fr>
1870 * automake.in (define_standard_variables): Use &transform instead
1873 2001-01-29 Akim Demaille <akim@epita.fr>
1875 * automake.in (handle_texinfo): Use the new $texinfodir instead of
1876 the removed $texinfo_tex.
1878 2001-01-29 Akim Demaille <akim@epita.fr>
1880 * automake.in (handle_libraries, handle_ltlibraries): Use
1883 2001-01-29 Akim Demaille <akim@epita.fr>
1885 * automake.in (handle_programs) <xexe>: Remove, replaced by
1887 Use it, and &transform.
1889 2001-01-29 Akim Demaille <akim@epita.fr>
1891 * automake.in (get_object_extension) <$default_includes>: New.
1892 Use it and &transform.
1894 2001-01-28 Tom Tromey <tromey@redhat.com>
1896 * automake.in (variable_value_as_list_worker): Handle entries in
1897 %am_var_defs. Fixes listval.test.
1899 2001-01-26 Akim Demaille <akim@epita.fr>
1901 * automake.in (handle_texinfo): Don't use $conf_pat, just
1902 $conf_dir to transform MDDIR since now &transform handles the
1903 escaping of RE special characters by itself.
1905 2001-01-24 Akim Demaille <akim@epita.fr>
1907 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
1909 * m4/init.m4: Likewise.
1910 * m4/sanity.m4: s/conftestfile/conftest.file/.
1912 2001-01-24 Tom Tromey <tromey@redhat.com>
1914 * automake.in (handle_libraries): Use $configure_ac; typo fix.
1916 * automake.in (transform): Quote substitution.
1918 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1919 Tom Tromey <tromey@redhat.com>
1921 * automake.in (obsolete_rx): Match whole macro names, not
1923 * aclocal.in (obsolete_rx): Likewise.
1925 2001-01-21 Tom Tromey <tromey@redhat.com>
1927 * automake.texi: Changed dir category.
1929 2001-01-18 Akim Demaille <akim@epita.fr>
1931 * automake.in (handle_texinfo): Use &transform, and transform
1933 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
1935 2001-01-16 Akim Demaille <akim@epita.fr>
1937 Let Automake support `configure.ac'.
1939 * automake.in: In the comments, prefer `configure.ac' to
1941 When using &am_conf_error, don't repeat `in configure.in', since
1942 the function already reports it.
1943 When referring to `configure.in' use `$configure_ac' instead.
1944 (configure_ac): New global variable.
1945 (scan_configure, scan_one_configure_file): Rename as...
1946 (scan_autoconf_files, scan_one_autoconf_file): this.
1947 (scan_autoconf_files): Compute $configure_ac.
1948 (transform): New function.
1949 (handle_configure): Use it to transform CONFIGURE_AC in
1950 `remake.am' and in `remake-hdr.am'.
1951 (common_files): Also consider `configure.ac'.
1952 Use consistently single quotes.
1953 * aclocal.in (configure_ac): New variable.
1955 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
1956 * remake.am: Likewise.
1957 * remake-hdr.am: Likewise.
1959 2001-01-16 Akim Demaille <akim@epita.fr>
1961 * m4/multi.m4: Remove the hairy useless quotation of `$'.
1962 Simplify `ifelse([$2],,,[$2])' into... `$2'!
1963 * m4/minuso.m4: Don't use changequote!
1964 * m4/cond.m4: Fix quotation.
1965 * m4/sanity.m4: Follow the Autoconf coding style.
1966 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
1967 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
1970 2001-01-15 Tom Tromey <tromey@redhat.com>
1972 * automake.in (handle_single_transform_list): Don't print rule
1973 here when source is in subdir and object is not. Fixes
1976 * automake.in (handle_single_transform_list): Correctly compute
1977 $nonansi_obj. Fixes cxxansi.test.
1979 * automake.texi (Man pages): Updated to account for man1_MANS,
1982 2001-01-13 Steve Robbins <smr@debian.org>
1983 Tom Tromey <tromey@redhat.com>
1985 * aclocal.in (scan_configure): Don't recognize macro assignments
1987 (add_file): Likewise.
1989 2001-01-13 Kevin Ryde <user42@zip.com.au>
1991 * automake.in (handle_ltlibraries): Omit -rpath from
1992 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
1994 2001-01-11 Tom Tromey <tromey@redhat.com>
1996 * depcomp (case gcc3): Use -MD, not -M.
1998 2001-01-10 Tom Tromey <tromey@redhat.com>
2000 * depcomp: Handle gcc 3.
2002 2000-12-23 Tom Tromey <tromey@redhat.com>
2004 * configure.in: Updated to 1.4c for cvs.
2006 * configure.in: Updated to 1.4b and released.
2008 * config.guess, config.sub, texinfo.tex: New versions.
2010 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
2013 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
2014 distclean and maintainer-clean.
2015 * automake.texi (Top level): Document use of DIST_SUBDIRS.
2017 From Rusty Ballinger:
2018 * automake.in (handle_java): Don't skip `noinst' prefix.
2020 * automake.texi (Invoking aclocal): Mention ## comments.
2022 2000-12-22 Tom Tromey <tromey@redhat.com>
2024 From Raja R Harinath:
2025 * automake.in (libtoolize_sometimes): New global.
2026 (initialize_global_constants): Added libtoolize_sometimes to
2029 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
2031 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
2033 2000-12-21 Tom Tromey <tromey@redhat.com>
2035 * automake.texi (Tags): Document GTAGS target.
2036 * tags.am (GTAGS): New target.
2038 * automake.in (libtoolize_files): Removed ltconfig.
2039 (initialize_global_constants): Added ltconfig to common_files.
2041 2000-12-21 Kevin Ryde <user42@zip.com.au>
2043 * automake.in (handle_footer): Generate .SUFFIXES target when user
2044 defines suffixes but automake does not.
2046 2000-12-20 Marc Espie <espie@openbsd.org>
2048 * automake.in (handle_texinfo): Make path of $vtexi explicit in
2050 * texi-vers.am: Likewise.
2052 2000-12-20 Tom Tromey <tromey@redhat.com>
2055 * automake.in (handle_footer): Always push user suffixes at the
2056 start of .SUFFIXES:.
2057 * automake.texi (Suffixes): Updated to reflect new suffix
2060 2000-12-18 Tom Tromey <tromey@redhat.com>
2062 * automake.in (handle_built_sources): Removed.
2063 (handle_merge_targets): Handle BUILT_SOURCES.
2064 * automake.texi (Sources): Updated documentation of
2067 2000-12-17 Tom Tromey <tromey@redhat.com>
2069 * m4/protos.m4: Always do header checks.
2071 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
2072 before using values.
2074 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
2075 conditionally defined. Fixes PR automake/77 and ldflags.test.
2077 2000-11-25 Tom Tromey <tromey@cygnus.com>
2079 * automake.in (file_contents_with_transform): Added file name and
2080 line number to error report.
2081 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
2083 2000-11-23 Pavel Roskin <proski@gnu.org>
2085 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
2087 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
2088 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
2089 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
2090 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
2091 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
2092 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
2093 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
2095 2000-11-23 Tom Tromey <tromey@cygnus.com>
2097 * automake.in (require_file_internal): Pass $file as second
2098 argument to maybe_push_required_file. Fixes PR automake/87.
2100 2000-11-18 Tom Tromey <tromey@cygnus.com>
2102 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
2103 /dev/null. From Paul Martinolich.
2105 2000-11-16 Morten Eriksen <mortene@sim.no>
2107 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
2108 opened, otherwise it has no effect.
2110 2000-10-23 Morten Eriksen <mortene@sim.no>
2112 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
2113 CRLFs. This circumvents a bug in Cygwin bash.
2115 * automake.in (generate_makefile): Don't write Makefile.in
2116 files with CRLFs, as it causes problems for the dependency-file
2117 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
2119 2000-10-19 Alex Hornby <alex@anvil.co.uk>
2121 * automake.in (handle_merge_targets): Allow parallel install
2124 2000-10-19 Akim Demaille <akim@epita.fr>
2126 * subdir4.test (depcomp): Don't create it, defs does.
2128 2000-10-17 Pavel Roskin <proski@gnu.org>
2130 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
2131 acinclude.m4 from the dependencies of aclocal.m4 to avoid
2132 circular and duplicated dependencies. Strip "./" from the
2135 2000-10-17 Lars J. Aas <larsa@sim.no>
2137 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
2138 normal comments (#) instead of m4 dnl-type comments.
2140 2000-10-17 Alex Hornby <alex@anvil.com>
2142 * depcomp: Altered sed clause to strip of inclusion depth
2143 numbers generated by cpp. Also output in gcc style.
2145 2000-10-16 Morten Eriksen <mortene@sim.no>
2147 * depcomp (msvisualcpp): New dependency tracking mode, for
2148 Microsoft Visual C++.
2150 2000-10-16 Morten Eriksen <mortene@sim.no>
2152 * depcomp: Fix a bug in SGI dependency tracking mode with source
2153 files which do not dependend on any other source files.
2155 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
2157 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
2158 * automake.in, automake.texi: Likewise.
2159 * clean-kr.am, clean.am: Likewise.
2160 * comp-vars.am: Likewise.
2161 * compile, compile.am: Likewise.
2162 * data-clean.am: Likewise.
2163 * data.am: Likewise.
2164 * dejagnu.am: Likewise.
2165 * depcomp: Likewise.
2166 * depend.am, depend2.am: Likewise.
2167 * dist-vars.am, dist.am: Likewise.
2168 * elisp-comp: Likewise.
2169 * footer.am: Likewise.
2170 * header-vars.am, header.am: Likewise.
2171 * java-clean.am java.am: Likewise.
2172 * kr-extra.am: Likewise.
2173 * library.am: Likewise.
2174 * libs-clean.am, libs.am: Likewise.
2175 * libtool.am: Likewise.
2176 * lisp-clean.am lisp.am: Likewise.
2177 * ltlib-clean.am ltlib.am: Likewise.
2178 * ltlibrary.am: Likewise.
2179 * m4/Makefile.in: Likewise.
2180 * m4/strtod.m4: Likewise.
2181 * mans-vars.am, mans.am: Likewise.
2182 * mdate-sh: Likewise.
2183 * missing: Likewise.
2184 * multilib.am: Likewise.
2185 * program.am: Likewise.
2186 * progs-clean.am, progs.am: Likewise.
2187 * python-clean.am, python.am: Likewise.
2188 * remake-hdr.am, remake.am: Likewise.
2189 * scripts.am: Likewise.
2190 * subdirs.am: Likewise.
2191 * tags-clean.am, tags.am: Likewise.
2192 * texi-vers.am: Likewise.
2193 * texinfos.am: Likewise.
2196 2000-10-09 Pavel Roskin <proski@gnu.org>
2198 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
2199 assignments changing $? - it's broken in ash-0.2.
2200 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
2202 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
2203 defined use it as the list of M4 files aclocal.m4 depends on.
2205 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2207 * aclocal.in (add_file): Strip comments while scanning for
2210 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
2212 * automake.in (initialize_global_constants): End the
2213 result of dist-bzip2 with tar.bz2, not bz2.
2215 2000-08-30 Tom Tromey <tromey@cygnus.com>
2217 Fix for PR automake/72:
2218 * automake.in (initialize_per_input): Define `need_link'.
2219 (finish_languages): Use need_link.
2220 (handle_source_transform): Set need_link if required.
2222 2000-08-28 Tom Tromey <tromey@cygnus.com>
2224 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
2226 (register_language): Default the `derived-autodep' option.
2227 (handle_single_transform_list): Add to %dep_files if language has
2228 `derived-autodep' set. Re-fixes lex4.test.
2230 2000-08-27 Tom Tromey <tromey@cygnus.com>
2232 * automake.in (handle_single_transform_list): Only add to
2233 %dep_files if language is found and supports automatic dependency
2234 tracking. Fixes PR automake/75.
2236 * automake.in (am_primary_prefixes): Don't set `valid' for
2237 configure variables that don't satisfy the other constraints.
2238 Fixes PR automake/68.
2240 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
2242 Fix for PR automake/67.
2243 * automake.in (handle_multilib): remove .am suffix in fragment
2244 name passed to file_contents.
2245 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
2246 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
2247 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
2249 2000-08-26 Tom Tromey <tromey@cygnus.com>
2251 * subdirs.am (maintainer-clean-recursive): Always run clean rules
2252 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
2254 * automake.in (handle_man_pages): Generate install targets for man
2255 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
2257 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
2258 Fix for PR automake/74. From js pendry.
2260 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2262 * depcomp (gcc): Support DOS-style absolute file names with drive
2265 2000-08-06 Jim Meyering <meyering@lucent.com>
2267 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
2268 if the depcomp file exists, before calling require_config_file on
2269 `depcomp'. This makes require_file_internal skip its buggy existence
2270 test that would make automake fail (with `required file `lib/depcomp'
2271 not found') when AC_CONFIG_AUX_DIR is not set.
2273 This change change does not fix the existing bug where, if `depcomp'
2274 is not present in the build directory (at the top level), automake
2275 still gives the inaccurate diagnostic about *lib*/depcomp rather
2278 2000-08-05 Jim Meyering <meyering@lucent.com>
2280 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
2281 add missing closing bracket and closing parenthesis.
2282 Don't quote the first argument to AC_OUTPUT_COMMANDS.
2283 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
2285 2000-08-04 Tom Tromey <tromey@cygnus.com>
2287 Idea from Nicolas Thiery:
2288 * automake.texi (Tests): Document DEJATOOL as a list.
2289 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
2290 (check-DEJAGNU): Run runtest in a loop.
2292 2000-08-02 Akim Demaille <akim@epita.fr>
2294 * m4: Quote properly the name of the macros being defined.
2295 Use `#' instead of `dnl' where appropriate.
2296 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
2298 Don't quote passive characters.
2299 Pull the AC_PREREQ outside the macro.
2300 * m4/init.m4: Pull the AC_PREREQ outside the macro.
2302 2000-07-28 Tom Tromey <tromey@cygnus.com>
2304 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
2307 2000-07-13 Kevin Ryde <user42@zip.com.au>
2309 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
2310 EXTRA_PROGRAMS as well as other _PROGRAMS.
2312 2000-07-02 Jim Meyering <meyering@lucent.com>
2314 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
2316 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
2318 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
2321 2000-06-02 Morten Eriksen <mortene@sim.no>
2323 * depcomp: workaround for problem with SGI IRIX sed (it can only
2324 handle lines of up to 8192 characters, the rest of the line will
2327 2000-05-31 Morten Eriksen <mortene@sim.no>
2329 * depcomp: tell SGI MIPSpro compilers to generate dependencies
2330 through the pre-processor (only CVS libtool has the -Wc option
2333 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
2335 * missing: Add support for `help2man'.
2337 2000-05-11 Tom Tromey <tromey@cygnus.com>
2339 * automake.in (handle_tests): Work correctly if TESTS is empty;
2340 print nothing if it is. From Kevin Ryde.
2342 2000-05-08 Tom Tromey <tromey@cygnus.com>
2344 * automake.texi (Texinfo): Mention vers*.texi.
2346 2000-05-04 Akim Demaille <akim@epita.fr>
2348 AM_INIT_AUTOMAKE is no longer optional, so don't look for
2349 `VERSION=' and `PACKAGE='.
2350 * automake.in (seen_package, seen_version): Remove initializations of
2351 unnecessary variables.
2352 (scan_one_configure_file): Don't set them.
2353 (scan_configure): Don't use them.
2355 2000-05-01 Akim Demaille <akim@epita.fr>
2357 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
2358 (AM_INIT_AUTOMAKE): Update the writing conventions.
2359 Quote the arguments properly.
2360 Add a few missing `dnl'.
2361 Use AC_PROVIDE_IFELSE.
2363 2000-04-26 Jim Meyering <meyering@lucent.com>
2365 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
2366 macro. Based on a patch from Harlan Stenn.
2368 2000-04-13 Akim Demaille <akim@epita.fr>
2370 * compile: Remove unnecessary double quotes in assignments.
2372 2000-04-13 Akim Demaille <demaille@epita.fr>
2374 * automake.in (scan_one_configure_file): Also recognize
2376 Remove trailing blanks.
2378 2000-04-05 Tom Tromey <tromey@cygnus.com>
2380 * header-vars.am (DESTDIR): Commented out definition.
2382 * automake.in (require_file_internal): Pass --copy to libtoolize
2383 if automake was run with `--copy'.
2385 2000-03-22 Tom Tromey <tromey@cygnus.com>
2387 * automake.texi (Uniform): Fix definition of pkglibdir.
2388 From thi <ttn@revel.glug.org>.
2390 2000-03-19 Tom Tromey <tromey@cygnus.com>
2392 * aclocal.in (parse_arguments): Copyright 2000.
2393 (write_aclocal): Likewise.
2394 * automake.in (parse_arguments): Copyright 2000.
2395 (initialize_global_constants): Likewise.
2397 * automake.in (generate_makefile): Call handle_dist after
2398 handle_dependencies and handle_tests. Fixes subobj3.test and
2399 pr19.test regressions.
2401 2000-03-19 Gordon Matzigkeit <gord@fig.org>
2403 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
2404 as the current directory.
2405 (@EXT@.lo): Likewise.
2407 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
2409 * automake.in (handle_data): Pass -candist instead of
2410 -defaultdist, for the compatibility.
2412 2000-03-19 Tom Tromey <tromey@cygnus.com>
2414 Fix for test nodepcomp.test:
2415 * automake.in (require_file_internal): Use readlink on symlinks.
2416 Only unlink file if we are going to try to add it again.
2417 (handle_dependencies): Require `depcomp' here.
2418 (scan_configure): Don't require `depcomp'.
2420 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
2422 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
2423 the rule to remake Makefile, whether $use_dependencies is true
2424 or not. This was a historical one and doesn't make sense any
2427 2000-03-19 Tom Tromey <tromey@cygnus.com>
2429 More for PR automake/38:
2430 * automake.texi (Invoking Automake): Document --force-missing.
2431 * automake.in (force_missing): New global.
2432 (parse_arguments): Recognize --force-missing.
2433 (initialize_global_constants): Document --force-missing.
2434 (require_file_internal): Handle --force-missing.
2436 Fix for PR automake/38:
2437 * automake.in (require_file_internal): Check for and handle
2438 dangling symlinks. Fixes symlink2.test.
2440 Fix for PR automake/45:
2441 * automake.texi (configure): Mention requirement to run
2443 (Requirements): Removed most text.
2444 * automake.in (seen_init_automake): New global.
2445 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
2446 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
2447 Set seen_init_automake if needed.
2449 Fix for PR automake/41:
2450 * automake.in (require_file_found): New global.
2451 (require_file_internal): Set require_file_found entry.
2452 (handle_texinfo): Require file any number of times.
2454 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
2457 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
2459 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2461 * m4/missing.m4: Print the backtick in a way that won't cause
2462 autoconf CVS to emit any warnings.
2464 2000-03-01 Jim Meyering <meyering@lucent.com>
2466 * automake.in (handle_dist_worker) [generating rules for distdir]:
2467 Don't use `ln' (which was just a space optimization anyway) to
2468 populate $(distdir). Otherwise, the dist rules that change
2469 permissions would end up affecting the master sources.
2470 * texinfos.am (dist-info): Likewise.
2472 2000-02-13 Jim Meyering <meyering@lucent.com>
2474 * automake.in (generate_makefile): Detect write/close failure.
2476 2000-02-02 Assar Westerlund <assar@sics.se>
2478 * automake.in (handle_single_transform_list): do not use $< which
2479 is not handled by all non-GNU makes. Instead do explicit sh code
2480 testing for the file in this directory and srcdir. Based on a
2481 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2483 2000-01-12 Tom Tromey <tromey@cygnus.com>
2485 * m4/lispdir.m4: Added --with-lispdir argument processing.
2488 2000-01-06 Tom Tromey <tromey@cygnus.com>
2490 * automake.in (handle_configure): Don't check for
2492 (scan_configure): Check for AC_PROG_MAKE_SET.
2494 * header-vars.am (@SET_MAKE@): Added.
2495 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
2498 1999-12-19 Tom Tromey <tromey@cygnus.com>
2500 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
2502 (require_file_internal): Corrected arguments to second invocation
2503 of maybe_push_required_file.
2505 Fix for PR automake/9:
2506 * automake.in (make_dirs, make_dirs_set): New globals.
2507 (is_make_dir): New function.
2508 (handle_configure): Use it.
2509 (require_file_internal): Push file if there is no Makefile in its
2511 (initialize_per_input): Initialize handle_dist_run.
2512 (push_dist_common): Inspect handle_dist_run.
2513 (handle_dist): Set handle_dist_run. Push items from
2514 configure_dist_common onto dist_common if appropriate.
2515 (configure_dist_common): New global.
2516 (scan_configure): Set it.
2517 (maybe_push_required_file): New function.
2518 (require_file_internal): Use it.
2520 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
2521 more subdirs are defined. From Axel Belinfante. Fixes
2524 1999-12-18 Tom Tromey <tromey@cygnus.com>
2526 Partial fix for PR automake/40:
2527 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
2528 (uninstall-@DIR@LISP): Likewise.
2529 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
2530 (uninstall-@DIR@HEADERS): Likewise.
2531 * data.am (install-@DIR@DATA): Handle nobase_ case.
2532 (uninstall-@DIR@DATA): Likewise.
2533 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
2534 (am_install_var): Recognize and handle `nobase_' prefix.
2536 1999-12-17 Tom Tromey <tromey@cygnus.com>
2538 * automake.in (get_object_extension): Added space before `-I.'.
2539 Report from Ralf Corsepius.
2541 1999-12-15 Tom Tromey <tromey@cygnus.com>
2543 * aclocal.in: Don't pass $acdir to scan_m4_files.
2544 (parse_arguments): Push $acdir on end of dirlist.
2545 (scan_file): Don't warn if duplicate macro seen.
2547 1999-12-13 Tom Tromey <tromey@cygnus.com>
2549 Fix for PR automake/30 and PR automake/23. Fixes test
2551 * automake.in (initialize_per_input): Initialize
2552 source_suffix_pattern.
2553 (derive_suffix): New function.
2554 (handle_single_transform_list): Call it.
2556 * automake.in (add_depend2): Handle the no-dependency-tracking
2557 case. Fixes test suffix2.test.
2559 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
2561 * automake.in (get_object_extension): Fixed quoting on
2564 * depend2.am: Removed erroneous comment.
2566 * automake.texi (Program variables): Document nostdinc.
2567 (Options): Likewise.
2568 * automake.in (get_object_extension): Respect nostdinc option.
2569 (handle_options): Recognize nostdinc.
2570 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
2573 * automake.in (read_am_file): Allow conditional includes. Fixes
2576 * depcomp: Handle case on SGI when libtool is `yes'.
2577 * depend2.am (@EXT@.o): Set libtool.
2578 (@EXT@.lo): Likewise.
2579 (@EXT@.obj): Likewise.
2581 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
2584 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
2586 * automake.in (add_depend2): substitute $rule in the rules
2587 for individual files. Fixes test specflags5.test.
2589 1999-12-12 Tom Tromey <tromey@cygnus.com>
2591 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
2592 to create directories. Fixes test subobj3.test.
2594 1999-12-10 Tom Tromey <tromey@cygnus.com>
2596 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
2597 message when creating .deps files.
2599 * automake.in (initialize_global_constants): If unreadable by
2600 owner, make it readable by owner regardless of number of links.
2601 Fixes more of install2.test.
2603 * missing: Try to see if gnutar or gtar exist before invoking
2606 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
2607 install_sh value. Look for install-sh and install.sh in a
2608 somewhat more sensible way. Fixes test install2.test. Partially
2611 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
2613 * m4/missing.m4: remove redundant backquote
2615 1999-11-23 Tom Tromey <tromey@cygnus.com>
2617 * automake.in (initialize_global_constants): Use `bzip2 -9', not
2618 `bzip --best' Report from Jim Meyering.
2620 1999-11-22 Tom Tromey <tromey@cygnus.com>
2622 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
2623 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
2624 AM_MISSING_INSTALL_SH.
2625 * automake.in (scan_one_configure_file): Reverted previous
2628 * automake.in (scan_one_configure_file): Define `install_sh'
2629 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
2632 * automake.in (handle_single_transform_list): Generate explicit
2633 rule for subdir objects. Fixes new addition to subobj.test.
2635 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
2636 defined by AC_SUBST. Fixes ltlibobjs.test.
2638 Fix for sourcesub.test:
2639 * automake.in (handle_single_transform_list): Added `var'
2640 argument. If config sub found, give error.
2641 (handle_source_transform): Updated for new
2642 handle_source_transform.
2644 * py-compile: New file.
2645 * m4/Makefile.am (m4data_DATA): Added python.m4.
2646 * m4/python.m4: New file.
2647 * automake.texi (Uniform): Mention PYTHON.
2649 * Makefile.am (amfiles): Added python.am, python-clean.am.
2650 (dist_script_DATA): Added py-compile.
2651 * python.am: New file.
2652 * python-clean.am: New file.
2653 * automake.in (seen_pythondir): New global.
2654 (generate_makefile): Call handle_python.
2655 (handle_python): New function.
2656 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
2658 (am_install_var): Special-case PYTHON like JAVA.
2659 (scan_configure): Check for py-compile.
2660 (initialize_global_constants): Added py-compile to @common_files.
2662 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
2664 1999-11-21 Tom Tromey <tromey@cygnus.com>
2666 * automake.in (finish_languages): Only generate suffix rule when
2667 not doing dependency tracking.
2669 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
2670 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
2672 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
2675 1999-11-19 Tom Tromey <tromey@cygnus.com>
2677 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
2678 Alexandre's change on branch.
2680 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2682 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
2684 * dejagnu.am: Set CDPATH before cd.
2685 * Makefile.in: Rebuilt.
2687 * automake.in (handle_single_transform_list): Change `\1' for `$1'
2688 in `s///' replacement.
2690 * automake.in (handle_dist): Set CDPATH before cd.
2691 * dejagnu.am (check-DEJAGNU): Likewise.
2692 * texinfos.am (install-info-am, dist-info): Likewise.
2693 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2694 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
2695 * aclocal.m4, configure, Makefile.in: Rebuilt.
2697 * AUTHORS: Added myself.
2699 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2701 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
2702 Reported by Tim Wilkinson <tim@transvirtual.com>
2703 * aclocal.m4, configure: Rebuilt.
2705 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
2707 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
2708 LEX program is found, use `${am_missing_run}flex'.
2710 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
2712 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
2713 with `o' in depfile.
2715 * automake.in (handle_lib_objects_cond): Remove second dot from
2716 dependency file names.
2718 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
2719 regardless of OBJEXT.
2721 * automake.in (handle_dependencies): Add blank line after depend2.
2722 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
2723 blank line before `include's, not after them.
2724 (scan_one_configure_file): Do not special-case `DEP_' any more.
2726 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
2728 * aclocal.m4, configure: Rebuilt.
2730 * m4/depend.m4 (AMDEPBACKSLASH): Define.
2731 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
2733 * automake.in (handle_dependencies): Generate `include's for
2734 dependency files after `@AMDEP@'.
2736 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
2737 --run support in the missing script, since SHELL is not exported.
2738 Reported by job bogan <job@piquin.uchicago.edu>
2739 * aclocal.m4, configure: Rebuilt.
2741 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
2743 * aclocal.m4, configure: Rebuilt with itself.
2744 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
2746 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
2747 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
2748 (AM_MISSING_HAS_RUN): New macro.
2749 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
2750 * automake.texi (Requirements): Likewise.
2751 * version.texi, stamp-vti: Rebuilt.
2753 1999-07-28 Tom Tromey <tromey@cygnus.com>
2755 * depcomp: Handle the `hp' mode.
2757 1999-07-06 Tom Tromey <tromey@cygnus.com>
2759 * depcomp: Work around HP-UX 10.20 sed bug.
2761 1999-07-05 Tom Tromey <tromey@cygnus.com>
2763 * automake.in (handle_dependencies): Generate a separate include
2764 for each dep file. Report from Alexandre Oliva.
2765 * depend.am: Don't include DEP_FILES.
2767 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
2769 * depend.am: Add @AMDEP@ before `include', so that dependency
2770 tracking can be disabled.
2771 * depend2.am: Ditto, before all lines related with dependency
2773 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
2774 --enable/disable-dependency-tracking and sets AMDEP accordingly.
2775 It is implicitly disabled if depcomp is missing.
2776 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
2777 generated by side-effect.
2778 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
2779 * automake.in (handle_dependencies): Add @AMDEP@ before the value
2781 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
2784 * depcomp: Support -xM for dependency generation, for Sun CC.
2785 Reported by Alex Hornby <alex@anvil.co.uk>
2786 * m4/depend.m4: Extract the list of supported dependency-tracking
2787 mechanisms from the depcomp script and use it to test each one.
2788 * THANKS: Added Alex Hornby.
2790 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
2791 to leave $(...COMPILE) in a line by itself.
2793 * THANKS: Added Miles Bader.
2795 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
2797 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
2798 Fix `dashmstdout' to ignore non-dependency-generating uses of the
2800 * depcomp (makedepend): New dependency-generating method.
2802 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
2804 * missing: If given `--run' as first argument, try to run the
2805 given program before falling back to the ``emulated'' behavior.
2806 Add support for `tar'.
2807 * automake.in: Use new `tar' support for `dist'.
2808 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
2809 program, prepend `missing --run' to the given program name.
2810 * m4/init.m4: Remove AMTAR-related stuff.
2813 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
2814 CONFIG_FILES. Do not use temporary variable for list of
2815 dependency files, it breaks Cygwin.
2817 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
2819 * depcomp (gcc): Imported comments removed from depend2.am, so
2820 that we don't lose them.
2822 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
2823 when not using ansi2knr.
2825 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
2827 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
2828 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
2830 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2832 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
2833 so as not to compile an empty source; some compilers fail on this.
2834 Redirect stderr of depcc to /dev/null. Test for -M with -o,
2835 because some compilers will output the rules to the output file.
2836 * depcomp (dashmstdout): Add --silent before --mode=compile, so
2837 that we don't get libtool output mixed up with make rules.
2839 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
2840 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
2841 -o for libtool, otherwise it may try to deduce the object name
2842 from the dependency-generation flag.
2843 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
2846 * libtool.am: Do not emit .c.lo here...
2847 * depend2.am: ... emit .*.lo here, only when using libtool.
2848 * automake.in (get_object_extension): No more @MINUSO@ here.
2849 (handle_single_transform_list): Set $depfile from $object.
2850 (handle_dependencies): Emit depend2.am for all used languages,
2851 regardless of $use_dependencies; the setting of depcomp makes the
2853 (lang_cxx_finish): Do not emit compilation rules.
2854 (lang_objc_finish): Likewise.
2855 (lang_java_finish): Likewise.
2857 1999-04-21 Tom Tromey <tromey@cygnus.com>
2859 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
2860 interpolate DEPDIR in DEP_FILES expansion.
2862 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
2864 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
2865 dependency updating.
2866 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
2867 handle multi-line dependency lists.
2869 1999-11-12 Tom Tromey <tromey@cygnus.com>
2871 Fix for PR automake/14:
2872 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
2874 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
2876 * m4/multi.m4: Added missing `]'. From Akim Demaille.
2878 * Makefile.am (path-check): Make sure distdir is writeable before
2880 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
2881 (handle_dist_worker): Make sure distdir is writeable before
2883 (initialize_global_constants [$dist_trailer]): Make sure distdir
2884 is writeable before removing it.
2885 * dist.am (distcheck): Make the new source tree read-only before
2886 compiling. Idea from Karl Berry.
2888 * automake.texi (Gnits): Allow COPYING.LIB again.
2889 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
2891 1999-11-11 Jim Meyering <meyering@ascend.com>
2893 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
2896 1999-11-09 Tom Tromey <tromey@cygnus.com>
2898 * automake.in (handle_dist): Typo fix. From Jim Meyering.
2900 1999-11-09 Jim Meyering <meyering@ascend.com>
2902 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
2903 markers, no matter what.
2905 1999-11-08 Tom Tromey <tromey@cygnus.com>
2907 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
2910 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
2911 From Jim Meyering. Also, don't mention file name in `cp'
2912 destination. From Olly Betts.
2914 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
2916 * texinfos.am (uninstall-info): Use installed info file, not one
2917 from srcdir or builddir.
2919 1999-11-07 Tom Tromey <tromey@cygnus.com>
2921 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
2924 Fix for PR automake/18:
2925 * automake.in (handle_dist): Add contents of dist.am to the output
2927 * Makefile.am (amfiles): Added dist.am.
2928 * dist.am: New file.
2929 (distcheck): Added uninstall and distclean checks.
2931 * automake.in (PATH_PATTERN): Added `-' as allowable character.
2932 Fixes PR automake/20. From Matthew D. Langston.
2934 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
2935 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
2937 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2939 * m4/lispdir.m4: -batch must come before -q.
2940 * elisp-comp: Likewise.
2941 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
2942 * THANKS: Added Lars.
2944 1999-08-15 Tom Tromey <tromey@cygnus.com>
2946 * automake.in (get_object_extension): Fixed quoting bug. Fixes
2949 1999-07-27 Tom Tromey <tromey@cygnus.com>
2951 * config.guess, config.sub: New versions from autoconf.
2953 1999-07-13 Tom Tromey <tromey@cygnus.com>
2955 Work around losing `awk'. Report from Harlan Stenn.
2956 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
2957 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
2959 * automake.in (handle_source_transform): Mark prefix as seen if
2960 corresponding _SOURCES variable exists. Fixes empty2.test.
2962 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
2964 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
2966 (AUTOMAKE): Set --amdir to current directory.
2968 1999-06-20 Tom Tromey <tromey@cygnus.com>
2970 * Makefile.am (TAGS_FILES): New macro.
2971 (ETAGS_ARGS): Moved files into TAGS_FILES.
2972 (TAGS_DEPENDENCIES): Likewise.
2973 (ETAGS_ARGS): Removed.
2974 (TAGS_DEPENDENCIES): Removed duplicate definition.
2976 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
2977 from Ganesan Rajagopal.
2980 1999-06-18 Thomas Tanner <tanner@ffii.org>
2982 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
2985 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
2987 * ylwrap: Handle filenames output by the DOS version of Bison.
2989 1999-06-20 Tom Tromey <tromey@cygnus.com>
2991 * ylwrap: Be less strict when recognizing DOS paths. From Mark
2994 1999-06-19 Tom Tromey <tromey@cygnus.com>
2996 * automake.in (handle_dist_worker): Remove redundant entries from
2999 * automake.in (handle_lib_objects_cond): Better error message when
3000 unrecognized option passed in LDADD.
3002 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
3004 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
3005 appropriate --acdir and --amdir arguments.
3007 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3009 * automake.in (dist_header): Avoid changing permissions of files
3010 in the source tree, trying a complex `find/chmod' command before
3011 falling back to plain chmod.
3012 (handle_dist_worker): Do not create directories with mode 777, the
3013 find above will take care of that.
3014 * m4/init.m4: Set install_sh for find/chmod above.
3016 * THANKS: Added Shuhei Amakawa.
3018 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
3020 * mans.am: Strip dirname from given filename.
3022 1999-06-07 Jim Meyering <meyering@ascend.com>
3024 * automake.in (handle_dist): Change emitted rules so that a failure
3025 in `$(MAKE) distcheck-hook' propagates to the outer make.
3027 1999-05-27 Tom Tromey <tromey@cygnus.com>
3029 * automake.in (handle_single_transform_list): Replace AM_FLAG and
3030 not FLAG in compilation rule.
3031 (add_depend2): Likewise.
3033 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
3036 * m4/dmalloc.m4: Updated dmalloc site information.
3038 1999-05-19 Tom Tromey <tromey@cygnus.com>
3040 * automake.in (handle_single_transform_list): Push object name
3041 without extension onto lang_specific_files. Fixes
3044 * automake.in (handle_single_transform_list): Added missing
3045 space. Fixes specflags.test.
3047 1999-05-05 Tom Tromey <tromey@cygnus.com>
3049 * automake.in: Disabled dependency tracking for Java.
3051 1999-05-04 Tom Tromey <tromey@cygnus.com>
3053 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
3054 * automake.in (handle_libraries): Recognize _AR variable.
3056 1999-04-30 Tom Tromey <tromey@cygnus.com>
3058 * automake.in (finish_languages): Always use `-o $@' with
3059 libtool. Define ltcompile and ltlink at outermost scope in
3061 * libtool.am (.c.lo): Removed.
3063 * automake.in (finish_languages): Put `.' before extension in
3064 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
3065 `-flag'. From Pavel Roskin.
3067 1999-04-28 Tom Tromey <tromey@cygnus.com>
3069 * automake.in (finish_languages): Fixed scoping of ltcompile and
3070 ltlink. From Pavel Roskin.
3072 1999-04-27 Tom Tromey <tromey@cygnus.com>
3074 * automake.in (read_main_am_file): Don't start macro definition
3075 with backslash-newline. Instead, append newline at the end if
3078 * automake.in (read_am_file): Insert a backslash before a trailing
3079 newline. Fixes pluseq8.test.
3081 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
3083 (check_canonical_spelling): Don't insert `AM' before macro name
3084 (reverts Alexandre's 1999-04-27 patch).
3085 * automake.texi: Reverted documentation change for `AM' patch.
3087 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
3088 Minor rewrite for clarity.
3089 (check_canonical_spelling): Prefer `$1' over `\1'.
3091 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
3093 (@LTOBJ@): Likewise.
3094 * automake.in (handle_single_transform_list): Don't print rule if
3095 doing dependency tracking and the file's language supports it.
3096 (initialize_per_input): Initialize lang_specific_files.
3097 (add_depend2): New function.
3098 (handle_dependencies): Use it.
3100 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
3101 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
3102 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
3104 (lang_ratfor_finish): Use lang_f77_finish.
3106 * compile.am (NOTDEPEND.c.o): Removed.
3107 (OBJEXT.c.obj): Likewise.
3108 * automake.in: Added `flags' attribute to all relevant languages.
3109 (handle_single_transform_list): Handle per-derived-object flags.
3110 Changed interface and all callers.
3111 (handle_built_sources): Don't call handle_single_transform_list.
3112 Added `compile' and `compiler-name' attribute to all relevant
3114 (finish_languages): Define compiler variables here.
3115 (lang_cxx_finish): Don't call define_compiler_variable. Don't
3116 define flag variable or .o rules. Don't add to @suffixes.
3117 (lang_f77_finish): Likewise.
3118 (lang_ppf77_finish): Likewise.
3119 (lang_objc_finish): Likewise.
3120 (lang_java_finish): Likewise.
3121 (finish_languages): Define flag variable here.
3122 Added `output-arg' attribute to all relevant languages.
3123 (finish_languages): Define `.o' rules here.
3124 (finish_languages): Put extension on @suffixes.
3125 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
3127 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
3129 * automake.in (initialize_global_constants): Invoke gzip for
3130 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
3132 * automake.in (initialize_global_constants): Remove zip file
3133 before re-creating it.
3134 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
3136 * texinfos.am (uninstall-info): Look for info file in srcdir, just
3137 like in install-info-am.
3138 Reported by Tudor Hulubei <tudor@cs.unh.edu>
3140 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
3141 Let's use the good ol' substitution, then.
3142 Reported by Russ Allbery <rra@stanford.edu>
3144 * automake.in (check_canonical_spelling): Insert AM before names
3145 starting with non-letters.
3147 * automake.texi: Document it.
3149 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
3151 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
3152 doesn't work on perl4. Maybe \Q and \E do.
3154 1999-04-24 Tom Tromey <tromey@cygnus.com>
3156 * automake.in: Treat `.zip' and `.jar' files as Java.
3158 * automake.in (generate_makefile): Define `subdir' after reading
3160 (read_main_am_file): Give programming error if variable defined
3163 1999-04-22 Tom Tromey <tromey@cygnus.com>
3165 * automake.in (generate_makefile): Define `subdir' variable.
3166 (handle_dist): Don't define `subdir'.
3168 * automake.in (handle_texinfo): Change numbering scheme for
3169 stamp-vti files, to avoid problems with DOS.
3170 From Michel de Ruiter.
3172 * automake.texi: Don't mention AM_FUNC_MKTIME.
3173 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
3174 * automake.in (scan_one_configure_file): Recognize
3175 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
3176 (obsolete_macros): Mention AM_FUNC_MKTIME.
3177 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
3178 * m4/mktime.m4: Removed.
3180 1999-04-20 Tom Tromey <tromey@cygnus.com>
3182 * automake.texi (Top level): Don't recommend substing SUBDIRS.
3184 1999-04-20 Brian Ford <ford@vss.fsi.com>
3186 * scripts.am: Change else if's to elif.
3188 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
3190 * automake.in (handle_lib_objects_cond): Only require the source
3191 of a LIBOBJ if it's not in BUILT_SOURCES.
3192 Reported by Erez Zadok.
3194 1999-04-19 Tom Tromey <tromey@cygnus.com>
3196 * automake.in: Treat `.class' files as Java source.
3197 (lang_java_finish): Handle `.class' files.
3199 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
3201 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
3203 * m4/lispdir.m4: Do not override lispdir if it's already defined.
3204 Run some emacs-lisp to find out the site-lisp directory, but
3205 relocate it into prefix.
3207 1999-04-17 Paul Eggert <eggert@twinsun.com>
3209 * m4/mktime.m4 (bigtime_test, main): Move alarm from
3210 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
3211 even outside of bigtime_test. Use a time limit of 60 seconds
3212 for the whole test, not 10 seconds per iteration.
3214 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
3216 * automake.in: Create stamps for headers in appropriate
3217 directories, even if the input file lives in a different place.
3218 * remake-hdr.am: Likewise.
3220 1999-04-16 Tom Tromey <tromey@cygnus.com>
3223 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
3224 Invoke `sed' only once per program.
3225 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
3226 Invoke `sed' only once per program.
3228 1999-04-13 Tom Tromey <tromey@cygnus.com>
3230 * automake.in (handle_subdirs): Make `install-recursive' phony.
3231 From Michel de Ruiter.
3233 * automake.in (handle_ltlibraries): Added missing `check'.
3235 1999-04-12 Tom Tromey <tromey@cygnus.com>
3237 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
3240 1999-04-11 Tom Tromey <tromey@cygnus.com>
3242 * automake.in (handle_dist): Use AMTAR.
3243 (initialize_global_constants): Likewise.
3244 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
3246 * automake.in (lang_sub_obj): New function.
3247 (lang_cxx_rewrite): Use it.
3248 (lang_asm_rewrite): Likewise.
3249 (lang_objc_rewrite): Likewise.
3250 (lang_cxx_finish): Add `-o $@' to all C++ rules.
3251 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
3252 (lang_objc_finish): Add `-o $@' to all ObjC rules.
3253 (lang_java_finish): Likewise.
3255 * automake.in: Only register `asm' once.
3256 (lang_asm_finish): Put assembly suffixes on @suffixes.
3258 * libtool.am (.s.lo): Removed.
3260 * automake.in (lang_asm_finish): Handle libtool.
3262 * libtool.am (.c.o): Always pass -c to libtool.
3264 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
3265 (lang_yaccxx_rewrite): Likewise.
3266 (lang_lex_rewrite): Likewise.
3267 (lang_lexxx_rewrite): Likewise.
3269 Assembly code no longer included by default:
3270 * compile.am (.s.o): Removed.
3272 * automake.in: Register `asm' language.
3273 (lang_asm_finish): Generate suffix rules for assembly.
3274 (get_object_extension): Don't add `.s' or `.S' to suffix list.
3276 * automake.in (get_object_extension): Substitute @MINUSO@ when
3277 including compile.am.
3278 * compile.am (.c.o): Added @MINUSO@.
3281 First cut at allowing objects in subdirectories:
3282 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
3283 * Makefile.am (dist_script_DATA): Added compile.
3284 * m4/minuso.m4: New file.
3285 * automake.in (initialize_global_constants): Added compile to
3287 (seen_cc_c_o): New global.
3288 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
3289 (handle_options): Recognize `subdir-objects' option.
3290 (lang_c_rewrite): Added directory argument.
3291 (lang_yacc_rewrite): Likewise.
3292 (lang_yaccxx_rewrite): Likewise.
3293 (lang_lex_rewrite): Likewise.
3294 (lang_lexxx_rewrite): Likewise.
3295 (handle_single_transform_list): Pass directory to _rewrite
3296 function. Generate dependencies for dirstamp files for each .o;
3297 it is just the rules we want to create once.
3298 (lang_c_rewrite): Handle `subdir-objects' option.
3299 (lang_c_rewrite): Require `compile' program.
3300 * compile: New file.
3302 * automake.in (initialize_per_input): Initialize %directory_map.
3303 (handle_single_transform_list): Only create .dirstamp rules once
3306 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
3309 * automake.in (configure_input_files): New global.
3310 (scan_configure): Set it.
3311 (handle_configure): Use configure_input_files when determining
3312 which subdirs have a Makefile.am. Fixes confh.test.
3313 (handle_configure): Only recognize acconfig.h in top srcdir.
3315 1999-04-10 Tom Tromey <tromey@cygnus.com>
3317 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
3320 * automake.in (am_install_var): Remove redundancies from the
3321 result. Fixes test cond8.test.
3323 * automake.in (handle_single_transform_list): Handle dependency
3324 tracking when files are created in subdirs. Error if object in
3325 subdir has `..' component.
3327 * automake.in (initialize_global_constants): Use $(TAR), not tar.
3329 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
3331 * automake.in (lang_yacc_finish): Added missing `&'.
3333 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3335 * automake.in (handle_configure): Replace multiple occurrences of
3336 @STAMP@ in the same line; completes the patch for remake-hdr.am
3339 * automake.in (handle_dependencies): Fix test for `autodep'
3342 * automake.in (handle_source_transform): Add a pfx to used_pfx
3343 only if it's conditional or non-empty, to reduce the number of
3344 empty variables. Emit _OBJECS variable based on program name if
3345 no SOURCES were explicitly specified.
3347 * remake-hdr.am: Create the stamp file before the header file,
3348 and just rename it after, so that the timestamps will be correct.
3349 Reported by Marc Horowitz <marc@mit.edu>
3351 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
3352 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
3353 Reported by Jim Meyering <meyering@ascend.com>
3355 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
3357 1999-04-10 Tom Tromey <tromey@cygnus.com>
3359 * Makefile.am (EXTRA_DIST): New macro.
3360 * ChangeLog.1996, ChangeLog.1998: New files.
3362 1999-04-09 Tom Tromey <tromey@cygnus.com>
3364 * automake.in (handle_source_transform): Handle dist and nodist
3366 (initialize_per_input): Initialize dist_sources.
3367 (check_libobjs_sources): Handle dist and nodist prefixes.
3368 (generate_makefile): Define DIST_SOURCES.
3369 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
3371 * automake.texi (Macros): Mention AM_PROG_GCJ.
3372 (Java Support): New node.
3373 (Dist): Documented dist_ and nodist_ prefixes.
3375 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
3377 * automake.in (lang_java_finish): Generate .lo rule for `.java'
3378 files, not `.gcj' files.
3380 * m4/gcj.m4: New file.
3381 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
3383 * automake.in: Register the `java' language.
3384 (resolve_linker): Handle GCJLINK.
3385 (lang_java_rewrite): New function.
3386 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
3387 (lang_c_rewrite): Use new constants.
3388 (lang_cxx_rewrite): Likewise.
3389 (lang_header_rewrite): Likewise.
3390 (lang_yacc_rewrite): Likewise.
3391 (lang_yaccxx_rewrite): Likewise.
3392 (lang_lex_rewrite): Likewise.
3393 (lang_lexxx_rewrite): Likewise.
3394 (lang_asm_rewrite): Likewise.
3395 (lang_f77_rewrite): Likewise.
3396 (lang_ppf77_rewrite): Likewise.
3397 (lang_ratfor_rewrite): Likewise.
3398 (lang_objc_rewrite): Likewise.
3399 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
3400 return from rewrite function.
3401 (lang_java_finish): New function.
3402 (register_language): Changed interface and all calls. Added
3403 `autodep' settings to various languages.
3404 (handle_dependencies): Use `autodep' property of language when
3405 including dependency-tracking code.
3407 1999-04-07 Tom Tromey <tromey@cygnus.com>
3409 * automake.in (handle_texinfo): Indentation fixes.
3411 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3413 * automake.in (value_to_list): Skip *only* trailing backslashes.
3415 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
3417 * automake.in (value_to_list): Skip trailing backslashes.
3419 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3421 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
3423 Reported by Per Cederqvist <ceder@lysator.liu.se>
3424 (handle_texinfo): Do not define texinfo_tex='.', use
3425 '$(srcdir)/texinfo.tex' instead; the directory name will be
3427 (require_conf_file_with_line): Fixed typo.
3429 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
3431 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
3432 we do not depend on PATH starting with `.'.
3434 1999-03-31 Tom Tromey <tromey@cygnus.com>
3436 * automake.in (quote_cond_val): Quote \n.
3437 (unquote_cond_val): Unquote \n.
3438 (read_am_file): If line ends with `\', preserve it and add a
3440 (read_main_am_file): In conditional case, put conditional text at
3441 beginning of each generated line.
3443 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
3445 * automake.in (handle_tests): support XFAIL_TEST
3446 * automake.texi: document it
3448 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3450 * End of merge from trunk.
3452 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3454 * automake.in (cmdline_use_dependencies): Reintroduce it.
3455 (--ignore-deps): Set cmdline_use_dependencies again.
3456 (handle_dependencies): If use_dependencies is not set, define
3458 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
3459 (scan_configure): Do not require depcomp when ignoring
3461 (initialize_global_constants): Reintroduce --ignore-deps.
3463 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3465 * depcomp: New file.
3466 * Makefile.am (dist_script_DATA): Added depcomp.
3467 * automake.in (cmdline_use_dependencies, omit_dependencies,
3468 dependency_macros): Removed.
3469 (--ignore-deps): Just ignore.
3470 (handle_single_transform_list, dep_files): Named dependency files
3471 as \$(DEPDIR)/$base.P$obj
3472 (handle_lib_objects_cond): Likewise.
3473 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
3474 (scan_one_configure_file): Likewise.
3475 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
3476 Ignore OMIT_DEPENDENCIES.
3477 (handle_configure): Do not pass --ignore-deps.
3478 (scan_configure): Require `depcomp'.
3479 (initialize_global_constants): Make `depcomp' common. Remove
3480 `--ignore-deps' from usage.
3481 (get_object_extension): No more NOTDEPEND in compile nor libtool.
3482 * compile.am: Remove rules for .c.o and .c.obj
3483 * depend.am (distclean-depend): Wipe out $(DEPDIR)
3484 * depend2.am (@FPFX@DEPMODE): Define from config.status.
3485 Use it and depcomp in suffix rules.
3486 * libtool.m4: Likewise.
3487 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
3488 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
3489 * m4/Makefile.am (dist_m4data_DATA): Likewise.
3490 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
3491 from the Makefile and subst it in deps. Report creation of deps
3492 files (for now). Replace $U with `_' and the empty string. Write
3493 a comment to each created file.
3494 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
3495 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
3496 dependency mode and AC_SUBST [$1]DEPMODE.
3497 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
3498 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
3499 appears in configure.in, before or after AM_INIT_AUTOMAKE.
3501 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
3503 * depout.m4: Fix sed expression for extracting `dirpart'.
3505 1999-03-29 Tom Tromey <tromey@cygnus.com>
3507 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
3509 * compile.am (.c.obj): Also disabled when dependency tracking
3511 * depend2.am (@EXT@.obj): New target.
3512 * automake.in (get_object_extension): Added explanatory comment.
3513 (generate_dependency_code): Handle $seen_objext.
3515 * depend.am: Removed obsolete comment.
3516 * depend2.am: Minor formatting fix.
3518 1999-03-28 Tom Tromey <tromey@cygnus.com>
3520 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
3522 (EXTRA_DIST): Removed.
3523 * automake.in (dependency_macros): New global.
3524 (scan_one_configure_file): Recognize new dependency tracking
3525 macros, and define new resulting configure variables.
3526 (generate_dependency_code): New sub.
3527 (handle_dependencies): Use it.
3528 * depend2.am (DEP_@FPFX@COMPILE): New macro.
3530 (@EXT@.lo): Likewise.
3531 * m4/depvars.m4: New file.
3532 * m4/objcdepend.m4: New file.
3533 * m4/cxxdepend.m4: New file.
3534 * m4/init.m4: Moved dependency handling code into depout.m4.
3535 * m4/depout.m4: New file.
3536 * m4/ccdepend.m4: New file.
3537 * m4/depend.m4: New file.
3539 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
3540 (@EXT@.lo): Likewise.
3541 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
3544 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
3545 will create the required .P files for dependency tracking.
3546 * automake.in (scan_dependency_file): Removed.
3547 (handle_dependencies): Never call scan_dependency_file.
3548 (generate_deps): Removed.
3549 (parse_arguments): Don't recognize --generate-deps, --build-dir,
3550 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
3551 (srcdir_name): Removed.
3552 (build_directory): Removed.
3553 (initialize_global_constants): Changed $USAGE to reflect argument
3555 (handle_dist_worker): Never run automake in `dist' rule.
3556 (handle_configure): Use --ignore-deps, not --include-deps.
3557 * depend.am (DEPS_MAGIC): Removed.
3558 (DEP_FILES): Unconditionally include.
3560 1999-03-27 Tom Tromey <tromey@cygnus.com>
3562 * automake.in (saw_sources_p): Correctly count header extensions
3564 (handle_headers): Fixed order of arguments to am_install_var.
3566 * automake.in (am_install_var): Don't error if EXTRA_foo is
3569 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
3570 (uninstall-@DIR@SCRIPTS): Likewise.
3571 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
3572 (uninstall-@DIR@PROGRAMS): Likewise.
3573 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
3574 (uninstall-@DIR@LTLIBRARIES): Likewise.
3575 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
3576 (uninstall-@DIR@LISP): Likewise.
3577 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
3578 (uninstall-@DIR@LIBRARIES): Likewise.
3579 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
3580 (uninstall-@DIR@JAVA): Likewise.
3581 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
3582 (uninstall-@DIR@HEADERS): Likewise.
3583 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
3584 (uninstall-@DIR@DATA): Likewise.
3585 * Makefile.in: Rebuilt.
3586 * Makefile.am (dist_pkgdata_DATA): Renamed.
3587 (EXTRA_DIST): Removed.
3588 (install-data-hook): Added POST_INSTALL; print commands as they
3589 are run; respect DESTDIR.
3590 * dist-vars.am (DISTFILES): Removed $(HEADERS).
3591 * automake.in (am_install_var): Accept `-candist' and
3592 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
3593 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
3594 and `nodist_' prefixes.
3595 (handle_scripts): Pass -candist to am_install_var.
3596 (handle_data): Pass -defaultdist to am_install_var.
3597 (handle_headers): Likewise.
3598 (handle_emacs_lisp): Pass -candist to am_install_var.
3599 (handle_java): Pass -candist to am_install_var.
3601 1999-03-26 Tom Tromey <tromey@cygnus.com>
3603 * m4/init.m4: Fixed typo when invoking SHELL.
3605 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
3606 yacc header file. From Ralf Corsepius.
3608 * Makefile.in: Rebuilt.
3609 * Makefile.am: Updated to reflect removal of TAR subst.
3610 * automake.texi (Options): Document dist-bzip2.
3611 * automake.in (TAR): Removed global.
3612 (initialize_global_constants): Changed `dist' to use pipe with
3613 gzip; work with non-GNU tar.
3614 (handle_dist): Handle non-GNU tar. Don't define TAR.
3615 (initialize_global_constants): Added `dist-bzip2' entry.
3616 (handle_options): Recognize dist-bzip2 option.
3617 (handle_dist): Likewise.
3618 * configure: Rebuilt.
3619 * configure.in: Don't check for tar.
3620 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
3623 * automake.in (am_install_var): Removed obsolete comment.
3625 * texinfos.am (uninstall-info): Don't print loop but instead print
3626 commands. Simplified pre-uninstall loop.
3627 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
3628 instead print commands.
3629 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
3631 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
3632 instead print commands.
3633 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
3634 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
3635 instead print commands.
3636 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
3638 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
3640 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
3641 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
3642 instead print commands.
3643 * data.am (install-@DIR@DATA): Strip subdir from file name.
3644 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
3645 instead print commands.
3647 * automake.in (handle_merge_targets): `install-strip' is a phony
3648 target. From Michel de Ruiter.
3650 1999-03-25 Tom Tromey <tromey@cygnus.com>
3652 * automake.in (define_compiler_variable): Don't define variable
3655 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
3657 * automake.in (LDADD): accept -dlopen and -dlpreopen here
3658 * automake.texi: ditto
3660 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
3662 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
3663 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
3665 1999-03-24 Tom Tromey <tromey@cygnus.com>
3667 * automake.in (define_compiler_variable): New sub.
3668 (finish_languages): Use it.
3669 (lang_cxx_finish): Likewise.
3670 (lang_f77_finish): Likewise.
3671 (lang_ppf77_finish): Likewise.
3672 (lang_ratfor_finish): Likewise.
3673 (lang_objc_finish): Likewise.
3675 1999-03-23 Tom Tromey <tromey@cygnus.com>
3677 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
3678 sed invocations. From Elrond.
3679 (uninstall-@DIR@PROGRAMS): Likewise.
3681 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
3682 From Ralf Corsepius.
3684 1999-02-01 Thomas Tanner <tanner@gmx.de>
3686 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
3687 warning when AM_PROG_LIBTOOL was found
3688 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
3690 1999-03-22 Tom Tromey <tromey@cygnus.com>
3692 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
3693 * automake.in (define_standard_variables): New sub.
3694 (read_main_am_file): Use two passes to scan standard variables.
3695 (read_am_file): Don't special-case configure variables with `+='.
3696 (initialize_per_input): Initialize %var_was_plus_eq.
3697 (read_am_file): Set var_was_plus_eq element correctly.
3698 (define_variable): Give error if variable assigned with `+=' is
3700 (initialize_per_input): Initialize %am_var_defs.
3701 (file_contents_with_transform): Set element in %am_var_defs.
3702 (read_am_file): Use %am_var_defs.
3704 1999-03-21 Tom Tromey <tromey@cygnus.com>
3706 * automake.in (initialize_per_input): Initialize %object_map.
3707 (handle_single_transform_list): Allow source files in
3710 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
3712 * automake.in (handle_dist): Add missing newline after the first
3715 1999-03-11 Tom Tromey <tromey@cygnus.com>
3717 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
3718 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
3721 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
3723 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
3724 legitimate ending. Fixes libobj9.test.
3726 From Ralf Corsepius. Fixes lex3.test.
3727 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
3728 maintainer-clean list.
3729 (lang_lex_finish): Likewise.
3731 1999-03-02 Tom Tromey <tromey@cygnus.com>
3733 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
3734 construct to work around FreeBSD make/sh problem. From Rich Wales.
3736 1999-03-01 Tom Tromey <tromey@cygnus.com>
3738 Fixes from Pavel Roskin:
3739 * automake.in (variable_conditions_sub): Sort list passed to
3740 variable_conditions_permutations.
3741 (variable_conditions): Sort list before returning.
3743 1999-02-27 Tom Tromey <tromey@cygnus.com>
3745 * automake.in (lang_extensions): New sub.
3746 (handle_dependencies): Use it.
3747 (cxx_extensions): Removed.
3748 (lang_cxx_finish): Use lang_extensions.
3749 (f77_extensions): Removed.
3750 (lang_f77_finish): Use lang_extensions.
3751 (objc_extensions): Removed.
3752 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
3753 Report from Dave Morrison.
3754 (lang_ratfor_finish): Likewise.
3756 1999-02-26 Tom Tromey <tromey@cygnus.com>
3758 * automake.in (finish_languages): Added AM_LDFLAGS.
3759 (lang_cxx_finish): Likewise.
3760 (lang_f77_finish): Likewise.
3761 (lang_ppf77_finish): Likewise.
3762 (lang_ratfor_finish): Likewise.
3763 (lang_objc_finish): Likewise.
3765 1999-02-11 Tom Tromey <tromey@cygnus.com>
3767 * aclocal.in (obsolete_macros): Copied from automake.in.
3768 (obsolete_rx): Use only keys of obsolete_macros.
3769 (scan_configure): Report replacement macro for an obsolete macro.
3770 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
3772 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
3773 entry. Fixes obsolete2.test.
3775 * automake.in (obsolete_macros): Use empty string to indicate no
3777 (scan_one_configure_file): Likewise.
3779 1999-02-07 Paul Eggert <eggert@twinsun.com>
3781 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
3782 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
3783 needed by some programs.
3785 1999-02-10 Tom Tromey <tromey@cygnus.com>
3787 * automake.in (handle_texinfo): Added `pgs' to list of
3788 extensions. From NISHIDA Keisuke.
3790 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
3792 * automake.in (handle_texinfo): remove texinfo.tex from
3795 1999-02-02 Tom Tromey <tromey@cygnus.com>
3797 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
3798 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
3799 * header-vars.am (INSTALL_PROGRAM): Removed
3800 AM_INSTALL_PROGRAM_FLAGS.
3801 (INSTALL_STRIP_FLAG): New macro.
3803 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
3805 (lang_yacc_finish): Likewise.
3806 (lang_lex_finish): Likewise.
3808 1999-02-01 Tom Tromey <tromey@cygnus.com>
3810 * automake.in (handle_dist_worker): Correctly find find in $$d,
3811 not $$. From Bill Davidson.
3813 * automake.in (finish_languages): Use "&", not "do". From Pavel
3815 (handle_single_transform_list): Likewise.
3817 1999-01-29 Tom Tromey <tromey@cygnus.com>
3819 * automake.in (handle_configure): Removed unused variable. From
3822 * ansi2knr.c: New version from L. Peter Deutsch.
3824 1999-01-22 Tom Tromey <tromey@cygnus.com>
3826 * automake.in (require_file_internal): Correctly examine return
3827 value of `system'. From Andris Pavenis. Fixes copy.test.
3829 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
3831 * automake.in (lang_ppf77_rewrite): New function. From Jochen
3832 Kuepper. Fixes ppf77.test.
3833 (lang_ratfor_rewrite): New function
3835 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
3836 fix). From Erez Zadok.
3838 1999-01-15 Tom Tromey <tromey@cygnus.com>
3840 * configure.in: Version 1.4a (oops).
3842 * configure.in: Updated version to 1.5a.
3844 1999-01-14 Tom Tromey <tromey@cygnus.com>
3846 * automake.in (handle_configure): Compute $header_dir based on
3847 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
3849 (handle_configure): Compute relative path to input header
3850 correctly in all cases.
3852 * automake.in (handle_tests): Avoid error messages from dejagnu
3853 test rules. From Karl Heuer.
3855 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
3857 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
3859 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
3860 From Alexandre Oliva and Erez Zadok.
3862 * automake.in (create): Renamed from touch.
3863 (handle_configure): Use create, not touch.
3865 * config.sub, config.guess: New versions from autoconf.
3867 * mkinstalldirs: New version from autoconf.
3869 1999-01-12 Tom Tromey <tromey@cygnus.com>
3871 * config.sub, config.guess, COPYING, texinfo.tex: New versions
3874 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
3876 * automake.in (PATH_PATTERN): New variable:
3877 (INCLUDE_PATTERN): Use it. Ignore all include commands using
3878 symbols besides $(top_srcdir) and $(srcdir).
3880 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
3882 * automake.in (handle_dist_worker): avoid failure in `make dist'
3883 if last file is a builddir-only file
3885 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
3887 * missing (autoheader): `s' was missing from sed script; grr
3889 1999-01-11 Tom Tromey <tromey@cygnus.com>
3891 * remake-hdr.am (@STAMP@): Reverted timestamp change.
3892 ($(srcdir)/@STAMP@.in): Likewise.
3894 1999-01-10 Tom Tromey <tromey@cygnus.com>
3896 * Makefile.am (scriptdir): New macro.
3897 (script_DATA): Likewise.
3898 (install-data-hook): Use them.
3899 (EXTRA_DIST): Added script_DATA.
3900 (installcheck-local): Use script_DATA.
3902 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
3904 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3906 * missing (autoheader): accept multiple header files
3907 (automake): simplify sed processing
3909 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3911 * automake.in (handle_configure, stamp_dir): create only one stamp
3912 file per header, instead of one in the top-level directory and one
3913 in the directory that contains the header.
3915 1999-01-10 Tom Tromey <tromey@cygnus.com>
3917 * automake.in (lang_objc_finish): Formatting fix.
3919 * automake.in (objc_extensions): New sub.
3920 (handle_dependencies): Only generate dependency-tracking code for
3921 ObjC when ObjC source seen.