1 2001-05-06 Tom Tromey <tromey@redhat.com>
3 * automake.texi (Dist): Document distcheck-hook.
5 * tests/confh4.test: Updated to reflect DEFS change.
8 Fix for PR automake/132:
9 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
11 (java): Remove INCLUDES and DEFS from compilation.
12 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
13 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
14 (DEFAULT_INCLUDES): New macro.
16 * automake.in (usage): Re-align explanatory text.
17 Fixes PR automake/148.
19 * automake.texi (Uniform): Don't use @PROGRAMS@.
20 Fixes PR automake/154.
23 * tests/Makefile.am (TESTS): Added subobj5.test and subobj6.test.
24 (XFAIL_TESTS): Added subobj6.test.
25 * tests/subobj6.test: New file.
27 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
28 (Top level): Don't mention `flat'.
29 (Extending): Likewise.
30 (User Variables): New node.
32 * distdir.am (distdir): Make subdirectory for each file.
33 Fixes test subobj5.test.
35 * tests/Makefile.am (TESTS): Added new file.
36 (XFAIL_TESTS): Likewise.
37 * tests/texinfo10.test: New file.
39 2001-05-05 Pavel Roskin <proski@gnu.org>
41 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
42 in the same way as @defcodeindex and @syncodeindex respectively.
44 2001-05-05 Tom Tromey <tromey@redhat.com>
46 * mans.am (install-man%SECTION%): Minor cleanup.
47 (uninstall-man%SECTION%): Likewise.
49 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
50 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
52 (uninstall-man%SECTION%): Likewise.
53 * automake.in (handle_man_pages): Handle dist_ and nodist_
56 * automake.texi (Future): Removed.
58 (Hello): Don't mention `deep'.
59 (Top level): Likewise.
61 * automake.in (conditional_true_when): Use a hash, not index().
62 Also, a TRUE component always results in a true return.
63 Fixes test cond10.test. For PR automake/164.
64 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
66 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
69 * tests/Makefile.am (TESTS): Added new file.
70 (XFAIL_TESTS): Likewise.
71 * tests/cond10.test: New file.
73 2001-05-05 Tom Tromey <tromey@redhat.com>
75 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
77 (install-info-am): Likewise.
79 2001-05-05 Pavel Roskin <proski@gnu.org>
81 * automake.in (scan_texinfo_file): Don't push undefined values
84 2001-05-05 Richard Boulton <richard@tartarus.org>
86 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
89 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
91 * automake.in (required_targets): Added uninstall-am.
93 2001-05-05 Tom Tromey <tromey@redhat.com>
95 Fix bug reported by Robert Boehne:
96 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
98 (handle_dependencies): Likewise.
99 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
100 substitution. Correct diff now has 30 lines. Look for space
101 after losing `undef'.
103 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
105 * m4/sanity.m4: Remove the temp file before possible error exits.
107 2001-05-04 Akim Demaille <akim@epita.fr>
109 * configure.in: Set perllibdir.
112 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
114 * automake.in ($pkgdata_dir): New.
115 (&require_file_internal): Use it.
117 2001-05-03 Akim Demaille <akim@epita.fr>
119 Case insensitive FS choke on Automake/ vs automake.
120 Reported by Tim Van Holder.
122 * Automake/: Move into...
123 * lib/: this new directory.
125 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
127 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
130 2001-04-30 Jim Meyering <meyering@lucent.com>
132 * automake.in: Remove `/lib' from include directory.
134 2001-04-27 Akim Demaille <akim@epita.fr>
136 AM_INIT_AUTOMAKE is no longer optional.
138 * automake.in ($seen_make_set, $seen_prog_install)
139 ($seen_arg_prog): Remove.
140 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
143 2001-04-27 Akim Demaille <akim@epita.fr>
145 * tests/specflags4.test, tests/specflags5.test: Remove, merged
147 * tests/specflags3.test: here.
149 2001-04-27 Akim Demaille <akim@epita.fr>
151 * automake.in ($seen_path_xtra): Remove.
152 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
153 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
155 2001-04-27 Akim Demaille <akim@epita.fr>
157 * automake.in (&file_contents_internal): Declare it.
159 2001-04-27 Akim Demaille <akim@epita.fr>
161 * automake.in (&read_am_file, &file_contents_internal): Don't
162 define macros when `FALSE', to avoid errors on doubly defined
163 variables but under condition `FALSE'. In order to allow...
164 (&am_install_var): When reading the associated file for the first
165 time, enable `%?FIRST%'.
166 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
167 * libs.am: Do it when `%?FIRST%'.
169 2001-04-27 Akim Demaille <akim@epita.fr>
171 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
172 * ansi2knr.am: Do it.
173 Prefer `if %?FOO%' to `if %!FOO%'.
175 2001-04-27 Akim Demaille <akim@epita.fr>
177 * automake.in (®ister_language, &finish_languages): Use `pure'
179 (®ister_language): Use %done properly with objects, not names.
180 (&finish_languages): Replace `$non_c' with `$needs_c'.
182 2001-04-27 Akim Demaille <akim@epita.fr>
184 Unify LISP, PYTHON and JAVA primaries.
186 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
187 return if there are no files, hook elisp-comp on the Autoconf
188 macro, rely on lisp.am to define variables.
189 (&handle_python, &handle_java): Likewise.
190 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
191 `PYTHON' must be handled here, not in `&handle_python'.
192 * java.am: Define needed variables and rules.
194 2001-04-27 Akim Demaille <akim@epita.fr>
196 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
198 * header.am: Include data.am.
200 2001-04-27 Akim Demaille <akim@epita.fr>
202 * automake.in (&am_install_var): Transform `PRIMARY'.
203 * data.am: Equip with %PRIMARY%.
205 2001-04-27 Akim Demaille <akim@epita.fr>
207 * automake.in (@conditional_stack): Rename as...
209 (&file_contents_internal): Support inclusion of files.
211 2001-04-27 Akim Demaille <akim@epita.fr>
213 * automake.in (&lang_extensions): Remove.
214 (&add_depend2, &saw_sources_p): Adjust.
215 * depend2.am: `%EXT%' no longer includes the dot.
217 2001-04-27 Akim Demaille <akim@epita.fr>
219 * automake.in (&finish_languages, &handle_single_transform_list)
220 (&add_depend2, &handle_dependencies): No longer use the language
221 name in `$lang'. Rename `$lang_obj' as `$lang'.
223 2001-04-27 Akim Demaille <akim@epita.fr>
225 * automake.in (®ister_language): Use `new Language' with a hash.
227 2001-04-27 Akim Demaille <akim@epita.fr>
229 * automake.in (®ister_language): Rename `output-arg' and
230 `derived-autodep' as `output_arg' and `derived_autodep' to match
231 the Language attribute.
232 Set the defaults in %option instead of $lang.
234 2001-04-27 Akim Demaille <akim@epita.fr>
236 * Automake/: New directory.
237 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
238 * automake.in (Language): Use Automake::Struct.
239 * tests/defs: Adjust to find Struct.
241 2001-04-23 Pavel Roskin <proski@gnu.org>
243 * automake.in: Add forward declaration for register_language().
244 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
247 2001-04-20 Akim Demaille <akim@epita.fr>
249 * automake.in (%required_targets): Add `uninstall'.
252 2001-04-12 Akim Demaille <akim@epita.fr>
254 * automake.in (Language): Add attribute `name'.
255 (®ister_language): The name of the language is now given in the
257 No longer use `$lang' as the name of the language.
258 Rename `$lang_obj' as `$lang'.
260 2001-04-12 Akim Demaille <akim@epita.fr>
262 * automake.in (Language): Add attribute `_finish'.
265 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
266 (&lang_asm_finish): Remove.
268 2001-04-12 Akim Demaille <akim@epita.fr>
270 * automake.in (Language): Add attribute `extensions'.
271 (Automake): Pass a hash to `®ister_language' instead of a
272 list of pseudo assignments.
273 (®ister_language): Adjust.
274 (&finish_languages): Initialize `$ltoutarg'.
276 2001-04-12 Akim Demaille <akim@epita.fr>
278 * automake.in (Language): Add attribute `output_arg'.
279 (%language_map): Remove.
280 (®ister_language): Build only the object, and store in
282 (&finish_languages, &handle_single_transform_list): Adjust.
284 2001-04-12 Akim Demaille <akim@epita.fr>
286 * automake.in (Language): Add attributes `flags', `compile' and
288 (&finish_languages, &handle_single_transform_list, &handle_dist)
289 (&add_depend2, ®ister_language): Use them and the `linker' and
292 2001-04-12 Akim Demaille <akim@epita.fr>
294 * automake.in (&handle_single_transform_list, &finish_languages)
295 (&handle_dist, &handle_dependencies): Use the language object for
296 autodep and derived-autodep too.
298 2001-04-12 Akim Demaille <akim@epita.fr>
300 * automake.in (¯o_define): Ignore Automake definition for
301 ($var, $cond) if there is already a user definition for ($var, $cond).
303 2001-04-12 Akim Demaille <akim@epita.fr>
305 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
306 but also @deffn and so on which push data in indexes.
307 Reported by Derek R. Price.
309 2001-04-12 Akim Demaille <akim@epita.fr>
311 * automake.in (Language): New package, temporarily in this file.
313 (Automake): New package.
315 (&handle_single_transform_list): Use the language object's `ansi'
316 attribute instead of `$language_map{"$lang-ansi-p"}'.
317 (®ister_language): Build and register the language too.
319 2001-04-11 Tom Tromey <tromey@redhat.com>
321 Fixes report from Larry Jones:
322 * automake.in (handle_dependencies): Add `@_am_quote@' where
324 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
326 2001-04-11 Akim Demaille <akim@epita.fr>
328 * depend2.am: Fix the `if' condition for Libtool.
329 Reported by Robert Boehne.
331 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
333 * tests/subobj5.test: New file.
335 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
337 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
338 * tests/Makefile.am (TESTS): Added make.test.
339 * tests/make.test: New file.
341 2001-04-10 Tom Tromey <tromey@redhat.com>
343 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
345 2001-04-10 Derek R. Price <dprice@collab.net>
347 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
349 2001-04-10 Akim Demaille <akim@epita.fr>
351 * distdir.am: Add a missing backslash.
353 2001-04-10 Akim Demaille <akim@epita.fr>
355 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
357 Specify to the caller whether $regen_aclocal_m4.
358 (&handle_configure): Adjust.
359 Transform `REGEN-ACLOCAL-M4'.
361 * configure.am: Use it.
362 * tests/defs (me): New.
363 * tests/confdeps.test: New.
365 2001-04-09 Tom Tromey <tromey@redhat.com>
367 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
368 Fixes report from Jim Meyering.
370 2001-04-09 Akim Demaille <akim@epita.fr>
372 * automake.in (&handle_configure): Don't bother with optimizing
375 2001-04-09 Akim Demaille <akim@epita.fr>
377 * tests/cond3.test (expected): Adjust.
379 2001-04-09 Akim Demaille <akim@epita.fr>
381 * automake.in (&handle_single_transform_list): Remove $xbase,
383 (&handle_source_transform): All the variables have conditions now,
385 (&variable_delete): Admit an argument @conds.
387 2001-04-09 Akim Demaille <akim@epita.fr>
389 * automake.in ($source_suffix_pattern): Remove, unused.
390 %extension_map seems to have replaced it.
392 2001-04-09 Akim Demaille <akim@epita.fr>
394 * ext-compile.am: New file.
395 * automake.in (&finish_languages): Output it.
396 Require a C linker if there are several registered source suffixes.
397 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
398 extensions, which are discovered in ext-compile.am.
399 With the help from Robert Boehne.
401 2001-04-09 Akim Demaille <akim@epita.fr>
403 * automake.in (&handle_compile): Extract from...
404 (&get_object_extension): here.
405 (&read_am_file): Call it.
406 ($included_generic_compile, $included_knr_compile)
407 ($included_libtool_compile): Remove.
408 ($get_object_extension_was_run): New.
410 2001-04-09 Akim Demaille <akim@epita.fr>
412 Use AM_CONDITIONAL and if/endif for AMDEP.
414 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
415 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
416 to a configure time if/endif), or to `FALSE' (static removal of
418 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
419 * depend2.am: Use if/endif.
421 Adjust the 101 tests that use dependencies so that they
422 properly invoke aclocal before automake. They need to `see'
423 `AM_CONDITIONAL([AMDEP], ...)'.
425 2001-04-09 Akim Demaille <akim@epita.fr>
427 * tags.am: Fix missing leading tabs.
429 2001-04-09 Akim Demaille <akim@epita.fr>
431 * automake.in: Use simple quotes to define the _PATTERN variables
432 to unobfuscate the regexps.
433 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
435 2001-04-09 Akim Demaille <akim@epita.fr>
437 * automake.in (&rule_define): When you discover a suffix rules,
438 register the extensions for .SUFFIXES.
439 (&handle_texinfo): Don't register the suffixes.
440 (&get_object_extension): Don't register suffixes, let them be
441 discovered in depend2.am.
442 (&handle_emacs_lisp): Depend on your lisp.am.
443 * lisp.am: Include the rule &handle_emacs_lisp used to output.
445 2001-04-09 Akim Demaille <akim@epita.fr>
447 * subdirs.am: Don't define info related recursive targets.
450 2001-04-09 Akim Demaille <akim@epita.fr>
452 * subdirs.am (RECURSIVE_TARGETS): New variable.
454 * automake.in (&handle_subdirs): Output it.
455 (&file_contents_internal): Support value spread on several lines.
457 2001-04-09 Akim Demaille <akim@epita.fr>
459 * automake.in (&handle_man_pages): Rely on mans.am to define
460 man%SECTION%dir and MANS.
463 2001-04-09 Akim Demaille <akim@epita.fr>
465 * automake.in (&variable_dump): Use %var_type properly.
466 (¯o_define): Enforce better overriding rules.
467 Handle the special case that used to handle...
468 (&define_pretty_variable): this.
470 The variables you define are owned by Automake.
471 (&generate_makefile): PRE_INSTALL and co must not be defined *by
473 (&variable_defined): Now independent from the owner.
474 (&variable_output, &variable_pretty_output): Adjust to %var_type.
476 2001-04-09 Akim Demaille <akim@epita.fr>
478 * automake.in (%var_was_plus_eq): Rename as...
481 (¯o_define): %var_type may now hold `', `+', or `:'.
482 (%conditional, %am_vars, %content_lines): Rename as...
483 (%var_value, %var_comment, %var_line): these.
485 2001-04-09 Akim Demaille <akim@epita.fr>
487 * automake.in (&variable_output): Admit a list of @CONDS.
488 (&variable_pretty_output): New.
489 (&define_pretty_variable): Use it.
490 (&read_am_file, &file_contents_internal): Prepend a separator to
491 $am_vars only if there is none yet.
492 (&file_contents_internal): Rename $separator as $spacing to
493 harmonize with &read_am_file.
495 2001-04-09 Akim Demaille <akim@epita.fr>
497 * automake.in (&am_install_var): Transform DIST, and let the *.am
498 files handle DIST_COMMON.
499 * data.am, header.am, java.am, list.am, python.am, script.am: Set
502 2001-04-09 Akim Demaille <akim@epita.fr>
504 * automake.in (%dist_common): Remove.
505 (%configure_dist_common): Replace with...
506 ($configure_dist_common): this.
507 (&generate_makefile): Read the user file before using
508 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
509 that no variable is defined before it is run.
510 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
511 (&dist_cmp): Rename as...
512 (&for_dist_common): this.
513 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
515 Adjust to $configure_dist_common.
516 * configure.am, texi-vers.am: Set DIST_COMMON.
518 2001-04-09 Akim Demaille <akim@epita.fr>
520 * automake.in (&handle_aclocal_m4): Rename as...
521 (&scan_aclocal_m4): this.
522 Return the list of aclocal.m4 dependencies.
523 (&handle_configure): Invoke it, and use it when loading...
524 * configure.am: Template the rules to recreate aclocal.m4.
526 2001-04-09 Akim Demaille <akim@epita.fr>
528 * automake.in (&get_object_extension): Use ansi2knr.am.
529 * clean-kr.am, kr-extra.am: Remove, merged into...
530 * ansi2knr.am: this new file.
532 2001-04-09 Akim Demaille <akim@epita.fr>
534 * automake.in (&transform): Fix an incredible bug which was
535 breaking the if/endif system.
536 ($ELSE_PATTERN): Admit an optional argument.
538 2001-04-09 Akim Demaille <akim@epita.fr>
540 * comp-vars.am: Remove, merged into...
542 * automake.in (&get_object_extension): Adjust.
544 2001-04-09 Akim Demaille <akim@epita.fr>
546 * remake.am: Merge into...
547 * configure.am: ... here.
548 * automake.in (&handle_configure): Adjust.
550 2001-04-09 Akim Demaille <akim@epita.fr>
552 * automake.in (&output_lex_build_rule): Output this...
555 2001-04-09 Akim Demaille <akim@epita.fr>
557 * automake.in (&condition_negate): New.
558 (&variable_conditions_permutations): Use it.
559 (&read_am_file, &file_contents): Use it on `else' clauses to
561 (&output_yacc_build_rule): Output this...
564 2001-04-09 Akim Demaille <akim@epita.fr>
566 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
567 (&handle_dist): Don't.
568 (&handle_clean): Don't handle config.status here, let...
569 * clean.am: ... do it.
570 * distdir.am: Adjust.
572 2001-04-09 Akim Demaille <akim@epita.fr>
574 * automake.in: Use strict vars and subs.
575 Declare `%require_file_found'.
576 (&handle_source_transform, &make_paragraphs): Declare my variables.
578 2001-04-09 Akim Demaille <akim@epita.fr>
580 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
581 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
582 * java.am (_am_installdirs): Be sure to set it.
584 2001-04-09 Akim Demaille <akim@epita.fr>
586 * automake.in (&make_condition): Return '#' when FALSE.
587 (&conditional_string): Return FALSE, not '#' in the corresponding
589 (&file_contents_internal): Adjust.
590 (&check_variable_defined_unconditional): Dump the guilty variable.
592 2001-04-09 Akim Demaille <akim@epita.fr>
594 * distdir.am: Use and abuse of if/endif.
595 * scripts.am: Using if/endif with variables is fine.
597 2001-04-09 Akim Demaille <akim@epita.fr>
599 * automake.in (&make_paragraphs): Extract from &file_contents.
600 Make it more robust than the previous RE based scheme.
601 (&file_contents): Use it.
603 2001-04-09 Akim Demaille <akim@epita.fr>
605 * automake.in (&make_paragraphs): Extract from &file_contents.
606 Make it more robust than the previous RE based scheme.
607 (&file_contents): Use it.
609 2001-04-09 Akim Demaille <akim@epita.fr>
611 * tests/yacc2.test: Don't define several times a variable, as
614 2001-04-09 Akim Demaille <akim@epita.fr>
616 * automake.in (&handle_source_transform): Fix pr72: don't define
617 $linker if there are no @files.
619 2001-04-09 Akim Demaille <akim@epita.fr>
621 Avoid reading twice header-vars.am as now macro_define
624 * automake.in (&define_standard_variables): Don't output the
626 (&read_main_am_file): Output first user variables, then Automake
628 Don't call twice &define_standard_variables.
629 Save variable comments in $am_vars.
630 (&variable_output): New.
631 (&file_contents_internal): New.
632 Save variable comments in $am_vars.
633 (&file_contents): Use it.
635 2001-04-09 Akim Demaille <akim@epita.fr>
637 * automake.in (¯o_define): The user is allowed to override
638 a value if it was set by Automake, or if it was found in AC_SUBST.
640 2001-04-09 Akim Demaille <akim@epita.fr>
642 * automake.in (&handle_source_transform): Better locality of the
644 Use `next' to skip nonexistent variables.
646 2001-04-09 Akim Demaille <akim@epita.fr>
648 * automake.in (&variable_dump): If a variable is undefined, say
650 (&check_ambiguous_conditional): Give finer error messages.
651 (¯o_define): Check that a `+=' variable is not set with `='.
652 Check for ambiguous definitions each time you _set_ (even with `+=')
654 (&read_main_am_file): Perform a deep copy of %conditional.
656 2001-04-09 Akim Demaille <akim@epita.fr>
658 * automake.in (&variable_defined): Some callers, e.g.,
659 &am_primary_prefixes, really want to know if the variable is
660 defined for any condition, not `TRUE' by default.
661 (&am_primary_prefixes): Give a more precise error message.
663 2001-04-09 Akim Demaille <akim@epita.fr>
665 (&variable_conditions): Don't include `FALSE' in the result.
667 2001-04-09 Akim Demaille <akim@epita.fr>
669 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
670 (&variable_conditions): Don't include `FALSE' in the result.
672 2001-04-09 Akim Demaille <akim@epita.fr>
674 * tests/defs, tests/depend3.test: Remove useless code.
676 2001-04-09 Akim Demaille <akim@epita.fr>
678 * automake.in (&handle_source_transform): Use
679 &variable_conditions, don't read $conditional{$var}.
680 (&variable_conditions_sub): When the call is the top level call,
681 generate all the permutations of the conditions.
683 2001-04-09 Akim Demaille <akim@epita.fr>
685 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
686 that it does not get noticed twice by automake, which now
687 complains for multiple definitions.
688 * tests/vartar.test: s/INSTALL/install/g, automake now complains
689 because we defined INSTALL.
691 2001-04-09 Akim Demaille <akim@epita.fr>
693 * automake.in (&generate_makefile) Use macro_define to define
695 (&variable_defined): Don't check for $conditional{VAR}{COND} as
696 this would make perl create $condition{VAR}, which we don't want.
698 2001-04-09 Akim Demaille <akim@epita.fr>
700 * automake.in (&variable_defined, &define_pretty_variable):
701 Simplify code which used to handle the cases where not all
702 variables were in %conditional.
703 (&define_variable): Use &define_pretty_variable.
704 (&variable_conditions_sub, &variable_value_as_list_worker)
705 (&variable_value_as_list, &rule_define): Simplify syntax.
706 (&read_main_am_file): Dump the guilty predefined variables.
708 2001-04-09 Akim Demaille <akim@epita.fr>
710 * automake.in (&variable_conditions_sub)
711 (&variable_value_as_list_worker): Remove dead code which used to
712 handle the cases where not all variables were in %conditional.
714 2001-04-09 Akim Demaille <akim@epita.fr>
716 * automake.in (&handle_source_transform, &read_main_am_file):
717 Simplify loops which were split in two parts, conditional vs
718 unconditional variables.
720 2001-04-09 Akim Demaille <akim@epita.fr>
722 Handle unconditional values of variables as conditioned by
725 * automake.in (%contents): Remove.
726 (&generate_makefile, &handle_ltlibraries, ¯o_define)
727 (&read_am_file, &variable_defined, &variable_conditions_sub)
728 (&variable_value, &variable_value_as_list_worker)
729 (&variable_value_as_list, &define_pretty_variable)
730 (&read_main_am_file): Use
731 $conditional, not %contents.
732 (&variable_conditions_permutations): Don't return TRUE and FALSE.
733 (&variable_conditionally_defined): New.
734 (&handle_dist): Use it.
735 (&check_ambiguous_conditional): When multiply defined, specify
736 under which condition.
737 (¯o_define): Use it.
738 (&variable_delete): New.
739 (&read_am_file): Use it.
740 (&am_install_var): Simplify, as all the variables are in
743 2001-04-07 Tom Tromey <tromey@redhat.com>
745 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
747 * tests/man.test: New file.
749 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
751 * depcomp (gcc3): Invert test condition.
753 2001-04-07 Tom Tromey <tromey@redhat.com>
755 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
756 statement. Report from Larry Jones.
758 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
760 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
762 2001-04-01 Tom Tromey <tromey@redhat.com>
764 * java.am (.PHONY clean-am): Removed trailing ":".
765 From Per Bothner. Fixes PR automake/139.
767 2001-03-28 Akim Demaille <akim@epita.fr>
769 * program.am: Fix a stupid typo: now *all* (not none) the programs
771 Reported by Robert Boehne.
773 2001-03-23 Akim Demaille <akim@epita.fr>
775 * automake.in (&read_am_file, &file_contents): Avoid name clashes
778 2001-03-23 Akim Demaille <akim@epita.fr>
780 * automake.in (&variable_conditionally_defined): Rename as...
781 (&check_variable_unconditionally_defined): this.
782 (&variable_dump): Fix the output.
783 (&variable_defined, ¯o_define): Since conditions are
784 canonicalized, don't use a loop to look for a condition: read the
786 (¯o_define, &rule_define, &read_am_file, &file_contents):
787 Rename $cond_string as $cond.
788 * distdir.am (PACKAGE, VERSION): Remove; since they are already
789 discovered via AC_SUBST, they now trigger a `defined twice' error.
791 2001-03-23 Akim Demaille <akim@epita.fr>
793 * automake.in (&handle_footer, &handle_installdirs)
794 (&read_main_am_file): Don't read %contents directly, use
797 2001-03-23 Akim Demaille <akim@epita.fr>
799 * automake.in (&read_am_file): Define the variables in a single
801 Factor the $saw_bk code.
803 2001-03-23 Akim Demaille <akim@epita.fr>
805 * automake.in (&read_am_file): Keep $cond_string up to date.
807 2001-03-23 Akim Demaille <akim@epita.fr>
809 * automake.in (&define_variable): Use ¯o_define.
811 2001-03-23 Akim Demaille <akim@epita.fr>
813 * automake.in (¯o_define): Don't lose the location if we
815 Don't push all the variables in @var_list, let...
816 (&read_am_file, &file_contents): ... do it.
817 (&define_pretty_variable): Use macro_define.
818 (&am_install_var): Delete the value of variables being redefined
819 to pacify ¯o_define which checks that variables are not
822 2001-03-23 Akim Demaille <akim@epita.fr>
824 * automake.in (&conditional_dump): Rename as...
825 (&variables_dump): this. Use...
826 (&variable_dump): this new sub.
828 2001-03-23 Akim Demaille <akim@epita.fr>
830 * automake.in (&file_contents): Maintain $cond_string sync with
832 Output rules only if not under `FALSE'.
833 Define variables under $cond_string.
834 * scripts.am: For the time being if/endif does not work properly
837 2001-03-23 Akim Demaille <akim@epita.fr>
839 * automake.in (IF_PATTERN): Unobfuscate the parens.
840 (ENDIF_PATTERN): Allow a condition to be specified.
841 (&file_contents): Use a @cond_stack.
842 (&transform): At least for an easy transition, also transform
843 %?FOO% and %!FOO%, as suggested by Lars.
844 * scripts.am: First test bed for static if/endif use.
846 2001-03-23 Akim Demaille <akim@epita.fr>
848 * automake.in (&file_contents): Use rule_define.
850 2001-03-23 Akim Demaille <akim@epita.fr>
852 * automake.in (¯o_define): Don't rely on $1.
853 Initialize the variable.
854 Set its Automakism only if not defined or if given to the user.
855 When concatenating values, insert a separator only if the value
857 (&read_am_file): When dumping the @var_list, skip Automake
859 (&file_contents): Use macro_define.
861 2001-03-23 Akim Demaille <akim@epita.fr>
863 * automake.in (&rule_define): Extract from...
864 (&read_am_file): here.
866 2001-03-23 Akim Demaille <akim@epita.fr>
868 * automake.in (¯o_define, &read_am_file): More work for the
869 former from the latter. Reorganize the latter.
871 2001-03-23 Akim Demaille <akim@epita.fr>
873 * automake.in (¯o_define): Extract from...
874 (&read_am_file): here.
876 2001-03-23 Akim Demaille <akim@epita.fr>
878 * automake.in (%am_var_defs): Replace with...
880 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
881 (&file_contents, am_primary_&prefixes): Adjust.
882 (&variable_defined, &define_variable): The actual semantics is
884 (&read_main_am_file): Assert the var is user defined when
885 outputting @var_list.
887 2001-03-23 Akim Demaille <akim@epita.fr>
889 * automake.in (read_am_file): TRUE and FALSE are predefined
891 (&by_condition): Adjust.
892 (&conditional_string): Recognize `TRUE' and `FALSE'.
893 (&make_condition): Use it.
894 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
895 * automake.texi (Conditionals): Adjust.
896 * tests/cond9.test: s/FALSE/WRONG/.
898 2001-03-12 Pavel Roskin <proski@gnu.org>
900 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
903 2001-03-12 Akim Demaille <akim@epita.fr>
905 * automake.in (&variable_conditions_permutations): Separate the
907 * tests/cond3.test: Improve the sed expression.
909 2001-03-09 Pavel Roskin <proski@gnu.org>
911 * Makefile.am (maintainer-check): Scan all *.am files and tests
912 for invocations of `rm' without `-f'.
913 * tests/mclean.test: Adjusted to prevent triggering the above
916 2001-03-09 Tom Tromey <tromey@redhat.com>
918 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
919 maintainer-check failure.
921 2001-03-09 Akim Demaille <akim@epita.fr>
923 * tests/cond3.test: Strengthen.
925 2001-03-09 Akim Demaille <akim@epita.fr>
927 * automake.in (&conditional_string): Produce a unique string
928 characterizing a condition stack.
929 (&conditional_same): Remove, comparing two strings is now enough.
930 (&variable_defined): Adjust.
931 (&read_am_file): Use conditional_string.
933 2001-03-08 Akim Demaille <akim@epita.fr>
935 * automake.in: Use -w.
936 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
937 (&parse_arguments): Support --Werror and --Wno-error as a
938 temporary hack until --warning/-W is properly implemented.
939 (&handle_single_transform_list): Prototype.
940 Be sure to define $directory.
941 Use `exists' instead of testing the value of a maybe undefined
943 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
944 (&handle_factored_dependencies): Use defined values.
945 (&scan_one_autoconf_file): Save $_.
946 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
947 Run automake with --Wno-error.
949 2001-03-07 Akim Demaille <akim@epita.fr>
951 * automake.in (&handle_all): Use an array instead of a scalar for
953 Get rid of all-redirect: let `all' be that target.
955 2001-03-07 Akim Demaille <akim@epita.fr>
957 * automake.in (&handle_merge_targets): Ventilate its non `all'
958 related content into...
959 (&generate_makefile): here.
960 (&handle_merge_targets): Rename as...
962 Remove a useless `if': `@all' is obviously not empty, since it
963 contains at least the `basename ($makefile)' which has just been
966 2001-03-07 Akim Demaille <akim@epita.fr>
968 * automake.in, aclocal.in: Backquote is inert in double quotes.
970 2001-03-06 Akim Demaille <akim@epita.fr>
972 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
975 2001-03-06 Pavel Roskin <proski@gnu.org>
977 * java.am: Use `rm -f' instead of `rm'.
979 2001-03-06 Akim Demaille <akim@epita.fr>
981 * automake.in (&push_dist_common): Simplify.
983 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
985 * ltlib.am: Replaced spaces with tab.
987 2001-03-06 Pavel Roskin <proski@gnu.org>
989 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
992 2001-03-05 Pavel Roskin <proski@gnu.org>
994 * header.am, scripts.am: Use ?INSTALL? in the install and
997 2001-03-05 Pavel Roskin <proski@gnu.org>
999 * tests/copy.test: Never use `rm' without `-f' - it may ask
1000 questions, notably for read-only files during `make distcheck'.
1001 * tests/insh.test: Likewise.
1002 * tests/installsh.test: Likewise.
1003 * tests/symlink.test: Likewise.
1004 * tests/symlink2.test: Likewise.
1005 * tests/symlink3.test: Likewise.
1007 2001-03-05 Pavel Roskin <proski@gnu.org>
1009 * noinstdir.test: New test.
1010 * tests/Makefile.am (TESTS): Add noinstdir.test.
1011 (XFAIL_TESTS): Likewise.
1013 2001-03-05 Akim Demaille <akim@epita.fr>
1015 * automake.in (&handle_options): Change the RE so that the third
1016 part of the versions always exist.
1017 (&file_contents): Don't pass uninitialized values to &transform.
1019 2001-03-05 Akim Demaille <akim@epita.fr>
1021 * automake.in (&file_contents): Require a hash as second argument.
1024 2001-03-05 Akim Demaille <akim@epita.fr>
1026 Always use hashes with &file_contents.
1028 * automake.in (&handle_texinfo): texibuild.am does not need
1030 texinfos.am wants only TEXICLEANS.
1031 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
1033 * texinfos.am: Adjust.
1035 2001-03-05 Akim Demaille <akim@epita.fr>
1037 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
1038 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
1039 (&am_install_var): Forget about `-clean'.
1040 Transform ?INSTALL?.
1041 Always output the *.am file.
1042 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
1043 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
1044 Remove, merged into the corresponding *.am file.
1045 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
1048 2001-03-05 Pavel Roskin <proski@gnu.org>
1050 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
1052 2001-03-05 Akim Demaille <akim@epita.fr>
1054 If OBJEXT and EXEEXT are not set, provide a default value, and use
1055 them unconditionally.
1057 * automake.in (&generate_makefile): Provide default values for
1059 (&get_object_extension, &finish_languages)
1060 (&handle_single_transform_list, &handle_programs, &add_depend2)
1061 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
1062 them, they are defined.
1063 * compile.am, depend2.am, program.am, progs.am: Likewise.
1064 * remake-hdr.am: Fix a typo.
1065 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
1066 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
1067 * tests/suffix2.test: Adjust.
1069 2001-03-05 Akim Demaille <akim@epita.fr>
1071 * automake.in (&file_contents): Map MAINTAINER-MODE to
1072 @MAINTAINER_MODE_TRUE@ or nothing.
1073 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
1076 2001-03-05 Akim Demaille <akim@epita.fr>
1078 * automake.in (&do_one_merge_target): Remove, was only called from...
1079 (&handle_merge_targets): here for `all'.
1082 2001-03-05 Akim Demaille <akim@epita.fr>
1084 Make the installation/uninstallation of Info pages follow the
1085 regular am/recursive scheme.
1087 * automake.in (%required_targets, %dependencies): Add
1089 (%dependencies): Add install-info, install-info-am, and
1091 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
1092 reversed BTW. Does anybody use the option `no-installinfo'?
1093 (&handle_merge_targets): Let the handling of info related targets
1095 (&handle_factored_dependencies): this.
1096 * subdirs.am: Use ?INSTALL-INFO?.
1097 * texinfos.am: Define the install-info, uninstall-info and
1098 uninstall-info-am targets.
1100 2001-03-05 Akim Demaille <akim@epita.fr>
1102 * automake.in (%required_targets, %dependencies): Add dvi, info,
1104 (@info, @dvi): Remove.
1105 (&handle_texinfo, &handle_merge_targets): Adjust.
1106 (&handle_factored_dependencies): Required targets are phony.
1107 * texinfos.am: Build info, dvi, and the corresponding -am or
1110 2001-03-05 Akim Demaille <akim@epita.fr>
1112 * automake.in (&am_install_var): Remove $cygxform, unused.
1114 2001-03-05 Akim Demaille <akim@epita.fr>
1116 * automake.in (&file_contents): Transform LIBTOOL.
1117 (&am_install_var): Remove $ltxform.
1118 * ltlib.am, progs.am: Adjust.
1120 2001-03-05 Akim Demaille <akim@epita.fr>
1122 * automake.in: Require AC_PROG_INSTALL in...
1123 (&scan_autoconf_files): here.
1125 2001-03-05 Akim Demaille <akim@epita.fr>
1127 * configure.am: New file.
1128 * automake.in (&file_contents): Transform CONFIGURE-AC.
1129 (&handle_texinfo, &handle_configure): Don't transform
1131 (&handle_configure): Use `configure.am'.
1132 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
1133 MAINTAINER-MODE and CONFIGURE-AC.
1135 2001-03-05 Akim Demaille <akim@epita.fr>
1137 * automake.in (&pretty_print_internal): Don't output useless
1139 (define_pretty_variable): Don't issue the space after the `=' sign
1140 to avoid trailing spaces in Makefile.ins.
1142 2001-03-05 Akim Demaille <akim@epita.fr>
1144 * automake.in (&generate_makefile): Invoke &initialize_per_input
1145 *before* setting $am_file_name and $in_file_name.
1147 2001-03-05 Akim Demaille <akim@epita.fr>
1149 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
1150 Globals, initialized...
1151 (&initialize_per_input): here.
1153 2001-03-05 Akim Demaille <akim@epita.fr>
1155 * automake.in ($am_relative_dir): Global.
1156 (&initialize_per_input): Init it.
1157 (%make_list, @make_input_list): My them from
1158 (&scan_autoconf_files): here.
1159 (&require_file_internal): Mying changes.
1161 2001-03-05 Akim Demaille <akim@epita.fr>
1163 * automake.in (%am_vars, @var_list, %def_type): Globals.
1164 (&initialize_per_input): Initialize them.
1165 (&read_main_am_file): Don't local them.
1166 (&get_object_extension): $objext is private.
1167 (&handle_single_transform_list): $lang is.
1168 (&handle_ltlibraries): $libname_rx is.
1169 (&scan_autoconf_config_files): How about actually paying attention
1170 to your arguments, instead of working on $_? (this is no Perl
1171 variable, it's a Perl variable followed by a question mark).
1172 (&file_contents): $contents and $separator are private.
1173 (&am_install_var): Declare @condvals, not $condvals.
1176 2001-03-05 Akim Demaille <akim@epita.fr>
1178 * automake.in (&initialize_per_input): Move to the top.
1179 Precede with the `my' list of its variables.
1181 2001-03-05 Akim Demaille <akim@epita.fr>
1183 * automake.in ($am_file): Use vars.
1184 ($am_file_name, $in_file_name): Private to &generate_makefile.
1186 2001-03-05 Akim Demaille <akim@epita.fr>
1188 * automake.in: Preparation for `use strict': Move the
1189 initialization of the constants to the top, from...
1190 (&initialize_global_constants): here.
1192 2001-03-05 Akim Demaille <akim@epita.fr>
1194 * automake.in (&handle_single_transform_list, &add_depend2): Let
1195 $lang_specific_files{$lang} be a list instead of a string.
1197 2001-03-05 Akim Demaille <akim@epita.fr>
1199 Let's make it run ten times faster...
1201 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
1203 (&file_contents): Let `$command' remove the Automake commands, and
1204 normalize the series of `\n'.
1205 Slurp the file and apply $command in a single step.
1206 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
1207 is already normalized to be handled by &transform.
1209 2001-03-05 Tom Tromey <tromey@redhat.com>
1211 * automake.in (register_language): Add entry for `-pure'.
1212 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
1213 (finish_languages): Use `-pure' field of language map.
1215 2001-03-03 Tom Tromey <tromey@redhat.com>
1217 * tests/yaccvpath.test: No need to remove dummy files.
1218 * tests/subobj3.test: No need to remove dummy files.
1219 * tests/pr9.test: No need to remove dummy files.
1220 * tests/pr87.test: No need to remove dummy files.
1221 * tests/pr19.test: No need to remove dummy files.
1222 * tests/install2.test: No need to remove dummy files.
1223 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
1226 2001-02-27 Pavel Roskin <proski@gnu.org>
1228 * tests/yaccvpath.test: Add a delay to make parse.c really out
1229 of date. Detect the problem earlier, after `make distdir'. Drop
1230 dependency on flex. Always use the `-y' flag for bison. Comment
1232 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
1234 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1236 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
1238 2001-02-28 Akim Demaille <akim@epita.fr>
1240 * automake.in (&add_depend2): Transform `GENERIC'.
1241 Get rid of the ad hoc transformation of `@EXT@.o:' which in
1242 addition was broken by the `@ -> %' patch.
1243 * depend2.am: Adjust to use ?GENERIC?.
1245 2001-02-28 Akim Demaille <akim@epita.fr>
1247 * Makefile.am (maintainer-check): `undef $/' is OK.
1249 2001-02-28 Akim Demaille <akim@epita.fr>
1251 * automake.in (&handle_configure): Fortunately, $top_reldir,
1252 the definition of which was highly suspicious, was unused.
1254 2001-02-27 Akim Demaille <akim@epita.fr>
1256 * automake.in (%exec_dir_p): Move to the top so that it is visible
1259 2001-02-27 Pavel Roskin <proski@gnu.org>
1261 * tests/yaccvpath.test: Prevent automake from looking into ..
1262 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
1264 2001-02-27 Akim Demaille <akim@epita.fr>
1266 * automake.in (%exec_dir_p): Pulled out from...
1267 (&am_primary_prefixes): here.
1269 2001-02-27 Akim Demaille <akim@epita.fr>
1271 * automake.in (&usage): Display $0, not $me.
1273 2001-02-27 Akim Demaille <akim@epita.fr>
1275 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
1276 * automake.in (&handle_clean): Don't escape what's given to
1279 2001-02-27 Akim Demaille <akim@epita.fr>
1281 Distinguish automake substitutions from config.status
1284 * automake.in (&add_depend2): Transform AMDEP.
1285 (&handle_clean): Transform MCFILES and MFILES.
1286 (&file_contents): Transform MAINTAINER_MODE.
1287 (&transform, &am_install_var): Use `%', not `@'.
1288 Adjust all the *.am files.
1289 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
1290 * depend2.am: Display the double dependency on both ?AMDEP? and
1293 2001-02-27 Tom Tromey <tromey@redhat.com>
1295 * distdir.am (distcheck): Fixed new code.
1297 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
1298 Only configure once.
1300 * distdir.am (distcheck): Print error message if distclean failed
1303 2001-02-27 Pavel Roskin <proski@gnu.org>
1305 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
1307 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1309 * tests/Makefile.am (TESTS): Added yaccvpath.test.
1310 * tests/yaccvpath.test: New file.
1312 2001-02-26 Akim Demaille <akim@epita.fr>
1314 * automake.in (&am_install_var): Recognize whether predefined
1315 directories are `data' or `exec'.
1316 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
1318 * tests/instdata2.test: Update.
1320 2001-02-26 Akim Demaille <akim@epita.fr>
1322 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
1323 necessarily in infodir.
1325 2001-02-26 Akim Demaille <akim@epita.fr>
1327 * automake.in ($am_file): Be `local', as my'd variables used in
1328 `foreach' loops are always private to the loop.
1330 2001-02-26 Pavel Roskin <proski@gnu.org>
1332 * Makefile.am: Add install.am.
1334 2001-02-26 Akim Demaille <akim@epita.fr>
1336 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
1337 routines, otherwise the elements to compare are passed in @_
1338 instead of $a and $b.
1340 2001-02-26 Akim Demaille <akim@epita.fr>
1342 * automake.in (%required_targets): `installcheck-am' is needed.
1344 2001-02-26 Akim Demaille <akim@epita.fr>
1346 * automake.in (&transform_cond): Merge into...
1350 2001-02-26 Akim Demaille <akim@epita.fr>
1352 * automake.in (&handle_dist): Use &transform instead of dedicated
1354 But be sure to always do it.
1355 * distdir.am: Adjust.
1357 2001-02-26 Akim Demaille <akim@epita.fr>
1359 * automake.in: Use File::Basename.
1360 (&dirname, &basename): Remove.
1362 2001-02-26 Akim Demaille <akim@epita.fr>
1364 * automake.in ($me): New.
1366 (&usage): Display your full name.
1368 2001-02-26 Akim Demaille <akim@epita.fr>
1370 * automake.texi (Invoking Automake): Remove dead options.
1372 2001-02-26 Akim Demaille <akim@epita.fr>
1374 * automake.in (&scan_texinfo_file): Also compute the list of files
1376 Handle local errors.
1377 (&handle_texinfo): Use it.
1379 2001-02-26 Akim Demaille <akim@epita.fr>
1381 * automake.in: Don't pass arguments to...
1382 (&parse_arguments): Work on @ARGV.
1384 Add support for `-f'.
1388 2001-02-26 Akim Demaille <akim@epita.fr>
1390 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1391 handle installcheck and installcheck-am.
1392 * install.am: Do it.
1394 2001-02-26 Akim Demaille <akim@epita.fr>
1396 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1397 handle install and install-am.
1398 * install.am: Do it.
1400 2001-02-26 Akim Demaille <akim@epita.fr>
1402 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
1403 work on targets handled by %dependencies.
1404 (&handle_factored_dependencies): Do it.
1405 * install.am: Install install-exec, install-data and uninstall's
1408 2001-02-26 Akim Demaille <akim@epita.fr>
1410 * automake.in (&handle_merge_targets): Move `install-strip' from
1412 * install.am: to here.
1414 2001-02-26 Akim Demaille <akim@epita.fr>
1416 * automake.in (@installdirs): Remove.
1417 (&file_contents): Be able to grow Automake macros with `+='.
1418 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
1419 files define _am_installdirs.
1420 (&handle_installdirs): Remove the code, just output `install.am'.
1422 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
1423 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
1425 2001-02-26 Akim Demaille <akim@epita.fr>
1427 * tests/instdata2.test (libexec_DATA): Exercise more
1430 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1432 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
1434 2001-02-25 Tom Tromey <tromey@redhat.com>
1436 * tests/instdata2.test: Added `sbin_DATA' check.
1438 * tests/Makefile.am (TESTS): Added subdircond.test.
1439 * tests/subdircond.test: New file.
1440 * automake.in (handle_gettext): Don't fail if SUBDIRS
1441 conditionally defined.
1443 * automake.in: Use IO::File.
1444 (generate_makefile): Use IO::File.
1445 (scan_texinfo_file): Likewise.
1446 (handle_aclocal_m4): Likewise.
1447 (scan_autoconf_traces): Likewise.
1448 (scan_one_autoconf_file): Likewise.
1449 (read_am_file): Likewise.
1450 (file_contents): Likewise.
1453 2001-02-25 Akim Demaille <akim@epita.fr>
1455 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
1457 2001-02-25 Akim Demaille <akim@epita.fr>
1459 * automake.in (&transform): Also call &transform_cond on your
1461 (&handle_dist): Adjust.
1462 (&handle_factored_dependencies): Uniq dependencies.
1464 2001-02-25 Akim Demaille <akim@epita.fr>
1466 * automake.in (&handle_gettext): Simplify redundant `if'.
1467 Used &variable_value, don't read %contents directly.
1469 2001-02-25 Akim Demaille <akim@epita.fr>
1471 * automake.in ($install_recursive): Remove, replaced with calls to
1472 `&variable_defined ('SUBDIRS')'.
1473 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
1474 (&file_contents): now does.
1476 2001-02-25 Akim Demaille <akim@epita.fr>
1478 * automake.in (&handle_man_pages): $found is dead.
1480 2001-02-25 Akim Demaille <akim@epita.fr>
1482 Internally just store the conditionals as space separated lists of
1483 CONDITIONS (instead of @CONDITIONS@).
1485 * automake.in (&conditional_true_when, &variable_conditions_sub):
1486 Split conditions at spaces.
1487 (&handle_dependencies, &variable_conditions_permutations): Don't
1488 put @ around conditions.
1489 (&variable_conditions_cmp): There are no @ to strip.
1490 (&make_condition): New.
1491 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
1493 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
1494 Join @conditional_stack with spaces.
1495 (&read_main_am_file): Adjust the output of variables.
1496 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
1497 true' and no longer `@TEST@TRUE = @TEST@true'.
1498 (&variable_conditions_cmp): Rename as...
1499 (&by_condition): this.
1500 Sort in a human pleasant order.
1501 Use it everywhere a human can see conditions.
1502 (&variable_conditions_reduce): Don't sort conditions, that's
1504 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
1506 2001-02-25 Akim Demaille <akim@epita.fr>
1508 * automake.in: `my' the globals.
1510 2001-02-25 Akim Demaille <akim@epita.fr>
1512 * automake.in (&initialize_per_input): %targets_conditionals is
1514 (&read_am_file): When slurping a rule, set the target related
1515 variable, and no variable related variable.
1516 (&file_contents): Likewise.
1517 * tests/vartar.test, tests/ctarget1.test: New.
1519 2001-02-25 Akim Demaille <akim@epita.fr>
1521 * automake.in (&variable_defined, &variable_value_as_list_worker):
1522 If $VAR is effectively a variable, don't die if it's also a
1524 Plus some formatting changes.
1526 2001-02-25 Akim Demaille <akim@epita.fr>
1528 * automake.in: Mying changes.
1529 * Makefile.am (maintainer-check): Check the stability of the
1530 number of uses of `local'.
1532 2001-02-25 Akim Demaille <akim@epita.fr>
1534 * automake.in: Mying changes.
1536 2001-02-25 Akim Demaille <akim@epita.fr>
1538 * automake.in: Mying changes.
1540 2001-02-25 Akim Demaille <akim@epita.fr>
1542 * automake.in: Mying changes.
1543 (&handle_tags): Fix a bug uncovered by the previous mying changes:
1544 transform CONFIG into $config, not $xform.
1546 2001-02-25 Akim Demaille <akim@epita.fr>
1548 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
1549 Don't deal with install-data-am, install-exec-am and unstall-am.
1550 (&initialize_per_input): Add them to %dependencies.
1551 Remove %exec_dir_p since the *.am files are now in charge of it.
1552 Remove @uninstall, @install_data, @install_exec.
1553 (&handle_merge_targets): Adjust to these removals.
1554 (&file_contents): Also &transform_cond for --no-installman and
1556 (&do_one_merge_target): Add some magic to install hooks on
1557 %dependencies' targets.
1558 (%required_targets): New.
1559 (&handle_factored_dependencies): Output required targets.
1560 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1561 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
1562 * texinfos.am: Declare your dependencies on install-data-am,
1563 install-exec-am and uninstall-am.
1564 * tests/instdata2.test (incldata_HEADERS): New test.
1566 2001-02-24 Tom Tromey <tromey@redhat.com>
1568 * Makefile.am (amfiles): Added texibuild.am.
1569 * texibuild.am: New file.
1570 * tests/Makefile.am (TESTS): Added texinfo9.test.
1571 * tests/texinfo9.test: New file.
1572 * automake.in (handle_texinfo): Keep track of suffixes used. Give
1573 error if suffix unrecognized. Removed extraneous newline.
1575 2001-02-23 Akim Demaille <akim@epita.fr>
1577 * automake.in (&am_install_var): Don't hook on the clean targets
1579 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
1580 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
1583 2001-02-23 Akim Demaille <akim@epita.fr>
1585 * automake.in: Promote local `my' over `local'.
1587 2001-02-23 Akim Demaille <akim@epita.fr>
1589 * automake.in: Formatting and mying changes.
1591 2001-02-23 Akim Demaille <akim@epita.fr>
1593 * automake.in: Formatting and mying changes.
1595 2001-02-23 Akim Demaille <akim@epita.fr>
1597 * automake.in (&handle_man_pages): Let install-man and
1598 uninstall-man be handled by the dependency tracker.
1599 (&initialize_per_input): Let %dependencies track them.
1600 * mans.am: Add the needed hooks with the proper dependencies.
1602 2001-02-22 Pavel Roskin <proski@gnu.org>
1604 * tests/target-cflags.test: Don't use subshell to configure in
1605 subdirectory. Typo fix - run `./foo', not `/foo'.
1607 2001-02-22 Akim Demaille <akim@epita.fr>
1609 * automake.in: Formatting and mying changes.
1611 2001-02-21 Tom Tromey <tromey@redhat.com>
1613 * automake.in (handle_dist): Introduce new variable to avoid extra
1614 keys in %dist_dirs. Fixes distdir.test.
1616 * automake.in (handle_texinfo): Only remove suffixes we can
1619 * tests/distdir.test: Check to make sure directory isn't made in
1622 * automake.in (handle_dist): Do nothing in Cygnus mode.
1624 2001-02-21 Pavel Roskin <proski@gnu.org>
1626 * header-vars.am: Remove tabs before variable definitions.
1628 2001-02-21 Akim Demaille <akim@epita.fr>
1630 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
1633 2001-02-21 Akim Demaille <akim@epita.fr>
1635 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
1636 numeric value as required by Perl 5.6.
1638 2001-02-21 Akim Demaille <akim@epita.fr>
1640 * dist-vars.am: Remove, merge into...
1642 * automake.in (dirname, basename, backname): Move to the top of
1643 the file so that prototypes are checked,
1644 Use them without `&'.
1645 (&handle_dist): Adjust.
1647 2001-02-21 Akim Demaille <akim@epita.fr>
1649 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
1650 Use a uniform naming scheme.
1651 ("e_cond_val, &unquote_cond_val): Delete, dead code.
1652 (&read_am_file): Fix conditional definition of backslash continued
1655 2001-02-21 Akim Demaille <akim@epita.fr>
1657 Change the handling of conditionals: instead of using an ad-hoc
1658 encoding to store a hash in a string, use hashes.
1660 * automake.in (&conditional_dump): New.
1661 (&check_ambiguous_conditional, &variable_defined)
1662 (&variable_conditions_sub, &variable_value_as_list_worker)
1663 (&define_variable, read_am_file, &read_main_am_file): Be sure to
1664 handle `$conditional{$vars}' as a hash instead of a plain string.
1666 2001-02-21 Akim Demaille <akim@epita.fr>
1668 * automake.in (&conditional_true_when): Modernize, simplify.
1669 Warning: `$comp' is now private (my), while it used to be
1670 `inherited' from a `local' elsewhere in the code. AFAICT it was
1671 wrong, but some dirty side effect might show up.
1672 (&conditionals_true_when): New.
1673 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
1675 2001-02-21 Akim Demaille <akim@epita.fr>
1677 * automake.in ($top_builddir): Remove, used in one place.
1678 (&define_standard_variables): Adjust.
1679 Move the definition of triplet variables into...
1680 * header-vars.am: here.
1682 2001-02-21 Akim Demaille <akim@epita.fr>
1684 * automake.in (&initialize_global_constants): Don't define $USAGE.
1685 (&usage): Handle the former content of $USAGE.
1686 Don't pretend autoconf cares about Makefile.in.
1687 Classify the options.
1688 (&handle_tests): Formatting and mying changes.
1690 2001-02-21 Akim Demaille <akim@epita.fr>
1692 * automake.in (&handle_tests_dejagnu): Move the definition of a
1693 default `site.exp' into...
1694 * dejagnu.am (site.exp): here.
1695 Use DOS compliant file names.
1697 2001-02-21 Akim Demaille <akim@epita.fr>
1699 * automake.in (&dist_cmp): New.
1700 (&handle_dist): Use it.
1701 Promote `my' over `local'.
1703 2001-02-21 Akim Demaille <akim@epita.fr>
1705 * dist.am: Remove, merge into...
1706 * distdir.am: here. Use the neat sed snippet for banners.
1707 BTW, distcheck is phony.
1708 * automake.in (&handle_dist_worker): Remove, merge into...
1709 (&handle_dist): this.
1710 (&file_contents): Strip leading new lines.
1711 Be sure to end comments with new lines.
1713 2001-02-21 Akim Demaille <akim@epita.fr>
1715 * distdir.am (GZIP_ENV): Define.
1716 * automake.in (&handle_dist): Don't.
1718 (&handle_dist_worker, &am_install_var): Use it.
1720 2001-02-21 Akim Demaille <akim@epita.fr>
1722 * distdir.am (distdir): Handle the DIST-TARGETS.
1723 * automake.in (&handle_dist_worker): Don't.
1725 2001-02-21 Akim Demaille <akim@epita.fr>
1727 * automake.in (&file_contents): Transform the global options (such
1729 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
1731 2001-02-21 Akim Demaille <akim@epita.fr>
1733 * distdir.am (distdir): Be sure to have permissive rights on its
1735 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
1737 And BTW, all these guys are phony.
1738 * automake.in (&handle_dist_worker): As its name doesn't indicate,
1739 output distributions.
1740 (&handle_dist): As its name doesn't indicate, don't.
1741 (&initialize_global_constants): Don't define variables which
1742 content is now handled by distdir.am.
1743 But register `dist-all' as a factored target.
1744 (&handle_factored_dependencies): Don't output empty targets.
1746 2001-02-20 Tom Tromey <tromey@redhat.com>
1748 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
1751 2001-02-18 Tom Tromey <tromey@redhat.com>
1753 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
1754 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
1755 (AM_PROG_STRIP): Commented out.
1757 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
1759 * depcomp (gcc3): Protect against the compiler deleting
1760 the dependency output file.
1762 2001-02-17 Tom Tromey <tromey@redhat.com>
1764 * automake.in (handle_merge_targets): Use double quotes around
1765 setting of INSTALL_STRIP_PROGRAM.
1766 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1767 to absolute path at runtime.
1768 (AM_PROG_STRIP): Don't explicitly test $STRIP.
1770 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1772 * m4/strip.m4: New file.
1773 * m4/Makefile.am (m4data_DATA): Add strip.m4.
1774 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
1775 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
1776 * automake.in (handle_merge_targets): In the install-strip rule,
1777 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
1778 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
1779 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
1780 don't use INSTALL_STRIP_FLAG any longer.
1782 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1784 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
1787 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1789 * automake.in (unquote_m4_arg): New function.
1790 (scan_one_configure_file): Call unquote_m4_arg on
1791 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
1794 2001-02-15 Tom Tromey <tromey@redhat.com>
1796 * config.guess, config.sub: New versions from FSF.
1798 * Makefile.am (WGET): New macro.
1799 (FETCHFILES): New macro.
1800 (fetch): New target.
1802 * tests/subobj3.test: Exit with status 77 if gcc not found.
1803 * tests/pr9.test: Exit with status 77 if gzip not found.
1804 * tests/pr87.test: Exit with status 77 if gcc not found.
1805 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
1806 * tests/install2.test: Exit with status 77 if gzip not found.
1807 * tests/exsource.test: Exit with status 77 if GNU make not found.
1808 * tests/ansi3.test: Exit with status 77 if gcc not found.
1810 * tests/target-cflags.test: Require GNU make. Exit with status 77
1811 if gcc or make not found. Fixes PR automake/121.
1813 * configure.in: Require Perl 5.005.
1814 * automake.in: Require 5.005.
1816 * automake.texi (Top): Conditionalize on `nottex', not `info'.
1817 Fixes PR automake/122.
1819 2001-02-14 Tom Tromey <tromey@redhat.com>
1821 * automake.in (add_depend2): Only emit a given object rule once.
1822 Fixes specflags6.test.
1824 2001-02-14 Richard Boulton <richard@tartarus.org>
1826 * tests/specflags6.test: New file.
1828 2001-02-14 Tom Tromey <tromey@redhat.com>
1830 * automake.texi (A Shared Library): Mention -module.
1832 2001-02-13 Tom Tromey <tromey@redhat.com>
1834 * automake.in (do_one_merge_target): Always register $name and
1837 * automake.in (do_one_merge_target): Register `all' as phony
1840 * configure.in: Updated to 1.4e for cvs.
1842 2001-02-12 Tom Tromey <tromey@redhat.com>
1844 * configure.in: Updated to 1.4d and released.
1846 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
1847 names through autoconf.
1849 Fix for subdirbuiltsources.test:
1850 * automake.in (initialize_per_input): [all_target] Initialize to
1852 (handle_merge_targets): Use all-redirect target to handle built
1854 (do_one_merge_target): Don't generate all-redirect rule.
1856 2001-02-11 Peter Muir <iyhi@yahoo.com>
1858 * tests/subdirbuiltsources.test: New file.
1859 * tests/Makefile.am (TESTS): Added new file.
1861 2001-02-10 Tom Tromey <tromey@redhat.com>
1863 * tests/condlib.test: New file.
1864 * tests/Makefile.am (TESTS): Added new file.
1866 2001-02-10 Lars J. Aas <larsa@sim.no>
1868 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
1869 (&canonicalize): New. Includes '@' in canonical range.
1870 (&check_canonical_spelling, &handle_programs, &handle_libraries,
1871 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
1873 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
1875 * automake.in (handle_configure): Revert part of
1876 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
1877 set CONFIG_COMMANDS explicitly.
1879 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
1881 * depcomp (gcc3): Propagate exit code.
1883 2001-02-09 Lars J. Aas <larsa@sim.no>
1885 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
1887 2001-02-09 Tom Tromey <tromey@redhat.com>
1889 Clean up maintainer-check warnings:
1890 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
1892 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
1894 2001-02-09 Akim Demaille <akim@epita.fr>
1896 * automake.in (&file_contents): Remove a dead branch.
1898 2001-02-09 Akim Demaille <akim@epita.fr>
1900 * automake.in (&transform): Use `my', not `local'.
1901 (&transform_cond): New.
1902 (&get_object_extension, &handle_texinfo, &handle_tags)
1903 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
1904 (&handle_tests_dejagnu): Use it.
1905 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
1906 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
1908 2001-02-09 Akim Demaille <akim@epita.fr>
1910 * automake.in: Various formatting changes, and modernization of
1913 (&handle_configure, define_standard_variables): Use it.
1915 2001-02-08 Tom Tromey <tromey@redhat.com>
1917 * automake.in (file_contents): Only add $actions if any are
1918 found. Fixes new failure in pr87.test.
1920 2001-02-08 Pavel Roskin <proski@gnu.org>
1922 * tests/pr87.test: Check foo/Makfile.in after it is created.
1924 2001-02-08 Tom Tromey <tromey@redhat.com>
1926 * tests/pr87.test: Added check for blank line after `.c.o' rule.
1927 Report from Lars J. Aas.
1929 2001-02-07 Lars J. Aas <larsa@sim.no>
1931 * lisp.am (install-@DIR@LISP): Removed extra space.
1932 * header.am (install-@DIR@HEADERS): Removed extra space.
1933 * data.am (install-@DIR@DATA): Removed extra space.
1935 2001-02-07 Tom Tromey <tromey@redhat.com>
1937 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
1939 * automake.in (handle_dependencies): Use _am_include, not
1941 * tests/exsource.test: Use _am_include, not AMINCLUDE.
1942 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
1944 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
1946 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
1948 * automake.in (handle_configure): Handle case where output file is
1949 in subdir with no Makefile of its own. Fixes remake3.test,
1952 2001-02-06 Pavel Roskin <proski@gnu.org>
1954 * automake.in (handle_dependencies): Rename AM_INCLUDE to
1956 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
1957 * tests/exsource.test: Likewise.
1959 2001-02-06 Derek Price <derek.price@openavenue.com>
1961 * automake.in (handle_configure): Fix syntax error.
1963 2001-02-06 Akim Demaille <akim@epita.fr>
1965 * subdirs.am: This file is the exception: clean recursive targets
1966 are called by the clean targets, not the clean-am targets.
1967 Otherwise we have a circular dependency: clean -> clean-am ->
1968 clean-recursive -> clean.
1969 * automake.in (handle_clean): Bind `-local' targets to `-am'
1970 targets, not top targets.
1971 Don't declare -recursive dependencies of the clean targets:
1972 `subdirs.am' did it. Less hard coded knowledge, transfered
1976 2001-02-06 Akim Demaille <akim@epita.fr>
1978 Monstro unsplitable patch.
1980 The aim is to remove hard coded knowledge about clean targets from
1981 automake.in, leaving them in the *.am files.
1982 In addition to the mechanic needed to factor some dependencies, it
1983 appears some rules (most notably distclean and maintainer-clean)
1984 need factored actions. So first, be ready to catch factored
1987 * automake.in (&file_contents): For the time being, use an extended
1988 $RULE_PATTERN which is able to match any kind of rules, with or
1989 without dependency, with or without actions.
1990 Handle all the rules uniformly, storing in %actions the factored
1992 (&flatten, &target_cmp): New.
1993 (&handle_factored_dependencies): Output the %actions.
1994 No longer special case `clean'.
1995 Output the rules in alphabetical order, but keeping `.PHONY' last.
1997 Now we must not use &push_phony_cleaners, which is doing all sort
1998 of magic to push a bit of everything in all the clean targets.
1999 The biggest problem being that, making a Cartesian product, it
2000 requires many useless targets. The `*.am' file know better.
2001 But first, register the new factored rules.
2003 * automake.in (&initialize_per_input): Include clean, mostlyclean,
2004 maintainer-clean, distclean and their `*-am' counterpart in
2006 Initialize %actions.
2007 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
2008 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
2009 (handle_emacs_lisp, handle_python): Don't play with
2010 &push_phony_cleaners nor &depend and `clean'.
2011 * texinfos.am, texi-vers.am, tags-clean.am:
2012 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
2013 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
2014 * clean-kr.am, clean-hdr.am: Do it.
2015 Whenever a target is empty, just remove it, it will no longer be
2018 There is still some magic about clean to hard code. But really,
2019 that's the end of &do_one_clean_target.
2021 * automake.in (&do_one_clean_target): Kaboom out.
2022 (&handle_clean): Rewrite the magic code.
2023 (&am_install_var): No longer use &push_phony_cleaners, nor depend
2025 (&push_phony_cleaners): Kaboom too.
2027 2001-02-06 Akim Demaille <akim@epita.fr>
2029 * automake.in (do_one_clean_target): Don't hard code knowledge
2030 about libtool, and maintainer-clean.
2031 * clean.am, libtool.am: Handle these.
2033 2001-02-05 Akim Demaille <akim@epita.fr>
2035 * automake.in (handle_texinfo): No longer hard code the clean
2037 (texinfos.am): Include them.
2039 2001-02-05 Akim Demaille <akim@epita.fr>
2041 * Makefile.am (perl4-check): Remove, we now require Perl 5.
2042 (maintainer-check): Don't be silent when you find a problem, and
2043 actually, even specify the locations.
2044 Also check that @_ is assigned to arrays.
2046 2001-02-05 Akim Demaille <akim@epita.fr>
2048 * m4/regex.m4: Use AC_LIBSOURCES.
2049 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
2052 2001-02-04 Tom Tromey <tromey@redhat.com>
2054 * m4/Makefile.am (m4data_DATA): Added make.m4.
2055 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
2057 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
2058 Copy depcomp to subdir.
2059 * m4/make.m4: New file.
2061 2001-02-04 Pavel Roskin <proski@gnu.org>
2063 * automake.in (handle_dist_worker): Remove a line that is now
2066 2001-02-04 Kevin Ryde <user42@zip.com.au>
2068 * automake.in (handle_configure): Call config.status with empty
2069 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
2071 2001-02-04 Tom Tromey <tromey@redhat.com>
2073 * depcomp (ddashmd): Removed case.
2074 (sgi): Handle failure exit correctly
2075 (aix): Likewise. Also, add dummy `.h' targets.
2077 2001-02-04 Akim Demaille <akim@epita.fr>
2079 * distdir.am (distdir): New file, extracted from...
2080 * automake.in (handle_dist_worker): here.
2083 2001-02-04 Akim Demaille <akim@epita.fr>
2085 * automake.in (@clean): Remove, replaced by...
2086 ($dependencies{'clean'}): this.
2087 Use `&depend' instead of push'ing into @clean.
2088 (handle_factored_dependencies): For the time being, skip 'clean'.
2089 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
2090 always `clean', and `@clean'.
2092 2001-02-04 Akim Demaille <akim@epita.fr>
2094 * automake.in (%dependencies): Don't be initialize globally for
2095 all the files, but in...
2096 (&initialize_per_input): here.
2098 (@phony): Replace all occurrences with the corresponding &depend
2101 2001-02-03 Tom Tromey <tromey@redhat.com>
2103 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
2104 * header-vars.am (INSTALL_HEADER): New macro.
2106 * automake.texi (Rebuilding): New node.
2108 2000-12-29 Derek Price <derek.price@openavenue.com>
2110 * automake.in (handle_dependencies): Switched the DEP_FILES
2111 definition to be conditional on @AMDEP@.
2113 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
2115 * depcomp (aix): New side-effect dependency tracking mode, for
2116 the C for AIX compiler.
2117 * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
2118 `conftest.h' for each test.
2120 2001-02-03 Tom Tromey <tromey@redhat.com>
2122 * automake.texi (Dist): Updated to mention caveat of putting
2123 directory in EXTRA_DIST and also providing a nice example of
2124 removing the CVS dir.
2125 From Ganesan Rajagopal.
2127 * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
2130 * automake.in (scan_one_autoconf_file): Disable warning about
2133 * automake.in (handle_configure): Don't modify variable which
2134 aliases list element. Don't push @inputs onto the dist list.
2136 (initialize_per_input) [dist_dirs]: New variable.
2137 (handle_dist_worker): Use global dist_dirs.
2138 (handle_configure): Set dist_dirs entries at toplevel.
2140 2001-02-02 Gordon Sadler <gbsadler1@lcisp.com>
2142 * automake.texi (Java Support): Added index, @section.
2144 2001-02-02 Pavel Roskin <proski@gnu.org>
2146 * automake.in (scan_autoconf_traces): Restore trace messages.
2148 * automake.in (handle_aclocal_m4): Fix stripping of the initial
2149 "./" from the dependencies of aclocal.m4.
2150 Reported by Ralf Corsepius.
2152 2001-02-01 Pavel Roskin <proski@gnu.org>
2154 * aclocal.in: Rename "verbosity" to "verbose". Always prepend
2155 "aclocal: " to the verbose output.
2157 * automake.in: Remove all debugging messages.
2159 2001-01-31 Akim Demaille <akim@epita.fr>
2161 * automake.in (add_depend2): Quote properly $obj and $source.
2163 2001-01-31 Akim Demaille <akim@epita.fr>
2165 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
2166 then replacing `$(@PFX@COMPILE)' for the files that need some
2167 special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
2168 Try to document this file.
2169 * automake.in (add_depend2): Adjust to these changes.
2171 2001-01-31 Akim Demaille <akim@epita.fr>
2173 * automake.in (%factored_dependencies): New.
2174 (file_contents): Use it.
2175 (handle_phony): Rename as...
2176 (handle_factored_dependencies): this.
2177 * subdirs.am: No need for convolved syntax to declare .PHONY.
2179 2001-01-31 Akim Demaille <akim@epita.fr>
2181 * automake.in: maintainer-check fixes.
2183 2001-01-31 Akim Demaille <akim@epita.fr>
2185 * automake.in (file_contents): Rewrite: instead of trying to parse
2186 it line by line, first swallow it completely into $CONTENTS,
2187 *then*, parse it *paragraph* by paragraph.
2189 2001-01-30 Akim Demaille <akim@epita.fr>
2191 * automake.in (file_contents): Remove.
2192 (file_contents_with_transform): Swap the order of the arguments,
2194 (file_contents): this.
2197 2001-01-30 Tom Tromey <tromey@redhat.com>
2199 * automake.in (scan_one_autoconf_file): Don't mention
2202 2001-01-29 Akim Demaille <akim@epita.fr>
2204 * automake.in (&scan_autoconf_config_files): Extract from
2205 &scan_one_autoconf_file.
2206 (&scan_one_autoconf_file): Use it.
2207 (&scan_autoconf_traces): New.
2208 ($scan_autoconf_files): Use it.
2210 2001-01-29 Akim Demaille <akim@epita.fr>
2212 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
2214 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
2215 (handle_etags, handle_subdirs): Don't push into @phony.
2217 2001-01-29 Akim Demaille <akim@epita.fr>
2219 * automake.in (scan_one_autoconf_file): Correctly recognize
2222 2001-01-29 Akim Demaille <akim@epita.fr>
2224 * automake.in (handle_tests_dejagnu): New, extracted from...
2225 (handle_tests): here. Use `.PHONY:'.
2227 2001-01-29 Akim Demaille <akim@epita.fr>
2229 * automake.in (handle_phony): Sort.
2230 (file_contents_with_transform): Catch `.PHONY:'.
2231 (handle_tests): Instead dumping the hard coded target check-TESTS
2232 and registering its .PHONYsm, get them from...
2233 * check.am: here, new file.
2235 2001-01-29 Akim Demaille <akim@epita.fr>
2237 * automake.in (add_depend2): Use &transform.
2239 2001-01-29 Akim Demaille <akim@epita.fr>
2241 * automake.in (handle_tags): Use &transform.
2242 (am_error, am_line_error, am_conf_error, read_am_file): Use
2243 directly arrays in strings, no need for &join.
2245 * Makefile.am (maintainer-check): Use grep -w when looking for
2248 2001-01-29 Akim Demaille <akim@epita.fr>
2250 * automake.in (prog_error): New.
2253 2001-01-29 Akim Demaille <akim@epita.fr>
2255 * automake.in (handle_single_transform_list): if (@list) { foreach
2256 (@list) ...} can be written as a simple `foreach' loop.
2258 2001-01-29 Akim Demaille <akim@epita.fr>
2260 * automake.in (define_standard_variables): Use &transform instead
2263 2001-01-29 Akim Demaille <akim@epita.fr>
2265 * automake.in (handle_texinfo): Use the new $texinfodir instead of
2266 the removed $texinfo_tex.
2268 2001-01-29 Akim Demaille <akim@epita.fr>
2270 * automake.in (handle_libraries, handle_ltlibraries): Use
2273 2001-01-29 Akim Demaille <akim@epita.fr>
2275 * automake.in (handle_programs) <xexe>: Remove, replaced by
2277 Use it, and &transform.
2279 2001-01-29 Akim Demaille <akim@epita.fr>
2281 * automake.in (get_object_extension) <$default_includes>: New.
2282 Use it and &transform.
2284 2001-01-28 Tom Tromey <tromey@redhat.com>
2286 * automake.in (variable_value_as_list_worker): Handle entries in
2287 %am_var_defs. Fixes listval.test.
2289 2001-01-26 Akim Demaille <akim@epita.fr>
2291 * automake.in (handle_texinfo): Don't use $conf_pat, just
2292 $conf_dir to transform MDDIR since now &transform handles the
2293 escaping of RE special characters by itself.
2295 2001-01-24 Akim Demaille <akim@epita.fr>
2297 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
2299 * m4/init.m4: Likewise.
2300 * m4/sanity.m4: s/conftestfile/conftest.file/.
2302 2001-01-24 Tom Tromey <tromey@redhat.com>
2304 * automake.in (handle_libraries): Use $configure_ac; typo fix.
2306 * automake.in (transform): Quote substitution.
2308 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2309 Tom Tromey <tromey@redhat.com>
2311 * automake.in (obsolete_rx): Match whole macro names, not
2313 * aclocal.in (obsolete_rx): Likewise.
2315 2001-01-21 Tom Tromey <tromey@redhat.com>
2317 * automake.texi: Changed dir category.
2319 2001-01-18 Akim Demaille <akim@epita.fr>
2321 * automake.in (handle_texinfo): Use &transform, and transform
2323 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
2325 2001-01-16 Akim Demaille <akim@epita.fr>
2327 Let Automake support `configure.ac'.
2329 * automake.in: In the comments, prefer `configure.ac' to
2331 When using &am_conf_error, don't repeat `in configure.in', since
2332 the function already reports it.
2333 When referring to `configure.in' use `$configure_ac' instead.
2334 (configure_ac): New global variable.
2335 (scan_configure, scan_one_configure_file): Rename as...
2336 (scan_autoconf_files, scan_one_autoconf_file): this.
2337 (scan_autoconf_files): Compute $configure_ac.
2338 (transform): New function.
2339 (handle_configure): Use it to transform CONFIGURE_AC in
2340 `remake.am' and in `remake-hdr.am'.
2341 (common_files): Also consider `configure.ac'.
2342 Use consistently single quotes.
2343 * aclocal.in (configure_ac): New variable.
2345 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
2346 * remake.am: Likewise.
2347 * remake-hdr.am: Likewise.
2349 2001-01-16 Akim Demaille <akim@epita.fr>
2351 * m4/multi.m4: Remove the hairy useless quotation of `$'.
2352 Simplify `ifelse([$2],,,[$2])' into... `$2'!
2353 * m4/minuso.m4: Don't use changequote!
2354 * m4/cond.m4: Fix quotation.
2355 * m4/sanity.m4: Follow the Autoconf coding style.
2356 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
2357 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
2360 2001-01-15 Tom Tromey <tromey@redhat.com>
2362 * automake.in (handle_single_transform_list): Don't print rule
2363 here when source is in subdir and object is not. Fixes
2366 * automake.in (handle_single_transform_list): Correctly compute
2367 $nonansi_obj. Fixes cxxansi.test.
2369 * automake.texi (Man pages): Updated to account for man1_MANS,
2372 2001-01-13 Steve Robbins <smr@debian.org>
2373 Tom Tromey <tromey@redhat.com>
2375 * aclocal.in (scan_configure): Don't recognize macro assignments
2377 (add_file): Likewise.
2379 2001-01-13 Kevin Ryde <user42@zip.com.au>
2381 * automake.in (handle_ltlibraries): Omit -rpath from
2382 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
2384 2001-01-11 Tom Tromey <tromey@redhat.com>
2386 * depcomp (case gcc3): Use -MD, not -M.
2388 2001-01-10 Tom Tromey <tromey@redhat.com>
2390 * depcomp: Handle gcc 3.
2392 2000-12-23 Tom Tromey <tromey@redhat.com>
2394 * configure.in: Updated to 1.4c for cvs.
2396 * configure.in: Updated to 1.4b and released.
2398 * config.guess, config.sub, texinfo.tex: New versions.
2400 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
2403 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
2404 distclean and maintainer-clean.
2405 * automake.texi (Top level): Document use of DIST_SUBDIRS.
2407 From Rusty Ballinger:
2408 * automake.in (handle_java): Don't skip `noinst' prefix.
2410 * automake.texi (Invoking aclocal): Mention ## comments.
2412 2000-12-22 Tom Tromey <tromey@redhat.com>
2414 From Raja R Harinath:
2415 * automake.in (libtoolize_sometimes): New global.
2416 (initialize_global_constants): Added libtoolize_sometimes to
2419 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
2421 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
2423 2000-12-21 Tom Tromey <tromey@redhat.com>
2425 * automake.texi (Tags): Document GTAGS target.
2426 * tags.am (GTAGS): New target.
2428 * automake.in (libtoolize_files): Removed ltconfig.
2429 (initialize_global_constants): Added ltconfig to common_files.
2431 2000-12-21 Kevin Ryde <user42@zip.com.au>
2433 * automake.in (handle_footer): Generate .SUFFIXES target when user
2434 defines suffixes but automake does not.
2436 2000-12-20 Marc Espie <espie@openbsd.org>
2438 * automake.in (handle_texinfo): Make path of $vtexi explicit in
2440 * texi-vers.am: Likewise.
2442 2000-12-20 Tom Tromey <tromey@redhat.com>
2445 * automake.in (handle_footer): Always push user suffixes at the
2446 start of .SUFFIXES:.
2447 * automake.texi (Suffixes): Updated to reflect new suffix
2450 2000-12-18 Tom Tromey <tromey@redhat.com>
2452 * automake.in (handle_built_sources): Removed.
2453 (handle_merge_targets): Handle BUILT_SOURCES.
2454 * automake.texi (Sources): Updated documentation of
2457 2000-12-17 Tom Tromey <tromey@redhat.com>
2459 * m4/protos.m4: Always do header checks.
2461 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
2462 before using values.
2464 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
2465 conditionally defined. Fixes PR automake/77 and ldflags.test.
2467 2000-11-25 Tom Tromey <tromey@cygnus.com>
2469 * automake.in (file_contents_with_transform): Added file name and
2470 line number to error report.
2471 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
2473 2000-11-23 Pavel Roskin <proski@gnu.org>
2475 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
2477 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
2478 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
2479 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
2480 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
2481 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
2482 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
2483 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
2485 2000-11-23 Tom Tromey <tromey@cygnus.com>
2487 * automake.in (require_file_internal): Pass $file as second
2488 argument to maybe_push_required_file. Fixes PR automake/87.
2490 2000-11-18 Tom Tromey <tromey@cygnus.com>
2492 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
2493 /dev/null. From Paul Martinolich.
2495 2000-11-16 Morten Eriksen <mortene@sim.no>
2497 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
2498 opened, otherwise it has no effect.
2500 2000-10-23 Morten Eriksen <mortene@sim.no>
2502 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
2503 CRLFs. This circumvents a bug in Cygwin bash.
2505 * automake.in (generate_makefile): Don't write Makefile.in
2506 files with CRLFs, as it causes problems for the dependency-file
2507 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
2509 2000-10-19 Alex Hornby <alex@anvil.co.uk>
2511 * automake.in (handle_merge_targets): Allow parallel install
2514 2000-10-19 Akim Demaille <akim@epita.fr>
2516 * subdir4.test (depcomp): Don't create it, defs does.
2518 2000-10-17 Pavel Roskin <proski@gnu.org>
2520 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
2521 acinclude.m4 from the dependencies of aclocal.m4 to avoid
2522 circular and duplicated dependencies. Strip "./" from the
2525 2000-10-17 Lars J. Aas <larsa@sim.no>
2527 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
2528 normal comments (#) instead of m4 dnl-type comments.
2530 2000-10-17 Alex Hornby <alex@anvil.com>
2532 * depcomp: Altered sed clause to strip of inclusion depth
2533 numbers generated by cpp. Also output in gcc style.
2535 2000-10-16 Morten Eriksen <mortene@sim.no>
2537 * depcomp (msvisualcpp): New dependency tracking mode, for
2538 Microsoft Visual C++.
2540 2000-10-16 Morten Eriksen <mortene@sim.no>
2542 * depcomp: Fix a bug in SGI dependency tracking mode with source
2543 files which do not dependend on any other source files.
2545 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
2547 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
2548 * automake.in, automake.texi: Likewise.
2549 * clean-kr.am, clean.am: Likewise.
2550 * comp-vars.am: Likewise.
2551 * compile, compile.am: Likewise.
2552 * data-clean.am: Likewise.
2553 * data.am: Likewise.
2554 * dejagnu.am: Likewise.
2555 * depcomp: Likewise.
2556 * depend.am, depend2.am: Likewise.
2557 * dist-vars.am, dist.am: Likewise.
2558 * elisp-comp: Likewise.
2559 * footer.am: Likewise.
2560 * header-vars.am, header.am: Likewise.
2561 * java-clean.am java.am: Likewise.
2562 * kr-extra.am: Likewise.
2563 * library.am: Likewise.
2564 * libs-clean.am, libs.am: Likewise.
2565 * libtool.am: Likewise.
2566 * lisp-clean.am lisp.am: Likewise.
2567 * ltlib-clean.am ltlib.am: Likewise.
2568 * ltlibrary.am: Likewise.
2569 * m4/Makefile.in: Likewise.
2570 * m4/strtod.m4: Likewise.
2571 * mans-vars.am, mans.am: Likewise.
2572 * mdate-sh: Likewise.
2573 * missing: Likewise.
2574 * multilib.am: Likewise.
2575 * program.am: Likewise.
2576 * progs-clean.am, progs.am: Likewise.
2577 * python-clean.am, python.am: Likewise.
2578 * remake-hdr.am, remake.am: Likewise.
2579 * scripts.am: Likewise.
2580 * subdirs.am: Likewise.
2581 * tags-clean.am, tags.am: Likewise.
2582 * texi-vers.am: Likewise.
2583 * texinfos.am: Likewise.
2586 2000-10-09 Pavel Roskin <proski@gnu.org>
2588 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
2589 assignments changing $? - it's broken in ash-0.2.
2590 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
2592 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
2593 defined use it as the list of M4 files aclocal.m4 depends on.
2595 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2597 * aclocal.in (add_file): Strip comments while scanning for
2600 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
2602 * automake.in (initialize_global_constants): End the
2603 result of dist-bzip2 with tar.bz2, not bz2.
2605 2000-08-30 Tom Tromey <tromey@cygnus.com>
2607 Fix for PR automake/72:
2608 * automake.in (initialize_per_input): Define `need_link'.
2609 (finish_languages): Use need_link.
2610 (handle_source_transform): Set need_link if required.
2612 2000-08-28 Tom Tromey <tromey@cygnus.com>
2614 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
2616 (register_language): Default the `derived-autodep' option.
2617 (handle_single_transform_list): Add to %dep_files if language has
2618 `derived-autodep' set. Re-fixes lex4.test.
2620 2000-08-27 Tom Tromey <tromey@cygnus.com>
2622 * automake.in (handle_single_transform_list): Only add to
2623 %dep_files if language is found and supports automatic dependency
2624 tracking. Fixes PR automake/75.
2626 * automake.in (am_primary_prefixes): Don't set `valid' for
2627 configure variables that don't satisfy the other constraints.
2628 Fixes PR automake/68.
2630 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
2632 Fix for PR automake/67.
2633 * automake.in (handle_multilib): remove .am suffix in fragment
2634 name passed to file_contents.
2635 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
2636 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
2637 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
2639 2000-08-26 Tom Tromey <tromey@cygnus.com>
2641 * subdirs.am (maintainer-clean-recursive): Always run clean rules
2642 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
2644 * automake.in (handle_man_pages): Generate install targets for man
2645 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
2647 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
2648 Fix for PR automake/74. From js pendry.
2650 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2652 * depcomp (gcc): Support DOS-style absolute file names with drive
2655 2000-08-06 Jim Meyering <meyering@lucent.com>
2657 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
2658 if the depcomp file exists, before calling require_config_file on
2659 `depcomp'. This makes require_file_internal skip its buggy existence
2660 test that would make automake fail (with `required file `lib/depcomp'
2661 not found') when AC_CONFIG_AUX_DIR is not set.
2663 This change change does not fix the existing bug where, if `depcomp'
2664 is not present in the build directory (at the top level), automake
2665 still gives the inaccurate diagnostic about *lib*/depcomp rather
2668 2000-08-05 Jim Meyering <meyering@lucent.com>
2670 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
2671 add missing closing bracket and closing parenthesis.
2672 Don't quote the first argument to AC_OUTPUT_COMMANDS.
2673 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
2675 2000-08-04 Tom Tromey <tromey@cygnus.com>
2677 Idea from Nicolas Thiery:
2678 * automake.texi (Tests): Document DEJATOOL as a list.
2679 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
2680 (check-DEJAGNU): Run runtest in a loop.
2682 2000-08-02 Akim Demaille <akim@epita.fr>
2684 * m4: Quote properly the name of the macros being defined.
2685 Use `#' instead of `dnl' where appropriate.
2686 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
2688 Don't quote passive characters.
2689 Pull the AC_PREREQ outside the macro.
2690 * m4/init.m4: Pull the AC_PREREQ outside the macro.
2692 2000-07-28 Tom Tromey <tromey@cygnus.com>
2694 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
2697 2000-07-13 Kevin Ryde <user42@zip.com.au>
2699 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
2700 EXTRA_PROGRAMS as well as other _PROGRAMS.
2702 2000-07-02 Jim Meyering <meyering@lucent.com>
2704 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
2706 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
2708 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
2711 2000-06-02 Morten Eriksen <mortene@sim.no>
2713 * depcomp: workaround for problem with SGI IRIX sed (it can only
2714 handle lines of up to 8192 characters, the rest of the line will
2717 2000-05-31 Morten Eriksen <mortene@sim.no>
2719 * depcomp: tell SGI MIPSpro compilers to generate dependencies
2720 through the pre-processor (only CVS libtool has the -Wc option
2723 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
2725 * missing: Add support for `help2man'.
2727 2000-05-11 Tom Tromey <tromey@cygnus.com>
2729 * automake.in (handle_tests): Work correctly if TESTS is empty;
2730 print nothing if it is. From Kevin Ryde.
2732 2000-05-08 Tom Tromey <tromey@cygnus.com>
2734 * automake.texi (Texinfo): Mention vers*.texi.
2736 2000-05-04 Akim Demaille <akim@epita.fr>
2738 AM_INIT_AUTOMAKE is no longer optional, so don't look for
2739 `VERSION=' and `PACKAGE='.
2740 * automake.in (seen_package, seen_version): Remove initializations of
2741 unnecessary variables.
2742 (scan_one_configure_file): Don't set them.
2743 (scan_configure): Don't use them.
2745 2000-05-01 Akim Demaille <akim@epita.fr>
2747 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
2748 (AM_INIT_AUTOMAKE): Update the writing conventions.
2749 Quote the arguments properly.
2750 Add a few missing `dnl'.
2751 Use AC_PROVIDE_IFELSE.
2753 2000-04-26 Jim Meyering <meyering@lucent.com>
2755 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
2756 macro. Based on a patch from Harlan Stenn.
2758 2000-04-13 Akim Demaille <akim@epita.fr>
2760 * compile: Remove unnecessary double quotes in assignments.
2762 2000-04-13 Akim Demaille <demaille@epita.fr>
2764 * automake.in (scan_one_configure_file): Also recognize
2766 Remove trailing blanks.
2768 2000-04-05 Tom Tromey <tromey@cygnus.com>
2770 * header-vars.am (DESTDIR): Commented out definition.
2772 * automake.in (require_file_internal): Pass --copy to libtoolize
2773 if automake was run with `--copy'.
2775 2000-03-22 Tom Tromey <tromey@cygnus.com>
2777 * automake.texi (Uniform): Fix definition of pkglibdir.
2778 From thi <ttn@revel.glug.org>.
2780 2000-03-19 Tom Tromey <tromey@cygnus.com>
2782 * aclocal.in (parse_arguments): Copyright 2000.
2783 (write_aclocal): Likewise.
2784 * automake.in (parse_arguments): Copyright 2000.
2785 (initialize_global_constants): Likewise.
2787 * automake.in (generate_makefile): Call handle_dist after
2788 handle_dependencies and handle_tests. Fixes subobj3.test and
2789 pr19.test regressions.
2791 2000-03-19 Gordon Matzigkeit <gord@fig.org>
2793 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
2794 as the current directory.
2795 (@EXT@.lo): Likewise.
2797 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
2799 * automake.in (handle_data): Pass -candist instead of
2800 -defaultdist, for the compatibility.
2802 2000-03-19 Tom Tromey <tromey@cygnus.com>
2804 Fix for test nodepcomp.test:
2805 * automake.in (require_file_internal): Use readlink on symlinks.
2806 Only unlink file if we are going to try to add it again.
2807 (handle_dependencies): Require `depcomp' here.
2808 (scan_configure): Don't require `depcomp'.
2810 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
2812 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
2813 the rule to remake Makefile, whether $use_dependencies is true
2814 or not. This was a historical one and doesn't make sense any
2817 2000-03-19 Tom Tromey <tromey@cygnus.com>
2819 More for PR automake/38:
2820 * automake.texi (Invoking Automake): Document --force-missing.
2821 * automake.in (force_missing): New global.
2822 (parse_arguments): Recognize --force-missing.
2823 (initialize_global_constants): Document --force-missing.
2824 (require_file_internal): Handle --force-missing.
2826 Fix for PR automake/38:
2827 * automake.in (require_file_internal): Check for and handle
2828 dangling symlinks. Fixes symlink2.test.
2830 Fix for PR automake/45:
2831 * automake.texi (configure): Mention requirement to run
2833 (Requirements): Removed most text.
2834 * automake.in (seen_init_automake): New global.
2835 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
2836 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
2837 Set seen_init_automake if needed.
2839 Fix for PR automake/41:
2840 * automake.in (require_file_found): New global.
2841 (require_file_internal): Set require_file_found entry.
2842 (handle_texinfo): Require file any number of times.
2844 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
2847 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
2849 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2851 * m4/missing.m4: Print the backtick in a way that won't cause
2852 autoconf CVS to emit any warnings.
2854 2000-03-01 Jim Meyering <meyering@lucent.com>
2856 * automake.in (handle_dist_worker) [generating rules for distdir]:
2857 Don't use `ln' (which was just a space optimization anyway) to
2858 populate $(distdir). Otherwise, the dist rules that change
2859 permissions would end up affecting the master sources.
2860 * texinfos.am (dist-info): Likewise.
2862 2000-02-13 Jim Meyering <meyering@lucent.com>
2864 * automake.in (generate_makefile): Detect write/close failure.
2866 2000-02-02 Assar Westerlund <assar@sics.se>
2868 * automake.in (handle_single_transform_list): do not use $< which
2869 is not handled by all non-GNU makes. Instead do explicit sh code
2870 testing for the file in this directory and srcdir. Based on a
2871 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2873 2000-01-12 Tom Tromey <tromey@cygnus.com>
2875 * m4/lispdir.m4: Added --with-lispdir argument processing.
2878 2000-01-06 Tom Tromey <tromey@cygnus.com>
2880 * automake.in (handle_configure): Don't check for
2882 (scan_configure): Check for AC_PROG_MAKE_SET.
2884 * header-vars.am (@SET_MAKE@): Added.
2885 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
2888 1999-12-19 Tom Tromey <tromey@cygnus.com>
2890 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
2892 (require_file_internal): Corrected arguments to second invocation
2893 of maybe_push_required_file.
2895 Fix for PR automake/9:
2896 * automake.in (make_dirs, make_dirs_set): New globals.
2897 (is_make_dir): New function.
2898 (handle_configure): Use it.
2899 (require_file_internal): Push file if there is no Makefile in its
2901 (initialize_per_input): Initialize handle_dist_run.
2902 (push_dist_common): Inspect handle_dist_run.
2903 (handle_dist): Set handle_dist_run. Push items from
2904 configure_dist_common onto dist_common if appropriate.
2905 (configure_dist_common): New global.
2906 (scan_configure): Set it.
2907 (maybe_push_required_file): New function.
2908 (require_file_internal): Use it.
2910 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
2911 more subdirs are defined. From Axel Belinfante. Fixes
2914 1999-12-18 Tom Tromey <tromey@cygnus.com>
2916 Partial fix for PR automake/40:
2917 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
2918 (uninstall-@DIR@LISP): Likewise.
2919 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
2920 (uninstall-@DIR@HEADERS): Likewise.
2921 * data.am (install-@DIR@DATA): Handle nobase_ case.
2922 (uninstall-@DIR@DATA): Likewise.
2923 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
2924 (am_install_var): Recognize and handle `nobase_' prefix.
2926 1999-12-17 Tom Tromey <tromey@cygnus.com>
2928 * automake.in (get_object_extension): Added space before `-I.'.
2929 Report from Ralf Corsepius.
2931 1999-12-15 Tom Tromey <tromey@cygnus.com>
2933 * aclocal.in: Don't pass $acdir to scan_m4_files.
2934 (parse_arguments): Push $acdir on end of dirlist.
2935 (scan_file): Don't warn if duplicate macro seen.
2937 1999-12-13 Tom Tromey <tromey@cygnus.com>
2939 Fix for PR automake/30 and PR automake/23. Fixes test
2941 * automake.in (initialize_per_input): Initialize
2942 source_suffix_pattern.
2943 (derive_suffix): New function.
2944 (handle_single_transform_list): Call it.
2946 * automake.in (add_depend2): Handle the no-dependency-tracking
2947 case. Fixes test suffix2.test.
2949 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
2951 * automake.in (get_object_extension): Fixed quoting on
2954 * depend2.am: Removed erroneous comment.
2956 * automake.texi (Program variables): Document nostdinc.
2957 (Options): Likewise.
2958 * automake.in (get_object_extension): Respect nostdinc option.
2959 (handle_options): Recognize nostdinc.
2960 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
2963 * automake.in (read_am_file): Allow conditional includes. Fixes
2966 * depcomp: Handle case on SGI when libtool is `yes'.
2967 * depend2.am (@EXT@.o): Set libtool.
2968 (@EXT@.lo): Likewise.
2969 (@EXT@.obj): Likewise.
2971 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
2974 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
2976 * automake.in (add_depend2): substitute $rule in the rules
2977 for individual files. Fixes test specflags5.test.
2979 1999-12-12 Tom Tromey <tromey@cygnus.com>
2981 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
2982 to create directories. Fixes test subobj3.test.
2984 1999-12-10 Tom Tromey <tromey@cygnus.com>
2986 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
2987 message when creating .deps files.
2989 * automake.in (initialize_global_constants): If unreadable by
2990 owner, make it readable by owner regardless of number of links.
2991 Fixes more of install2.test.
2993 * missing: Try to see if gnutar or gtar exist before invoking
2996 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
2997 install_sh value. Look for install-sh and install.sh in a
2998 somewhat more sensible way. Fixes test install2.test. Partially
3001 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
3003 * m4/missing.m4: remove redundant backquote
3005 1999-11-23 Tom Tromey <tromey@cygnus.com>
3007 * automake.in (initialize_global_constants): Use `bzip2 -9', not
3008 `bzip --best' Report from Jim Meyering.
3010 1999-11-22 Tom Tromey <tromey@cygnus.com>
3012 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
3013 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
3014 AM_MISSING_INSTALL_SH.
3015 * automake.in (scan_one_configure_file): Reverted previous
3018 * automake.in (scan_one_configure_file): Define `install_sh'
3019 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
3022 * automake.in (handle_single_transform_list): Generate explicit
3023 rule for subdir objects. Fixes new addition to subobj.test.
3025 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
3026 defined by AC_SUBST. Fixes ltlibobjs.test.
3028 Fix for sourcesub.test:
3029 * automake.in (handle_single_transform_list): Added `var'
3030 argument. If config sub found, give error.
3031 (handle_source_transform): Updated for new
3032 handle_source_transform.
3034 * py-compile: New file.
3035 * m4/Makefile.am (m4data_DATA): Added python.m4.
3036 * m4/python.m4: New file.
3037 * automake.texi (Uniform): Mention PYTHON.
3039 * Makefile.am (amfiles): Added python.am, python-clean.am.
3040 (dist_script_DATA): Added py-compile.
3041 * python.am: New file.
3042 * python-clean.am: New file.
3043 * automake.in (seen_pythondir): New global.
3044 (generate_makefile): Call handle_python.
3045 (handle_python): New function.
3046 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
3048 (am_install_var): Special-case PYTHON like JAVA.
3049 (scan_configure): Check for py-compile.
3050 (initialize_global_constants): Added py-compile to @common_files.
3052 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
3054 1999-11-21 Tom Tromey <tromey@cygnus.com>
3056 * automake.in (finish_languages): Only generate suffix rule when
3057 not doing dependency tracking.
3059 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
3060 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
3062 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
3065 1999-11-19 Tom Tromey <tromey@cygnus.com>
3067 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
3068 Alexandre's change on branch.
3070 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3072 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
3074 * dejagnu.am: Set CDPATH before cd.
3075 * Makefile.in: Rebuilt.
3077 * automake.in (handle_single_transform_list): Change `\1' for `$1'
3078 in `s///' replacement.
3080 * automake.in (handle_dist): Set CDPATH before cd.
3081 * dejagnu.am (check-DEJAGNU): Likewise.
3082 * texinfos.am (install-info-am, dist-info): Likewise.
3083 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
3084 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
3085 * aclocal.m4, configure, Makefile.in: Rebuilt.
3087 * AUTHORS: Added myself.
3089 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3091 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
3092 Reported by Tim Wilkinson <tim@transvirtual.com>
3093 * aclocal.m4, configure: Rebuilt.
3095 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
3097 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
3098 LEX program is found, use `${am_missing_run}flex'.
3100 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
3102 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
3103 with `o' in depfile.
3105 * automake.in (handle_lib_objects_cond): Remove second dot from
3106 dependency file names.
3108 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
3109 regardless of OBJEXT.
3111 * automake.in (handle_dependencies): Add blank line after depend2.
3112 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
3113 blank line before `include's, not after them.
3114 (scan_one_configure_file): Do not special-case `DEP_' any more.
3116 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
3118 * aclocal.m4, configure: Rebuilt.
3120 * m4/depend.m4 (AMDEPBACKSLASH): Define.
3121 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
3123 * automake.in (handle_dependencies): Generate `include's for
3124 dependency files after `@AMDEP@'.
3126 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
3127 --run support in the missing script, since SHELL is not exported.
3128 Reported by job bogan <job@piquin.uchicago.edu>
3129 * aclocal.m4, configure: Rebuilt.
3131 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
3133 * aclocal.m4, configure: Rebuilt with itself.
3134 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
3136 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
3137 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
3138 (AM_MISSING_HAS_RUN): New macro.
3139 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
3140 * automake.texi (Requirements): Likewise.
3141 * version.texi, stamp-vti: Rebuilt.
3143 1999-07-28 Tom Tromey <tromey@cygnus.com>
3145 * depcomp: Handle the `hp' mode.
3147 1999-07-06 Tom Tromey <tromey@cygnus.com>
3149 * depcomp: Work around HP-UX 10.20 sed bug.
3151 1999-07-05 Tom Tromey <tromey@cygnus.com>
3153 * automake.in (handle_dependencies): Generate a separate include
3154 for each dep file. Report from Alexandre Oliva.
3155 * depend.am: Don't include DEP_FILES.
3157 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
3159 * depend.am: Add @AMDEP@ before `include', so that dependency
3160 tracking can be disabled.
3161 * depend2.am: Ditto, before all lines related with dependency
3163 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
3164 --enable/disable-dependency-tracking and sets AMDEP accordingly.
3165 It is implicitly disabled if depcomp is missing.
3166 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
3167 generated by side-effect.
3168 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
3169 * automake.in (handle_dependencies): Add @AMDEP@ before the value
3171 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
3174 * depcomp: Support -xM for dependency generation, for Sun CC.
3175 Reported by Alex Hornby <alex@anvil.co.uk>
3176 * m4/depend.m4: Extract the list of supported dependency-tracking
3177 mechanisms from the depcomp script and use it to test each one.
3178 * THANKS: Added Alex Hornby.
3180 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
3181 to leave $(...COMPILE) in a line by itself.
3183 * THANKS: Added Miles Bader.
3185 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
3187 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
3188 Fix `dashmstdout' to ignore non-dependency-generating uses of the
3190 * depcomp (makedepend): New dependency-generating method.
3192 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
3194 * missing: If given `--run' as first argument, try to run the
3195 given program before falling back to the ``emulated'' behavior.
3196 Add support for `tar'.
3197 * automake.in: Use new `tar' support for `dist'.
3198 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
3199 program, prepend `missing --run' to the given program name.
3200 * m4/init.m4: Remove AMTAR-related stuff.
3203 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
3204 CONFIG_FILES. Do not use temporary variable for list of
3205 dependency files, it breaks Cygwin.
3207 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
3209 * depcomp (gcc): Imported comments removed from depend2.am, so
3210 that we don't lose them.
3212 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
3213 when not using ansi2knr.
3215 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
3217 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
3218 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
3220 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
3222 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
3223 so as not to compile an empty source; some compilers fail on this.
3224 Redirect stderr of depcc to /dev/null. Test for -M with -o,
3225 because some compilers will output the rules to the output file.
3226 * depcomp (dashmstdout): Add --silent before --mode=compile, so
3227 that we don't get libtool output mixed up with make rules.
3229 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
3230 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
3231 -o for libtool, otherwise it may try to deduce the object name
3232 from the dependency-generation flag.
3233 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
3236 * libtool.am: Do not emit .c.lo here...
3237 * depend2.am: ... emit .*.lo here, only when using libtool.
3238 * automake.in (get_object_extension): No more @MINUSO@ here.
3239 (handle_single_transform_list): Set $depfile from $object.
3240 (handle_dependencies): Emit depend2.am for all used languages,
3241 regardless of $use_dependencies; the setting of depcomp makes the
3243 (lang_cxx_finish): Do not emit compilation rules.
3244 (lang_objc_finish): Likewise.
3245 (lang_java_finish): Likewise.
3247 1999-04-21 Tom Tromey <tromey@cygnus.com>
3249 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
3250 interpolate DEPDIR in DEP_FILES expansion.
3252 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
3254 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
3255 dependency updating.
3256 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
3257 handle multi-line dependency lists.
3259 1999-11-12 Tom Tromey <tromey@cygnus.com>
3261 Fix for PR automake/14:
3262 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
3264 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
3266 * m4/multi.m4: Added missing `]'. From Akim Demaille.
3268 * Makefile.am (path-check): Make sure distdir is writeable before
3270 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
3271 (handle_dist_worker): Make sure distdir is writeable before
3273 (initialize_global_constants [$dist_trailer]): Make sure distdir
3274 is writeable before removing it.
3275 * dist.am (distcheck): Make the new source tree read-only before
3276 compiling. Idea from Karl Berry.
3278 * automake.texi (Gnits): Allow COPYING.LIB again.
3279 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
3281 1999-11-11 Jim Meyering <meyering@ascend.com>
3283 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
3286 1999-11-09 Tom Tromey <tromey@cygnus.com>
3288 * automake.in (handle_dist): Typo fix. From Jim Meyering.
3290 1999-11-09 Jim Meyering <meyering@ascend.com>
3292 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
3293 markers, no matter what.
3295 1999-11-08 Tom Tromey <tromey@cygnus.com>
3297 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
3300 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
3301 From Jim Meyering. Also, don't mention file name in `cp'
3302 destination. From Olly Betts.
3304 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
3306 * texinfos.am (uninstall-info): Use installed info file, not one
3307 from srcdir or builddir.
3309 1999-11-07 Tom Tromey <tromey@cygnus.com>
3311 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
3314 Fix for PR automake/18:
3315 * automake.in (handle_dist): Add contents of dist.am to the output
3317 * Makefile.am (amfiles): Added dist.am.
3318 * dist.am: New file.
3319 (distcheck): Added uninstall and distclean checks.
3321 * automake.in (PATH_PATTERN): Added `-' as allowable character.
3322 Fixes PR automake/20. From Matthew D. Langston.
3324 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
3325 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
3327 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3329 * m4/lispdir.m4: -batch must come before -q.
3330 * elisp-comp: Likewise.
3331 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
3332 * THANKS: Added Lars.
3334 1999-08-15 Tom Tromey <tromey@cygnus.com>
3336 * automake.in (get_object_extension): Fixed quoting bug. Fixes
3339 1999-07-27 Tom Tromey <tromey@cygnus.com>
3341 * config.guess, config.sub: New versions from autoconf.
3343 1999-07-13 Tom Tromey <tromey@cygnus.com>
3345 Work around losing `awk'. Report from Harlan Stenn.
3346 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
3347 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
3349 * automake.in (handle_source_transform): Mark prefix as seen if
3350 corresponding _SOURCES variable exists. Fixes empty2.test.
3352 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
3354 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
3356 (AUTOMAKE): Set --amdir to current directory.
3358 1999-06-20 Tom Tromey <tromey@cygnus.com>
3360 * Makefile.am (TAGS_FILES): New macro.
3361 (ETAGS_ARGS): Moved files into TAGS_FILES.
3362 (TAGS_DEPENDENCIES): Likewise.
3363 (ETAGS_ARGS): Removed.
3364 (TAGS_DEPENDENCIES): Removed duplicate definition.
3366 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
3367 from Ganesan Rajagopal.
3370 1999-06-18 Thomas Tanner <tanner@ffii.org>
3372 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
3375 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
3377 * ylwrap: Handle filenames output by the DOS version of Bison.
3379 1999-06-20 Tom Tromey <tromey@cygnus.com>
3381 * ylwrap: Be less strict when recognizing DOS paths. From Mark
3384 1999-06-19 Tom Tromey <tromey@cygnus.com>
3386 * automake.in (handle_dist_worker): Remove redundant entries from
3389 * automake.in (handle_lib_objects_cond): Better error message when
3390 unrecognized option passed in LDADD.
3392 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
3394 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
3395 appropriate --acdir and --amdir arguments.
3397 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3399 * automake.in (dist_header): Avoid changing permissions of files
3400 in the source tree, trying a complex `find/chmod' command before
3401 falling back to plain chmod.
3402 (handle_dist_worker): Do not create directories with mode 777, the
3403 find above will take care of that.
3404 * m4/init.m4: Set install_sh for find/chmod above.
3406 * THANKS: Added Shuhei Amakawa.
3408 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
3410 * mans.am: Strip dirname from given filename.
3412 1999-06-07 Jim Meyering <meyering@ascend.com>
3414 * automake.in (handle_dist): Change emitted rules so that a failure
3415 in `$(MAKE) distcheck-hook' propagates to the outer make.
3417 1999-05-27 Tom Tromey <tromey@cygnus.com>
3419 * automake.in (handle_single_transform_list): Replace AM_FLAG and
3420 not FLAG in compilation rule.
3421 (add_depend2): Likewise.
3423 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
3426 * m4/dmalloc.m4: Updated dmalloc site information.
3428 1999-05-19 Tom Tromey <tromey@cygnus.com>
3430 * automake.in (handle_single_transform_list): Push object name
3431 without extension onto lang_specific_files. Fixes
3434 * automake.in (handle_single_transform_list): Added missing
3435 space. Fixes specflags.test.
3437 1999-05-05 Tom Tromey <tromey@cygnus.com>
3439 * automake.in: Disabled dependency tracking for Java.
3441 1999-05-04 Tom Tromey <tromey@cygnus.com>
3443 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
3444 * automake.in (handle_libraries): Recognize _AR variable.
3446 1999-04-30 Tom Tromey <tromey@cygnus.com>
3448 * automake.in (finish_languages): Always use `-o $@' with
3449 libtool. Define ltcompile and ltlink at outermost scope in
3451 * libtool.am (.c.lo): Removed.
3453 * automake.in (finish_languages): Put `.' before extension in
3454 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
3455 `-flag'. From Pavel Roskin.
3457 1999-04-28 Tom Tromey <tromey@cygnus.com>
3459 * automake.in (finish_languages): Fixed scoping of ltcompile and
3460 ltlink. From Pavel Roskin.
3462 1999-04-27 Tom Tromey <tromey@cygnus.com>
3464 * automake.in (read_main_am_file): Don't start macro definition
3465 with backslash-newline. Instead, append newline at the end if
3468 * automake.in (read_am_file): Insert a backslash before a trailing
3469 newline. Fixes pluseq8.test.
3471 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
3473 (check_canonical_spelling): Don't insert `AM' before macro name
3474 (reverts Alexandre's 1999-04-27 patch).
3475 * automake.texi: Reverted documentation change for `AM' patch.
3477 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
3478 Minor rewrite for clarity.
3479 (check_canonical_spelling): Prefer `$1' over `\1'.
3481 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
3483 (@LTOBJ@): Likewise.
3484 * automake.in (handle_single_transform_list): Don't print rule if
3485 doing dependency tracking and the file's language supports it.
3486 (initialize_per_input): Initialize lang_specific_files.
3487 (add_depend2): New function.
3488 (handle_dependencies): Use it.
3490 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
3491 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
3492 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
3494 (lang_ratfor_finish): Use lang_f77_finish.
3496 * compile.am (NOTDEPEND.c.o): Removed.
3497 (OBJEXT.c.obj): Likewise.
3498 * automake.in: Added `flags' attribute to all relevant languages.
3499 (handle_single_transform_list): Handle per-derived-object flags.
3500 Changed interface and all callers.
3501 (handle_built_sources): Don't call handle_single_transform_list.
3502 Added `compile' and `compiler-name' attribute to all relevant
3504 (finish_languages): Define compiler variables here.
3505 (lang_cxx_finish): Don't call define_compiler_variable. Don't
3506 define flag variable or .o rules. Don't add to @suffixes.
3507 (lang_f77_finish): Likewise.
3508 (lang_ppf77_finish): Likewise.
3509 (lang_objc_finish): Likewise.
3510 (lang_java_finish): Likewise.
3511 (finish_languages): Define flag variable here.
3512 Added `output-arg' attribute to all relevant languages.
3513 (finish_languages): Define `.o' rules here.
3514 (finish_languages): Put extension on @suffixes.
3515 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
3517 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
3519 * automake.in (initialize_global_constants): Invoke gzip for
3520 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
3522 * automake.in (initialize_global_constants): Remove zip file
3523 before re-creating it.
3524 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
3526 * texinfos.am (uninstall-info): Look for info file in srcdir, just
3527 like in install-info-am.
3528 Reported by Tudor Hulubei <tudor@cs.unh.edu>
3530 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
3531 Let's use the good ol' substitution, then.
3532 Reported by Russ Allbery <rra@stanford.edu>
3534 * automake.in (check_canonical_spelling): Insert AM before names
3535 starting with non-letters.
3537 * automake.texi: Document it.
3539 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
3541 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
3542 doesn't work on perl4. Maybe \Q and \E do.
3544 1999-04-24 Tom Tromey <tromey@cygnus.com>
3546 * automake.in: Treat `.zip' and `.jar' files as Java.
3548 * automake.in (generate_makefile): Define `subdir' after reading
3550 (read_main_am_file): Give programming error if variable defined
3553 1999-04-22 Tom Tromey <tromey@cygnus.com>
3555 * automake.in (generate_makefile): Define `subdir' variable.
3556 (handle_dist): Don't define `subdir'.
3558 * automake.in (handle_texinfo): Change numbering scheme for
3559 stamp-vti files, to avoid problems with DOS.
3560 From Michel de Ruiter.
3562 * automake.texi: Don't mention AM_FUNC_MKTIME.
3563 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
3564 * automake.in (scan_one_configure_file): Recognize
3565 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
3566 (obsolete_macros): Mention AM_FUNC_MKTIME.
3567 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
3568 * m4/mktime.m4: Removed.
3570 1999-04-20 Tom Tromey <tromey@cygnus.com>
3572 * automake.texi (Top level): Don't recommend substing SUBDIRS.
3574 1999-04-20 Brian Ford <ford@vss.fsi.com>
3576 * scripts.am: Change else if's to elif.
3578 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
3580 * automake.in (handle_lib_objects_cond): Only require the source
3581 of a LIBOBJ if it's not in BUILT_SOURCES.
3582 Reported by Erez Zadok.
3584 1999-04-19 Tom Tromey <tromey@cygnus.com>
3586 * automake.in: Treat `.class' files as Java source.
3587 (lang_java_finish): Handle `.class' files.
3589 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
3591 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
3593 * m4/lispdir.m4: Do not override lispdir if it's already defined.
3594 Run some emacs-lisp to find out the site-lisp directory, but
3595 relocate it into prefix.
3597 1999-04-17 Paul Eggert <eggert@twinsun.com>
3599 * m4/mktime.m4 (bigtime_test, main): Move alarm from
3600 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
3601 even outside of bigtime_test. Use a time limit of 60 seconds
3602 for the whole test, not 10 seconds per iteration.
3604 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
3606 * automake.in: Create stamps for headers in appropriate
3607 directories, even if the input file lives in a different place.
3608 * remake-hdr.am: Likewise.
3610 1999-04-16 Tom Tromey <tromey@cygnus.com>
3613 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
3614 Invoke `sed' only once per program.
3615 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
3616 Invoke `sed' only once per program.
3618 1999-04-13 Tom Tromey <tromey@cygnus.com>
3620 * automake.in (handle_subdirs): Make `install-recursive' phony.
3621 From Michel de Ruiter.
3623 * automake.in (handle_ltlibraries): Added missing `check'.
3625 1999-04-12 Tom Tromey <tromey@cygnus.com>
3627 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
3630 1999-04-11 Tom Tromey <tromey@cygnus.com>
3632 * automake.in (handle_dist): Use AMTAR.
3633 (initialize_global_constants): Likewise.
3634 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
3636 * automake.in (lang_sub_obj): New function.
3637 (lang_cxx_rewrite): Use it.
3638 (lang_asm_rewrite): Likewise.
3639 (lang_objc_rewrite): Likewise.
3640 (lang_cxx_finish): Add `-o $@' to all C++ rules.
3641 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
3642 (lang_objc_finish): Add `-o $@' to all ObjC rules.
3643 (lang_java_finish): Likewise.
3645 * automake.in: Only register `asm' once.
3646 (lang_asm_finish): Put assembly suffixes on @suffixes.
3648 * libtool.am (.s.lo): Removed.
3650 * automake.in (lang_asm_finish): Handle libtool.
3652 * libtool.am (.c.o): Always pass -c to libtool.
3654 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
3655 (lang_yaccxx_rewrite): Likewise.
3656 (lang_lex_rewrite): Likewise.
3657 (lang_lexxx_rewrite): Likewise.
3659 Assembly code no longer included by default:
3660 * compile.am (.s.o): Removed.
3662 * automake.in: Register `asm' language.
3663 (lang_asm_finish): Generate suffix rules for assembly.
3664 (get_object_extension): Don't add `.s' or `.S' to suffix list.
3666 * automake.in (get_object_extension): Substitute @MINUSO@ when
3667 including compile.am.
3668 * compile.am (.c.o): Added @MINUSO@.
3671 First cut at allowing objects in subdirectories:
3672 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
3673 * Makefile.am (dist_script_DATA): Added compile.
3674 * m4/minuso.m4: New file.
3675 * automake.in (initialize_global_constants): Added compile to
3677 (seen_cc_c_o): New global.
3678 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
3679 (handle_options): Recognize `subdir-objects' option.
3680 (lang_c_rewrite): Added directory argument.
3681 (lang_yacc_rewrite): Likewise.
3682 (lang_yaccxx_rewrite): Likewise.
3683 (lang_lex_rewrite): Likewise.
3684 (lang_lexxx_rewrite): Likewise.
3685 (handle_single_transform_list): Pass directory to _rewrite
3686 function. Generate dependencies for dirstamp files for each .o;
3687 it is just the rules we want to create once.
3688 (lang_c_rewrite): Handle `subdir-objects' option.
3689 (lang_c_rewrite): Require `compile' program.
3690 * compile: New file.
3692 * automake.in (initialize_per_input): Initialize %directory_map.
3693 (handle_single_transform_list): Only create .dirstamp rules once
3696 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
3699 * automake.in (configure_input_files): New global.
3700 (scan_configure): Set it.
3701 (handle_configure): Use configure_input_files when determining
3702 which subdirs have a Makefile.am. Fixes confh.test.
3703 (handle_configure): Only recognize acconfig.h in top srcdir.
3705 1999-04-10 Tom Tromey <tromey@cygnus.com>
3707 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
3710 * automake.in (am_install_var): Remove redundancies from the
3711 result. Fixes test cond8.test.
3713 * automake.in (handle_single_transform_list): Handle dependency
3714 tracking when files are created in subdirs. Error if object in
3715 subdir has `..' component.
3717 * automake.in (initialize_global_constants): Use $(TAR), not tar.
3719 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
3721 * automake.in (lang_yacc_finish): Added missing `&'.
3723 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3725 * automake.in (handle_configure): Replace multiple occurrences of
3726 @STAMP@ in the same line; completes the patch for remake-hdr.am
3729 * automake.in (handle_dependencies): Fix test for `autodep'
3732 * automake.in (handle_source_transform): Add a pfx to used_pfx
3733 only if it's conditional or non-empty, to reduce the number of
3734 empty variables. Emit _OBJECS variable based on program name if
3735 no SOURCES were explicitly specified.
3737 * remake-hdr.am: Create the stamp file before the header file,
3738 and just rename it after, so that the timestamps will be correct.
3739 Reported by Marc Horowitz <marc@mit.edu>
3741 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
3742 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
3743 Reported by Jim Meyering <meyering@ascend.com>
3745 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
3747 1999-04-10 Tom Tromey <tromey@cygnus.com>
3749 * Makefile.am (EXTRA_DIST): New macro.
3750 * ChangeLog.1996, ChangeLog.1998: New files.
3752 1999-04-09 Tom Tromey <tromey@cygnus.com>
3754 * automake.in (handle_source_transform): Handle dist and nodist
3756 (initialize_per_input): Initialize dist_sources.
3757 (check_libobjs_sources): Handle dist and nodist prefixes.
3758 (generate_makefile): Define DIST_SOURCES.
3759 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
3761 * automake.texi (Macros): Mention AM_PROG_GCJ.
3762 (Java Support): New node.
3763 (Dist): Documented dist_ and nodist_ prefixes.
3765 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
3767 * automake.in (lang_java_finish): Generate .lo rule for `.java'
3768 files, not `.gcj' files.
3770 * m4/gcj.m4: New file.
3771 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
3773 * automake.in: Register the `java' language.
3774 (resolve_linker): Handle GCJLINK.
3775 (lang_java_rewrite): New function.
3776 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
3777 (lang_c_rewrite): Use new constants.
3778 (lang_cxx_rewrite): Likewise.
3779 (lang_header_rewrite): Likewise.
3780 (lang_yacc_rewrite): Likewise.
3781 (lang_yaccxx_rewrite): Likewise.
3782 (lang_lex_rewrite): Likewise.
3783 (lang_lexxx_rewrite): Likewise.
3784 (lang_asm_rewrite): Likewise.
3785 (lang_f77_rewrite): Likewise.
3786 (lang_ppf77_rewrite): Likewise.
3787 (lang_ratfor_rewrite): Likewise.
3788 (lang_objc_rewrite): Likewise.
3789 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
3790 return from rewrite function.
3791 (lang_java_finish): New function.
3792 (register_language): Changed interface and all calls. Added
3793 `autodep' settings to various languages.
3794 (handle_dependencies): Use `autodep' property of language when
3795 including dependency-tracking code.
3797 1999-04-07 Tom Tromey <tromey@cygnus.com>
3799 * automake.in (handle_texinfo): Indentation fixes.
3801 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3803 * automake.in (value_to_list): Skip *only* trailing backslashes.
3805 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
3807 * automake.in (value_to_list): Skip trailing backslashes.
3809 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
3811 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
3813 Reported by Per Cederqvist <ceder@lysator.liu.se>
3814 (handle_texinfo): Do not define texinfo_tex='.', use
3815 '$(srcdir)/texinfo.tex' instead; the directory name will be
3817 (require_conf_file_with_line): Fixed typo.
3819 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
3821 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
3822 we do not depend on PATH starting with `.'.
3824 1999-03-31 Tom Tromey <tromey@cygnus.com>
3826 * automake.in (quote_cond_val): Quote \n.
3827 (unquote_cond_val): Unquote \n.
3828 (read_am_file): If line ends with `\', preserve it and add a
3830 (read_main_am_file): In conditional case, put conditional text at
3831 beginning of each generated line.
3833 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
3835 * automake.in (handle_tests): support XFAIL_TEST
3836 * automake.texi: document it
3838 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3840 * End of merge from trunk.
3842 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
3844 * automake.in (cmdline_use_dependencies): Reintroduce it.
3845 (--ignore-deps): Set cmdline_use_dependencies again.
3846 (handle_dependencies): If use_dependencies is not set, define
3848 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
3849 (scan_configure): Do not require depcomp when ignoring
3851 (initialize_global_constants): Reintroduce --ignore-deps.
3853 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
3855 * depcomp: New file.
3856 * Makefile.am (dist_script_DATA): Added depcomp.
3857 * automake.in (cmdline_use_dependencies, omit_dependencies,
3858 dependency_macros): Removed.
3859 (--ignore-deps): Just ignore.
3860 (handle_single_transform_list, dep_files): Named dependency files
3861 as \$(DEPDIR)/$base.P$obj
3862 (handle_lib_objects_cond): Likewise.
3863 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
3864 (scan_one_configure_file): Likewise.
3865 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
3866 Ignore OMIT_DEPENDENCIES.
3867 (handle_configure): Do not pass --ignore-deps.
3868 (scan_configure): Require `depcomp'.
3869 (initialize_global_constants): Make `depcomp' common. Remove
3870 `--ignore-deps' from usage.
3871 (get_object_extension): No more NOTDEPEND in compile nor libtool.
3872 * compile.am: Remove rules for .c.o and .c.obj
3873 * depend.am (distclean-depend): Wipe out $(DEPDIR)
3874 * depend2.am (@FPFX@DEPMODE): Define from config.status.
3875 Use it and depcomp in suffix rules.
3876 * libtool.m4: Likewise.
3877 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
3878 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
3879 * m4/Makefile.am (dist_m4data_DATA): Likewise.
3880 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
3881 from the Makefile and subst it in deps. Report creation of deps
3882 files (for now). Replace $U with `_' and the empty string. Write
3883 a comment to each created file.
3884 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
3885 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
3886 dependency mode and AC_SUBST [$1]DEPMODE.
3887 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
3888 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
3889 appears in configure.in, before or after AM_INIT_AUTOMAKE.
3891 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
3893 * depout.m4: Fix sed expression for extracting `dirpart'.
3895 1999-03-29 Tom Tromey <tromey@cygnus.com>
3897 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
3899 * compile.am (.c.obj): Also disabled when dependency tracking
3901 * depend2.am (@EXT@.obj): New target.
3902 * automake.in (get_object_extension): Added explanatory comment.
3903 (generate_dependency_code): Handle $seen_objext.
3905 * depend.am: Removed obsolete comment.
3906 * depend2.am: Minor formatting fix.
3908 1999-03-28 Tom Tromey <tromey@cygnus.com>
3910 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
3912 (EXTRA_DIST): Removed.
3913 * automake.in (dependency_macros): New global.
3914 (scan_one_configure_file): Recognize new dependency tracking
3915 macros, and define new resulting configure variables.
3916 (generate_dependency_code): New sub.
3917 (handle_dependencies): Use it.
3918 * depend2.am (DEP_@FPFX@COMPILE): New macro.
3920 (@EXT@.lo): Likewise.
3921 * m4/depvars.m4: New file.
3922 * m4/objcdepend.m4: New file.
3923 * m4/cxxdepend.m4: New file.
3924 * m4/init.m4: Moved dependency handling code into depout.m4.
3925 * m4/depout.m4: New file.
3926 * m4/ccdepend.m4: New file.
3927 * m4/depend.m4: New file.
3929 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
3930 (@EXT@.lo): Likewise.
3931 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
3934 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
3935 will create the required .P files for dependency tracking.
3936 * automake.in (scan_dependency_file): Removed.
3937 (handle_dependencies): Never call scan_dependency_file.
3938 (generate_deps): Removed.
3939 (parse_arguments): Don't recognize --generate-deps, --build-dir,
3940 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
3941 (srcdir_name): Removed.
3942 (build_directory): Removed.
3943 (initialize_global_constants): Changed $USAGE to reflect argument
3945 (handle_dist_worker): Never run automake in `dist' rule.
3946 (handle_configure): Use --ignore-deps, not --include-deps.
3947 * depend.am (DEPS_MAGIC): Removed.
3948 (DEP_FILES): Unconditionally include.
3950 1999-03-27 Tom Tromey <tromey@cygnus.com>
3952 * automake.in (saw_sources_p): Correctly count header extensions
3954 (handle_headers): Fixed order of arguments to am_install_var.
3956 * automake.in (am_install_var): Don't error if EXTRA_foo is
3959 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
3960 (uninstall-@DIR@SCRIPTS): Likewise.
3961 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
3962 (uninstall-@DIR@PROGRAMS): Likewise.
3963 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
3964 (uninstall-@DIR@LTLIBRARIES): Likewise.
3965 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
3966 (uninstall-@DIR@LISP): Likewise.
3967 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
3968 (uninstall-@DIR@LIBRARIES): Likewise.
3969 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
3970 (uninstall-@DIR@JAVA): Likewise.
3971 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
3972 (uninstall-@DIR@HEADERS): Likewise.
3973 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
3974 (uninstall-@DIR@DATA): Likewise.
3975 * Makefile.in: Rebuilt.
3976 * Makefile.am (dist_pkgdata_DATA): Renamed.
3977 (EXTRA_DIST): Removed.
3978 (install-data-hook): Added POST_INSTALL; print commands as they
3979 are run; respect DESTDIR.
3980 * dist-vars.am (DISTFILES): Removed $(HEADERS).
3981 * automake.in (am_install_var): Accept `-candist' and
3982 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
3983 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
3984 and `nodist_' prefixes.
3985 (handle_scripts): Pass -candist to am_install_var.
3986 (handle_data): Pass -defaultdist to am_install_var.
3987 (handle_headers): Likewise.
3988 (handle_emacs_lisp): Pass -candist to am_install_var.
3989 (handle_java): Pass -candist to am_install_var.
3991 1999-03-26 Tom Tromey <tromey@cygnus.com>
3993 * m4/init.m4: Fixed typo when invoking SHELL.
3995 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
3996 yacc header file. From Ralf Corsepius.
3998 * Makefile.in: Rebuilt.
3999 * Makefile.am: Updated to reflect removal of TAR subst.
4000 * automake.texi (Options): Document dist-bzip2.
4001 * automake.in (TAR): Removed global.
4002 (initialize_global_constants): Changed `dist' to use pipe with
4003 gzip; work with non-GNU tar.
4004 (handle_dist): Handle non-GNU tar. Don't define TAR.
4005 (initialize_global_constants): Added `dist-bzip2' entry.
4006 (handle_options): Recognize dist-bzip2 option.
4007 (handle_dist): Likewise.
4008 * configure: Rebuilt.
4009 * configure.in: Don't check for tar.
4010 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
4013 * automake.in (am_install_var): Removed obsolete comment.
4015 * texinfos.am (uninstall-info): Don't print loop but instead print
4016 commands. Simplified pre-uninstall loop.
4017 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
4018 instead print commands.
4019 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
4021 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
4022 instead print commands.
4023 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
4024 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
4025 instead print commands.
4026 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
4028 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
4030 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
4031 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
4032 instead print commands.
4033 * data.am (install-@DIR@DATA): Strip subdir from file name.
4034 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
4035 instead print commands.
4037 * automake.in (handle_merge_targets): `install-strip' is a phony
4038 target. From Michel de Ruiter.
4040 1999-03-25 Tom Tromey <tromey@cygnus.com>
4042 * automake.in (define_compiler_variable): Don't define variable
4045 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
4047 * automake.in (LDADD): accept -dlopen and -dlpreopen here
4048 * automake.texi: ditto
4050 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
4052 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
4053 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
4055 1999-03-24 Tom Tromey <tromey@cygnus.com>
4057 * automake.in (define_compiler_variable): New sub.
4058 (finish_languages): Use it.
4059 (lang_cxx_finish): Likewise.
4060 (lang_f77_finish): Likewise.
4061 (lang_ppf77_finish): Likewise.
4062 (lang_ratfor_finish): Likewise.
4063 (lang_objc_finish): Likewise.
4065 1999-03-23 Tom Tromey <tromey@cygnus.com>
4067 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
4068 sed invocations. From Elrond.
4069 (uninstall-@DIR@PROGRAMS): Likewise.
4071 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
4072 From Ralf Corsepius.
4074 1999-02-01 Thomas Tanner <tanner@gmx.de>
4076 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
4077 warning when AM_PROG_LIBTOOL was found
4078 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
4080 1999-03-22 Tom Tromey <tromey@cygnus.com>
4082 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
4083 * automake.in (define_standard_variables): New sub.
4084 (read_main_am_file): Use two passes to scan standard variables.
4085 (read_am_file): Don't special-case configure variables with `+='.
4086 (initialize_per_input): Initialize %var_was_plus_eq.
4087 (read_am_file): Set var_was_plus_eq element correctly.
4088 (define_variable): Give error if variable assigned with `+=' is
4090 (initialize_per_input): Initialize %am_var_defs.
4091 (file_contents_with_transform): Set element in %am_var_defs.
4092 (read_am_file): Use %am_var_defs.
4094 1999-03-21 Tom Tromey <tromey@cygnus.com>
4096 * automake.in (initialize_per_input): Initialize %object_map.
4097 (handle_single_transform_list): Allow source files in
4100 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
4102 * automake.in (handle_dist): Add missing newline after the first
4105 1999-03-11 Tom Tromey <tromey@cygnus.com>
4107 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
4108 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
4111 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
4113 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
4114 legitimate ending. Fixes libobj9.test.
4116 From Ralf Corsepius. Fixes lex3.test.
4117 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
4118 maintainer-clean list.
4119 (lang_lex_finish): Likewise.
4121 1999-03-02 Tom Tromey <tromey@cygnus.com>
4123 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
4124 construct to work around FreeBSD make/sh problem. From Rich Wales.
4126 1999-03-01 Tom Tromey <tromey@cygnus.com>
4128 Fixes from Pavel Roskin:
4129 * automake.in (variable_conditions_sub): Sort list passed to
4130 variable_conditions_permutations.
4131 (variable_conditions): Sort list before returning.
4133 1999-02-27 Tom Tromey <tromey@cygnus.com>
4135 * automake.in (lang_extensions): New sub.
4136 (handle_dependencies): Use it.
4137 (cxx_extensions): Removed.
4138 (lang_cxx_finish): Use lang_extensions.
4139 (f77_extensions): Removed.
4140 (lang_f77_finish): Use lang_extensions.
4141 (objc_extensions): Removed.
4142 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
4143 Report from Dave Morrison.
4144 (lang_ratfor_finish): Likewise.
4146 1999-02-26 Tom Tromey <tromey@cygnus.com>
4148 * automake.in (finish_languages): Added AM_LDFLAGS.
4149 (lang_cxx_finish): Likewise.
4150 (lang_f77_finish): Likewise.
4151 (lang_ppf77_finish): Likewise.
4152 (lang_ratfor_finish): Likewise.
4153 (lang_objc_finish): Likewise.
4155 1999-02-11 Tom Tromey <tromey@cygnus.com>
4157 * aclocal.in (obsolete_macros): Copied from automake.in.
4158 (obsolete_rx): Use only keys of obsolete_macros.
4159 (scan_configure): Report replacement macro for an obsolete macro.
4160 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
4162 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
4163 entry. Fixes obsolete2.test.
4165 * automake.in (obsolete_macros): Use empty string to indicate no
4167 (scan_one_configure_file): Likewise.
4169 1999-02-07 Paul Eggert <eggert@twinsun.com>
4171 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
4172 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
4173 needed by some programs.
4175 1999-02-10 Tom Tromey <tromey@cygnus.com>
4177 * automake.in (handle_texinfo): Added `pgs' to list of
4178 extensions. From NISHIDA Keisuke.
4180 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
4182 * automake.in (handle_texinfo): remove texinfo.tex from
4185 1999-02-02 Tom Tromey <tromey@cygnus.com>
4187 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
4188 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
4189 * header-vars.am (INSTALL_PROGRAM): Removed
4190 AM_INSTALL_PROGRAM_FLAGS.
4191 (INSTALL_STRIP_FLAG): New macro.
4193 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
4195 (lang_yacc_finish): Likewise.
4196 (lang_lex_finish): Likewise.
4198 1999-02-01 Tom Tromey <tromey@cygnus.com>
4200 * automake.in (handle_dist_worker): Correctly find find in $$d,
4201 not $$. From Bill Davidson.
4203 * automake.in (finish_languages): Use "&", not "do". From Pavel
4205 (handle_single_transform_list): Likewise.
4207 1999-01-29 Tom Tromey <tromey@cygnus.com>
4209 * automake.in (handle_configure): Removed unused variable. From
4212 * ansi2knr.c: New version from L. Peter Deutsch.
4214 1999-01-22 Tom Tromey <tromey@cygnus.com>
4216 * automake.in (require_file_internal): Correctly examine return
4217 value of `system'. From Andris Pavenis. Fixes copy.test.
4219 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
4221 * automake.in (lang_ppf77_rewrite): New function. From Jochen
4222 Kuepper. Fixes ppf77.test.
4223 (lang_ratfor_rewrite): New function
4225 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
4226 fix). From Erez Zadok.
4228 1999-01-15 Tom Tromey <tromey@cygnus.com>
4230 * configure.in: Version 1.4a (oops).
4232 * configure.in: Updated version to 1.5a.
4234 1999-01-14 Tom Tromey <tromey@cygnus.com>
4236 * automake.in (handle_configure): Compute $header_dir based on
4237 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
4239 (handle_configure): Compute relative path to input header
4240 correctly in all cases.
4242 * automake.in (handle_tests): Avoid error messages from dejagnu
4243 test rules. From Karl Heuer.
4245 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
4247 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
4249 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
4250 From Alexandre Oliva and Erez Zadok.
4252 * automake.in (create): Renamed from touch.
4253 (handle_configure): Use create, not touch.
4255 * config.sub, config.guess: New versions from autoconf.
4257 * mkinstalldirs: New version from autoconf.
4259 1999-01-12 Tom Tromey <tromey@cygnus.com>
4261 * config.sub, config.guess, COPYING, texinfo.tex: New versions
4264 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
4266 * automake.in (PATH_PATTERN): New variable:
4267 (INCLUDE_PATTERN): Use it. Ignore all include commands using
4268 symbols besides $(top_srcdir) and $(srcdir).
4270 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
4272 * automake.in (handle_dist_worker): avoid failure in `make dist'
4273 if last file is a builddir-only file
4275 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
4277 * missing (autoheader): `s' was missing from sed script; grr
4279 1999-01-11 Tom Tromey <tromey@cygnus.com>
4281 * remake-hdr.am (@STAMP@): Reverted timestamp change.
4282 ($(srcdir)/@STAMP@.in): Likewise.
4284 1999-01-10 Tom Tromey <tromey@cygnus.com>
4286 * Makefile.am (scriptdir): New macro.
4287 (script_DATA): Likewise.
4288 (install-data-hook): Use them.
4289 (EXTRA_DIST): Added script_DATA.
4290 (installcheck-local): Use script_DATA.
4292 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
4294 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
4296 * missing (autoheader): accept multiple header files
4297 (automake): simplify sed processing
4299 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
4301 * automake.in (handle_configure, stamp_dir): create only one stamp
4302 file per header, instead of one in the top-level directory and one
4303 in the directory that contains the header.
4305 1999-01-10 Tom Tromey <tromey@cygnus.com>
4307 * automake.in (lang_objc_finish): Formatting fix.
4309 * automake.in (objc_extensions): New sub.
4310 (handle_dependencies): Only generate dependency-tracking code for
4311 ObjC when ObjC source seen.