1 2001-07-03 Tom Tromey <tromey@redhat.com>
3 * configure.in: Released 1.4h.
5 * lib/config.guess, lib/config.sub: Updated.
7 2001-07-02 Tom Tromey <tromey@redhat.com>
10 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
11 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
12 * automake.in (generate_makefile): Call handle_libtool
14 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
16 * tests/libtool2.test: Look for `.lo' files to be removed.
18 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
20 * tests/Makefile.am (TESTS): Removed dup.test.
21 * tests/dup.test: Removed.
22 * aclocal.in (scan_file): Don't give error for duplicate macro.
24 2001-07-01 Tom Tromey <tromey@redhat.com>
26 * automake.texi (Program and Library Variables): Document
27 subdir-objects. Document fact that per-object flags override AM_
30 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
31 (Multilibs): New node.
32 (Macros): Documented missing macros.
33 (Auxiliary Programs): New node.
35 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
36 mode, then simply fail.
38 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
40 * lib/ylwrap: Improve support for DOS paths (and paths
41 containing backslashes in general).
43 2001-07-01 Tom Tromey <tromey@redhat.com>
45 * lib/missing: Added special exception to license.
48 * lib/missing: Updated. Added comment explaining configure.ac
51 * lib/depcomp: Reorder arguments to gcc3.
52 From Per Oyvind Hvidsten.
54 * tests/Makefile.am (TESTS): Added libtool2.test.
55 * tests/libtool2.test: New file.
57 * automake.texi (Program and Library Variables): Added example for
60 2001-06-29 Tom Tromey <tromey@redhat.com>
62 * tests/cond11.test: Use `=', not `=='.
63 * tests/cond12.test: Look for automake in build directory, not
66 2001-06-29 Richard Boulton <richard@tartarus.org>
68 * automake.in (conditionals_true_when): Pass first parameters by
69 reference, avoiding bug which put all parameters in @CONDS instead
70 of @WHENS. Report by Kalle Olavi Niemitalo.
71 Take a single WHEN instead of an array of WHENS.
72 Remove FIXME; can't now have an empty @WHENS.
73 (conditional_is_redundant): New sub.
74 (variable_conditions_reduce): Check whether each condition is
75 implied by any of the other conditions (other those already
76 discarded), rather than checking only against those already
77 considered (and kept). Also, fix sense of check: was keeping
78 tautologous terms instead of discarding them. Use
79 conditional_is_redundant instead of conditionals_true_when.
80 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
81 * tests/cond11.test: New file.
82 * tests/cond12.test: New file.
84 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
86 * automake.in (saw_sources_p): Work even if there are more
87 than one header files, and more than of one type of header.
88 * tests/Makefile.am (TESTS): Added new file.
89 * tests/depend4.test: New file.
91 2001-06-28 Tom Tromey <tromey@redhat.com>
93 * lib/am/libs.am (RANLIB): Don't define.
95 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
97 * automake.in (am_install_var): Assign 1 to $first on
100 2001-06-23 Tom Tromey <tromey@redhat.com>
103 * lib/ylwrap: Changed usage.
104 * lib/am/yacc.am: Rewrote to use new substitutions.
105 * lib/am/lex.am: Likewise.
106 * automake.in (handle_languages): Skip files whose language
107 doesn't have a compiler. Handle `define_flag' attribute.
108 Changed '$' to "\$" to aid Emacs fontification.
109 (struct): Added `rule_file'. Removed `derived_autodep'. Added
110 `_target_hook' and `define_flag'.
111 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
112 and `compiler' attributes. Removed `linker', `derived_autodep',
113 and `ansi' attributes. Added `define_flag'.
114 (yacc, yaccxx): Added `_target_hook'.
115 (saw_extension): Count number of times extension seen.
116 (count_files_for_language): New sub.
117 (saw_sources_p): Use it.
118 (handle_single_transform_list): Allow language rewrite function
119 to return a new source extension. Call target_hook.
120 (yacc_sources, lex_sources): Removed.
121 (initialize_per_input): Don't initialize yacc_sources or
123 (lang_yacc_rewrite): Rewrote.
124 (lang_yaccxx_rewrite): Likewise.
125 (lang_lex_rewrite): Likewise.
126 (lang_lexxx_rewrite): Likewise.
127 (output_yacc_build_rule): Removed.
128 (output_lex_build_rule): Removed.
129 (lang_yacc_finish): Removed build rule generation.
130 (lang_lex_finish): Likewise.
131 (DASH_D_PATTERN): New global.
132 (lang_yacc_target_hook): New function.
133 (_target_hook): New function.
134 (register_language): Default `define_flag'.
135 * tests/yacc5.test: Updated test.
136 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
137 * tests/yacc3.test: Remove bogus `make' invocation. Added test
138 for all YFLAGS variables.
140 2001-06-20 Tom Tromey <tromey@redhat.com>
142 * tests/yacc5.test: Check for per-executable YFLAGS.
144 2001-06-19 Tom Tromey <tromey@redhat.com>
146 * tests/Makefile.am (TESTS): Added yacc5.test.
147 * tests/yacc5.test: New file.
149 2001-06-17 Tom Tromey <tromey@redhat.com>
151 * automake.in (require_file_internal): Check for already-required
152 file after searching for it, and only if it is not found. Don't
153 use `readlink' when checking for dangling symlink. Work if
154 --force-missing specified.
155 * tests/acoutput2.test: Also test --force-missing.
157 Fix for libtool.test:
158 * automake.in (generate_makefile): Call handle_libtool.
159 (handle_libtool): New sub.
160 (handle_compile): Don't read `libtool' file.
162 * tests/acoutput2.test: New file.
163 * tests/Makefile.am (TESTS): Added acoutput2.test.
165 2001-06-15 Tom Tromey <tromey@redhat.com>
167 * tests/Makefile.am (TESTS): Added libtool.test.
168 * tests/libtool.test: New file.
170 2001-06-14 Tom Tromey <tromey@redhat.com>
172 Fix some lisp bugs reported by Bruno Haible:
173 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
175 (install-%DIR%LISP): Handle case where lispdir is not defined.
176 (uninstall-%DIR%LISP): Likewise.
177 (.el.elc): Added `else' clause.
179 Fix for bug reported by Steve M. Robbins:
180 * automake.in (handle_single_transform_list): When building a file
181 from a subdirectory, continue to use `AM_' prefix.
182 * tests/Makefile.am (TESTS): Added subobj7.test.
183 * tests/subobj7.test: New file.
185 * lib/am/configure.am ($(top_builddir)/config.status): Added
186 $(top_builddir) prefix to work around problems with some vendor
187 makes. From Nicholas Joly.
189 * automake.in (yacc_lex_finish_helper): Find ylwrap in
190 top_srcdir. From Tim Van Holder.
191 * tests/Makefile.am (TESTS): Added yacc6.test.
192 * tests/yacc6.test: New file.
194 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
196 * tests/defs, tests/installsh.test: Properly support
199 2001-06-14 Tom Tromey <tromey@redhat.com>
201 * tests/Makefile.am (TESTS): Added mdate4.test.
202 * tests/mdate4.test: New file.
204 * aclocal.in (scan_m4_files): Removed unused variable.
206 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
208 * aclocal.in (scan_m4_files): Tweak the building of &search so
209 that multiple macro names can be found on the same line. Ensure
210 we match whole macro name, not only substrings.
212 2001-06-12 Tom Tromey <tromey@redhat.com>
214 * automake.texi (ANSI): Minor clarification.
215 (Other GNU Tools): Don't mention Guile.
217 (Java Support): Mention file extensions.
218 (Man pages): Mention dist_. Don't mention info pages.
220 2001-06-11 Tom Tromey <tromey@redhat.com>
222 * automake.texi (Program variables): Document AM_CPPFLAGS.
224 (Java Support): Document AM_GCJFLAGS.
225 (Support for Other Languages): Removed `fixme'; added link to
226 suffix rule handling.
228 * automake.texi (Program and Library Variables): Document _LIBADD,
229 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
231 2001-06-11 Kevin Dalley <kevind@rahul.net>
233 * missing: Support configure.ac.
235 2001-06-08 Tom Tromey <tromey@redhat.com>
237 * tests/version4.test: New file.
238 * automake.in (version_check): New sub.
239 (handle_options): Use it.
240 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
241 (TESTS): Added version4.test.
242 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
243 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
245 2001-06-04 Kevin Dalley <kevind@rahul.net>
247 * lib/am/dejagnu.am (site.exp): Fix typo.
249 2001-06-02 Tom Tromey <tromey@redhat.com>
251 * automake.in (variable_conditions_sub): Move parent-only code
253 (variable_conditions): ... to here.
254 (variable_conditions_sub): Include this variable's conditions in
255 the resulting condition list.
256 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
258 2001-06-01 Tom Tromey <tromey@redhat.com>
260 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
262 * tests/ltdeps.test: New file. Report from Lars J. Aas.
264 2001-05-31 Tom Tromey <tromey@redhat.com>
266 * automake.texi (Alternative): New node.
267 (Macros): Use new name for gcc.
268 (Java Support): Likewise.
269 (Dependencies): Rewrote.
270 (Invoking Automake): (Re-)document -i, --ignore-deps, and
273 * automake.texi (Top level): Removed erroneous spaces. Documented
276 2001-05-29 Tom Tromey <tromey@redhat.com>
278 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
280 * automake.texi (Include): Rewrote.
281 (Suffixes): Remove Java example.
282 (Java): Added more explanation. Document variables.
283 (Uniform): Mention JAVA as a primary.
284 (Python): Updated for new Python support.
285 (Sources): Added a weak example.
287 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
289 * automake.texi (A Program): Mention `check' prefix.
290 (Program and Library Variables): New node.
291 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
293 (etags): Mention per-program flags.
294 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
297 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
300 2001-05-28 Tom Tromey <tromey@redhat.com>
302 * m4/Makefile.am (MAINT_CHARSET): Removed.
303 * Makefile.am (MAINT_CHARSET): Removed.
304 * automake.in (maint_charset, dist_charset): Removed.
305 (local_maint_charset): Removed.
306 (initialize_per_input): Don't use maint_charset.
307 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
309 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
311 (.%SUFFIX%.dvi): Likewise.
312 (.%SUFFIX%): Likewise.
314 2001-05-27 Tom Tromey <tromey@redhat.com>
316 * automake.in (handle_multilib): Only add multilib support code at
318 * lib/am/multilib.am: Handle invocation of *-multi targets
319 differently for SUBDIRS and non-SUBDIRS Makefiles.
320 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
321 Only add multilib code when the Makefile in question is actually
324 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
326 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
328 * automake.in (handle_single_transform_list): Skip unknown
331 2001-05-25 Tom Tromey <tromey@redhat.com>
333 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
335 2001-05-24 Tom Tromey <tromey@redhat.com>
337 * automake.in (handle_texinfo_helper): Find mdate-sh in current
338 directory in some situations.
340 * automake.in (generate_makefile): Better explanation for ansi2knr
343 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
345 * automake.in (handle_languages): Skip unknown extensions.
346 (derive_suffix): Check whether $extension_map{$source_ext}
347 is undefined, not empty.
349 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
351 * automake.in (read_am_file): Ignore trailing backslash on
354 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
356 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
358 2001-05-21 Akim Demaille <akim@epita.fr>
360 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
361 multiple times'' warning.
363 2001-05-20 Tom Tromey <tromey@redhat.com>
365 * configure.in: Updated to 1.4g.
367 * configure.in: Updated to 1.4f.
369 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
371 * lib/ansi2knr.c: New version.
373 * Makefile.am (FETCHFILES): Added ansi2knr.c.
376 2001-05-19 Tom Tromey <tromey@redhat.com>
378 * config.guess, config.sub: New versions from FSF.
380 * Makefile.am (fetch): Compare against files in srcdir.
382 For for ansi2knr report from Harlan Stenn:
383 * automake.in (generate_makefile): Run handle_compile before
386 2001-05-18 Tom Tromey <tromey@redhat.com>
388 * automake.in: Reverted erroneous checkin.
390 2001-05-18 Akim Demaille <akim@epita.fr>
392 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
393 to missing `install-info'.
395 2001-05-17 Tom Tromey <tromey@redhat.com>
397 * automake.in (lang_c_finish): Use `rm -f'.
399 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
400 * tests/Makefile.am (TESTS): Added new file.
401 * tests/ansi5.test: New file.
403 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
405 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
407 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
408 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
409 * automake.texi (Requirements): Document the use of the STRIP
410 variable in cross-compilation environments.
412 2001-05-17 Tom Tromey <tromey@redhat.com>
414 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
415 to no dependency tracking.
416 * tests/Makefile.am (TESTS): Added depcomp2.test.
417 * tests/depcomp2.test: New file. From Pavel Roskin.
419 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
421 * lib/depcomp (tru64): New dependency tracking mode.
423 Fix for PR automake/159:
424 * lib/depcomp (aix): Rewrote.
427 Fix for PR automake/174:
428 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
429 * automake.in (read_am_file): Warn if `#' is at start of rule.
431 2001-05-16 Tom Tromey <tromey@redhat.com>
434 * tests/Makefile.am (TESTS): Added comment3.test.
435 (XFAIL_TESTS): Likewise.
436 * tests/comment3.test: New file.
438 Fix for PR automake/175:
439 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
440 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
441 `Leaving directory' messages.
444 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
445 * tests/make.test: Run test with `make -w'.
447 * tests/Makefile.am (TESTS): Removed maintclean.test.
448 * lib/am/clean.am (maintainer-clean-generic): Don't remove
450 * lib/am/configure.am (maintainer-clean-am): Removed.
451 (maintainer-clean-conf): Removed.
452 * tests/maintclean.test: Removed.
454 2001-05-15 Tom Tromey <tromey@redhat.com>
456 Fix for PR automake/177:
457 * Makefile.am (maintainer-clean): Set perllibdir before invoking
460 Fix for maintclean.test:
461 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
462 * lib/am/clean.am (distclean-generic): Don't remove config.cache
464 (distclean, maintainer-clean): Moved to...
465 * lib/am/configure.am: ... here.
466 (distclean): Remove config.cache and config.log.
467 (maintainer-clean): Removed.
468 (maintainer-clean-conf): New target.
469 (maintainer-clean-am): New target.
471 * tests/Makefile.am (TESTS): Added maintclean.test.
472 (XFAIL_TESTS): Likewise.
473 * tests/maintclean.test: New file.
475 Fixes PR automake/175:
476 * tests/target-cflags.test: Use $needs_gnu_make.
477 * tests/exsource.test: Use $needs_gnu_make.
478 * tests/make.test: Require GNU make.
479 * tests/defs (needs_gnu_make): Compute.
481 2001-05-14 Tom Tromey <tromey@redhat.com>
483 * lib/ylwrap: Fixed quoting on regular expression. Fixes
486 Fix for texinfo10.test.
487 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
488 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
489 * automake.in (handle_texinfo_helper): New sub.
490 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
491 * tests/texinfo10.test: Added more cases.
493 Fix for yaccvpath.test:
494 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
495 * lib/am/distdir.am (distdir): Always look for file in build
497 * lib/ylwrap: Quote the `#line' regular expression.
498 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
499 change; don't run sed on the generated file.
500 * tests/yaccvpath.test: Create new parser in srcdir. Added test
501 to make sure parser will be rebuilt at dist time.
503 2001-05-13 Pavel Roskin <proski@gnu.org>
505 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
507 * automake.texi (General Operation): Document it.
509 2001-05-13 Tom Tromey <tromey@redhat.com>
511 Reported by Rainer Orth:
512 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
514 * tests/Makefile.am (TESTS): Added distname.test.
515 * tests/distname.test: New file.
517 * Makefile.am (dist_pkgdata_DATA): Removed.
519 * tests/defs: Find files to copy in lib/.
520 * automake.in (perllibdir): Set to Automake directory.
521 * ansi2knr.c, ansi2knr.1: Removed.
522 * Makefile.am (dist_am_DATA): Removed.
524 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
526 (scriptdir): Removed.
527 (dist_script_DATA): Likewise.
528 (install-data-hook): Likewise.
529 (installcheck-local): Likewise.
530 (TAGS_FILES): Removed amfiles.
531 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
532 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
533 point it to the right directory.
534 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
535 compile.am, configure.am, data.am, dejagnu.am, depend.am,
536 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
537 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
538 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
539 mans.am, multilib.am, program.am, progs.am, python.am,
540 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
541 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
542 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
543 (AUTOMAKE): Use --libdir, not --amdir.
544 Ues AC_CONFIG_AUX_DIR.
545 * lib/Makefile.am (SUBDIRS): Added `am'.
546 (scriptdir): New macro.
547 (dist_script_DATA): Likewise.
548 (dist_pkgdata_DATA): Likewise.
549 (install-data-hook): New target.
550 (installcheck-local): Likewise.
551 * lib/am/Makefile.in: New file.
552 * lib/am/Makefile.am: Removed everything except amdir and
555 2001-05-13 Akim Demaille <akim@epita.fr>
557 * automake.in ($pkgdata_dir): Rename as...
559 ($am_dir): Remove, replace its uses with $libdir.
560 (&parse_arguments): Replace --amdir with --libdir.
561 * automake.texi (Invoking Automake): Document --libdir, not
563 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
565 2001-05-13 Tom Tromey <tromey@redhat.com>
567 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
569 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
570 Correctly look at AMDEP_TRUE, not AMDEP.
572 Report from Robert Boehne:
573 * tests/Makefile.am (TESTS): Added depend2.test.
574 * tests/depend2.test: New file.
576 2001-05-13 James Henstridge <james@daa.com.au>
578 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
579 Point pythondir at site-packages directory. Rename
580 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
581 pyexecdir. Removed package/module argument. Removed
582 PYTHON_SITE_INSTALL. Added version checking.
584 2001-05-14 Jim Meyering <meyering@lucent.com>
586 * automake.in (macro_define): Change one remaining use of
587 `variable_dump' to `macro_dump'.
589 2001-05-13 Tom Tromey <tromey@redhat.com>
591 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
594 2001-05-13 Akim Demaille <akim@epita.fr>
596 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
597 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
598 (&am_primary_prefixes): Use `map' rather than `grep'.
600 2001-05-13 Akim Demaille <akim@epita.fr>
602 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
604 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
605 (&lang_asm_finish): Remove, set asm's finisher to C's one.
607 2001-05-13 Akim Demaille <akim@epita.fr>
609 * lang-compile.am: New file, loaded once per language.
610 * depend2.am: Move definitions loaded once per language in the
612 * automake.in (&handle_languages): Load it.
613 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
614 handled by lang-compile.am.
616 2001-05-13 Tom Tromey <tromey@redhat.com>
618 * tests/Makefile.am (TESTS): Added python.test.
619 * tests/python.test: New file.
620 * automake.in (handle_languages): Use
621 config_aux_dir_set_in_configure_in.
622 (handle_python): Correctly mention AM_PATH_PYTHON. Use
623 py-compile, not py_comp. Define py_compile macro.
625 2001-05-13 Derek Price <dprice@openavenue.com>
627 * automake.in (require_file_with_conf_line,
628 require_file_with_line, require_file): Pass a @require_file_path
629 of $relative_dir instead of '.' to require_file_internal so that
630 all the special casing of '.' can be removed elsewhere.
631 (require_config_file, require_conf_file_with_line,
632 require_conf_file_with_conf_line): Remove special casing for '.'
633 and make sure $config_aux_dir is maintained properly.
634 (require_file_internal): Remove special casing of '.' and set
635 @require_file_path when missing files are added.
636 (maybe_push_required_file): Remove special casing of '.'
637 (handle_dependencies): Remove a workaround for a bug now fixed
638 and remove $config_aux_dir special casing.
639 (handle_configure): Remove special casing for $config_aux_dir
640 (handle_python): Ditto.
641 (yacc_lex_finish_helper): Change $config_aux_dir switch to
642 switch on the value of $config_aux_dir_set_in_configure_in.
643 (handle_texinfo): Ditto.
644 (scan_one_configure_file): Set $config_aux_dir and
645 $config_aux_dir_set_in_configure_in properly so special casing
646 on the value of $config_aux_dir can be removed elsewhere.
647 * tests/depcomp.test: New file.
648 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
649 first subdir containing a C file.
650 * tests/libobj2.test: Ditto.
651 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
653 2001-05-12 Tom Tromey <tromey@redhat.com>
655 * tests/gcj.test: Updated for gcj dependency tracking.
656 * tests/gcj2.test: Likewise.
658 Fixes PR automake/169.
659 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
661 * automake.in (java): Added autodep entry.
662 * tests/Makefile.am (TESTS): Added gcj3.test.
663 * tests/gcj3.test: New file.
665 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
667 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
668 stop at the first '='.
669 * tests/Makefile.am (TESTS): Added vars.test.
670 * tests/vars.test: New file.
672 2001-05-12 Akim Demaille <akim@epita.fr>
674 * automake.in (&handle_single_transform_list): Simplify
675 computation of $object and $this_obj_ext.
676 * tests/lex3.test: Merge into...
677 * tests/lex.test: here.
678 * tests/pr19.test: Improve and rename as...
679 * tests/lex3.test: this.
681 2001-05-09 Tom Tromey <tromey@redhat.com>
683 * automake.in (read_am_file): Correctly compute $saw_bk.
684 (scan_autoconf_files): Ensure configure_dist_common is always
686 * tests/defs (AUTOMAKE): Added --Werror.
688 2001-05-09 Pavel Roskin <proski@gnu.org>
690 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
693 2001-05-09 Tom Tromey <tromey@redhat.com>
695 * tests/werror.test: Use `rm -f'.
697 2001-05-09 Akim Demaille <akim@epita.fr>
699 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
701 2001-05-09 Akim Demaille <akim@epita.fr>
703 * automake.in: Remove some code left from bad patches.
704 (&handle_dependency): Remove, for the same reason.
706 2001-05-09 Akim Demaille <akim@epita.fr>
708 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
709 (&handle_tests_dejagnu, &define_standard_variables): Don't.
710 (&define_standard_variables): Don't transform %top_builddir% since...
711 * header-vars.am: Use %TOPDIR% instead.
713 2001-05-09 Akim Demaille <akim@epita.fr>
715 * automake.in (@objects): Remove, unused.
716 Remove all the code related to it, and to former `$(OBJECTS)'.
718 2001-05-08 Tom Tromey <tromey@redhat.com>
721 * ylwrap: Handle arguments to program. Remove old code that tried
722 to avoid absolute paths and add new code to do it in all cases.
723 Removed ancient logic that tried to deal with relative path.
724 * tests/Makefile.am (TESTS): Added yacc4.test.
725 * tests/yacc4.test: New file.
727 Fix for PR automake/149 and werror.test:
728 * automake.in (require_file_internal): Use am_line_warning or
729 am_conf_line_warning when suppressing error.
730 (am_line_warning): New sub.
731 (am_conf_line_warning): Save and restore warning signal.
732 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
734 Fix for PR automake/36:
735 * tests/Makefile.am (TESTS): Added asm.test.
736 * tests/asm.test: New file.
737 * automake.in (asm): Use ASFLAGS and AS.
738 (lang_asm_finish): New sub.
740 * automake.in (read_am_file): Removed debugging code.
743 * tests/Makefile.am (TESTS): Added werror.test.
744 (XFAIL_TESTS): Likewise.
745 * tests/werror.test: New file.
747 * automake.in (conditional_true_when): Don't return if we see
750 * tests/objc.test: Removed.
751 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
754 * automake.in (subst): New sub.
755 (handle_languages): Use it.
756 (output_lex_build_rule): Likewise; also use _am_quote.
757 (check_libobjs_sources): Likewise.
758 (make_paragraphs): Use subst.
760 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
763 * automake.in (file_contents_internal): Prototype now `$$%'.
764 (register_language): Prototype now `%'.
766 Fixes test subobj6.test and PR automake/160:
767 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
768 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
769 (distclean-compile): Added DISTRMS.
770 * tests/subobj6.test (wish_SOURCES): Updated to reflect
771 `mostlyclean' use; added test for non-subdir case.
772 * automake.in (compile_clean_files): New global.
773 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
774 (initialize_per_input): Initialize compile_clean_files.
775 (handle_single_transform_list): Set compile_clean_files entries.
776 (handle_compile): Handle compilation cleanups.
778 2001-05-08 Lars J. Aas <larsa@sim.no>
780 * automake.texi (Canonicalizing Automake macros): Document not
781 canonicalizing strudels (@) anymore.
783 2001-05-08 Akim Demaille <akim@epita.fr>
785 * distdir.am (dist-all): Build all the flavors using a single
788 2001-05-08 Akim Demaille <akim@epita.fr>
790 * automake.in (&file_contents_internal): Apply the @cond_stack to
791 the rules and assignments.
792 Don't rely on `$.' as it's biased by &make_paragraphs.
793 Don't remove backslashes in variable values.
795 2001-05-08 Akim Demaille <akim@epita.fr>
797 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
798 ($RULE_PATTERN): Use that from `&make_paragraphs'.
799 ($MACRO_PATTERN): Just catch the name of a macro.
800 ($BOGUS_MACRO_PATTERN): Remove.
801 ($ASSIGNMENT_PATTERN): New.
802 (&file_contents_internal, &make_paragraphs): Adjust.
803 (¯o_define): Catch bad macro names.
804 (&cond_stack_endif): Better error message.
805 (&file_contents_internal): Don't remove backslashes in variable
807 (¯o_define): Do it for `+=' user variables.
808 (&define_standard_variables): Use `undef' instead of a dummy
810 (&make_paragraph): Be sure not to chop the trail of hash only
811 lines: adjust the `##' regexp.
812 (&rule_define): Fix a bug: don't read $1 but $target.
813 * tests/condincl.test: Strengthen.
815 2001-05-08 Akim Demaille <akim@epita.fr>
817 * automake.in (Language): Add attributes `Name' and `config_vars'.
818 (&finish): Work properly if there is no _finish.
819 (Automake): Register language Names and AC_SUBST dependencies.
820 Register Fortran 77 variables upon which ratfor and ppf77 depend.
821 (&handle_languages): Once per language, invoke
822 `define_linker_variables', and check its config_vars.
823 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
824 (&lang_java_finish): Remove.
825 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
827 2001-05-08 Akim Demaille <akim@epita.fr>
829 * automake.in (&file_contents_internal): Accept $IS_AM.
830 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
832 2001-05-08 Akim Demaille <akim@epita.fr>
834 * automake.in (am_install_var): Use `next' instead of `if' on the
837 2001-05-08 Akim Demaille <akim@epita.fr>
839 * automake.in (Language): Add attributes `lder' and `ld'.
840 (®ister_language): Specify for cxx, objc, f77, gcj.
841 (&define_linker_variable): New.
842 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
843 (&lang_java_finish): Adjust.
844 (&libtool_compiler): Remove.
846 2001-05-08 Akim Demaille <akim@epita.fr>
848 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
849 argument, as you don't use it.
851 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
854 (&handle_programs): Don't mess with %lex_sources, as you don't use
857 2001-05-08 Akim Demaille <akim@epita.fr>
859 * automake.in (Language): Add attribute `link'.
860 (®ister_language): Specify for cxx, objc, f77, gcj.
861 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
862 (&lang_java_finish): Adjust.
864 2001-05-08 Akim Demaille <akim@epita.fr>
866 * automake.in (&define_compiler_variables): Use only $LANG as
868 (&handle_languages): Adjust.
870 2001-05-08 Akim Demaille <akim@epita.fr>
872 * automake.in (&define_program_variable): Remove.
873 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
875 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
876 * texinfos.am: Do it.
878 2001-05-08 Akim Demaille <akim@epita.fr>
880 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
883 (site.exp): Use `if'.
885 2001-05-08 Akim Demaille <akim@epita.fr>
887 * automake.in: Formatting changes.
888 (variable_dump, variables_dump): Rename as...
889 (macro_dump, macros_dump): these.
891 2001-05-08 Akim Demaille <akim@epita.fr>
893 Support `if !COND', `else COND', `end COND'.
895 * automake.texi (Conditionals): Document it.
896 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
897 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
898 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
899 a leading `!' before the condition.
900 (&handle_options): Use `\d'.
901 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
902 (&read_am_file, &file_contents_internal): Use them.
903 (&transform): No longer substitute `%!COND%', forcing the use of
905 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
907 2001-05-08 Akim Demaille <akim@epita.fr>
909 Uniform handling of per-object compilation rules.
910 Note: Automake is repaired.
912 * automake.in (&handle_languages): Output per object rules for all
913 the objects, not only for those which language supports dependency
915 Fix Automake: when outputting per-object rules, use `-o' if the
916 language has no `output_flag', as it's really needed.
917 (&handle_single_transform_list): Instead of special casing files
918 which need per object rules but which language don't support
919 dependency tracking, keep them in the queue for processing by
922 2001-05-08 Akim Demaille <akim@epita.fr>
924 * automake.in (&handle_languages): `ext-compile.am' and
925 `depend2.am' are now equivalent for generic rules: output only the
927 * ext-compile.am: Remove.
929 2001-05-08 Akim Demaille <akim@epita.fr>
931 Note: This patch breaks Automake. Repaired within two patches.
933 * automake.in (Language): Replace the attribute `output_arg' with
934 `compile_flag' and `output_flag'.
935 (Automake): Adjust language registrations.
936 (&handle_languages): Transform `-c' and `-o' for both suffix and
937 per object rules, instead of `OUTARG' and `LTOUTARG' only for
939 (&handle_single_transform_list): Adjust to `compile_flag' and
941 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
943 2001-05-08 Akim Demaille <akim@epita.fr>
945 * automake.in (&handle_languages): Don't transform %COMPILER%.
946 Use `$lang->compiler' instead of `$pfx' to transform generic
947 %COMPILE% and %LTCOMPILE%.
948 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
949 of %COMPILER% and $<.
951 2001-05-07 Akim Demaille <akim@epita.fr>
953 * automake.in (&handle_languages): Use the same `%transform' for
954 both `depend2.am' and `ext-compile.am'.
955 Delay the definition of `$flag' so it is right before the first use,
956 and rename as `$flags'.
958 2001-05-07 Akim Demaille <akim@epita.fr>
960 * automake.in (&handle_languages): Compute `$ltoutarg' and
961 `$outarg' independently of dependency code.
962 There is no use looping on a language's possible extensions since
963 we loop over used extensions.
964 Therefore, there is no use for a local `%transform'.
966 2001-05-07 Akim Demaille <akim@epita.fr>
968 * automake.in (&handle_languages): Don't use $comp.
970 2001-05-07 Akim Demaille <akim@epita.fr>
972 * automake.in (&handle_languages): Merge the two loops over
973 %extension_seen/%languages into one and group code to be run once
974 per language together.
976 2001-05-07 Akim Demaille <akim@epita.fr>
978 * automake.in (&handle_languages): Move the `if
979 ($use_dependencies)' block so that loops over extensions and
980 languages are next to each other.
982 2001-05-07 Akim Demaille <akim@epita.fr>
984 * automake.in (&depend2): Remove, merged into...
985 (&handle_languages): here.
987 2001-05-07 Akim Demaille <akim@epita.fr>
989 * automake.in (&finish_languages): Rename as...
990 (&handle_languages): this.
991 Include the body of...
992 (&handle_dependency): this.
995 2001-05-06 Tom Tromey <tromey@redhat.com>
998 * tests/Makefile.am (TESTS): Add subdir5.test.
999 (XFAIL_TESTS): Likewise.
1000 * tests/subdir5.test: New file.
1002 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1003 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1005 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1007 (handle_options): Handle fork identifier in version number.
1009 * automake.texi (Dist): Document distcheck-hook.
1011 * tests/confh4.test: Update to reflect DEFS change.
1012 For PR automake/132.
1014 Fix for PR automake/132:
1015 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1017 (java): Remove INCLUDES and DEFS from compilation.
1018 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1019 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1020 (DEFAULT_INCLUDES): New macro.
1022 * automake.in (usage): Re-align explanatory text.
1023 Fixes PR automake/148.
1025 * automake.texi (Uniform): Don't use @PROGRAMS@.
1026 Fixes PR automake/154.
1028 For PR automake/160:
1029 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1030 (XFAIL_TESTS): Add subobj6.test.
1031 * tests/subobj6.test: New file.
1033 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1034 (Top level): Don't mention `flat'.
1035 (Extending): Likewise.
1036 (User Variables): New node.
1038 * distdir.am (distdir): Make subdirectory for each file.
1039 Fixes test subobj5.test.
1041 * tests/Makefile.am (TESTS): Add new file.
1042 (XFAIL_TESTS): Likewise.
1043 * tests/texinfo10.test: New file.
1045 2001-05-05 Pavel Roskin <proski@gnu.org>
1047 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1048 in the same way as @defcodeindex and @syncodeindex respectively.
1050 2001-05-05 Tom Tromey <tromey@redhat.com>
1052 * mans.am (install-man%SECTION%): Minor cleanup.
1053 (uninstall-man%SECTION%): Likewise.
1055 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1056 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1058 (uninstall-man%SECTION%): Likewise.
1059 * automake.in (handle_man_pages): Handle dist_ and nodist_
1062 * automake.texi (Future): Removed.
1064 (Hello): Don't mention `deep'.
1065 (Top level): Likewise.
1067 * automake.in (conditional_true_when): Use a hash, not index().
1068 Also, a TRUE component always results in a true return.
1069 Fixes test cond10.test. For PR automake/164.
1070 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1072 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1074 For PR automake/164:
1075 * tests/Makefile.am (TESTS): Added new file.
1076 (XFAIL_TESTS): Likewise.
1077 * tests/cond10.test: New file.
1079 2001-05-05 Tom Tromey <tromey@redhat.com>
1081 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1083 (install-info-am): Likewise.
1085 2001-05-05 Pavel Roskin <proski@gnu.org>
1087 * automake.in (scan_texinfo_file): Don't push undefined values
1090 2001-05-05 Richard Boulton <richard@tartarus.org>
1092 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1095 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1097 * automake.in (required_targets): Added uninstall-am.
1099 2001-05-05 Tom Tromey <tromey@redhat.com>
1101 Fix bug reported by Robert Boehne:
1102 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1104 (handle_dependencies): Likewise.
1105 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1106 substitution. Correct diff now has 30 lines. Look for space
1107 after losing `undef'.
1109 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1111 * m4/sanity.m4: Remove the temp file before possible error exits.
1113 2001-05-04 Akim Demaille <akim@epita.fr>
1115 * configure.in: Set perllibdir.
1118 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1120 * automake.in ($pkgdata_dir): New.
1121 (&require_file_internal): Use it.
1123 2001-05-03 Akim Demaille <akim@epita.fr>
1125 Case insensitive FS choke on Automake/ vs automake.
1126 Reported by Tim Van Holder.
1128 * Automake/: Move into...
1129 * lib/: this new directory.
1131 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1133 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1136 2001-04-30 Jim Meyering <meyering@lucent.com>
1138 * automake.in: Remove `/lib' from include directory.
1140 2001-04-27 Akim Demaille <akim@epita.fr>
1142 AM_INIT_AUTOMAKE is no longer optional.
1144 * automake.in ($seen_make_set, $seen_prog_install)
1145 ($seen_arg_prog): Remove.
1146 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1147 Remove related code.
1149 2001-04-27 Akim Demaille <akim@epita.fr>
1151 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1153 * tests/specflags3.test: here.
1155 2001-04-27 Akim Demaille <akim@epita.fr>
1157 * automake.in ($seen_path_xtra): Remove.
1158 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1159 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1161 2001-04-27 Akim Demaille <akim@epita.fr>
1163 * automake.in (&file_contents_internal): Declare it.
1165 2001-04-27 Akim Demaille <akim@epita.fr>
1167 * automake.in (&read_am_file, &file_contents_internal): Don't
1168 define macros when `FALSE', to avoid errors on doubly defined
1169 variables but under condition `FALSE'. In order to allow...
1170 (&am_install_var): When reading the associated file for the first
1171 time, enable `%?FIRST%'.
1172 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1173 * libs.am: Do it when `%?FIRST%'.
1175 2001-04-27 Akim Demaille <akim@epita.fr>
1177 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1178 * ansi2knr.am: Do it.
1179 Prefer `if %?FOO%' to `if %!FOO%'.
1181 2001-04-27 Akim Demaille <akim@epita.fr>
1183 * automake.in (®ister_language, &finish_languages): Use `pure'
1185 (®ister_language): Use %done properly with objects, not names.
1186 (&finish_languages): Replace `$non_c' with `$needs_c'.
1188 2001-04-27 Akim Demaille <akim@epita.fr>
1190 Unify LISP, PYTHON and JAVA primaries.
1192 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1193 return if there are no files, hook elisp-comp on the Autoconf
1194 macro, rely on lisp.am to define variables.
1195 (&handle_python, &handle_java): Likewise.
1196 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1197 `PYTHON' must be handled here, not in `&handle_python'.
1198 * java.am: Define needed variables and rules.
1200 2001-04-27 Akim Demaille <akim@epita.fr>
1202 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1204 * header.am: Include data.am.
1206 2001-04-27 Akim Demaille <akim@epita.fr>
1208 * automake.in (&am_install_var): Transform `PRIMARY'.
1209 * data.am: Equip with %PRIMARY%.
1211 2001-04-27 Akim Demaille <akim@epita.fr>
1213 * automake.in (@conditional_stack): Rename as...
1214 (@cond_stack): this.
1215 (&file_contents_internal): Support inclusion of files.
1217 2001-04-27 Akim Demaille <akim@epita.fr>
1219 * automake.in (&lang_extensions): Remove.
1220 (&add_depend2, &saw_sources_p): Adjust.
1221 * depend2.am: `%EXT%' no longer includes the dot.
1223 2001-04-27 Akim Demaille <akim@epita.fr>
1225 * automake.in (&finish_languages, &handle_single_transform_list)
1226 (&add_depend2, &handle_dependencies): No longer use the language
1227 name in `$lang'. Rename `$lang_obj' as `$lang'.
1229 2001-04-27 Akim Demaille <akim@epita.fr>
1231 * automake.in (®ister_language): Use `new Language' with a hash.
1233 2001-04-27 Akim Demaille <akim@epita.fr>
1235 * automake.in (®ister_language): Rename `output-arg' and
1236 `derived-autodep' as `output_arg' and `derived_autodep' to match
1237 the Language attribute.
1238 Set the defaults in %option instead of $lang.
1240 2001-04-27 Akim Demaille <akim@epita.fr>
1242 * Automake/: New directory.
1243 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1244 * automake.in (Language): Use Automake::Struct.
1245 * tests/defs: Adjust to find Struct.
1247 2001-04-23 Pavel Roskin <proski@gnu.org>
1249 * automake.in: Add forward declaration for register_language().
1250 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1253 2001-04-20 Akim Demaille <akim@epita.fr>
1255 * automake.in (%required_targets): Add `uninstall'.
1256 From Robert Collins.
1258 2001-04-12 Akim Demaille <akim@epita.fr>
1260 * automake.in (Language): Add attribute `name'.
1261 (®ister_language): The name of the language is now given in the
1263 No longer use `$lang' as the name of the language.
1264 Rename `$lang_obj' as `$lang'.
1266 2001-04-12 Akim Demaille <akim@epita.fr>
1268 * automake.in (Language): Add attribute `_finish'.
1271 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1272 (&lang_asm_finish): Remove.
1274 2001-04-12 Akim Demaille <akim@epita.fr>
1276 * automake.in (Language): Add attribute `extensions'.
1277 (Automake): Pass a hash to `®ister_language' instead of a
1278 list of pseudo assignments.
1279 (®ister_language): Adjust.
1280 (&finish_languages): Initialize `$ltoutarg'.
1282 2001-04-12 Akim Demaille <akim@epita.fr>
1284 * automake.in (Language): Add attribute `output_arg'.
1285 (%language_map): Remove.
1286 (®ister_language): Build only the object, and store in
1288 (&finish_languages, &handle_single_transform_list): Adjust.
1290 2001-04-12 Akim Demaille <akim@epita.fr>
1292 * automake.in (Language): Add attributes `flags', `compile' and
1294 (&finish_languages, &handle_single_transform_list, &handle_dist)
1295 (&add_depend2, ®ister_language): Use them and the `linker' and
1298 2001-04-12 Akim Demaille <akim@epita.fr>
1300 * automake.in (&handle_single_transform_list, &finish_languages)
1301 (&handle_dist, &handle_dependencies): Use the language object for
1302 autodep and derived-autodep too.
1304 2001-04-12 Akim Demaille <akim@epita.fr>
1306 * automake.in (¯o_define): Ignore Automake definition for
1307 ($var, $cond) if there is already a user definition for ($var, $cond).
1309 2001-04-12 Akim Demaille <akim@epita.fr>
1311 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1312 but also @deffn and so on which push data in indexes.
1313 Reported by Derek R. Price.
1315 2001-04-12 Akim Demaille <akim@epita.fr>
1317 * automake.in (Language): New package, temporarily in this file.
1319 (Automake): New package.
1321 (&handle_single_transform_list): Use the language object's `ansi'
1322 attribute instead of `$language_map{"$lang-ansi-p"}'.
1323 (®ister_language): Build and register the language too.
1325 2001-04-11 Tom Tromey <tromey@redhat.com>
1327 Fixes report from Larry Jones:
1328 * automake.in (handle_dependencies): Add `@_am_quote@' where
1330 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1332 2001-04-11 Akim Demaille <akim@epita.fr>
1334 * depend2.am: Fix the `if' condition for Libtool.
1335 Reported by Robert Boehne.
1337 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1339 * tests/subobj5.test: New file.
1341 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1343 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1344 * tests/Makefile.am (TESTS): Added make.test.
1345 * tests/make.test: New file.
1347 2001-04-10 Tom Tromey <tromey@redhat.com>
1349 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1351 2001-04-10 Derek R. Price <dprice@collab.net>
1353 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1355 2001-04-10 Akim Demaille <akim@epita.fr>
1357 * distdir.am: Add a missing backslash.
1359 2001-04-10 Akim Demaille <akim@epita.fr>
1361 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1363 Specify to the caller whether $regen_aclocal_m4.
1364 (&handle_configure): Adjust.
1365 Transform `REGEN-ACLOCAL-M4'.
1367 * configure.am: Use it.
1368 * tests/defs (me): New.
1369 * tests/confdeps.test: New.
1371 2001-04-09 Tom Tromey <tromey@redhat.com>
1373 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1374 Fixes report from Jim Meyering.
1376 2001-04-09 Akim Demaille <akim@epita.fr>
1378 * automake.in (&handle_configure): Don't bother with optimizing
1381 2001-04-09 Akim Demaille <akim@epita.fr>
1383 * tests/cond3.test (expected): Adjust.
1385 2001-04-09 Akim Demaille <akim@epita.fr>
1387 * automake.in (&handle_single_transform_list): Remove $xbase,
1389 (&handle_source_transform): All the variables have conditions now,
1391 (&variable_delete): Admit an argument @conds.
1393 2001-04-09 Akim Demaille <akim@epita.fr>
1395 * automake.in ($source_suffix_pattern): Remove, unused.
1396 %extension_map seems to have replaced it.
1398 2001-04-09 Akim Demaille <akim@epita.fr>
1400 * ext-compile.am: New file.
1401 * automake.in (&finish_languages): Output it.
1402 Require a C linker if there are several registered source suffixes.
1403 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1404 extensions, which are discovered in ext-compile.am.
1405 With the help from Robert Boehne.
1407 2001-04-09 Akim Demaille <akim@epita.fr>
1409 * automake.in (&handle_compile): Extract from...
1410 (&get_object_extension): here.
1411 (&read_am_file): Call it.
1412 ($included_generic_compile, $included_knr_compile)
1413 ($included_libtool_compile): Remove.
1414 ($get_object_extension_was_run): New.
1416 2001-04-09 Akim Demaille <akim@epita.fr>
1418 Use AM_CONDITIONAL and if/endif for AMDEP.
1420 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1421 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1422 to a configure time if/endif), or to `FALSE' (static removal of
1424 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1425 * depend2.am: Use if/endif.
1427 Adjust the 101 tests that use dependencies so that they
1428 properly invoke aclocal before automake. They need to `see'
1429 `AM_CONDITIONAL([AMDEP], ...)'.
1431 2001-04-09 Akim Demaille <akim@epita.fr>
1433 * tags.am: Fix missing leading tabs.
1435 2001-04-09 Akim Demaille <akim@epita.fr>
1437 * automake.in: Use simple quotes to define the _PATTERN variables
1438 to unobfuscate the regexps.
1439 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1441 2001-04-09 Akim Demaille <akim@epita.fr>
1443 * automake.in (&rule_define): When you discover a suffix rules,
1444 register the extensions for .SUFFIXES.
1445 (&handle_texinfo): Don't register the suffixes.
1446 (&get_object_extension): Don't register suffixes, let them be
1447 discovered in depend2.am.
1448 (&handle_emacs_lisp): Depend on your lisp.am.
1449 * lisp.am: Include the rule &handle_emacs_lisp used to output.
1451 2001-04-09 Akim Demaille <akim@epita.fr>
1453 * subdirs.am: Don't define info related recursive targets.
1456 2001-04-09 Akim Demaille <akim@epita.fr>
1458 * subdirs.am (RECURSIVE_TARGETS): New variable.
1460 * automake.in (&handle_subdirs): Output it.
1461 (&file_contents_internal): Support value spread on several lines.
1463 2001-04-09 Akim Demaille <akim@epita.fr>
1465 * automake.in (&handle_man_pages): Rely on mans.am to define
1466 man%SECTION%dir and MANS.
1469 2001-04-09 Akim Demaille <akim@epita.fr>
1471 * automake.in (&variable_dump): Use %var_type properly.
1472 (¯o_define): Enforce better overriding rules.
1473 Handle the special case that used to handle...
1474 (&define_pretty_variable): this.
1476 The variables you define are owned by Automake.
1477 (&generate_makefile): PRE_INSTALL and co must not be defined *by
1479 (&variable_defined): Now independent of the owner.
1480 (&variable_output, &variable_pretty_output): Adjust to %var_type.
1482 2001-04-09 Akim Demaille <akim@epita.fr>
1484 * automake.in (%var_was_plus_eq): Rename as...
1486 (%def_type): Remove.
1487 (¯o_define): %var_type may now hold `', `+', or `:'.
1488 (%conditional, %am_vars, %content_lines): Rename as...
1489 (%var_value, %var_comment, %var_line): these.
1491 2001-04-09 Akim Demaille <akim@epita.fr>
1493 * automake.in (&variable_output): Admit a list of @CONDS.
1494 (&variable_pretty_output): New.
1495 (&define_pretty_variable): Use it.
1496 (&read_am_file, &file_contents_internal): Prepend a separator to
1497 $am_vars only if there is none yet.
1498 (&file_contents_internal): Rename $separator as $spacing to
1499 harmonize with &read_am_file.
1501 2001-04-09 Akim Demaille <akim@epita.fr>
1503 * automake.in (&am_install_var): Transform DIST, and let the *.am
1504 files handle DIST_COMMON.
1505 * data.am, header.am, java.am, list.am, python.am, script.am: Set
1508 2001-04-09 Akim Demaille <akim@epita.fr>
1510 * automake.in (%dist_common): Remove.
1511 (%configure_dist_common): Replace with...
1512 ($configure_dist_common): this.
1513 (&generate_makefile): Read the user file before using
1514 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1515 that no variable is defined before it is run.
1516 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1517 (&dist_cmp): Rename as...
1518 (&for_dist_common): this.
1519 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1521 Adjust to $configure_dist_common.
1522 * configure.am, texi-vers.am: Set DIST_COMMON.
1524 2001-04-09 Akim Demaille <akim@epita.fr>
1526 * automake.in (&handle_aclocal_m4): Rename as...
1527 (&scan_aclocal_m4): this.
1528 Return the list of aclocal.m4 dependencies.
1529 (&handle_configure): Invoke it, and use it when loading...
1530 * configure.am: Template the rules to recreate aclocal.m4.
1532 2001-04-09 Akim Demaille <akim@epita.fr>
1534 * automake.in (&get_object_extension): Use ansi2knr.am.
1535 * clean-kr.am, kr-extra.am: Remove, merged into...
1536 * ansi2knr.am: this new file.
1538 2001-04-09 Akim Demaille <akim@epita.fr>
1540 * automake.in (&transform): Fix an incredible bug which was
1541 breaking the if/endif system.
1542 ($ELSE_PATTERN): Admit an optional argument.
1544 2001-04-09 Akim Demaille <akim@epita.fr>
1546 * comp-vars.am: Remove, merged into...
1548 * automake.in (&get_object_extension): Adjust.
1550 2001-04-09 Akim Demaille <akim@epita.fr>
1552 * remake.am: Merge into...
1553 * configure.am: ... here.
1554 * automake.in (&handle_configure): Adjust.
1556 2001-04-09 Akim Demaille <akim@epita.fr>
1558 * automake.in (&output_lex_build_rule): Output this...
1561 2001-04-09 Akim Demaille <akim@epita.fr>
1563 * automake.in (&condition_negate): New.
1564 (&variable_conditions_permutations): Use it.
1565 (&read_am_file, &file_contents): Use it on `else' clauses to
1567 (&output_yacc_build_rule): Output this...
1568 * yacc.am: New file.
1570 2001-04-09 Akim Demaille <akim@epita.fr>
1572 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1573 (&handle_dist): Don't.
1574 (&handle_clean): Don't handle config.status here, let...
1575 * clean.am: ... do it.
1576 * distdir.am: Adjust.
1578 2001-04-09 Akim Demaille <akim@epita.fr>
1580 * automake.in: Use strict vars and subs.
1581 Declare `%require_file_found'.
1582 (&handle_source_transform, &make_paragraphs): Declare my variables.
1584 2001-04-09 Akim Demaille <akim@epita.fr>
1586 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1587 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1588 * java.am (_am_installdirs): Be sure to set it.
1590 2001-04-09 Akim Demaille <akim@epita.fr>
1592 * automake.in (&make_condition): Return '#' when FALSE.
1593 (&conditional_string): Return FALSE, not '#' in the corresponding
1595 (&file_contents_internal): Adjust.
1596 (&check_variable_defined_unconditional): Dump the guilty variable.
1598 2001-04-09 Akim Demaille <akim@epita.fr>
1600 * distdir.am: Use and abuse of if/endif.
1601 * scripts.am: Using if/endif with variables is fine.
1603 2001-04-09 Akim Demaille <akim@epita.fr>
1605 * automake.in (&make_paragraphs): Extract from &file_contents.
1606 Make it more robust than the previous RE based scheme.
1607 (&file_contents): Use it.
1609 2001-04-09 Akim Demaille <akim@epita.fr>
1611 * automake.in (&make_paragraphs): Extract from &file_contents.
1612 Make it more robust than the previous RE based scheme.
1613 (&file_contents): Use it.
1615 2001-04-09 Akim Demaille <akim@epita.fr>
1617 * tests/yacc2.test: Don't define several times a variable, as
1620 2001-04-09 Akim Demaille <akim@epita.fr>
1622 * automake.in (&handle_source_transform): Fix pr72: don't define
1623 $linker if there are no @files.
1625 2001-04-09 Akim Demaille <akim@epita.fr>
1627 Avoid reading twice header-vars.am as now macro_define
1630 * automake.in (&define_standard_variables): Don't output the
1632 (&read_main_am_file): Output first user variables, then Automake
1634 Don't call twice &define_standard_variables.
1635 Save variable comments in $am_vars.
1636 (&variable_output): New.
1637 (&file_contents_internal): New.
1638 Save variable comments in $am_vars.
1639 (&file_contents): Use it.
1641 2001-04-09 Akim Demaille <akim@epita.fr>
1643 * automake.in (¯o_define): The user is allowed to override
1644 a value if it was set by Automake, or if it was found in AC_SUBST.
1646 2001-04-09 Akim Demaille <akim@epita.fr>
1648 * automake.in (&handle_source_transform): Better locality of the
1650 Use `next' to skip nonexistent variables.
1652 2001-04-09 Akim Demaille <akim@epita.fr>
1654 * automake.in (&variable_dump): If a variable is undefined, say
1656 (&check_ambiguous_conditional): Give finer error messages.
1657 (¯o_define): Check that a `+=' variable is not set with `='.
1658 Check for ambiguous definitions each time you _set_ (even with `+=')
1660 (&read_main_am_file): Perform a deep copy of %conditional.
1662 2001-04-09 Akim Demaille <akim@epita.fr>
1664 * automake.in (&variable_defined): Some callers, e.g.,
1665 &am_primary_prefixes, really want to know if the variable is
1666 defined for any condition, not `TRUE' by default.
1667 (&am_primary_prefixes): Give a more precise error message.
1669 2001-04-09 Akim Demaille <akim@epita.fr>
1671 (&variable_conditions): Don't include `FALSE' in the result.
1673 2001-04-09 Akim Demaille <akim@epita.fr>
1675 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1676 (&variable_conditions): Don't include `FALSE' in the result.
1678 2001-04-09 Akim Demaille <akim@epita.fr>
1680 * tests/defs, tests/depend3.test: Remove useless code.
1682 2001-04-09 Akim Demaille <akim@epita.fr>
1684 * automake.in (&handle_source_transform): Use
1685 &variable_conditions, don't read $conditional{$var}.
1686 (&variable_conditions_sub): When the call is the top level call,
1687 generate all the permutations of the conditions.
1689 2001-04-09 Akim Demaille <akim@epita.fr>
1691 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1692 that it does not get noticed twice by automake, which now
1693 complains for multiple definitions.
1694 * tests/vartar.test: s/INSTALL/install/g, automake now complains
1695 because we defined INSTALL.
1697 2001-04-09 Akim Demaille <akim@epita.fr>
1699 * automake.in (&generate_makefile) Use macro_define to define
1700 SOURCES and OBJECTS.
1701 (&variable_defined): Don't check for $conditional{VAR}{COND} as
1702 this would make perl create $condition{VAR}, which we don't want.
1704 2001-04-09 Akim Demaille <akim@epita.fr>
1706 * automake.in (&variable_defined, &define_pretty_variable):
1707 Simplify code which used to handle the cases where not all
1708 variables were in %conditional.
1709 (&define_variable): Use &define_pretty_variable.
1710 (&variable_conditions_sub, &variable_value_as_list_worker)
1711 (&variable_value_as_list, &rule_define): Simplify syntax.
1712 (&read_main_am_file): Dump the guilty predefined variables.
1714 2001-04-09 Akim Demaille <akim@epita.fr>
1716 * automake.in (&variable_conditions_sub)
1717 (&variable_value_as_list_worker): Remove dead code which used to
1718 handle the cases where not all variables were in %conditional.
1720 2001-04-09 Akim Demaille <akim@epita.fr>
1722 * automake.in (&handle_source_transform, &read_main_am_file):
1723 Simplify loops which were split in two parts, conditional vs
1724 unconditional variables.
1726 2001-04-09 Akim Demaille <akim@epita.fr>
1728 Handle unconditional values of variables as conditioned by
1731 * automake.in (%contents): Remove.
1732 (&generate_makefile, &handle_ltlibraries, ¯o_define)
1733 (&read_am_file, &variable_defined, &variable_conditions_sub)
1734 (&variable_value, &variable_value_as_list_worker)
1735 (&variable_value_as_list, &define_pretty_variable)
1736 (&read_main_am_file): Use
1737 $conditional, not %contents.
1738 (&variable_conditions_permutations): Don't return TRUE and FALSE.
1739 (&variable_conditionally_defined): New.
1740 (&handle_dist): Use it.
1741 (&check_ambiguous_conditional): When multiply defined, specify
1742 under which condition.
1743 (¯o_define): Use it.
1744 (&variable_delete): New.
1745 (&read_am_file): Use it.
1746 (&am_install_var): Simplify, as all the variables are in
1749 2001-04-07 Tom Tromey <tromey@redhat.com>
1751 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
1753 * tests/man.test: New file.
1755 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1757 * depcomp (gcc3): Invert test condition.
1759 2001-04-07 Tom Tromey <tromey@redhat.com>
1761 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
1762 statement. Report from Larry Jones.
1764 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1766 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
1768 2001-04-01 Tom Tromey <tromey@redhat.com>
1770 * java.am (.PHONY clean-am): Removed trailing ":".
1771 From Per Bothner. Fixes PR automake/139.
1773 2001-03-28 Akim Demaille <akim@epita.fr>
1775 * program.am: Fix a stupid typo: now *all* (not none) the programs
1777 Reported by Robert Boehne.
1779 2001-03-23 Akim Demaille <akim@epita.fr>
1781 * automake.in (&read_am_file, &file_contents): Avoid name clashes
1784 2001-03-23 Akim Demaille <akim@epita.fr>
1786 * automake.in (&variable_conditionally_defined): Rename as...
1787 (&check_variable_unconditionally_defined): this.
1788 (&variable_dump): Fix the output.
1789 (&variable_defined, ¯o_define): Since conditions are
1790 canonicalized, don't use a loop to look for a condition: read the
1792 (¯o_define, &rule_define, &read_am_file, &file_contents):
1793 Rename $cond_string as $cond.
1794 * distdir.am (PACKAGE, VERSION): Remove; since they are already
1795 discovered via AC_SUBST, they now trigger a `defined twice' error.
1797 2001-03-23 Akim Demaille <akim@epita.fr>
1799 * automake.in (&handle_footer, &handle_installdirs)
1800 (&read_main_am_file): Don't read %contents directly, use
1803 2001-03-23 Akim Demaille <akim@epita.fr>
1805 * automake.in (&read_am_file): Define the variables in a single
1807 Factor the $saw_bk code.
1809 2001-03-23 Akim Demaille <akim@epita.fr>
1811 * automake.in (&read_am_file): Keep $cond_string up to date.
1813 2001-03-23 Akim Demaille <akim@epita.fr>
1815 * automake.in (&define_variable): Use ¯o_define.
1817 2001-03-23 Akim Demaille <akim@epita.fr>
1819 * automake.in (¯o_define): Don't lose the location if we
1820 redefine a variable.
1821 Don't push all the variables in @var_list, let...
1822 (&read_am_file, &file_contents): ... do it.
1823 (&define_pretty_variable): Use macro_define.
1824 (&am_install_var): Delete the value of variables being redefined
1825 to pacify ¯o_define which checks that variables are not
1828 2001-03-23 Akim Demaille <akim@epita.fr>
1830 * automake.in (&conditional_dump): Rename as...
1831 (&variables_dump): this. Use...
1832 (&variable_dump): this new sub.
1834 2001-03-23 Akim Demaille <akim@epita.fr>
1836 * automake.in (&file_contents): Maintain $cond_string sync with
1838 Output rules only if not under `FALSE'.
1839 Define variables under $cond_string.
1840 * scripts.am: For the time being if/endif does not work properly
1843 2001-03-23 Akim Demaille <akim@epita.fr>
1845 * automake.in (IF_PATTERN): Unobfuscate the parens.
1846 (ENDIF_PATTERN): Allow a condition to be specified.
1847 (&file_contents): Use a @cond_stack.
1848 (&transform): At least for an easy transition, also transform
1849 %?FOO% and %!FOO%, as suggested by Lars.
1850 * scripts.am: First test bed for static if/endif use.
1852 2001-03-23 Akim Demaille <akim@epita.fr>
1854 * automake.in (&file_contents): Use rule_define.
1856 2001-03-23 Akim Demaille <akim@epita.fr>
1858 * automake.in (¯o_define): Don't rely on $1.
1859 Initialize the variable.
1860 Set its Automakism only if not defined or if given to the user.
1861 When concatenating values, insert a separator only if the value
1863 (&read_am_file): When dumping the @var_list, skip Automake
1865 (&file_contents): Use macro_define.
1867 2001-03-23 Akim Demaille <akim@epita.fr>
1869 * automake.in (&rule_define): Extract from...
1870 (&read_am_file): here.
1872 2001-03-23 Akim Demaille <akim@epita.fr>
1874 * automake.in (¯o_define, &read_am_file): More work for the
1875 former from the latter. Reorganize the latter.
1877 2001-03-23 Akim Demaille <akim@epita.fr>
1879 * automake.in (¯o_define): Extract from...
1880 (&read_am_file): here.
1882 2001-03-23 Akim Demaille <akim@epita.fr>
1884 * automake.in (%am_var_defs): Replace with...
1886 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
1887 (&file_contents, am_primary_&prefixes): Adjust.
1888 (&variable_defined, &define_variable): The actual semantics is
1890 (&read_main_am_file): Assert the var is user defined when
1891 outputting @var_list.
1893 2001-03-23 Akim Demaille <akim@epita.fr>
1895 * automake.in (read_am_file): TRUE and FALSE are predefined
1897 (&by_condition): Adjust.
1898 (&conditional_string): Recognize `TRUE' and `FALSE'.
1899 (&make_condition): Use it.
1900 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
1901 * automake.texi (Conditionals): Adjust.
1902 * tests/cond9.test: s/FALSE/WRONG/.
1904 2001-03-12 Pavel Roskin <proski@gnu.org>
1906 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
1909 2001-03-12 Akim Demaille <akim@epita.fr>
1911 * automake.in (&variable_conditions_permutations): Separate the
1913 * tests/cond3.test: Improve the sed expression.
1915 2001-03-09 Pavel Roskin <proski@gnu.org>
1917 * Makefile.am (maintainer-check): Scan all *.am files and tests
1918 for invocations of `rm' without `-f'.
1919 * tests/mclean.test: Adjusted to prevent triggering the above
1922 2001-03-09 Tom Tromey <tromey@redhat.com>
1924 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
1925 maintainer-check failure.
1927 2001-03-09 Akim Demaille <akim@epita.fr>
1929 * tests/cond3.test: Strengthen.
1931 2001-03-09 Akim Demaille <akim@epita.fr>
1933 * automake.in (&conditional_string): Produce a unique string
1934 characterizing a condition stack.
1935 (&conditional_same): Remove, comparing two strings is now enough.
1936 (&variable_defined): Adjust.
1937 (&read_am_file): Use conditional_string.
1939 2001-03-08 Akim Demaille <akim@epita.fr>
1941 * automake.in: Use -w.
1942 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
1943 (&parse_arguments): Support --Werror and --Wno-error as a
1944 temporary hack until --warning/-W is properly implemented.
1945 (&handle_single_transform_list): Prototype.
1946 Be sure to define $directory.
1947 Use `exists' instead of testing the value of a maybe undefined
1949 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
1950 (&handle_factored_dependencies): Use defined values.
1951 (&scan_one_autoconf_file): Save $_.
1952 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
1953 Run automake with --Wno-error.
1955 2001-03-07 Akim Demaille <akim@epita.fr>
1957 * automake.in (&handle_all): Use an array instead of a scalar for
1959 Get rid of all-redirect: let `all' be that target.
1961 2001-03-07 Akim Demaille <akim@epita.fr>
1963 * automake.in (&handle_merge_targets): Ventilate its non `all'
1964 related content into...
1965 (&generate_makefile): here.
1966 (&handle_merge_targets): Rename as...
1967 (&handle_all): this.
1968 Remove a useless `if': `@all' is obviously not empty, since it
1969 contains at least the `basename ($makefile)' which has just been
1972 2001-03-07 Akim Demaille <akim@epita.fr>
1974 * automake.in, aclocal.in: Backquote is inert in double quotes.
1976 2001-03-06 Akim Demaille <akim@epita.fr>
1978 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
1981 2001-03-06 Pavel Roskin <proski@gnu.org>
1983 * java.am: Use `rm -f' instead of `rm'.
1985 2001-03-06 Akim Demaille <akim@epita.fr>
1987 * automake.in (&push_dist_common): Simplify.
1989 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
1991 * ltlib.am: Replaced spaces with tab.
1993 2001-03-06 Pavel Roskin <proski@gnu.org>
1995 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
1998 2001-03-05 Pavel Roskin <proski@gnu.org>
2000 * header.am, scripts.am: Use ?INSTALL? in the install and
2003 2001-03-05 Pavel Roskin <proski@gnu.org>
2005 * tests/copy.test: Never use `rm' without `-f' - it may ask
2006 questions, notably for read-only files during `make distcheck'.
2007 * tests/insh.test: Likewise.
2008 * tests/installsh.test: Likewise.
2009 * tests/symlink.test: Likewise.
2010 * tests/symlink2.test: Likewise.
2011 * tests/symlink3.test: Likewise.
2013 2001-03-05 Pavel Roskin <proski@gnu.org>
2015 * noinstdir.test: New test.
2016 * tests/Makefile.am (TESTS): Add noinstdir.test.
2017 (XFAIL_TESTS): Likewise.
2019 2001-03-05 Akim Demaille <akim@epita.fr>
2021 * automake.in (&handle_options): Change the RE so that the third
2022 part of the versions always exist.
2023 (&file_contents): Don't pass uninitialized values to &transform.
2025 2001-03-05 Akim Demaille <akim@epita.fr>
2027 * automake.in (&file_contents): Require a hash as second argument.
2030 2001-03-05 Akim Demaille <akim@epita.fr>
2032 Always use hashes with &file_contents.
2034 * automake.in (&handle_texinfo): texibuild.am does not need
2036 texinfos.am wants only TEXICLEANS.
2037 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2039 * texinfos.am: Adjust.
2041 2001-03-05 Akim Demaille <akim@epita.fr>
2043 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2044 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2045 (&am_install_var): Forget about `-clean'.
2046 Transform ?INSTALL?.
2047 Always output the *.am file.
2048 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2049 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2050 Remove, merged into the corresponding *.am file.
2051 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2054 2001-03-05 Pavel Roskin <proski@gnu.org>
2056 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2058 2001-03-05 Akim Demaille <akim@epita.fr>
2060 If OBJEXT and EXEEXT are not set, provide a default value, and use
2061 them unconditionally.
2063 * automake.in (&generate_makefile): Provide default values for
2065 (&get_object_extension, &finish_languages)
2066 (&handle_single_transform_list, &handle_programs, &add_depend2)
2067 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2068 them, they are defined.
2069 * compile.am, depend2.am, program.am, progs.am: Likewise.
2070 * remake-hdr.am: Fix a typo.
2071 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2072 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2073 * tests/suffix2.test: Adjust.
2075 2001-03-05 Akim Demaille <akim@epita.fr>
2077 * automake.in (&file_contents): Map MAINTAINER-MODE to
2078 @MAINTAINER_MODE_TRUE@ or nothing.
2079 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2082 2001-03-05 Akim Demaille <akim@epita.fr>
2084 * automake.in (&do_one_merge_target): Remove, was only called from...
2085 (&handle_merge_targets): here for `all'.
2088 2001-03-05 Akim Demaille <akim@epita.fr>
2090 Make the installation/uninstallation of Info pages follow the
2091 regular am/recursive scheme.
2093 * automake.in (%required_targets, %dependencies): Add
2095 (%dependencies): Add install-info, install-info-am, and
2097 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2098 reversed BTW. Does anybody use the option `no-installinfo'?
2099 (&handle_merge_targets): Let the handling of info related targets
2101 (&handle_factored_dependencies): this.
2102 * subdirs.am: Use ?INSTALL-INFO?.
2103 * texinfos.am: Define the install-info, uninstall-info and
2104 uninstall-info-am targets.
2106 2001-03-05 Akim Demaille <akim@epita.fr>
2108 * automake.in (%required_targets, %dependencies): Add dvi, info,
2110 (@info, @dvi): Remove.
2111 (&handle_texinfo, &handle_merge_targets): Adjust.
2112 (&handle_factored_dependencies): Required targets are phony.
2113 * texinfos.am: Build info, dvi, and the corresponding -am or
2116 2001-03-05 Akim Demaille <akim@epita.fr>
2118 * automake.in (&am_install_var): Remove $cygxform, unused.
2120 2001-03-05 Akim Demaille <akim@epita.fr>
2122 * automake.in (&file_contents): Transform LIBTOOL.
2123 (&am_install_var): Remove $ltxform.
2124 * ltlib.am, progs.am: Adjust.
2126 2001-03-05 Akim Demaille <akim@epita.fr>
2128 * automake.in: Require AC_PROG_INSTALL in...
2129 (&scan_autoconf_files): here.
2131 2001-03-05 Akim Demaille <akim@epita.fr>
2133 * configure.am: New file.
2134 * automake.in (&file_contents): Transform CONFIGURE-AC.
2135 (&handle_texinfo, &handle_configure): Don't transform
2137 (&handle_configure): Use `configure.am'.
2138 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2139 MAINTAINER-MODE and CONFIGURE-AC.
2141 2001-03-05 Akim Demaille <akim@epita.fr>
2143 * automake.in (&pretty_print_internal): Don't output useless
2145 (define_pretty_variable): Don't issue the space after the `=' sign
2146 to avoid trailing spaces in Makefile.ins.
2148 2001-03-05 Akim Demaille <akim@epita.fr>
2150 * automake.in (&generate_makefile): Invoke &initialize_per_input
2151 *before* setting $am_file_name and $in_file_name.
2153 2001-03-05 Akim Demaille <akim@epita.fr>
2155 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2156 Globals, initialized...
2157 (&initialize_per_input): here.
2159 2001-03-05 Akim Demaille <akim@epita.fr>
2161 * automake.in ($am_relative_dir): Global.
2162 (&initialize_per_input): Init it.
2163 (%make_list, @make_input_list): My them from
2164 (&scan_autoconf_files): here.
2165 (&require_file_internal): Mying changes.
2167 2001-03-05 Akim Demaille <akim@epita.fr>
2169 * automake.in (%am_vars, @var_list, %def_type): Globals.
2170 (&initialize_per_input): Initialize them.
2171 (&read_main_am_file): Don't local them.
2172 (&get_object_extension): $objext is private.
2173 (&handle_single_transform_list): $lang is.
2174 (&handle_ltlibraries): $libname_rx is.
2175 (&scan_autoconf_config_files): How about actually paying attention
2176 to your arguments, instead of working on $_? (this is no Perl
2177 variable, it's a Perl variable followed by a question mark).
2178 (&file_contents): $contents and $separator are private.
2179 (&am_install_var): Declare @condvals, not $condvals.
2182 2001-03-05 Akim Demaille <akim@epita.fr>
2184 * automake.in (&initialize_per_input): Move to the top.
2185 Precede with the `my' list of its variables.
2187 2001-03-05 Akim Demaille <akim@epita.fr>
2189 * automake.in ($am_file): Use vars.
2190 ($am_file_name, $in_file_name): Private to &generate_makefile.
2192 2001-03-05 Akim Demaille <akim@epita.fr>
2194 * automake.in: Preparation for `use strict': Move the
2195 initialization of the constants to the top, from...
2196 (&initialize_global_constants): here.
2198 2001-03-05 Akim Demaille <akim@epita.fr>
2200 * automake.in (&handle_single_transform_list, &add_depend2): Let
2201 $lang_specific_files{$lang} be a list instead of a string.
2203 2001-03-05 Akim Demaille <akim@epita.fr>
2205 Let's make it run ten times faster...
2207 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2209 (&file_contents): Let `$command' remove the Automake commands, and
2210 normalize the series of `\n'.
2211 Slurp the file and apply $command in a single step.
2212 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2213 is already normalized to be handled by &transform.
2215 2001-03-05 Tom Tromey <tromey@redhat.com>
2217 * automake.in (register_language): Add entry for `-pure'.
2218 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2219 (finish_languages): Use `-pure' field of language map.
2221 2001-03-03 Tom Tromey <tromey@redhat.com>
2223 * tests/yaccvpath.test: No need to remove dummy files.
2224 * tests/subobj3.test: No need to remove dummy files.
2225 * tests/pr9.test: No need to remove dummy files.
2226 * tests/pr87.test: No need to remove dummy files.
2227 * tests/pr19.test: No need to remove dummy files.
2228 * tests/install2.test: No need to remove dummy files.
2229 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2232 2001-02-27 Pavel Roskin <proski@gnu.org>
2234 * tests/yaccvpath.test: Add a delay to make parse.c really out
2235 of date. Detect the problem earlier, after `make distdir'. Drop
2236 dependency on flex. Always use the `-y' flag for bison. Comment
2238 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2240 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2242 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2244 2001-02-28 Akim Demaille <akim@epita.fr>
2246 * automake.in (&add_depend2): Transform `GENERIC'.
2247 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2248 addition was broken by the `@ -> %' patch.
2249 * depend2.am: Adjust to use ?GENERIC?.
2251 2001-02-28 Akim Demaille <akim@epita.fr>
2253 * Makefile.am (maintainer-check): `undef $/' is OK.
2255 2001-02-28 Akim Demaille <akim@epita.fr>
2257 * automake.in (&handle_configure): Fortunately, $top_reldir,
2258 the definition of which was highly suspicious, was unused.
2260 2001-02-27 Akim Demaille <akim@epita.fr>
2262 * automake.in (%exec_dir_p): Move to the top so that it is visible
2265 2001-02-27 Pavel Roskin <proski@gnu.org>
2267 * tests/yaccvpath.test: Prevent automake from looking into ..
2268 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2270 2001-02-27 Akim Demaille <akim@epita.fr>
2272 * automake.in (%exec_dir_p): Pulled out from...
2273 (&am_primary_prefixes): here.
2275 2001-02-27 Akim Demaille <akim@epita.fr>
2277 * automake.in (&usage): Display $0, not $me.
2279 2001-02-27 Akim Demaille <akim@epita.fr>
2281 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2282 * automake.in (&handle_clean): Don't escape what's given to
2285 2001-02-27 Akim Demaille <akim@epita.fr>
2287 Distinguish automake substitutions from config.status
2290 * automake.in (&add_depend2): Transform AMDEP.
2291 (&handle_clean): Transform MCFILES and MFILES.
2292 (&file_contents): Transform MAINTAINER_MODE.
2293 (&transform, &am_install_var): Use `%', not `@'.
2294 Adjust all the *.am files.
2295 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2296 * depend2.am: Display the double dependency on both ?AMDEP? and
2299 2001-02-27 Tom Tromey <tromey@redhat.com>
2301 * distdir.am (distcheck): Fixed new code.
2303 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2304 Only configure once.
2306 * distdir.am (distcheck): Print error message if distclean failed
2309 2001-02-27 Pavel Roskin <proski@gnu.org>
2311 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2313 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2315 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2316 * tests/yaccvpath.test: New file.
2318 2001-02-26 Akim Demaille <akim@epita.fr>
2320 * automake.in (&am_install_var): Recognize whether predefined
2321 directories are `data' or `exec'.
2322 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2324 * tests/instdata2.test: Update.
2326 2001-02-26 Akim Demaille <akim@epita.fr>
2328 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2329 necessarily in infodir.
2331 2001-02-26 Akim Demaille <akim@epita.fr>
2333 * automake.in ($am_file): Be `local', as my'd variables used in
2334 `foreach' loops are always private to the loop.
2336 2001-02-26 Pavel Roskin <proski@gnu.org>
2338 * Makefile.am: Add install.am.
2340 2001-02-26 Akim Demaille <akim@epita.fr>
2342 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2343 routines, otherwise the elements to compare are passed in @_
2344 instead of $a and $b.
2346 2001-02-26 Akim Demaille <akim@epita.fr>
2348 * automake.in (%required_targets): `installcheck-am' is needed.
2350 2001-02-26 Akim Demaille <akim@epita.fr>
2352 * automake.in (&transform_cond): Merge into...
2356 2001-02-26 Akim Demaille <akim@epita.fr>
2358 * automake.in (&handle_dist): Use &transform instead of dedicated
2360 But be sure to always do it.
2361 * distdir.am: Adjust.
2363 2001-02-26 Akim Demaille <akim@epita.fr>
2365 * automake.in: Use File::Basename.
2366 (&dirname, &basename): Remove.
2368 2001-02-26 Akim Demaille <akim@epita.fr>
2370 * automake.in ($me): New.
2372 (&usage): Display your full name.
2374 2001-02-26 Akim Demaille <akim@epita.fr>
2376 * automake.texi (Invoking Automake): Remove dead options.
2378 2001-02-26 Akim Demaille <akim@epita.fr>
2380 * automake.in (&scan_texinfo_file): Also compute the list of files
2382 Handle local errors.
2383 (&handle_texinfo): Use it.
2385 2001-02-26 Akim Demaille <akim@epita.fr>
2387 * automake.in: Don't pass arguments to...
2388 (&parse_arguments): Work on @ARGV.
2390 Add support for `-f'.
2394 2001-02-26 Akim Demaille <akim@epita.fr>
2396 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2397 handle installcheck and installcheck-am.
2398 * install.am: Do it.
2400 2001-02-26 Akim Demaille <akim@epita.fr>
2402 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2403 handle install and install-am.
2404 * install.am: Do it.
2406 2001-02-26 Akim Demaille <akim@epita.fr>
2408 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2409 work on targets handled by %dependencies.
2410 (&handle_factored_dependencies): Do it.
2411 * install.am: Install install-exec, install-data and uninstall's
2414 2001-02-26 Akim Demaille <akim@epita.fr>
2416 * automake.in (&handle_merge_targets): Move `install-strip' from
2418 * install.am: to here.
2420 2001-02-26 Akim Demaille <akim@epita.fr>
2422 * automake.in (@installdirs): Remove.
2423 (&file_contents): Be able to grow Automake macros with `+='.
2424 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2425 files define _am_installdirs.
2426 (&handle_installdirs): Remove the code, just output `install.am'.
2428 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2429 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2431 2001-02-26 Akim Demaille <akim@epita.fr>
2433 * tests/instdata2.test (libexec_DATA): Exercise more
2436 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2438 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2440 2001-02-25 Tom Tromey <tromey@redhat.com>
2442 * tests/instdata2.test: Added `sbin_DATA' check.
2444 * tests/Makefile.am (TESTS): Added subdircond.test.
2445 * tests/subdircond.test: New file.
2446 * automake.in (handle_gettext): Don't fail if SUBDIRS
2447 conditionally defined.
2449 * automake.in: Use IO::File.
2450 (generate_makefile): Use IO::File.
2451 (scan_texinfo_file): Likewise.
2452 (handle_aclocal_m4): Likewise.
2453 (scan_autoconf_traces): Likewise.
2454 (scan_one_autoconf_file): Likewise.
2455 (read_am_file): Likewise.
2456 (file_contents): Likewise.
2459 2001-02-25 Akim Demaille <akim@epita.fr>
2461 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2463 2001-02-25 Akim Demaille <akim@epita.fr>
2465 * automake.in (&transform): Also call &transform_cond on your
2467 (&handle_dist): Adjust.
2468 (&handle_factored_dependencies): Uniq dependencies.
2470 2001-02-25 Akim Demaille <akim@epita.fr>
2472 * automake.in (&handle_gettext): Simplify redundant `if'.
2473 Used &variable_value, don't read %contents directly.
2475 2001-02-25 Akim Demaille <akim@epita.fr>
2477 * automake.in ($install_recursive): Remove, replaced with calls to
2478 `&variable_defined ('SUBDIRS')'.
2479 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2480 (&file_contents): now does.
2482 2001-02-25 Akim Demaille <akim@epita.fr>
2484 * automake.in (&handle_man_pages): $found is dead.
2486 2001-02-25 Akim Demaille <akim@epita.fr>
2488 Internally just store the conditionals as space separated lists of
2489 CONDITIONS (instead of @CONDITIONS@).
2491 * automake.in (&conditional_true_when, &variable_conditions_sub):
2492 Split conditions at spaces.
2493 (&handle_dependencies, &variable_conditions_permutations): Don't
2494 put @ around conditions.
2495 (&variable_conditions_cmp): There are no @ to strip.
2496 (&make_condition): New.
2497 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2499 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2500 Join @conditional_stack with spaces.
2501 (&read_main_am_file): Adjust the output of variables.
2502 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2503 true' and no longer `@TEST@TRUE = @TEST@true'.
2504 (&variable_conditions_cmp): Rename as...
2505 (&by_condition): this.
2506 Sort in a human pleasant order.
2507 Use it everywhere a human can see conditions.
2508 (&variable_conditions_reduce): Don't sort conditions, that's
2510 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2512 2001-02-25 Akim Demaille <akim@epita.fr>
2514 * automake.in: `my' the globals.
2516 2001-02-25 Akim Demaille <akim@epita.fr>
2518 * automake.in (&initialize_per_input): %targets_conditionals is
2520 (&read_am_file): When slurping a rule, set the target related
2521 variable, and no variable related variable.
2522 (&file_contents): Likewise.
2523 * tests/vartar.test, tests/ctarget1.test: New.
2525 2001-02-25 Akim Demaille <akim@epita.fr>
2527 * automake.in (&variable_defined, &variable_value_as_list_worker):
2528 If $VAR is effectively a variable, don't die if it's also a
2530 Plus some formatting changes.
2532 2001-02-25 Akim Demaille <akim@epita.fr>
2534 * automake.in: Mying changes.
2535 * Makefile.am (maintainer-check): Check the stability of the
2536 number of uses of `local'.
2538 2001-02-25 Akim Demaille <akim@epita.fr>
2540 * automake.in: Mying changes.
2542 2001-02-25 Akim Demaille <akim@epita.fr>
2544 * automake.in: Mying changes.
2546 2001-02-25 Akim Demaille <akim@epita.fr>
2548 * automake.in: Mying changes.
2549 (&handle_tags): Fix a bug uncovered by the previous mying changes:
2550 transform CONFIG into $config, not $xform.
2552 2001-02-25 Akim Demaille <akim@epita.fr>
2554 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2555 Don't deal with install-data-am, install-exec-am and unstall-am.
2556 (&initialize_per_input): Add them to %dependencies.
2557 Remove %exec_dir_p since the *.am files are now in charge of it.
2558 Remove @uninstall, @install_data, @install_exec.
2559 (&handle_merge_targets): Adjust to these removals.
2560 (&file_contents): Also &transform_cond for --no-installman and
2562 (&do_one_merge_target): Add some magic to install hooks on
2563 %dependencies' targets.
2564 (%required_targets): New.
2565 (&handle_factored_dependencies): Output required targets.
2566 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2567 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2568 * texinfos.am: Declare your dependencies on install-data-am,
2569 install-exec-am and uninstall-am.
2570 * tests/instdata2.test (incldata_HEADERS): New test.
2572 2001-02-24 Tom Tromey <tromey@redhat.com>
2574 * Makefile.am (amfiles): Added texibuild.am.
2575 * texibuild.am: New file.
2576 * tests/Makefile.am (TESTS): Added texinfo9.test.
2577 * tests/texinfo9.test: New file.
2578 * automake.in (handle_texinfo): Keep track of suffixes used. Give
2579 error if suffix unrecognized. Removed extraneous newline.
2581 2001-02-23 Akim Demaille <akim@epita.fr>
2583 * automake.in (&am_install_var): Don't hook on the clean targets
2585 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2586 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2589 2001-02-23 Akim Demaille <akim@epita.fr>
2591 * automake.in: Promote local `my' over `local'.
2593 2001-02-23 Akim Demaille <akim@epita.fr>
2595 * automake.in: Formatting and mying changes.
2597 2001-02-23 Akim Demaille <akim@epita.fr>
2599 * automake.in: Formatting and mying changes.
2601 2001-02-23 Akim Demaille <akim@epita.fr>
2603 * automake.in (&handle_man_pages): Let install-man and
2604 uninstall-man be handled by the dependency tracker.
2605 (&initialize_per_input): Let %dependencies track them.
2606 * mans.am: Add the needed hooks with the proper dependencies.
2608 2001-02-22 Pavel Roskin <proski@gnu.org>
2610 * tests/target-cflags.test: Don't use subshell to configure in
2611 subdirectory. Typo fix - run `./foo', not `/foo'.
2613 2001-02-22 Akim Demaille <akim@epita.fr>
2615 * automake.in: Formatting and mying changes.
2617 2001-02-21 Tom Tromey <tromey@redhat.com>
2619 * automake.in (handle_dist): Introduce new variable to avoid extra
2620 keys in %dist_dirs. Fixes distdir.test.
2622 * automake.in (handle_texinfo): Only remove suffixes we can
2625 * tests/distdir.test: Check to make sure directory isn't made in
2628 * automake.in (handle_dist): Do nothing in Cygnus mode.
2630 2001-02-21 Pavel Roskin <proski@gnu.org>
2632 * header-vars.am: Remove tabs before variable definitions.
2634 2001-02-21 Akim Demaille <akim@epita.fr>
2636 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2639 2001-02-21 Akim Demaille <akim@epita.fr>
2641 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2642 numeric value as required by Perl 5.6.
2644 2001-02-21 Akim Demaille <akim@epita.fr>
2646 * dist-vars.am: Remove, merge into...
2648 * automake.in (dirname, basename, backname): Move to the top of
2649 the file so that prototypes are checked,
2650 Use them without `&'.
2651 (&handle_dist): Adjust.
2653 2001-02-21 Akim Demaille <akim@epita.fr>
2655 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2656 Use a uniform naming scheme.
2657 ("e_cond_val, &unquote_cond_val): Delete, dead code.
2658 (&read_am_file): Fix conditional definition of backslash continued
2661 2001-02-21 Akim Demaille <akim@epita.fr>
2663 Change the handling of conditionals: instead of using an ad-hoc
2664 encoding to store a hash in a string, use hashes.
2666 * automake.in (&conditional_dump): New.
2667 (&check_ambiguous_conditional, &variable_defined)
2668 (&variable_conditions_sub, &variable_value_as_list_worker)
2669 (&define_variable, read_am_file, &read_main_am_file): Be sure to
2670 handle `$conditional{$vars}' as a hash instead of a plain string.
2672 2001-02-21 Akim Demaille <akim@epita.fr>
2674 * automake.in (&conditional_true_when): Modernize, simplify.
2675 Warning: `$comp' is now private (my), while it used to be
2676 `inherited' from a `local' elsewhere in the code. AFAICT it was
2677 wrong, but some dirty side effect might show up.
2678 (&conditionals_true_when): New.
2679 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2681 2001-02-21 Akim Demaille <akim@epita.fr>
2683 * automake.in ($top_builddir): Remove, used in one place.
2684 (&define_standard_variables): Adjust.
2685 Move the definition of triplet variables into...
2686 * header-vars.am: here.
2688 2001-02-21 Akim Demaille <akim@epita.fr>
2690 * automake.in (&initialize_global_constants): Don't define $USAGE.
2691 (&usage): Handle the former content of $USAGE.
2692 Don't pretend autoconf cares about Makefile.in.
2693 Classify the options.
2694 (&handle_tests): Formatting and mying changes.
2696 2001-02-21 Akim Demaille <akim@epita.fr>
2698 * automake.in (&handle_tests_dejagnu): Move the definition of a
2699 default `site.exp' into...
2700 * dejagnu.am (site.exp): here.
2701 Use DOS compliant file names.
2703 2001-02-21 Akim Demaille <akim@epita.fr>
2705 * automake.in (&dist_cmp): New.
2706 (&handle_dist): Use it.
2707 Promote `my' over `local'.
2709 2001-02-21 Akim Demaille <akim@epita.fr>
2711 * dist.am: Remove, merge into...
2712 * distdir.am: here. Use the neat sed snippet for banners.
2713 BTW, distcheck is phony.
2714 * automake.in (&handle_dist_worker): Remove, merge into...
2715 (&handle_dist): this.
2716 (&file_contents): Strip leading new lines.
2717 Be sure to end comments with new lines.
2719 2001-02-21 Akim Demaille <akim@epita.fr>
2721 * distdir.am (GZIP_ENV): Define.
2722 * automake.in (&handle_dist): Don't.
2724 (&handle_dist_worker, &am_install_var): Use it.
2726 2001-02-21 Akim Demaille <akim@epita.fr>
2728 * distdir.am (distdir): Handle the DIST-TARGETS.
2729 * automake.in (&handle_dist_worker): Don't.
2731 2001-02-21 Akim Demaille <akim@epita.fr>
2733 * automake.in (&file_contents): Transform the global options (such
2735 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2737 2001-02-21 Akim Demaille <akim@epita.fr>
2739 * distdir.am (distdir): Be sure to have permissive rights on its
2741 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
2743 And BTW, all these guys are phony.
2744 * automake.in (&handle_dist_worker): As its name doesn't indicate,
2745 output distributions.
2746 (&handle_dist): As its name doesn't indicate, don't.
2747 (&initialize_global_constants): Don't define variables which
2748 content is now handled by distdir.am.
2749 But register `dist-all' as a factored target.
2750 (&handle_factored_dependencies): Don't output empty targets.
2752 2001-02-20 Tom Tromey <tromey@redhat.com>
2754 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
2757 2001-02-18 Tom Tromey <tromey@redhat.com>
2759 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
2760 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
2761 (AM_PROG_STRIP): Commented out.
2763 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
2765 * depcomp (gcc3): Protect against the compiler deleting
2766 the dependency output file.
2768 2001-02-17 Tom Tromey <tromey@redhat.com>
2770 * automake.in (handle_merge_targets): Use double quotes around
2771 setting of INSTALL_STRIP_PROGRAM.
2772 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2773 to absolute path at runtime.
2774 (AM_PROG_STRIP): Don't explicitly test $STRIP.
2776 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2778 * m4/strip.m4: New file.
2779 * m4/Makefile.am (m4data_DATA): Add strip.m4.
2780 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
2781 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
2782 * automake.in (handle_merge_targets): In the install-strip rule,
2783 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
2784 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
2785 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
2786 don't use INSTALL_STRIP_FLAG any longer.
2788 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2790 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
2793 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2795 * automake.in (unquote_m4_arg): New function.
2796 (scan_one_configure_file): Call unquote_m4_arg on
2797 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
2800 2001-02-15 Tom Tromey <tromey@redhat.com>
2802 * config.guess, config.sub: New versions from FSF.
2804 * Makefile.am (WGET): New macro.
2805 (FETCHFILES): New macro.
2806 (fetch): New target.
2808 * tests/subobj3.test: Exit with status 77 if gcc not found.
2809 * tests/pr9.test: Exit with status 77 if gzip not found.
2810 * tests/pr87.test: Exit with status 77 if gcc not found.
2811 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
2812 * tests/install2.test: Exit with status 77 if gzip not found.
2813 * tests/exsource.test: Exit with status 77 if GNU make not found.
2814 * tests/ansi3.test: Exit with status 77 if gcc not found.
2816 * tests/target-cflags.test: Require GNU make. Exit with status 77
2817 if gcc or make not found. Fixes PR automake/121.
2819 * configure.in: Require Perl 5.005.
2820 * automake.in: Require 5.005.
2822 * automake.texi (Top): Conditionalize on `nottex', not `info'.
2823 Fixes PR automake/122.
2825 2001-02-14 Tom Tromey <tromey@redhat.com>
2827 * automake.in (add_depend2): Only emit a given object rule once.
2828 Fixes specflags6.test.
2830 2001-02-14 Richard Boulton <richard@tartarus.org>
2832 * tests/specflags6.test: New file.
2834 2001-02-14 Tom Tromey <tromey@redhat.com>
2836 * automake.texi (A Shared Library): Mention -module.
2838 2001-02-13 Tom Tromey <tromey@redhat.com>
2840 * automake.in (do_one_merge_target): Always register $name and
2843 * automake.in (do_one_merge_target): Register `all' as phony
2846 * configure.in: Updated to 1.4e for cvs.
2848 2001-02-12 Tom Tromey <tromey@redhat.com>
2850 * configure.in: Updated to 1.4d and released.
2852 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
2853 names through autoconf.
2855 Fix for subdirbuiltsources.test:
2856 * automake.in (initialize_per_input): [all_target] Initialize to
2858 (handle_merge_targets): Use all-redirect target to handle built
2860 (do_one_merge_target): Don't generate all-redirect rule.
2862 2001-02-11 Peter Muir <iyhi@yahoo.com>
2864 * tests/subdirbuiltsources.test: New file.
2865 * tests/Makefile.am (TESTS): Added new file.
2867 2001-02-10 Tom Tromey <tromey@redhat.com>
2869 * tests/condlib.test: New file.
2870 * tests/Makefile.am (TESTS): Added new file.
2872 2001-02-10 Lars J. Aas <larsa@sim.no>
2874 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
2875 (&canonicalize): New. Includes '@' in canonical range.
2876 (&check_canonical_spelling, &handle_programs, &handle_libraries,
2877 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
2879 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
2881 * automake.in (handle_configure): Revert part of
2882 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
2883 set CONFIG_COMMANDS explicitly.
2885 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
2887 * depcomp (gcc3): Propagate exit code.
2889 2001-02-09 Lars J. Aas <larsa@sim.no>
2891 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
2893 2001-02-09 Tom Tromey <tromey@redhat.com>
2895 Clean up maintainer-check warnings:
2896 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
2898 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
2900 2001-02-09 Akim Demaille <akim@epita.fr>
2902 * automake.in (&file_contents): Remove a dead branch.
2904 2001-02-09 Akim Demaille <akim@epita.fr>
2906 * automake.in (&transform): Use `my', not `local'.
2907 (&transform_cond): New.
2908 (&get_object_extension, &handle_texinfo, &handle_tags)
2909 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
2910 (&handle_tests_dejagnu): Use it.
2911 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
2912 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
2914 2001-02-09 Akim Demaille <akim@epita.fr>
2916 * automake.in: Various formatting changes, and modernization of
2919 (&handle_configure, define_standard_variables): Use it.
2921 2001-02-08 Tom Tromey <tromey@redhat.com>
2923 * automake.in (file_contents): Only add $actions if any are
2924 found. Fixes new failure in pr87.test.
2926 2001-02-08 Pavel Roskin <proski@gnu.org>
2928 * tests/pr87.test: Check foo/Makfile.in after it is created.
2930 2001-02-08 Tom Tromey <tromey@redhat.com>
2932 * tests/pr87.test: Added check for blank line after `.c.o' rule.
2933 Report from Lars J. Aas.
2935 2001-02-07 Lars J. Aas <larsa@sim.no>
2937 * lisp.am (install-@DIR@LISP): Removed extra space.
2938 * header.am (install-@DIR@HEADERS): Removed extra space.
2939 * data.am (install-@DIR@DATA): Removed extra space.
2941 2001-02-07 Tom Tromey <tromey@redhat.com>
2943 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
2945 * automake.in (handle_dependencies): Use _am_include, not
2947 * tests/exsource.test: Use _am_include, not AMINCLUDE.
2948 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
2950 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
2952 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
2954 * automake.in (handle_configure): Handle case where output file is
2955 in subdir with no Makefile of its own. Fixes remake3.test,
2958 2001-02-06 Pavel Roskin <proski@gnu.org>
2960 * automake.in (handle_dependencies): Rename AM_INCLUDE to
2962 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2963 * tests/exsource.test: Likewise.
2965 2001-02-06 Derek Price <derek.price@openavenue.com>
2967 * automake.in (handle_configure): Fix syntax error.
2969 2001-02-06 Akim Demaille <akim@epita.fr>
2971 * subdirs.am: This file is the exception: clean recursive targets
2972 are called by the clean targets, not the clean-am targets.
2973 Otherwise we have a circular dependency: clean -> clean-am ->
2974 clean-recursive -> clean.
2975 * automake.in (handle_clean): Bind `-local' targets to `-am'
2976 targets, not top targets.
2977 Don't declare -recursive dependencies of the clean targets:
2978 `subdirs.am' did it. Less hard coded knowledge, transfered
2982 2001-02-06 Akim Demaille <akim@epita.fr>
2984 Monstro unsplitable patch.
2986 The aim is to remove hard coded knowledge about clean targets from
2987 automake.in, leaving them in the *.am files.
2988 In addition to the mechanic needed to factor some dependencies, it
2989 appears some rules (most notably distclean and maintainer-clean)
2990 need factored actions. So first, be ready to catch factored
2993 * automake.in (&file_contents): For the time being, use an extended
2994 $RULE_PATTERN which is able to match any kind of rules, with or
2995 without dependency, with or without actions.
2996 Handle all the rules uniformly, storing in %actions the factored
2998 (&flatten, &target_cmp): New.
2999 (&handle_factored_dependencies): Output the %actions.
3000 No longer special case `clean'.
3001 Output the rules in alphabetical order, but keeping `.PHONY' last.
3003 Now we must not use &push_phony_cleaners, which is doing all sort
3004 of magic to push a bit of everything in all the clean targets.
3005 The biggest problem being that, making a Cartesian product, it
3006 requires many useless targets. The `*.am' file know better.
3007 But first, register the new factored rules.
3009 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3010 maintainer-clean, distclean and their `*-am' counterpart in
3012 Initialize %actions.
3013 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3014 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3015 (handle_emacs_lisp, handle_python): Don't play with
3016 &push_phony_cleaners nor &depend and `clean'.
3017 * texinfos.am, texi-vers.am, tags-clean.am:
3018 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3019 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3020 * clean-kr.am, clean-hdr.am: Do it.
3021 Whenever a target is empty, just remove it, it will no longer be
3024 There is still some magic about clean to hard code. But really,
3025 that's the end of &do_one_clean_target.
3027 * automake.in (&do_one_clean_target): Kaboom out.
3028 (&handle_clean): Rewrite the magic code.
3029 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3031 (&push_phony_cleaners): Kaboom too.
3033 2001-02-06 Akim Demaille <akim@epita.fr>
3035 * automake.in (do_one_clean_target): Don't hard code knowledge
3036 about libtool, and maintainer-clean.
3037 * clean.am, libtool.am: Handle these.
3039 2001-02-05 Akim Demaille <akim@epita.fr>
3041 * automake.in (handle_texinfo): No longer hard code the clean
3043 (texinfos.am): Include them.
3045 2001-02-05 Akim Demaille <akim@epita.fr>
3047 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3048 (maintainer-check): Don't be silent when you find a problem, and
3049 actually, even specify the locations.
3050 Also check that @_ is assigned to arrays.
3052 2001-02-05 Akim Demaille <akim@epita.fr>
3054 * m4/regex.m4: Use AC_LIBSOURCES.
3055 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3058 2001-02-04 Tom Tromey <tromey@redhat.com>
3060 * m4/Makefile.am (m4data_DATA): Added make.m4.
3061 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3063 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3064 Copy depcomp to subdir.
3065 * m4/make.m4: New file.
3067 2001-02-04 Pavel Roskin <proski@gnu.org>
3069 * automake.in (handle_dist_worker): Remove a line that is now
3072 2001-02-04 Kevin Ryde <user42@zip.com.au>
3074 * automake.in (handle_configure): Call config.status with empty
3075 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3077 2001-02-04 Tom Tromey <tromey@redhat.com>
3079 * depcomp (ddashmd): Removed case.
3080 (sgi): Handle failure exit correctly
3081 (aix): Likewise. Also, add dummy `.h' targets.
3083 2001-02-04 Akim Demaille <akim@epita.fr>
3085 * distdir.am (distdir): New file, extracted from...
3086 * automake.in (handle_dist_worker): here.
3089 2001-02-04 Akim Demaille <akim@epita.fr>
3091 * automake.in (@clean): Remove, replaced by...
3092 ($dependencies{'clean'}): this.
3093 Use `&depend' instead of push'ing into @clean.
3094 (handle_factored_dependencies): For the time being, skip 'clean'.
3095 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3096 always `clean', and `@clean'.
3098 2001-02-04 Akim Demaille <akim@epita.fr>
3100 * automake.in (%dependencies): Don't be initialize globally for
3101 all the files, but in...
3102 (&initialize_per_input): here.
3104 (@phony): Replace all occurrences with the corresponding &depend
3107 2001-02-03 Tom Tromey <tromey@redhat.com>
3109 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3110 * header-vars.am (INSTALL_HEADER): New macro.
3112 * automake.texi (Rebuilding): New node.