1 2001-07-21 Tom Tromey <tromey@redhat.com>
3 * automake.texi (Macros): Document AM_PROG_AS.
4 (Assembly Support): New node.
5 * m4/Makefile.am (m4data_DATA): Added as.m4.
8 * automake.texi (Tags): Added uref to global tags.
10 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
12 * automake.in (handle_single_transform_list): Use $(DEPDIR)
13 instead of hardcoding '.deps'.
14 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
16 2001-07-20 Derek Price <dprice@collab.net>
18 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
20 * tests/dirname.test: New test.
21 * tests/stamph2.test: New test.
22 * tests/Makefile.am: Add new tests.
23 * tests/Makefile.in: Regenerated.
25 2001-07-19 Tom Tromey <tromey@redhat.com>
27 * automake.texi (Tags): Document GTAGS_ARGS.
28 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
30 2001-07-19 Tom Tromey <tromey@redhat.com>
31 Alexandre Duret-Lutz <duret_g@epita.fr>
33 Fix for ccnoco.test, subobj8.test:
34 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
35 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
37 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
38 Use AM_AUX_DIR_EXPAND.
39 * lib/compile: Handle case where `-o' argument is the name of an
40 executable, not an object file.
41 * m4/auxdir.m4: New file, from...
42 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
43 * automake.in (handle_single_transform_list, lang_c_rewrite):
44 Require compile using `require_config_file'.
46 2001-07-19 Tom Tromey <tromey@redhat.com>
48 * automake.texi (Program and Library Variables): Added X example
51 2001-07-19 Tom Tromey <tromey@redhat.com>
53 * automake.texi (Distributing): Updated to reflect new license.
55 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
57 * automake.in (require_build_directory): New function, extracted
59 (handle_single_transform_list): ... here.
60 (require_build_directory_maybe): New function.
61 (handle_prograns, handle_libraries, handle_ltlibraries): Call
62 require_build_directory_maybe() to ensure the subdirectory
63 in which a target may lie will exist when the target is created.
64 (handle_libraries, handle_ltlibraries): Use basename before
65 checking library name.
66 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
67 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
68 * lib/am/program.am (%PROGRAM%): Likewise.
70 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
72 * m4/missing.m4: Reword comment.
74 2001-07-18 Pavel Roskin <proski@gnu.org>
76 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
77 * tests/gcj.test: Likewise.
78 * tests/gcj2.test: Likewise.
79 * tests/gcj3.test: Likewise.
81 2001-07-18 Tom Tromey <tromey@redhat.com>
83 * lib/compile: Change how lockdir is computed. If linking or
84 compiling without `-o', just run the compiler.
86 * tests/Makefile.am (TESTS): Added ccnoco.test.
87 (XFAIL_TESTS): Likewise.
88 * tests/ccnoco.test: New file.
90 2001-07-17 Tom Tromey <tromey@redhat.com>
92 * lib/ylwrap: Added special exception.
93 * lib/py-compile: Added license.
94 * lib/mdate-sh: Added special exception.
95 * lib/elisp-comp: Added special exception.
96 * lib/compile: Added special exception.
97 * lib/depcomp: Added special exception.
99 Report from Motoyuki Kasahara:
100 * tests/make.test: Use am__include.
101 * tests/exsource.test: Use am__include.
102 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
103 * automake.in (handle_languages): Use am__include and am__quote.
105 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
106 * m4/init.m4: Updated callers.
108 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
110 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
111 * aclocal.in (scan_configure, add_file): Handle the full macro
112 name even if it contains numbers, such as I18N.
114 2001-07-16 Tom Tromey <tromey@redhat.com>
116 * automake.texi (Dependencies): Link to dependency tracking page.
117 (Data): Mention dist_.
118 (Clean): Mention clean heuristics.
119 (Install): Mention nobase_.
121 * automake.texi (Program and Library Variables): Document _LINK.
123 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
125 * automake.in (handle_libraries): Allow libraries to lie in
126 a subdirectory by constraining only the basename to start
127 with 'lib', not the whole path.
129 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
131 * tests/subobj8.test: New file.
132 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
134 2001-07-16 Tom Tromey <tromey@redhat.com>
136 Fix for PR automake/212:
137 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
138 (uninstall-%DIR%LISP): Likewise.
140 2001-07-15 Tom Tromey <tromey@redhat.com>
142 * automake.in (usage): Rewrote code to handle columnization.
143 From Alexey Mahotkin and Maxim Sinev.
145 Report from Ralf Corsepius:
146 * automake.in (TARGET_PATTERN): Add `+' as valid character.
147 (SUFFIX_RULE_PATTERN): Likewise.
148 * tests/Makefile.am (TESTS): Added cxx.test.
149 * tests/cxx.test: New file.
151 * lib/am/tags.am (distclean-tags): Remove files for gtags.
152 From Shigio Yamaguchi.
154 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
156 * lib/am/distdir.am (distcheck): Emit diagnostic when files
157 remain after "make uninstall".
159 2001-07-14 Tom Tromey <tromey@redhat.com>
161 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
163 * lib/missing (makeinfo): Redirect stdout and stderr outside
164 subshell. From Alexandre Oliva.
166 2001-07-14 Akim Demaille <akim@epita.fr>
168 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
169 `\b(foo|bar)\b' is what we want.
170 * aclocal.in: Likewise.
172 2001-07-14 Akim Demaille <akim@epita.fr>
174 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
176 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
177 actually modified to require AM_DEPENDENCIES.
178 Rename `confdir' as `conftest.dir' so that the configure trap
181 2001-07-04 Tom Tromey <tromey@redhat.com>
184 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
185 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
186 * automake.in (am_install_var): Only rewrite PROGRAMS if
188 (make_paragraphs): Always define %EXEEXT%.
190 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
192 * tests/nolink.test: New file.
193 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
195 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
197 * automake.in (scan_texinfo_file): Add the second argument to
198 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
199 itself may not be used directly.
201 2001-07-04 Tom Tromey <tromey@redhat.com>
204 * lib/missing (makeinfo): Use subshell, not explicit sh
207 * automake.texi (Headers): Mention that we prefer uninstalled
209 (ANSI): Mention cross-compilation limitation.
211 2001-07-03 Tom Tromey <tromey@redhat.com>
213 * configure.in: Upped to 1.4i.
215 * configure.in: Released 1.4h.
217 * lib/config.guess, lib/config.sub: Updated.
219 2001-07-02 Tom Tromey <tromey@redhat.com>
221 Fix for libtool2.test:
222 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
223 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
224 * automake.in (generate_makefile): Call handle_libtool
226 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
228 * tests/libtool2.test: Look for `.lo' files to be removed.
230 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
232 * tests/Makefile.am (TESTS): Removed dup.test.
233 * tests/dup.test: Removed.
234 * aclocal.in (scan_file): Don't give error for duplicate macro.
236 2001-07-01 Tom Tromey <tromey@redhat.com>
238 * automake.texi (Program and Library Variables): Document
239 subdir-objects. Document fact that per-object flags override AM_
242 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
243 (Multilibs): New node.
244 (Macros): Documented missing macros.
245 (Auxiliary Programs): New node.
247 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
248 mode, then simply fail.
250 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
252 * lib/ylwrap: Improve support for DOS paths (and paths
253 containing backslashes in general).
255 2001-07-01 Tom Tromey <tromey@redhat.com>
257 * lib/missing: Added special exception to license.
260 * lib/missing: Updated. Added comment explaining configure.ac
263 * lib/depcomp: Reorder arguments to gcc3.
264 From Per Oyvind Hvidsten.
266 * tests/Makefile.am (TESTS): Added libtool2.test.
267 * tests/libtool2.test: New file.
269 * automake.texi (Program and Library Variables): Added example for
272 2001-06-29 Tom Tromey <tromey@redhat.com>
274 * tests/cond11.test: Use `=', not `=='.
275 * tests/cond12.test: Look for automake in build directory, not
278 2001-06-29 Richard Boulton <richard@tartarus.org>
280 * automake.in (conditionals_true_when): Pass first parameters by
281 reference, avoiding bug which put all parameters in @CONDS instead
282 of @WHENS. Report by Kalle Olavi Niemitalo.
283 Take a single WHEN instead of an array of WHENS.
284 Remove FIXME; can't now have an empty @WHENS.
285 (conditional_is_redundant): New sub.
286 (variable_conditions_reduce): Check whether each condition is
287 implied by any of the other conditions (other those already
288 discarded), rather than checking only against those already
289 considered (and kept). Also, fix sense of check: was keeping
290 tautologous terms instead of discarding them. Use
291 conditional_is_redundant instead of conditionals_true_when.
292 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
293 * tests/cond11.test: New file.
294 * tests/cond12.test: New file.
296 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
298 * automake.in (saw_sources_p): Work even if there are more
299 than one header files, and more than of one type of header.
300 * tests/Makefile.am (TESTS): Added new file.
301 * tests/depend4.test: New file.
303 2001-06-28 Tom Tromey <tromey@redhat.com>
305 * lib/am/libs.am (RANLIB): Don't define.
307 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
309 * automake.in (am_install_var): Assign 1 to $first on
312 2001-06-23 Tom Tromey <tromey@redhat.com>
315 * lib/ylwrap: Changed usage.
316 * lib/am/yacc.am: Rewrote to use new substitutions.
317 * lib/am/lex.am: Likewise.
318 * automake.in (handle_languages): Skip files whose language
319 doesn't have a compiler. Handle `define_flag' attribute.
320 Changed '$' to "\$" to aid Emacs fontification.
321 (struct): Added `rule_file'. Removed `derived_autodep'. Added
322 `_target_hook' and `define_flag'.
323 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
324 and `compiler' attributes. Removed `linker', `derived_autodep',
325 and `ansi' attributes. Added `define_flag'.
326 (yacc, yaccxx): Added `_target_hook'.
327 (saw_extension): Count number of times extension seen.
328 (count_files_for_language): New sub.
329 (saw_sources_p): Use it.
330 (handle_single_transform_list): Allow language rewrite function
331 to return a new source extension. Call target_hook.
332 (yacc_sources, lex_sources): Removed.
333 (initialize_per_input): Don't initialize yacc_sources or
335 (lang_yacc_rewrite): Rewrote.
336 (lang_yaccxx_rewrite): Likewise.
337 (lang_lex_rewrite): Likewise.
338 (lang_lexxx_rewrite): Likewise.
339 (output_yacc_build_rule): Removed.
340 (output_lex_build_rule): Removed.
341 (lang_yacc_finish): Removed build rule generation.
342 (lang_lex_finish): Likewise.
343 (DASH_D_PATTERN): New global.
344 (lang_yacc_target_hook): New function.
345 (_target_hook): New function.
346 (register_language): Default `define_flag'.
347 * tests/yacc5.test: Updated test.
348 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
349 * tests/yacc3.test: Remove bogus `make' invocation. Added test
350 for all YFLAGS variables.
352 2001-06-20 Tom Tromey <tromey@redhat.com>
354 * tests/yacc5.test: Check for per-executable YFLAGS.
356 2001-06-19 Tom Tromey <tromey@redhat.com>
358 * tests/Makefile.am (TESTS): Added yacc5.test.
359 * tests/yacc5.test: New file.
361 2001-06-17 Tom Tromey <tromey@redhat.com>
363 * automake.in (require_file_internal): Check for already-required
364 file after searching for it, and only if it is not found. Don't
365 use `readlink' when checking for dangling symlink. Work if
366 --force-missing specified.
367 * tests/acoutput2.test: Also test --force-missing.
369 Fix for libtool.test:
370 * automake.in (generate_makefile): Call handle_libtool.
371 (handle_libtool): New sub.
372 (handle_compile): Don't read `libtool' file.
374 * tests/acoutput2.test: New file.
375 * tests/Makefile.am (TESTS): Added acoutput2.test.
377 2001-06-15 Tom Tromey <tromey@redhat.com>
379 * tests/Makefile.am (TESTS): Added libtool.test.
380 * tests/libtool.test: New file.
382 2001-06-14 Tom Tromey <tromey@redhat.com>
384 Fix some lisp bugs reported by Bruno Haible:
385 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
387 (install-%DIR%LISP): Handle case where lispdir is not defined.
388 (uninstall-%DIR%LISP): Likewise.
389 (.el.elc): Added `else' clause.
391 Fix for bug reported by Steve M. Robbins:
392 * automake.in (handle_single_transform_list): When building a file
393 from a subdirectory, continue to use `AM_' prefix.
394 * tests/Makefile.am (TESTS): Added subobj7.test.
395 * tests/subobj7.test: New file.
397 * lib/am/configure.am ($(top_builddir)/config.status): Added
398 $(top_builddir) prefix to work around problems with some vendor
399 makes. From Nicholas Joly.
401 * automake.in (yacc_lex_finish_helper): Find ylwrap in
402 top_srcdir. From Tim Van Holder.
403 * tests/Makefile.am (TESTS): Added yacc6.test.
404 * tests/yacc6.test: New file.
406 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
408 * tests/defs, tests/installsh.test: Properly support
411 2001-06-14 Tom Tromey <tromey@redhat.com>
413 * tests/Makefile.am (TESTS): Added mdate4.test.
414 * tests/mdate4.test: New file.
416 * aclocal.in (scan_m4_files): Removed unused variable.
418 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
420 * aclocal.in (scan_m4_files): Tweak the building of &search so
421 that multiple macro names can be found on the same line. Ensure
422 we match whole macro name, not only substrings.
424 2001-06-12 Tom Tromey <tromey@redhat.com>
426 * automake.texi (ANSI): Minor clarification.
427 (Other GNU Tools): Don't mention Guile.
429 (Java Support): Mention file extensions.
430 (Man pages): Mention dist_. Don't mention info pages.
432 2001-06-11 Tom Tromey <tromey@redhat.com>
434 * automake.texi (Program variables): Document AM_CPPFLAGS.
436 (Java Support): Document AM_GCJFLAGS.
437 (Support for Other Languages): Removed `fixme'; added link to
438 suffix rule handling.
440 * automake.texi (Program and Library Variables): Document _LIBADD,
441 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
443 2001-06-11 Kevin Dalley <kevind@rahul.net>
445 * missing: Support configure.ac.
447 2001-06-08 Tom Tromey <tromey@redhat.com>
449 * tests/version4.test: New file.
450 * automake.in (version_check): New sub.
451 (handle_options): Use it.
452 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
453 (TESTS): Added version4.test.
454 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
455 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
457 2001-06-04 Kevin Dalley <kevind@rahul.net>
459 * lib/am/dejagnu.am (site.exp): Fix typo.
461 2001-06-02 Tom Tromey <tromey@redhat.com>
463 * automake.in (variable_conditions_sub): Move parent-only code
465 (variable_conditions): ... to here.
466 (variable_conditions_sub): Include this variable's conditions in
467 the resulting condition list.
468 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
470 2001-06-01 Tom Tromey <tromey@redhat.com>
472 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
474 * tests/ltdeps.test: New file. Report from Lars J. Aas.
476 2001-05-31 Tom Tromey <tromey@redhat.com>
478 * automake.texi (Alternative): New node.
479 (Macros): Use new name for gcc.
480 (Java Support): Likewise.
481 (Dependencies): Rewrote.
482 (Invoking Automake): (Re-)document -i, --ignore-deps, and
485 * automake.texi (Top level): Removed erroneous spaces. Documented
488 2001-05-29 Tom Tromey <tromey@redhat.com>
490 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
492 * automake.texi (Include): Rewrote.
493 (Suffixes): Remove Java example.
494 (Java): Added more explanation. Document variables.
495 (Uniform): Mention JAVA as a primary.
496 (Python): Updated for new Python support.
497 (Sources): Added a weak example.
499 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
501 * automake.texi (A Program): Mention `check' prefix.
502 (Program and Library Variables): New node.
503 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
505 (etags): Mention per-program flags.
506 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
509 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
512 2001-05-28 Tom Tromey <tromey@redhat.com>
514 * m4/Makefile.am (MAINT_CHARSET): Removed.
515 * Makefile.am (MAINT_CHARSET): Removed.
516 * automake.in (maint_charset, dist_charset): Removed.
517 (local_maint_charset): Removed.
518 (initialize_per_input): Don't use maint_charset.
519 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
521 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
523 (.%SUFFIX%.dvi): Likewise.
524 (.%SUFFIX%): Likewise.
526 2001-05-27 Tom Tromey <tromey@redhat.com>
528 * automake.in (handle_multilib): Only add multilib support code at
530 * lib/am/multilib.am: Handle invocation of *-multi targets
531 differently for SUBDIRS and non-SUBDIRS Makefiles.
532 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
533 Only add multilib code when the Makefile in question is actually
536 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
538 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
540 * automake.in (handle_single_transform_list): Skip unknown
543 2001-05-25 Tom Tromey <tromey@redhat.com>
545 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
547 2001-05-24 Tom Tromey <tromey@redhat.com>
549 * automake.in (handle_texinfo_helper): Find mdate-sh in current
550 directory in some situations.
552 * automake.in (generate_makefile): Better explanation for ansi2knr
555 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
557 * automake.in (handle_languages): Skip unknown extensions.
558 (derive_suffix): Check whether $extension_map{$source_ext}
559 is undefined, not empty.
561 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
563 * automake.in (read_am_file): Ignore trailing backslash on
566 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
568 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
570 2001-05-21 Akim Demaille <akim@epita.fr>
572 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
573 multiple times'' warning.
575 2001-05-20 Tom Tromey <tromey@redhat.com>
577 * configure.in: Updated to 1.4g.
579 * configure.in: Updated to 1.4f.
581 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
583 * lib/ansi2knr.c: New version.
585 * Makefile.am (FETCHFILES): Added ansi2knr.c.
588 2001-05-19 Tom Tromey <tromey@redhat.com>
590 * config.guess, config.sub: New versions from FSF.
592 * Makefile.am (fetch): Compare against files in srcdir.
594 For for ansi2knr report from Harlan Stenn:
595 * automake.in (generate_makefile): Run handle_compile before
598 2001-05-18 Tom Tromey <tromey@redhat.com>
600 * automake.in: Reverted erroneous checkin.
602 2001-05-18 Akim Demaille <akim@epita.fr>
604 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
605 to missing `install-info'.
607 2001-05-17 Tom Tromey <tromey@redhat.com>
609 * automake.in (lang_c_finish): Use `rm -f'.
611 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
612 * tests/Makefile.am (TESTS): Added new file.
613 * tests/ansi5.test: New file.
615 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
617 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
619 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
620 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
621 * automake.texi (Requirements): Document the use of the STRIP
622 variable in cross-compilation environments.
624 2001-05-17 Tom Tromey <tromey@redhat.com>
626 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
627 to no dependency tracking.
628 * tests/Makefile.am (TESTS): Added depcomp2.test.
629 * tests/depcomp2.test: New file. From Pavel Roskin.
631 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
633 * lib/depcomp (tru64): New dependency tracking mode.
635 Fix for PR automake/159:
636 * lib/depcomp (aix): Rewrote.
639 Fix for PR automake/174:
640 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
641 * automake.in (read_am_file): Warn if `#' is at start of rule.
643 2001-05-16 Tom Tromey <tromey@redhat.com>
646 * tests/Makefile.am (TESTS): Added comment3.test.
647 (XFAIL_TESTS): Likewise.
648 * tests/comment3.test: New file.
650 Fix for PR automake/175:
651 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
652 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
653 `Leaving directory' messages.
656 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
657 * tests/make.test: Run test with `make -w'.
659 * tests/Makefile.am (TESTS): Removed maintclean.test.
660 * lib/am/clean.am (maintainer-clean-generic): Don't remove
662 * lib/am/configure.am (maintainer-clean-am): Removed.
663 (maintainer-clean-conf): Removed.
664 * tests/maintclean.test: Removed.
666 2001-05-15 Tom Tromey <tromey@redhat.com>
668 Fix for PR automake/177:
669 * Makefile.am (maintainer-clean): Set perllibdir before invoking
672 Fix for maintclean.test:
673 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
674 * lib/am/clean.am (distclean-generic): Don't remove config.cache
676 (distclean, maintainer-clean): Moved to...
677 * lib/am/configure.am: ... here.
678 (distclean): Remove config.cache and config.log.
679 (maintainer-clean): Removed.
680 (maintainer-clean-conf): New target.
681 (maintainer-clean-am): New target.
683 * tests/Makefile.am (TESTS): Added maintclean.test.
684 (XFAIL_TESTS): Likewise.
685 * tests/maintclean.test: New file.
687 Fixes PR automake/175:
688 * tests/target-cflags.test: Use $needs_gnu_make.
689 * tests/exsource.test: Use $needs_gnu_make.
690 * tests/make.test: Require GNU make.
691 * tests/defs (needs_gnu_make): Compute.
693 2001-05-14 Tom Tromey <tromey@redhat.com>
695 * lib/ylwrap: Fixed quoting on regular expression. Fixes
698 Fix for texinfo10.test.
699 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
700 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
701 * automake.in (handle_texinfo_helper): New sub.
702 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
703 * tests/texinfo10.test: Added more cases.
705 Fix for yaccvpath.test:
706 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
707 * lib/am/distdir.am (distdir): Always look for file in build
709 * lib/ylwrap: Quote the `#line' regular expression.
710 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
711 change; don't run sed on the generated file.
712 * tests/yaccvpath.test: Create new parser in srcdir. Added test
713 to make sure parser will be rebuilt at dist time.
715 2001-05-13 Pavel Roskin <proski@gnu.org>
717 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
719 * automake.texi (General Operation): Document it.
721 2001-05-13 Tom Tromey <tromey@redhat.com>
723 Reported by Rainer Orth:
724 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
726 * tests/Makefile.am (TESTS): Added distname.test.
727 * tests/distname.test: New file.
729 * Makefile.am (dist_pkgdata_DATA): Removed.
731 * tests/defs: Find files to copy in lib/.
732 * automake.in (perllibdir): Set to Automake directory.
733 * ansi2knr.c, ansi2knr.1: Removed.
734 * Makefile.am (dist_am_DATA): Removed.
736 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
738 (scriptdir): Removed.
739 (dist_script_DATA): Likewise.
740 (install-data-hook): Likewise.
741 (installcheck-local): Likewise.
742 (TAGS_FILES): Removed amfiles.
743 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
744 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
745 point it to the right directory.
746 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
747 compile.am, configure.am, data.am, dejagnu.am, depend.am,
748 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
749 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
750 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
751 mans.am, multilib.am, program.am, progs.am, python.am,
752 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
753 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
754 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
755 (AUTOMAKE): Use --libdir, not --amdir.
756 Ues AC_CONFIG_AUX_DIR.
757 * lib/Makefile.am (SUBDIRS): Added `am'.
758 (scriptdir): New macro.
759 (dist_script_DATA): Likewise.
760 (dist_pkgdata_DATA): Likewise.
761 (install-data-hook): New target.
762 (installcheck-local): Likewise.
763 * lib/am/Makefile.in: New file.
764 * lib/am/Makefile.am: Removed everything except amdir and
767 2001-05-13 Akim Demaille <akim@epita.fr>
769 * automake.in ($pkgdata_dir): Rename as...
771 ($am_dir): Remove, replace its uses with $libdir.
772 (&parse_arguments): Replace --amdir with --libdir.
773 * automake.texi (Invoking Automake): Document --libdir, not
775 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
777 2001-05-13 Tom Tromey <tromey@redhat.com>
779 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
781 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
782 Correctly look at AMDEP_TRUE, not AMDEP.
784 Report from Robert Boehne:
785 * tests/Makefile.am (TESTS): Added depend2.test.
786 * tests/depend2.test: New file.
788 2001-05-13 James Henstridge <james@daa.com.au>
790 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
791 Point pythondir at site-packages directory. Rename
792 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
793 pyexecdir. Removed package/module argument. Removed
794 PYTHON_SITE_INSTALL. Added version checking.
796 2001-05-14 Jim Meyering <meyering@lucent.com>
798 * automake.in (macro_define): Change one remaining use of
799 `variable_dump' to `macro_dump'.
801 2001-05-13 Tom Tromey <tromey@redhat.com>
803 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
806 2001-05-13 Akim Demaille <akim@epita.fr>
808 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
809 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
810 (&am_primary_prefixes): Use `map' rather than `grep'.
812 2001-05-13 Akim Demaille <akim@epita.fr>
814 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
816 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
817 (&lang_asm_finish): Remove, set asm's finisher to C's one.
819 2001-05-13 Akim Demaille <akim@epita.fr>
821 * lang-compile.am: New file, loaded once per language.
822 * depend2.am: Move definitions loaded once per language in the
824 * automake.in (&handle_languages): Load it.
825 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
826 handled by lang-compile.am.
828 2001-05-13 Tom Tromey <tromey@redhat.com>
830 * tests/Makefile.am (TESTS): Added python.test.
831 * tests/python.test: New file.
832 * automake.in (handle_languages): Use
833 config_aux_dir_set_in_configure_in.
834 (handle_python): Correctly mention AM_PATH_PYTHON. Use
835 py-compile, not py_comp. Define py_compile macro.
837 2001-05-13 Derek Price <dprice@openavenue.com>
839 * automake.in (require_file_with_conf_line,
840 require_file_with_line, require_file): Pass a @require_file_path
841 of $relative_dir instead of '.' to require_file_internal so that
842 all the special casing of '.' can be removed elsewhere.
843 (require_config_file, require_conf_file_with_line,
844 require_conf_file_with_conf_line): Remove special casing for '.'
845 and make sure $config_aux_dir is maintained properly.
846 (require_file_internal): Remove special casing of '.' and set
847 @require_file_path when missing files are added.
848 (maybe_push_required_file): Remove special casing of '.'
849 (handle_dependencies): Remove a workaround for a bug now fixed
850 and remove $config_aux_dir special casing.
851 (handle_configure): Remove special casing for $config_aux_dir
852 (handle_python): Ditto.
853 (yacc_lex_finish_helper): Change $config_aux_dir switch to
854 switch on the value of $config_aux_dir_set_in_configure_in.
855 (handle_texinfo): Ditto.
856 (scan_one_configure_file): Set $config_aux_dir and
857 $config_aux_dir_set_in_configure_in properly so special casing
858 on the value of $config_aux_dir can be removed elsewhere.
859 * tests/depcomp.test: New file.
860 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
861 first subdir containing a C file.
862 * tests/libobj2.test: Ditto.
863 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
865 2001-05-12 Tom Tromey <tromey@redhat.com>
867 * tests/gcj.test: Updated for gcj dependency tracking.
868 * tests/gcj2.test: Likewise.
870 Fixes PR automake/169.
871 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
873 * automake.in (java): Added autodep entry.
874 * tests/Makefile.am (TESTS): Added gcj3.test.
875 * tests/gcj3.test: New file.
877 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
879 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
880 stop at the first '='.
881 * tests/Makefile.am (TESTS): Added vars.test.
882 * tests/vars.test: New file.
884 2001-05-12 Akim Demaille <akim@epita.fr>
886 * automake.in (&handle_single_transform_list): Simplify
887 computation of $object and $this_obj_ext.
888 * tests/lex3.test: Merge into...
889 * tests/lex.test: here.
890 * tests/pr19.test: Improve and rename as...
891 * tests/lex3.test: this.
893 2001-05-09 Tom Tromey <tromey@redhat.com>
895 * automake.in (read_am_file): Correctly compute $saw_bk.
896 (scan_autoconf_files): Ensure configure_dist_common is always
898 * tests/defs (AUTOMAKE): Added --Werror.
900 2001-05-09 Pavel Roskin <proski@gnu.org>
902 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
905 2001-05-09 Tom Tromey <tromey@redhat.com>
907 * tests/werror.test: Use `rm -f'.
909 2001-05-09 Akim Demaille <akim@epita.fr>
911 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
913 2001-05-09 Akim Demaille <akim@epita.fr>
915 * automake.in: Remove some code left from bad patches.
916 (&handle_dependency): Remove, for the same reason.
918 2001-05-09 Akim Demaille <akim@epita.fr>
920 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
921 (&handle_tests_dejagnu, &define_standard_variables): Don't.
922 (&define_standard_variables): Don't transform %top_builddir% since...
923 * header-vars.am: Use %TOPDIR% instead.
925 2001-05-09 Akim Demaille <akim@epita.fr>
927 * automake.in (@objects): Remove, unused.
928 Remove all the code related to it, and to former `$(OBJECTS)'.
930 2001-05-08 Tom Tromey <tromey@redhat.com>
933 * ylwrap: Handle arguments to program. Remove old code that tried
934 to avoid absolute paths and add new code to do it in all cases.
935 Removed ancient logic that tried to deal with relative path.
936 * tests/Makefile.am (TESTS): Added yacc4.test.
937 * tests/yacc4.test: New file.
939 Fix for PR automake/149 and werror.test:
940 * automake.in (require_file_internal): Use am_line_warning or
941 am_conf_line_warning when suppressing error.
942 (am_line_warning): New sub.
943 (am_conf_line_warning): Save and restore warning signal.
944 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
946 Fix for PR automake/36:
947 * tests/Makefile.am (TESTS): Added asm.test.
948 * tests/asm.test: New file.
949 * automake.in (asm): Use ASFLAGS and AS.
950 (lang_asm_finish): New sub.
952 * automake.in (read_am_file): Removed debugging code.
955 * tests/Makefile.am (TESTS): Added werror.test.
956 (XFAIL_TESTS): Likewise.
957 * tests/werror.test: New file.
959 * automake.in (conditional_true_when): Don't return if we see
962 * tests/objc.test: Removed.
963 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
966 * automake.in (subst): New sub.
967 (handle_languages): Use it.
968 (output_lex_build_rule): Likewise; also use _am_quote.
969 (check_libobjs_sources): Likewise.
970 (make_paragraphs): Use subst.
972 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
975 * automake.in (file_contents_internal): Prototype now `$$%'.
976 (register_language): Prototype now `%'.
978 Fixes test subobj6.test and PR automake/160:
979 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
980 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
981 (distclean-compile): Added DISTRMS.
982 * tests/subobj6.test (wish_SOURCES): Updated to reflect
983 `mostlyclean' use; added test for non-subdir case.
984 * automake.in (compile_clean_files): New global.
985 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
986 (initialize_per_input): Initialize compile_clean_files.
987 (handle_single_transform_list): Set compile_clean_files entries.
988 (handle_compile): Handle compilation cleanups.
990 2001-05-08 Lars J. Aas <larsa@sim.no>
992 * automake.texi (Canonicalizing Automake macros): Document not
993 canonicalizing strudels (@) anymore.
995 2001-05-08 Akim Demaille <akim@epita.fr>
997 * distdir.am (dist-all): Build all the flavors using a single
1000 2001-05-08 Akim Demaille <akim@epita.fr>
1002 * automake.in (&file_contents_internal): Apply the @cond_stack to
1003 the rules and assignments.
1004 Don't rely on `$.' as it's biased by &make_paragraphs.
1005 Don't remove backslashes in variable values.
1007 2001-05-08 Akim Demaille <akim@epita.fr>
1009 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1010 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1011 ($MACRO_PATTERN): Just catch the name of a macro.
1012 ($BOGUS_MACRO_PATTERN): Remove.
1013 ($ASSIGNMENT_PATTERN): New.
1014 (&file_contents_internal, &make_paragraphs): Adjust.
1015 (¯o_define): Catch bad macro names.
1016 (&cond_stack_endif): Better error message.
1017 (&file_contents_internal): Don't remove backslashes in variable
1019 (¯o_define): Do it for `+=' user variables.
1020 (&define_standard_variables): Use `undef' instead of a dummy
1022 (&make_paragraph): Be sure not to chop the trail of hash only
1023 lines: adjust the `##' regexp.
1024 (&rule_define): Fix a bug: don't read $1 but $target.
1025 * tests/condincl.test: Strengthen.
1027 2001-05-08 Akim Demaille <akim@epita.fr>
1029 * automake.in (Language): Add attributes `Name' and `config_vars'.
1030 (&finish): Work properly if there is no _finish.
1031 (Automake): Register language Names and AC_SUBST dependencies.
1032 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1033 (&handle_languages): Once per language, invoke
1034 `define_linker_variables', and check its config_vars.
1035 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1036 (&lang_java_finish): Remove.
1037 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1039 2001-05-08 Akim Demaille <akim@epita.fr>
1041 * automake.in (&file_contents_internal): Accept $IS_AM.
1042 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1044 2001-05-08 Akim Demaille <akim@epita.fr>
1046 * automake.in (am_install_var): Use `next' instead of `if' on the
1049 2001-05-08 Akim Demaille <akim@epita.fr>
1051 * automake.in (Language): Add attributes `lder' and `ld'.
1052 (®ister_language): Specify for cxx, objc, f77, gcj.
1053 (&define_linker_variable): New.
1054 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1055 (&lang_java_finish): Adjust.
1056 (&libtool_compiler): Remove.
1058 2001-05-08 Akim Demaille <akim@epita.fr>
1060 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1061 argument, as you don't use it.
1063 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1066 (&handle_programs): Don't mess with %lex_sources, as you don't use
1069 2001-05-08 Akim Demaille <akim@epita.fr>
1071 * automake.in (Language): Add attribute `link'.
1072 (®ister_language): Specify for cxx, objc, f77, gcj.
1073 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1074 (&lang_java_finish): Adjust.
1076 2001-05-08 Akim Demaille <akim@epita.fr>
1078 * automake.in (&define_compiler_variables): Use only $LANG as
1080 (&handle_languages): Adjust.
1082 2001-05-08 Akim Demaille <akim@epita.fr>
1084 * automake.in (&define_program_variable): Remove.
1085 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1087 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1088 * texinfos.am: Do it.
1090 2001-05-08 Akim Demaille <akim@epita.fr>
1092 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1094 * dejagnu.am: Do it.
1095 (site.exp): Use `if'.
1097 2001-05-08 Akim Demaille <akim@epita.fr>
1099 * automake.in: Formatting changes.
1100 (variable_dump, variables_dump): Rename as...
1101 (macro_dump, macros_dump): these.
1103 2001-05-08 Akim Demaille <akim@epita.fr>
1105 Support `if !COND', `else COND', `end COND'.
1107 * automake.texi (Conditionals): Document it.
1108 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1109 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1110 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1111 a leading `!' before the condition.
1112 (&handle_options): Use `\d'.
1113 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1114 (&read_am_file, &file_contents_internal): Use them.
1115 (&transform): No longer substitute `%!COND%', forcing the use of
1117 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1119 2001-05-08 Akim Demaille <akim@epita.fr>
1121 Uniform handling of per-object compilation rules.
1122 Note: Automake is repaired.
1124 * automake.in (&handle_languages): Output per object rules for all
1125 the objects, not only for those which language supports dependency
1127 Fix Automake: when outputting per-object rules, use `-o' if the
1128 language has no `output_flag', as it's really needed.
1129 (&handle_single_transform_list): Instead of special casing files
1130 which need per object rules but which language don't support
1131 dependency tracking, keep them in the queue for processing by
1132 `&handle_languages'.
1134 2001-05-08 Akim Demaille <akim@epita.fr>
1136 * automake.in (&handle_languages): `ext-compile.am' and
1137 `depend2.am' are now equivalent for generic rules: output only the
1139 * ext-compile.am: Remove.
1141 2001-05-08 Akim Demaille <akim@epita.fr>
1143 Note: This patch breaks Automake. Repaired within two patches.
1145 * automake.in (Language): Replace the attribute `output_arg' with
1146 `compile_flag' and `output_flag'.
1147 (Automake): Adjust language registrations.
1148 (&handle_languages): Transform `-c' and `-o' for both suffix and
1149 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1151 (&handle_single_transform_list): Adjust to `compile_flag' and
1153 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1155 2001-05-08 Akim Demaille <akim@epita.fr>
1157 * automake.in (&handle_languages): Don't transform %COMPILER%.
1158 Use `$lang->compiler' instead of `$pfx' to transform generic
1159 %COMPILE% and %LTCOMPILE%.
1160 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1161 of %COMPILER% and $<.
1163 2001-05-07 Akim Demaille <akim@epita.fr>
1165 * automake.in (&handle_languages): Use the same `%transform' for
1166 both `depend2.am' and `ext-compile.am'.
1167 Delay the definition of `$flag' so it is right before the first use,
1168 and rename as `$flags'.
1170 2001-05-07 Akim Demaille <akim@epita.fr>
1172 * automake.in (&handle_languages): Compute `$ltoutarg' and
1173 `$outarg' independently of dependency code.
1174 There is no use looping on a language's possible extensions since
1175 we loop over used extensions.
1176 Therefore, there is no use for a local `%transform'.
1178 2001-05-07 Akim Demaille <akim@epita.fr>
1180 * automake.in (&handle_languages): Don't use $comp.
1182 2001-05-07 Akim Demaille <akim@epita.fr>
1184 * automake.in (&handle_languages): Merge the two loops over
1185 %extension_seen/%languages into one and group code to be run once
1186 per language together.
1188 2001-05-07 Akim Demaille <akim@epita.fr>
1190 * automake.in (&handle_languages): Move the `if
1191 ($use_dependencies)' block so that loops over extensions and
1192 languages are next to each other.
1194 2001-05-07 Akim Demaille <akim@epita.fr>
1196 * automake.in (&depend2): Remove, merged into...
1197 (&handle_languages): here.
1199 2001-05-07 Akim Demaille <akim@epita.fr>
1201 * automake.in (&finish_languages): Rename as...
1202 (&handle_languages): this.
1203 Include the body of...
1204 (&handle_dependency): this.
1207 2001-05-06 Tom Tromey <tromey@redhat.com>
1210 * tests/Makefile.am (TESTS): Add subdir5.test.
1211 (XFAIL_TESTS): Likewise.
1212 * tests/subdir5.test: New file.
1214 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1215 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1217 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1219 (handle_options): Handle fork identifier in version number.
1221 * automake.texi (Dist): Document distcheck-hook.
1223 * tests/confh4.test: Update to reflect DEFS change.
1224 For PR automake/132.
1226 Fix for PR automake/132:
1227 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1229 (java): Remove INCLUDES and DEFS from compilation.
1230 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1231 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1232 (DEFAULT_INCLUDES): New macro.
1234 * automake.in (usage): Re-align explanatory text.
1235 Fixes PR automake/148.
1237 * automake.texi (Uniform): Don't use @PROGRAMS@.
1238 Fixes PR automake/154.
1240 For PR automake/160:
1241 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1242 (XFAIL_TESTS): Add subobj6.test.
1243 * tests/subobj6.test: New file.
1245 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1246 (Top level): Don't mention `flat'.
1247 (Extending): Likewise.
1248 (User Variables): New node.
1250 * distdir.am (distdir): Make subdirectory for each file.
1251 Fixes test subobj5.test.
1253 * tests/Makefile.am (TESTS): Add new file.
1254 (XFAIL_TESTS): Likewise.
1255 * tests/texinfo10.test: New file.
1257 2001-05-05 Pavel Roskin <proski@gnu.org>
1259 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1260 in the same way as @defcodeindex and @syncodeindex respectively.
1262 2001-05-05 Tom Tromey <tromey@redhat.com>
1264 * mans.am (install-man%SECTION%): Minor cleanup.
1265 (uninstall-man%SECTION%): Likewise.
1267 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1268 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1270 (uninstall-man%SECTION%): Likewise.
1271 * automake.in (handle_man_pages): Handle dist_ and nodist_
1274 * automake.texi (Future): Removed.
1276 (Hello): Don't mention `deep'.
1277 (Top level): Likewise.
1279 * automake.in (conditional_true_when): Use a hash, not index().
1280 Also, a TRUE component always results in a true return.
1281 Fixes test cond10.test. For PR automake/164.
1282 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1284 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1286 For PR automake/164:
1287 * tests/Makefile.am (TESTS): Added new file.
1288 (XFAIL_TESTS): Likewise.
1289 * tests/cond10.test: New file.
1291 2001-05-05 Tom Tromey <tromey@redhat.com>
1293 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1295 (install-info-am): Likewise.
1297 2001-05-05 Pavel Roskin <proski@gnu.org>
1299 * automake.in (scan_texinfo_file): Don't push undefined values
1302 2001-05-05 Richard Boulton <richard@tartarus.org>
1304 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1307 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1309 * automake.in (required_targets): Added uninstall-am.
1311 2001-05-05 Tom Tromey <tromey@redhat.com>
1313 Fix bug reported by Robert Boehne:
1314 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1316 (handle_dependencies): Likewise.
1317 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1318 substitution. Correct diff now has 30 lines. Look for space
1319 after losing `undef'.
1321 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1323 * m4/sanity.m4: Remove the temp file before possible error exits.
1325 2001-05-04 Akim Demaille <akim@epita.fr>
1327 * configure.in: Set perllibdir.
1330 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1332 * automake.in ($pkgdata_dir): New.
1333 (&require_file_internal): Use it.
1335 2001-05-03 Akim Demaille <akim@epita.fr>
1337 Case insensitive FS choke on Automake/ vs automake.
1338 Reported by Tim Van Holder.
1340 * Automake/: Move into...
1341 * lib/: this new directory.
1343 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1345 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1348 2001-04-30 Jim Meyering <meyering@lucent.com>
1350 * automake.in: Remove `/lib' from include directory.
1352 2001-04-27 Akim Demaille <akim@epita.fr>
1354 AM_INIT_AUTOMAKE is no longer optional.
1356 * automake.in ($seen_make_set, $seen_prog_install)
1357 ($seen_arg_prog): Remove.
1358 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1359 Remove related code.
1361 2001-04-27 Akim Demaille <akim@epita.fr>
1363 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1365 * tests/specflags3.test: here.
1367 2001-04-27 Akim Demaille <akim@epita.fr>
1369 * automake.in ($seen_path_xtra): Remove.
1370 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1371 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1373 2001-04-27 Akim Demaille <akim@epita.fr>
1375 * automake.in (&file_contents_internal): Declare it.
1377 2001-04-27 Akim Demaille <akim@epita.fr>
1379 * automake.in (&read_am_file, &file_contents_internal): Don't
1380 define macros when `FALSE', to avoid errors on doubly defined
1381 variables but under condition `FALSE'. In order to allow...
1382 (&am_install_var): When reading the associated file for the first
1383 time, enable `%?FIRST%'.
1384 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1385 * libs.am: Do it when `%?FIRST%'.
1387 2001-04-27 Akim Demaille <akim@epita.fr>
1389 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1390 * ansi2knr.am: Do it.
1391 Prefer `if %?FOO%' to `if %!FOO%'.
1393 2001-04-27 Akim Demaille <akim@epita.fr>
1395 * automake.in (®ister_language, &finish_languages): Use `pure'
1397 (®ister_language): Use %done properly with objects, not names.
1398 (&finish_languages): Replace `$non_c' with `$needs_c'.
1400 2001-04-27 Akim Demaille <akim@epita.fr>
1402 Unify LISP, PYTHON and JAVA primaries.
1404 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1405 return if there are no files, hook elisp-comp on the Autoconf
1406 macro, rely on lisp.am to define variables.
1407 (&handle_python, &handle_java): Likewise.
1408 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1409 `PYTHON' must be handled here, not in `&handle_python'.
1410 * java.am: Define needed variables and rules.
1412 2001-04-27 Akim Demaille <akim@epita.fr>
1414 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1416 * header.am: Include data.am.
1418 2001-04-27 Akim Demaille <akim@epita.fr>
1420 * automake.in (&am_install_var): Transform `PRIMARY'.
1421 * data.am: Equip with %PRIMARY%.
1423 2001-04-27 Akim Demaille <akim@epita.fr>
1425 * automake.in (@conditional_stack): Rename as...
1426 (@cond_stack): this.
1427 (&file_contents_internal): Support inclusion of files.
1429 2001-04-27 Akim Demaille <akim@epita.fr>
1431 * automake.in (&lang_extensions): Remove.
1432 (&add_depend2, &saw_sources_p): Adjust.
1433 * depend2.am: `%EXT%' no longer includes the dot.
1435 2001-04-27 Akim Demaille <akim@epita.fr>
1437 * automake.in (&finish_languages, &handle_single_transform_list)
1438 (&add_depend2, &handle_dependencies): No longer use the language
1439 name in `$lang'. Rename `$lang_obj' as `$lang'.
1441 2001-04-27 Akim Demaille <akim@epita.fr>
1443 * automake.in (®ister_language): Use `new Language' with a hash.
1445 2001-04-27 Akim Demaille <akim@epita.fr>
1447 * automake.in (®ister_language): Rename `output-arg' and
1448 `derived-autodep' as `output_arg' and `derived_autodep' to match
1449 the Language attribute.
1450 Set the defaults in %option instead of $lang.
1452 2001-04-27 Akim Demaille <akim@epita.fr>
1454 * Automake/: New directory.
1455 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1456 * automake.in (Language): Use Automake::Struct.
1457 * tests/defs: Adjust to find Struct.
1459 2001-04-23 Pavel Roskin <proski@gnu.org>
1461 * automake.in: Add forward declaration for register_language().
1462 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1465 2001-04-20 Akim Demaille <akim@epita.fr>
1467 * automake.in (%required_targets): Add `uninstall'.
1468 From Robert Collins.
1470 2001-04-12 Akim Demaille <akim@epita.fr>
1472 * automake.in (Language): Add attribute `name'.
1473 (®ister_language): The name of the language is now given in the
1475 No longer use `$lang' as the name of the language.
1476 Rename `$lang_obj' as `$lang'.
1478 2001-04-12 Akim Demaille <akim@epita.fr>
1480 * automake.in (Language): Add attribute `_finish'.
1483 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1484 (&lang_asm_finish): Remove.
1486 2001-04-12 Akim Demaille <akim@epita.fr>
1488 * automake.in (Language): Add attribute `extensions'.
1489 (Automake): Pass a hash to `®ister_language' instead of a
1490 list of pseudo assignments.
1491 (®ister_language): Adjust.
1492 (&finish_languages): Initialize `$ltoutarg'.
1494 2001-04-12 Akim Demaille <akim@epita.fr>
1496 * automake.in (Language): Add attribute `output_arg'.
1497 (%language_map): Remove.
1498 (®ister_language): Build only the object, and store in
1500 (&finish_languages, &handle_single_transform_list): Adjust.
1502 2001-04-12 Akim Demaille <akim@epita.fr>
1504 * automake.in (Language): Add attributes `flags', `compile' and
1506 (&finish_languages, &handle_single_transform_list, &handle_dist)
1507 (&add_depend2, ®ister_language): Use them and the `linker' and
1510 2001-04-12 Akim Demaille <akim@epita.fr>
1512 * automake.in (&handle_single_transform_list, &finish_languages)
1513 (&handle_dist, &handle_dependencies): Use the language object for
1514 autodep and derived-autodep too.
1516 2001-04-12 Akim Demaille <akim@epita.fr>
1518 * automake.in (¯o_define): Ignore Automake definition for
1519 ($var, $cond) if there is already a user definition for ($var, $cond).
1521 2001-04-12 Akim Demaille <akim@epita.fr>
1523 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1524 but also @deffn and so on which push data in indexes.
1525 Reported by Derek R. Price.
1527 2001-04-12 Akim Demaille <akim@epita.fr>
1529 * automake.in (Language): New package, temporarily in this file.
1531 (Automake): New package.
1533 (&handle_single_transform_list): Use the language object's `ansi'
1534 attribute instead of `$language_map{"$lang-ansi-p"}'.
1535 (®ister_language): Build and register the language too.
1537 2001-04-11 Tom Tromey <tromey@redhat.com>
1539 Fixes report from Larry Jones:
1540 * automake.in (handle_dependencies): Add `@_am_quote@' where
1542 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1544 2001-04-11 Akim Demaille <akim@epita.fr>
1546 * depend2.am: Fix the `if' condition for Libtool.
1547 Reported by Robert Boehne.
1549 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1551 * tests/subobj5.test: New file.
1553 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1555 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1556 * tests/Makefile.am (TESTS): Added make.test.
1557 * tests/make.test: New file.
1559 2001-04-10 Tom Tromey <tromey@redhat.com>
1561 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1563 2001-04-10 Derek R. Price <dprice@collab.net>
1565 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1567 2001-04-10 Akim Demaille <akim@epita.fr>
1569 * distdir.am: Add a missing backslash.
1571 2001-04-10 Akim Demaille <akim@epita.fr>
1573 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1575 Specify to the caller whether $regen_aclocal_m4.
1576 (&handle_configure): Adjust.
1577 Transform `REGEN-ACLOCAL-M4'.
1579 * configure.am: Use it.
1580 * tests/defs (me): New.
1581 * tests/confdeps.test: New.
1583 2001-04-09 Tom Tromey <tromey@redhat.com>
1585 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1586 Fixes report from Jim Meyering.
1588 2001-04-09 Akim Demaille <akim@epita.fr>
1590 * automake.in (&handle_configure): Don't bother with optimizing
1593 2001-04-09 Akim Demaille <akim@epita.fr>
1595 * tests/cond3.test (expected): Adjust.
1597 2001-04-09 Akim Demaille <akim@epita.fr>
1599 * automake.in (&handle_single_transform_list): Remove $xbase,
1601 (&handle_source_transform): All the variables have conditions now,
1603 (&variable_delete): Admit an argument @conds.
1605 2001-04-09 Akim Demaille <akim@epita.fr>
1607 * automake.in ($source_suffix_pattern): Remove, unused.
1608 %extension_map seems to have replaced it.
1610 2001-04-09 Akim Demaille <akim@epita.fr>
1612 * ext-compile.am: New file.
1613 * automake.in (&finish_languages): Output it.
1614 Require a C linker if there are several registered source suffixes.
1615 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1616 extensions, which are discovered in ext-compile.am.
1617 With the help from Robert Boehne.
1619 2001-04-09 Akim Demaille <akim@epita.fr>
1621 * automake.in (&handle_compile): Extract from...
1622 (&get_object_extension): here.
1623 (&read_am_file): Call it.
1624 ($included_generic_compile, $included_knr_compile)
1625 ($included_libtool_compile): Remove.
1626 ($get_object_extension_was_run): New.
1628 2001-04-09 Akim Demaille <akim@epita.fr>
1630 Use AM_CONDITIONAL and if/endif for AMDEP.
1632 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1633 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1634 to a configure time if/endif), or to `FALSE' (static removal of
1636 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1637 * depend2.am: Use if/endif.
1639 Adjust the 101 tests that use dependencies so that they
1640 properly invoke aclocal before automake. They need to `see'
1641 `AM_CONDITIONAL([AMDEP], ...)'.
1643 2001-04-09 Akim Demaille <akim@epita.fr>
1645 * tags.am: Fix missing leading tabs.
1647 2001-04-09 Akim Demaille <akim@epita.fr>
1649 * automake.in: Use simple quotes to define the _PATTERN variables
1650 to unobfuscate the regexps.
1651 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1653 2001-04-09 Akim Demaille <akim@epita.fr>
1655 * automake.in (&rule_define): When you discover a suffix rules,
1656 register the extensions for .SUFFIXES.
1657 (&handle_texinfo): Don't register the suffixes.
1658 (&get_object_extension): Don't register suffixes, let them be
1659 discovered in depend2.am.
1660 (&handle_emacs_lisp): Depend on your lisp.am.
1661 * lisp.am: Include the rule &handle_emacs_lisp used to output.
1663 2001-04-09 Akim Demaille <akim@epita.fr>
1665 * subdirs.am: Don't define info related recursive targets.
1668 2001-04-09 Akim Demaille <akim@epita.fr>
1670 * subdirs.am (RECURSIVE_TARGETS): New variable.
1672 * automake.in (&handle_subdirs): Output it.
1673 (&file_contents_internal): Support value spread on several lines.
1675 2001-04-09 Akim Demaille <akim@epita.fr>
1677 * automake.in (&handle_man_pages): Rely on mans.am to define
1678 man%SECTION%dir and MANS.
1681 2001-04-09 Akim Demaille <akim@epita.fr>
1683 * automake.in (&variable_dump): Use %var_type properly.
1684 (¯o_define): Enforce better overriding rules.
1685 Handle the special case that used to handle...
1686 (&define_pretty_variable): this.
1688 The variables you define are owned by Automake.
1689 (&generate_makefile): PRE_INSTALL and co must not be defined *by
1691 (&variable_defined): Now independent of the owner.
1692 (&variable_output, &variable_pretty_output): Adjust to %var_type.
1694 2001-04-09 Akim Demaille <akim@epita.fr>
1696 * automake.in (%var_was_plus_eq): Rename as...
1698 (%def_type): Remove.
1699 (¯o_define): %var_type may now hold `', `+', or `:'.
1700 (%conditional, %am_vars, %content_lines): Rename as...
1701 (%var_value, %var_comment, %var_line): these.
1703 2001-04-09 Akim Demaille <akim@epita.fr>
1705 * automake.in (&variable_output): Admit a list of @CONDS.
1706 (&variable_pretty_output): New.
1707 (&define_pretty_variable): Use it.
1708 (&read_am_file, &file_contents_internal): Prepend a separator to
1709 $am_vars only if there is none yet.
1710 (&file_contents_internal): Rename $separator as $spacing to
1711 harmonize with &read_am_file.
1713 2001-04-09 Akim Demaille <akim@epita.fr>
1715 * automake.in (&am_install_var): Transform DIST, and let the *.am
1716 files handle DIST_COMMON.
1717 * data.am, header.am, java.am, list.am, python.am, script.am: Set
1720 2001-04-09 Akim Demaille <akim@epita.fr>
1722 * automake.in (%dist_common): Remove.
1723 (%configure_dist_common): Replace with...
1724 ($configure_dist_common): this.
1725 (&generate_makefile): Read the user file before using
1726 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1727 that no variable is defined before it is run.
1728 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1729 (&dist_cmp): Rename as...
1730 (&for_dist_common): this.
1731 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1733 Adjust to $configure_dist_common.
1734 * configure.am, texi-vers.am: Set DIST_COMMON.
1736 2001-04-09 Akim Demaille <akim@epita.fr>
1738 * automake.in (&handle_aclocal_m4): Rename as...
1739 (&scan_aclocal_m4): this.
1740 Return the list of aclocal.m4 dependencies.
1741 (&handle_configure): Invoke it, and use it when loading...
1742 * configure.am: Template the rules to recreate aclocal.m4.
1744 2001-04-09 Akim Demaille <akim@epita.fr>
1746 * automake.in (&get_object_extension): Use ansi2knr.am.
1747 * clean-kr.am, kr-extra.am: Remove, merged into...
1748 * ansi2knr.am: this new file.
1750 2001-04-09 Akim Demaille <akim@epita.fr>
1752 * automake.in (&transform): Fix an incredible bug which was
1753 breaking the if/endif system.
1754 ($ELSE_PATTERN): Admit an optional argument.
1756 2001-04-09 Akim Demaille <akim@epita.fr>
1758 * comp-vars.am: Remove, merged into...
1760 * automake.in (&get_object_extension): Adjust.
1762 2001-04-09 Akim Demaille <akim@epita.fr>
1764 * remake.am: Merge into...
1765 * configure.am: ... here.
1766 * automake.in (&handle_configure): Adjust.
1768 2001-04-09 Akim Demaille <akim@epita.fr>
1770 * automake.in (&output_lex_build_rule): Output this...
1773 2001-04-09 Akim Demaille <akim@epita.fr>
1775 * automake.in (&condition_negate): New.
1776 (&variable_conditions_permutations): Use it.
1777 (&read_am_file, &file_contents): Use it on `else' clauses to
1779 (&output_yacc_build_rule): Output this...
1780 * yacc.am: New file.
1782 2001-04-09 Akim Demaille <akim@epita.fr>
1784 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1785 (&handle_dist): Don't.
1786 (&handle_clean): Don't handle config.status here, let...
1787 * clean.am: ... do it.
1788 * distdir.am: Adjust.
1790 2001-04-09 Akim Demaille <akim@epita.fr>
1792 * automake.in: Use strict vars and subs.
1793 Declare `%require_file_found'.
1794 (&handle_source_transform, &make_paragraphs): Declare my variables.
1796 2001-04-09 Akim Demaille <akim@epita.fr>
1798 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1799 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1800 * java.am (_am_installdirs): Be sure to set it.
1802 2001-04-09 Akim Demaille <akim@epita.fr>
1804 * automake.in (&make_condition): Return '#' when FALSE.
1805 (&conditional_string): Return FALSE, not '#' in the corresponding
1807 (&file_contents_internal): Adjust.
1808 (&check_variable_defined_unconditional): Dump the guilty variable.
1810 2001-04-09 Akim Demaille <akim@epita.fr>
1812 * distdir.am: Use and abuse of if/endif.
1813 * scripts.am: Using if/endif with variables is fine.
1815 2001-04-09 Akim Demaille <akim@epita.fr>
1817 * automake.in (&make_paragraphs): Extract from &file_contents.
1818 Make it more robust than the previous RE based scheme.
1819 (&file_contents): Use it.
1821 2001-04-09 Akim Demaille <akim@epita.fr>
1823 * automake.in (&make_paragraphs): Extract from &file_contents.
1824 Make it more robust than the previous RE based scheme.
1825 (&file_contents): Use it.
1827 2001-04-09 Akim Demaille <akim@epita.fr>
1829 * tests/yacc2.test: Don't define several times a variable, as
1832 2001-04-09 Akim Demaille <akim@epita.fr>
1834 * automake.in (&handle_source_transform): Fix pr72: don't define
1835 $linker if there are no @files.
1837 2001-04-09 Akim Demaille <akim@epita.fr>
1839 Avoid reading twice header-vars.am as now macro_define
1842 * automake.in (&define_standard_variables): Don't output the
1844 (&read_main_am_file): Output first user variables, then Automake
1846 Don't call twice &define_standard_variables.
1847 Save variable comments in $am_vars.
1848 (&variable_output): New.
1849 (&file_contents_internal): New.
1850 Save variable comments in $am_vars.
1851 (&file_contents): Use it.
1853 2001-04-09 Akim Demaille <akim@epita.fr>
1855 * automake.in (¯o_define): The user is allowed to override
1856 a value if it was set by Automake, or if it was found in AC_SUBST.
1858 2001-04-09 Akim Demaille <akim@epita.fr>
1860 * automake.in (&handle_source_transform): Better locality of the
1862 Use `next' to skip nonexistent variables.
1864 2001-04-09 Akim Demaille <akim@epita.fr>
1866 * automake.in (&variable_dump): If a variable is undefined, say
1868 (&check_ambiguous_conditional): Give finer error messages.
1869 (¯o_define): Check that a `+=' variable is not set with `='.
1870 Check for ambiguous definitions each time you _set_ (even with `+=')
1872 (&read_main_am_file): Perform a deep copy of %conditional.
1874 2001-04-09 Akim Demaille <akim@epita.fr>
1876 * automake.in (&variable_defined): Some callers, e.g.,
1877 &am_primary_prefixes, really want to know if the variable is
1878 defined for any condition, not `TRUE' by default.
1879 (&am_primary_prefixes): Give a more precise error message.
1881 2001-04-09 Akim Demaille <akim@epita.fr>
1883 (&variable_conditions): Don't include `FALSE' in the result.
1885 2001-04-09 Akim Demaille <akim@epita.fr>
1887 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1888 (&variable_conditions): Don't include `FALSE' in the result.
1890 2001-04-09 Akim Demaille <akim@epita.fr>
1892 * tests/defs, tests/depend3.test: Remove useless code.
1894 2001-04-09 Akim Demaille <akim@epita.fr>
1896 * automake.in (&handle_source_transform): Use
1897 &variable_conditions, don't read $conditional{$var}.
1898 (&variable_conditions_sub): When the call is the top level call,
1899 generate all the permutations of the conditions.
1901 2001-04-09 Akim Demaille <akim@epita.fr>
1903 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1904 that it does not get noticed twice by automake, which now
1905 complains for multiple definitions.
1906 * tests/vartar.test: s/INSTALL/install/g, automake now complains
1907 because we defined INSTALL.
1909 2001-04-09 Akim Demaille <akim@epita.fr>
1911 * automake.in (&generate_makefile) Use macro_define to define
1912 SOURCES and OBJECTS.
1913 (&variable_defined): Don't check for $conditional{VAR}{COND} as
1914 this would make perl create $condition{VAR}, which we don't want.
1916 2001-04-09 Akim Demaille <akim@epita.fr>
1918 * automake.in (&variable_defined, &define_pretty_variable):
1919 Simplify code which used to handle the cases where not all
1920 variables were in %conditional.
1921 (&define_variable): Use &define_pretty_variable.
1922 (&variable_conditions_sub, &variable_value_as_list_worker)
1923 (&variable_value_as_list, &rule_define): Simplify syntax.
1924 (&read_main_am_file): Dump the guilty predefined variables.
1926 2001-04-09 Akim Demaille <akim@epita.fr>
1928 * automake.in (&variable_conditions_sub)
1929 (&variable_value_as_list_worker): Remove dead code which used to
1930 handle the cases where not all variables were in %conditional.
1932 2001-04-09 Akim Demaille <akim@epita.fr>
1934 * automake.in (&handle_source_transform, &read_main_am_file):
1935 Simplify loops which were split in two parts, conditional vs
1936 unconditional variables.
1938 2001-04-09 Akim Demaille <akim@epita.fr>
1940 Handle unconditional values of variables as conditioned by
1943 * automake.in (%contents): Remove.
1944 (&generate_makefile, &handle_ltlibraries, ¯o_define)
1945 (&read_am_file, &variable_defined, &variable_conditions_sub)
1946 (&variable_value, &variable_value_as_list_worker)
1947 (&variable_value_as_list, &define_pretty_variable)
1948 (&read_main_am_file): Use
1949 $conditional, not %contents.
1950 (&variable_conditions_permutations): Don't return TRUE and FALSE.
1951 (&variable_conditionally_defined): New.
1952 (&handle_dist): Use it.
1953 (&check_ambiguous_conditional): When multiply defined, specify
1954 under which condition.
1955 (¯o_define): Use it.
1956 (&variable_delete): New.
1957 (&read_am_file): Use it.
1958 (&am_install_var): Simplify, as all the variables are in
1961 2001-04-07 Tom Tromey <tromey@redhat.com>
1963 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
1965 * tests/man.test: New file.
1967 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1969 * depcomp (gcc3): Invert test condition.
1971 2001-04-07 Tom Tromey <tromey@redhat.com>
1973 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
1974 statement. Report from Larry Jones.
1976 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
1978 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
1980 2001-04-01 Tom Tromey <tromey@redhat.com>
1982 * java.am (.PHONY clean-am): Removed trailing ":".
1983 From Per Bothner. Fixes PR automake/139.
1985 2001-03-28 Akim Demaille <akim@epita.fr>
1987 * program.am: Fix a stupid typo: now *all* (not none) the programs
1989 Reported by Robert Boehne.
1991 2001-03-23 Akim Demaille <akim@epita.fr>
1993 * automake.in (&read_am_file, &file_contents): Avoid name clashes
1996 2001-03-23 Akim Demaille <akim@epita.fr>
1998 * automake.in (&variable_conditionally_defined): Rename as...
1999 (&check_variable_unconditionally_defined): this.
2000 (&variable_dump): Fix the output.
2001 (&variable_defined, ¯o_define): Since conditions are
2002 canonicalized, don't use a loop to look for a condition: read the
2004 (¯o_define, &rule_define, &read_am_file, &file_contents):
2005 Rename $cond_string as $cond.
2006 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2007 discovered via AC_SUBST, they now trigger a `defined twice' error.
2009 2001-03-23 Akim Demaille <akim@epita.fr>
2011 * automake.in (&handle_footer, &handle_installdirs)
2012 (&read_main_am_file): Don't read %contents directly, use
2015 2001-03-23 Akim Demaille <akim@epita.fr>
2017 * automake.in (&read_am_file): Define the variables in a single
2019 Factor the $saw_bk code.
2021 2001-03-23 Akim Demaille <akim@epita.fr>
2023 * automake.in (&read_am_file): Keep $cond_string up to date.
2025 2001-03-23 Akim Demaille <akim@epita.fr>
2027 * automake.in (&define_variable): Use ¯o_define.
2029 2001-03-23 Akim Demaille <akim@epita.fr>
2031 * automake.in (¯o_define): Don't lose the location if we
2032 redefine a variable.
2033 Don't push all the variables in @var_list, let...
2034 (&read_am_file, &file_contents): ... do it.
2035 (&define_pretty_variable): Use macro_define.
2036 (&am_install_var): Delete the value of variables being redefined
2037 to pacify ¯o_define which checks that variables are not
2040 2001-03-23 Akim Demaille <akim@epita.fr>
2042 * automake.in (&conditional_dump): Rename as...
2043 (&variables_dump): this. Use...
2044 (&variable_dump): this new sub.
2046 2001-03-23 Akim Demaille <akim@epita.fr>
2048 * automake.in (&file_contents): Maintain $cond_string sync with
2050 Output rules only if not under `FALSE'.
2051 Define variables under $cond_string.
2052 * scripts.am: For the time being if/endif does not work properly
2055 2001-03-23 Akim Demaille <akim@epita.fr>
2057 * automake.in (IF_PATTERN): Unobfuscate the parens.
2058 (ENDIF_PATTERN): Allow a condition to be specified.
2059 (&file_contents): Use a @cond_stack.
2060 (&transform): At least for an easy transition, also transform
2061 %?FOO% and %!FOO%, as suggested by Lars.
2062 * scripts.am: First test bed for static if/endif use.
2064 2001-03-23 Akim Demaille <akim@epita.fr>
2066 * automake.in (&file_contents): Use rule_define.
2068 2001-03-23 Akim Demaille <akim@epita.fr>
2070 * automake.in (¯o_define): Don't rely on $1.
2071 Initialize the variable.
2072 Set its Automakism only if not defined or if given to the user.
2073 When concatenating values, insert a separator only if the value
2075 (&read_am_file): When dumping the @var_list, skip Automake
2077 (&file_contents): Use macro_define.
2079 2001-03-23 Akim Demaille <akim@epita.fr>
2081 * automake.in (&rule_define): Extract from...
2082 (&read_am_file): here.
2084 2001-03-23 Akim Demaille <akim@epita.fr>
2086 * automake.in (¯o_define, &read_am_file): More work for the
2087 former from the latter. Reorganize the latter.
2089 2001-03-23 Akim Demaille <akim@epita.fr>
2091 * automake.in (¯o_define): Extract from...
2092 (&read_am_file): here.
2094 2001-03-23 Akim Demaille <akim@epita.fr>
2096 * automake.in (%am_var_defs): Replace with...
2098 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2099 (&file_contents, am_primary_&prefixes): Adjust.
2100 (&variable_defined, &define_variable): The actual semantics is
2102 (&read_main_am_file): Assert the var is user defined when
2103 outputting @var_list.
2105 2001-03-23 Akim Demaille <akim@epita.fr>
2107 * automake.in (read_am_file): TRUE and FALSE are predefined
2109 (&by_condition): Adjust.
2110 (&conditional_string): Recognize `TRUE' and `FALSE'.
2111 (&make_condition): Use it.
2112 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2113 * automake.texi (Conditionals): Adjust.
2114 * tests/cond9.test: s/FALSE/WRONG/.
2116 2001-03-12 Pavel Roskin <proski@gnu.org>
2118 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2121 2001-03-12 Akim Demaille <akim@epita.fr>
2123 * automake.in (&variable_conditions_permutations): Separate the
2125 * tests/cond3.test: Improve the sed expression.
2127 2001-03-09 Pavel Roskin <proski@gnu.org>
2129 * Makefile.am (maintainer-check): Scan all *.am files and tests
2130 for invocations of `rm' without `-f'.
2131 * tests/mclean.test: Adjusted to prevent triggering the above
2134 2001-03-09 Tom Tromey <tromey@redhat.com>
2136 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2137 maintainer-check failure.
2139 2001-03-09 Akim Demaille <akim@epita.fr>
2141 * tests/cond3.test: Strengthen.
2143 2001-03-09 Akim Demaille <akim@epita.fr>
2145 * automake.in (&conditional_string): Produce a unique string
2146 characterizing a condition stack.
2147 (&conditional_same): Remove, comparing two strings is now enough.
2148 (&variable_defined): Adjust.
2149 (&read_am_file): Use conditional_string.
2151 2001-03-08 Akim Demaille <akim@epita.fr>
2153 * automake.in: Use -w.
2154 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2155 (&parse_arguments): Support --Werror and --Wno-error as a
2156 temporary hack until --warning/-W is properly implemented.
2157 (&handle_single_transform_list): Prototype.
2158 Be sure to define $directory.
2159 Use `exists' instead of testing the value of a maybe undefined
2161 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2162 (&handle_factored_dependencies): Use defined values.
2163 (&scan_one_autoconf_file): Save $_.
2164 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2165 Run automake with --Wno-error.
2167 2001-03-07 Akim Demaille <akim@epita.fr>
2169 * automake.in (&handle_all): Use an array instead of a scalar for
2171 Get rid of all-redirect: let `all' be that target.
2173 2001-03-07 Akim Demaille <akim@epita.fr>
2175 * automake.in (&handle_merge_targets): Ventilate its non `all'
2176 related content into...
2177 (&generate_makefile): here.
2178 (&handle_merge_targets): Rename as...
2179 (&handle_all): this.
2180 Remove a useless `if': `@all' is obviously not empty, since it
2181 contains at least the `basename ($makefile)' which has just been
2184 2001-03-07 Akim Demaille <akim@epita.fr>
2186 * automake.in, aclocal.in: Backquote is inert in double quotes.
2188 2001-03-06 Akim Demaille <akim@epita.fr>
2190 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2193 2001-03-06 Pavel Roskin <proski@gnu.org>
2195 * java.am: Use `rm -f' instead of `rm'.
2197 2001-03-06 Akim Demaille <akim@epita.fr>
2199 * automake.in (&push_dist_common): Simplify.
2201 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2203 * ltlib.am: Replaced spaces with tab.
2205 2001-03-06 Pavel Roskin <proski@gnu.org>
2207 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2210 2001-03-05 Pavel Roskin <proski@gnu.org>
2212 * header.am, scripts.am: Use ?INSTALL? in the install and
2215 2001-03-05 Pavel Roskin <proski@gnu.org>
2217 * tests/copy.test: Never use `rm' without `-f' - it may ask
2218 questions, notably for read-only files during `make distcheck'.
2219 * tests/insh.test: Likewise.
2220 * tests/installsh.test: Likewise.
2221 * tests/symlink.test: Likewise.
2222 * tests/symlink2.test: Likewise.
2223 * tests/symlink3.test: Likewise.
2225 2001-03-05 Pavel Roskin <proski@gnu.org>
2227 * noinstdir.test: New test.
2228 * tests/Makefile.am (TESTS): Add noinstdir.test.
2229 (XFAIL_TESTS): Likewise.
2231 2001-03-05 Akim Demaille <akim@epita.fr>
2233 * automake.in (&handle_options): Change the RE so that the third
2234 part of the versions always exist.
2235 (&file_contents): Don't pass uninitialized values to &transform.
2237 2001-03-05 Akim Demaille <akim@epita.fr>
2239 * automake.in (&file_contents): Require a hash as second argument.
2242 2001-03-05 Akim Demaille <akim@epita.fr>
2244 Always use hashes with &file_contents.
2246 * automake.in (&handle_texinfo): texibuild.am does not need
2248 texinfos.am wants only TEXICLEANS.
2249 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2251 * texinfos.am: Adjust.
2253 2001-03-05 Akim Demaille <akim@epita.fr>
2255 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2256 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2257 (&am_install_var): Forget about `-clean'.
2258 Transform ?INSTALL?.
2259 Always output the *.am file.
2260 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2261 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2262 Remove, merged into the corresponding *.am file.
2263 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2266 2001-03-05 Pavel Roskin <proski@gnu.org>
2268 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2270 2001-03-05 Akim Demaille <akim@epita.fr>
2272 If OBJEXT and EXEEXT are not set, provide a default value, and use
2273 them unconditionally.
2275 * automake.in (&generate_makefile): Provide default values for
2277 (&get_object_extension, &finish_languages)
2278 (&handle_single_transform_list, &handle_programs, &add_depend2)
2279 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2280 them, they are defined.
2281 * compile.am, depend2.am, program.am, progs.am: Likewise.
2282 * remake-hdr.am: Fix a typo.
2283 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2284 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2285 * tests/suffix2.test: Adjust.
2287 2001-03-05 Akim Demaille <akim@epita.fr>
2289 * automake.in (&file_contents): Map MAINTAINER-MODE to
2290 @MAINTAINER_MODE_TRUE@ or nothing.
2291 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2294 2001-03-05 Akim Demaille <akim@epita.fr>
2296 * automake.in (&do_one_merge_target): Remove, was only called from...
2297 (&handle_merge_targets): here for `all'.
2300 2001-03-05 Akim Demaille <akim@epita.fr>
2302 Make the installation/uninstallation of Info pages follow the
2303 regular am/recursive scheme.
2305 * automake.in (%required_targets, %dependencies): Add
2307 (%dependencies): Add install-info, install-info-am, and
2309 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2310 reversed BTW. Does anybody use the option `no-installinfo'?
2311 (&handle_merge_targets): Let the handling of info related targets
2313 (&handle_factored_dependencies): this.
2314 * subdirs.am: Use ?INSTALL-INFO?.
2315 * texinfos.am: Define the install-info, uninstall-info and
2316 uninstall-info-am targets.
2318 2001-03-05 Akim Demaille <akim@epita.fr>
2320 * automake.in (%required_targets, %dependencies): Add dvi, info,
2322 (@info, @dvi): Remove.
2323 (&handle_texinfo, &handle_merge_targets): Adjust.
2324 (&handle_factored_dependencies): Required targets are phony.
2325 * texinfos.am: Build info, dvi, and the corresponding -am or
2328 2001-03-05 Akim Demaille <akim@epita.fr>
2330 * automake.in (&am_install_var): Remove $cygxform, unused.
2332 2001-03-05 Akim Demaille <akim@epita.fr>
2334 * automake.in (&file_contents): Transform LIBTOOL.
2335 (&am_install_var): Remove $ltxform.
2336 * ltlib.am, progs.am: Adjust.
2338 2001-03-05 Akim Demaille <akim@epita.fr>
2340 * automake.in: Require AC_PROG_INSTALL in...
2341 (&scan_autoconf_files): here.
2343 2001-03-05 Akim Demaille <akim@epita.fr>
2345 * configure.am: New file.
2346 * automake.in (&file_contents): Transform CONFIGURE-AC.
2347 (&handle_texinfo, &handle_configure): Don't transform
2349 (&handle_configure): Use `configure.am'.
2350 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2351 MAINTAINER-MODE and CONFIGURE-AC.
2353 2001-03-05 Akim Demaille <akim@epita.fr>
2355 * automake.in (&pretty_print_internal): Don't output useless
2357 (define_pretty_variable): Don't issue the space after the `=' sign
2358 to avoid trailing spaces in Makefile.ins.
2360 2001-03-05 Akim Demaille <akim@epita.fr>
2362 * automake.in (&generate_makefile): Invoke &initialize_per_input
2363 *before* setting $am_file_name and $in_file_name.
2365 2001-03-05 Akim Demaille <akim@epita.fr>
2367 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2368 Globals, initialized...
2369 (&initialize_per_input): here.
2371 2001-03-05 Akim Demaille <akim@epita.fr>
2373 * automake.in ($am_relative_dir): Global.
2374 (&initialize_per_input): Init it.
2375 (%make_list, @make_input_list): My them from
2376 (&scan_autoconf_files): here.
2377 (&require_file_internal): Mying changes.
2379 2001-03-05 Akim Demaille <akim@epita.fr>
2381 * automake.in (%am_vars, @var_list, %def_type): Globals.
2382 (&initialize_per_input): Initialize them.
2383 (&read_main_am_file): Don't local them.
2384 (&get_object_extension): $objext is private.
2385 (&handle_single_transform_list): $lang is.
2386 (&handle_ltlibraries): $libname_rx is.
2387 (&scan_autoconf_config_files): How about actually paying attention
2388 to your arguments, instead of working on $_? (this is no Perl
2389 variable, it's a Perl variable followed by a question mark).
2390 (&file_contents): $contents and $separator are private.
2391 (&am_install_var): Declare @condvals, not $condvals.
2394 2001-03-05 Akim Demaille <akim@epita.fr>
2396 * automake.in (&initialize_per_input): Move to the top.
2397 Precede with the `my' list of its variables.
2399 2001-03-05 Akim Demaille <akim@epita.fr>
2401 * automake.in ($am_file): Use vars.
2402 ($am_file_name, $in_file_name): Private to &generate_makefile.
2404 2001-03-05 Akim Demaille <akim@epita.fr>
2406 * automake.in: Preparation for `use strict': Move the
2407 initialization of the constants to the top, from...
2408 (&initialize_global_constants): here.
2410 2001-03-05 Akim Demaille <akim@epita.fr>
2412 * automake.in (&handle_single_transform_list, &add_depend2): Let
2413 $lang_specific_files{$lang} be a list instead of a string.
2415 2001-03-05 Akim Demaille <akim@epita.fr>
2417 Let's make it run ten times faster...
2419 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2421 (&file_contents): Let `$command' remove the Automake commands, and
2422 normalize the series of `\n'.
2423 Slurp the file and apply $command in a single step.
2424 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2425 is already normalized to be handled by &transform.
2427 2001-03-05 Tom Tromey <tromey@redhat.com>
2429 * automake.in (register_language): Add entry for `-pure'.
2430 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2431 (finish_languages): Use `-pure' field of language map.
2433 2001-03-03 Tom Tromey <tromey@redhat.com>
2435 * tests/yaccvpath.test: No need to remove dummy files.
2436 * tests/subobj3.test: No need to remove dummy files.
2437 * tests/pr9.test: No need to remove dummy files.
2438 * tests/pr87.test: No need to remove dummy files.
2439 * tests/pr19.test: No need to remove dummy files.
2440 * tests/install2.test: No need to remove dummy files.
2441 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2444 2001-02-27 Pavel Roskin <proski@gnu.org>
2446 * tests/yaccvpath.test: Add a delay to make parse.c really out
2447 of date. Detect the problem earlier, after `make distdir'. Drop
2448 dependency on flex. Always use the `-y' flag for bison. Comment
2450 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2452 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2454 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2456 2001-02-28 Akim Demaille <akim@epita.fr>
2458 * automake.in (&add_depend2): Transform `GENERIC'.
2459 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2460 addition was broken by the `@ -> %' patch.
2461 * depend2.am: Adjust to use ?GENERIC?.
2463 2001-02-28 Akim Demaille <akim@epita.fr>
2465 * Makefile.am (maintainer-check): `undef $/' is OK.
2467 2001-02-28 Akim Demaille <akim@epita.fr>
2469 * automake.in (&handle_configure): Fortunately, $top_reldir,
2470 the definition of which was highly suspicious, was unused.
2472 2001-02-27 Akim Demaille <akim@epita.fr>
2474 * automake.in (%exec_dir_p): Move to the top so that it is visible
2477 2001-02-27 Pavel Roskin <proski@gnu.org>
2479 * tests/yaccvpath.test: Prevent automake from looking into ..
2480 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2482 2001-02-27 Akim Demaille <akim@epita.fr>
2484 * automake.in (%exec_dir_p): Pulled out from...
2485 (&am_primary_prefixes): here.
2487 2001-02-27 Akim Demaille <akim@epita.fr>
2489 * automake.in (&usage): Display $0, not $me.
2491 2001-02-27 Akim Demaille <akim@epita.fr>
2493 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2494 * automake.in (&handle_clean): Don't escape what's given to
2497 2001-02-27 Akim Demaille <akim@epita.fr>
2499 Distinguish automake substitutions from config.status
2502 * automake.in (&add_depend2): Transform AMDEP.
2503 (&handle_clean): Transform MCFILES and MFILES.
2504 (&file_contents): Transform MAINTAINER_MODE.
2505 (&transform, &am_install_var): Use `%', not `@'.
2506 Adjust all the *.am files.
2507 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2508 * depend2.am: Display the double dependency on both ?AMDEP? and
2511 2001-02-27 Tom Tromey <tromey@redhat.com>
2513 * distdir.am (distcheck): Fixed new code.
2515 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2516 Only configure once.
2518 * distdir.am (distcheck): Print error message if distclean failed
2521 2001-02-27 Pavel Roskin <proski@gnu.org>
2523 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2525 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2527 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2528 * tests/yaccvpath.test: New file.
2530 2001-02-26 Akim Demaille <akim@epita.fr>
2532 * automake.in (&am_install_var): Recognize whether predefined
2533 directories are `data' or `exec'.
2534 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2536 * tests/instdata2.test: Update.
2538 2001-02-26 Akim Demaille <akim@epita.fr>
2540 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2541 necessarily in infodir.
2543 2001-02-26 Akim Demaille <akim@epita.fr>
2545 * automake.in ($am_file): Be `local', as my'd variables used in
2546 `foreach' loops are always private to the loop.
2548 2001-02-26 Pavel Roskin <proski@gnu.org>
2550 * Makefile.am: Add install.am.
2552 2001-02-26 Akim Demaille <akim@epita.fr>
2554 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2555 routines, otherwise the elements to compare are passed in @_
2556 instead of $a and $b.
2558 2001-02-26 Akim Demaille <akim@epita.fr>
2560 * automake.in (%required_targets): `installcheck-am' is needed.
2562 2001-02-26 Akim Demaille <akim@epita.fr>
2564 * automake.in (&transform_cond): Merge into...
2568 2001-02-26 Akim Demaille <akim@epita.fr>
2570 * automake.in (&handle_dist): Use &transform instead of dedicated
2572 But be sure to always do it.
2573 * distdir.am: Adjust.
2575 2001-02-26 Akim Demaille <akim@epita.fr>
2577 * automake.in: Use File::Basename.
2578 (&dirname, &basename): Remove.
2580 2001-02-26 Akim Demaille <akim@epita.fr>
2582 * automake.in ($me): New.
2584 (&usage): Display your full name.
2586 2001-02-26 Akim Demaille <akim@epita.fr>
2588 * automake.texi (Invoking Automake): Remove dead options.
2590 2001-02-26 Akim Demaille <akim@epita.fr>
2592 * automake.in (&scan_texinfo_file): Also compute the list of files
2594 Handle local errors.
2595 (&handle_texinfo): Use it.
2597 2001-02-26 Akim Demaille <akim@epita.fr>
2599 * automake.in: Don't pass arguments to...
2600 (&parse_arguments): Work on @ARGV.
2602 Add support for `-f'.
2606 2001-02-26 Akim Demaille <akim@epita.fr>
2608 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2609 handle installcheck and installcheck-am.
2610 * install.am: Do it.
2612 2001-02-26 Akim Demaille <akim@epita.fr>
2614 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2615 handle install and install-am.
2616 * install.am: Do it.
2618 2001-02-26 Akim Demaille <akim@epita.fr>
2620 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2621 work on targets handled by %dependencies.
2622 (&handle_factored_dependencies): Do it.
2623 * install.am: Install install-exec, install-data and uninstall's
2626 2001-02-26 Akim Demaille <akim@epita.fr>
2628 * automake.in (&handle_merge_targets): Move `install-strip' from
2630 * install.am: to here.
2632 2001-02-26 Akim Demaille <akim@epita.fr>
2634 * automake.in (@installdirs): Remove.
2635 (&file_contents): Be able to grow Automake macros with `+='.
2636 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2637 files define _am_installdirs.
2638 (&handle_installdirs): Remove the code, just output `install.am'.
2640 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2641 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2643 2001-02-26 Akim Demaille <akim@epita.fr>
2645 * tests/instdata2.test (libexec_DATA): Exercise more
2648 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2650 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2652 2001-02-25 Tom Tromey <tromey@redhat.com>
2654 * tests/instdata2.test: Added `sbin_DATA' check.
2656 * tests/Makefile.am (TESTS): Added subdircond.test.
2657 * tests/subdircond.test: New file.
2658 * automake.in (handle_gettext): Don't fail if SUBDIRS
2659 conditionally defined.
2661 * automake.in: Use IO::File.
2662 (generate_makefile): Use IO::File.
2663 (scan_texinfo_file): Likewise.
2664 (handle_aclocal_m4): Likewise.
2665 (scan_autoconf_traces): Likewise.
2666 (scan_one_autoconf_file): Likewise.
2667 (read_am_file): Likewise.
2668 (file_contents): Likewise.
2671 2001-02-25 Akim Demaille <akim@epita.fr>
2673 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2675 2001-02-25 Akim Demaille <akim@epita.fr>
2677 * automake.in (&transform): Also call &transform_cond on your
2679 (&handle_dist): Adjust.
2680 (&handle_factored_dependencies): Uniq dependencies.
2682 2001-02-25 Akim Demaille <akim@epita.fr>
2684 * automake.in (&handle_gettext): Simplify redundant `if'.
2685 Used &variable_value, don't read %contents directly.
2687 2001-02-25 Akim Demaille <akim@epita.fr>
2689 * automake.in ($install_recursive): Remove, replaced with calls to
2690 `&variable_defined ('SUBDIRS')'.
2691 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2692 (&file_contents): now does.
2694 2001-02-25 Akim Demaille <akim@epita.fr>
2696 * automake.in (&handle_man_pages): $found is dead.
2698 2001-02-25 Akim Demaille <akim@epita.fr>
2700 Internally just store the conditionals as space separated lists of
2701 CONDITIONS (instead of @CONDITIONS@).
2703 * automake.in (&conditional_true_when, &variable_conditions_sub):
2704 Split conditions at spaces.
2705 (&handle_dependencies, &variable_conditions_permutations): Don't
2706 put @ around conditions.
2707 (&variable_conditions_cmp): There are no @ to strip.
2708 (&make_condition): New.
2709 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2711 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2712 Join @conditional_stack with spaces.
2713 (&read_main_am_file): Adjust the output of variables.
2714 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2715 true' and no longer `@TEST@TRUE = @TEST@true'.
2716 (&variable_conditions_cmp): Rename as...
2717 (&by_condition): this.
2718 Sort in a human pleasant order.
2719 Use it everywhere a human can see conditions.
2720 (&variable_conditions_reduce): Don't sort conditions, that's
2722 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2724 2001-02-25 Akim Demaille <akim@epita.fr>
2726 * automake.in: `my' the globals.
2728 2001-02-25 Akim Demaille <akim@epita.fr>
2730 * automake.in (&initialize_per_input): %targets_conditionals is
2732 (&read_am_file): When slurping a rule, set the target related
2733 variable, and no variable related variable.
2734 (&file_contents): Likewise.
2735 * tests/vartar.test, tests/ctarget1.test: New.
2737 2001-02-25 Akim Demaille <akim@epita.fr>
2739 * automake.in (&variable_defined, &variable_value_as_list_worker):
2740 If $VAR is effectively a variable, don't die if it's also a
2742 Plus some formatting changes.
2744 2001-02-25 Akim Demaille <akim@epita.fr>
2746 * automake.in: Mying changes.
2747 * Makefile.am (maintainer-check): Check the stability of the
2748 number of uses of `local'.
2750 2001-02-25 Akim Demaille <akim@epita.fr>
2752 * automake.in: Mying changes.
2754 2001-02-25 Akim Demaille <akim@epita.fr>
2756 * automake.in: Mying changes.
2758 2001-02-25 Akim Demaille <akim@epita.fr>
2760 * automake.in: Mying changes.
2761 (&handle_tags): Fix a bug uncovered by the previous mying changes:
2762 transform CONFIG into $config, not $xform.
2764 2001-02-25 Akim Demaille <akim@epita.fr>
2766 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2767 Don't deal with install-data-am, install-exec-am and unstall-am.
2768 (&initialize_per_input): Add them to %dependencies.
2769 Remove %exec_dir_p since the *.am files are now in charge of it.
2770 Remove @uninstall, @install_data, @install_exec.
2771 (&handle_merge_targets): Adjust to these removals.
2772 (&file_contents): Also &transform_cond for --no-installman and
2774 (&do_one_merge_target): Add some magic to install hooks on
2775 %dependencies' targets.
2776 (%required_targets): New.
2777 (&handle_factored_dependencies): Output required targets.
2778 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2779 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2780 * texinfos.am: Declare your dependencies on install-data-am,
2781 install-exec-am and uninstall-am.
2782 * tests/instdata2.test (incldata_HEADERS): New test.
2784 2001-02-24 Tom Tromey <tromey@redhat.com>
2786 * Makefile.am (amfiles): Added texibuild.am.
2787 * texibuild.am: New file.
2788 * tests/Makefile.am (TESTS): Added texinfo9.test.
2789 * tests/texinfo9.test: New file.
2790 * automake.in (handle_texinfo): Keep track of suffixes used. Give
2791 error if suffix unrecognized. Removed extraneous newline.
2793 2001-02-23 Akim Demaille <akim@epita.fr>
2795 * automake.in (&am_install_var): Don't hook on the clean targets
2797 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2798 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2801 2001-02-23 Akim Demaille <akim@epita.fr>
2803 * automake.in: Promote local `my' over `local'.
2805 2001-02-23 Akim Demaille <akim@epita.fr>
2807 * automake.in: Formatting and mying changes.
2809 2001-02-23 Akim Demaille <akim@epita.fr>
2811 * automake.in: Formatting and mying changes.
2813 2001-02-23 Akim Demaille <akim@epita.fr>
2815 * automake.in (&handle_man_pages): Let install-man and
2816 uninstall-man be handled by the dependency tracker.
2817 (&initialize_per_input): Let %dependencies track them.
2818 * mans.am: Add the needed hooks with the proper dependencies.
2820 2001-02-22 Pavel Roskin <proski@gnu.org>
2822 * tests/target-cflags.test: Don't use subshell to configure in
2823 subdirectory. Typo fix - run `./foo', not `/foo'.
2825 2001-02-22 Akim Demaille <akim@epita.fr>
2827 * automake.in: Formatting and mying changes.
2829 2001-02-21 Tom Tromey <tromey@redhat.com>
2831 * automake.in (handle_dist): Introduce new variable to avoid extra
2832 keys in %dist_dirs. Fixes distdir.test.
2834 * automake.in (handle_texinfo): Only remove suffixes we can
2837 * tests/distdir.test: Check to make sure directory isn't made in
2840 * automake.in (handle_dist): Do nothing in Cygnus mode.
2842 2001-02-21 Pavel Roskin <proski@gnu.org>
2844 * header-vars.am: Remove tabs before variable definitions.
2846 2001-02-21 Akim Demaille <akim@epita.fr>
2848 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2851 2001-02-21 Akim Demaille <akim@epita.fr>
2853 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2854 numeric value as required by Perl 5.6.
2856 2001-02-21 Akim Demaille <akim@epita.fr>
2858 * dist-vars.am: Remove, merge into...
2860 * automake.in (dirname, basename, backname): Move to the top of
2861 the file so that prototypes are checked,
2862 Use them without `&'.
2863 (&handle_dist): Adjust.
2865 2001-02-21 Akim Demaille <akim@epita.fr>
2867 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2868 Use a uniform naming scheme.
2869 ("e_cond_val, &unquote_cond_val): Delete, dead code.
2870 (&read_am_file): Fix conditional definition of backslash continued
2873 2001-02-21 Akim Demaille <akim@epita.fr>
2875 Change the handling of conditionals: instead of using an ad-hoc
2876 encoding to store a hash in a string, use hashes.
2878 * automake.in (&conditional_dump): New.
2879 (&check_ambiguous_conditional, &variable_defined)
2880 (&variable_conditions_sub, &variable_value_as_list_worker)
2881 (&define_variable, read_am_file, &read_main_am_file): Be sure to
2882 handle `$conditional{$vars}' as a hash instead of a plain string.
2884 2001-02-21 Akim Demaille <akim@epita.fr>
2886 * automake.in (&conditional_true_when): Modernize, simplify.
2887 Warning: `$comp' is now private (my), while it used to be
2888 `inherited' from a `local' elsewhere in the code. AFAICT it was
2889 wrong, but some dirty side effect might show up.
2890 (&conditionals_true_when): New.
2891 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2893 2001-02-21 Akim Demaille <akim@epita.fr>
2895 * automake.in ($top_builddir): Remove, used in one place.
2896 (&define_standard_variables): Adjust.
2897 Move the definition of triplet variables into...
2898 * header-vars.am: here.
2900 2001-02-21 Akim Demaille <akim@epita.fr>
2902 * automake.in (&initialize_global_constants): Don't define $USAGE.
2903 (&usage): Handle the former content of $USAGE.
2904 Don't pretend autoconf cares about Makefile.in.
2905 Classify the options.
2906 (&handle_tests): Formatting and mying changes.
2908 2001-02-21 Akim Demaille <akim@epita.fr>
2910 * automake.in (&handle_tests_dejagnu): Move the definition of a
2911 default `site.exp' into...
2912 * dejagnu.am (site.exp): here.
2913 Use DOS compliant file names.
2915 2001-02-21 Akim Demaille <akim@epita.fr>
2917 * automake.in (&dist_cmp): New.
2918 (&handle_dist): Use it.
2919 Promote `my' over `local'.
2921 2001-02-21 Akim Demaille <akim@epita.fr>
2923 * dist.am: Remove, merge into...
2924 * distdir.am: here. Use the neat sed snippet for banners.
2925 BTW, distcheck is phony.
2926 * automake.in (&handle_dist_worker): Remove, merge into...
2927 (&handle_dist): this.
2928 (&file_contents): Strip leading new lines.
2929 Be sure to end comments with new lines.
2931 2001-02-21 Akim Demaille <akim@epita.fr>
2933 * distdir.am (GZIP_ENV): Define.
2934 * automake.in (&handle_dist): Don't.
2936 (&handle_dist_worker, &am_install_var): Use it.
2938 2001-02-21 Akim Demaille <akim@epita.fr>
2940 * distdir.am (distdir): Handle the DIST-TARGETS.
2941 * automake.in (&handle_dist_worker): Don't.
2943 2001-02-21 Akim Demaille <akim@epita.fr>
2945 * automake.in (&file_contents): Transform the global options (such
2947 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
2949 2001-02-21 Akim Demaille <akim@epita.fr>
2951 * distdir.am (distdir): Be sure to have permissive rights on its
2953 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
2955 And BTW, all these guys are phony.
2956 * automake.in (&handle_dist_worker): As its name doesn't indicate,
2957 output distributions.
2958 (&handle_dist): As its name doesn't indicate, don't.
2959 (&initialize_global_constants): Don't define variables which
2960 content is now handled by distdir.am.
2961 But register `dist-all' as a factored target.
2962 (&handle_factored_dependencies): Don't output empty targets.
2964 2001-02-20 Tom Tromey <tromey@redhat.com>
2966 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
2969 2001-02-18 Tom Tromey <tromey@redhat.com>
2971 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
2972 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
2973 (AM_PROG_STRIP): Commented out.
2975 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
2977 * depcomp (gcc3): Protect against the compiler deleting
2978 the dependency output file.
2980 2001-02-17 Tom Tromey <tromey@redhat.com>
2982 * automake.in (handle_merge_targets): Use double quotes around
2983 setting of INSTALL_STRIP_PROGRAM.
2984 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2985 to absolute path at runtime.
2986 (AM_PROG_STRIP): Don't explicitly test $STRIP.
2988 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2990 * m4/strip.m4: New file.
2991 * m4/Makefile.am (m4data_DATA): Add strip.m4.
2992 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
2993 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
2994 * automake.in (handle_merge_targets): In the install-strip rule,
2995 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
2996 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
2997 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
2998 don't use INSTALL_STRIP_FLAG any longer.
3000 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3002 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3005 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3007 * automake.in (unquote_m4_arg): New function.
3008 (scan_one_configure_file): Call unquote_m4_arg on
3009 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3012 2001-02-15 Tom Tromey <tromey@redhat.com>
3014 * config.guess, config.sub: New versions from FSF.
3016 * Makefile.am (WGET): New macro.
3017 (FETCHFILES): New macro.
3018 (fetch): New target.
3020 * tests/subobj3.test: Exit with status 77 if gcc not found.
3021 * tests/pr9.test: Exit with status 77 if gzip not found.
3022 * tests/pr87.test: Exit with status 77 if gcc not found.
3023 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3024 * tests/install2.test: Exit with status 77 if gzip not found.
3025 * tests/exsource.test: Exit with status 77 if GNU make not found.
3026 * tests/ansi3.test: Exit with status 77 if gcc not found.
3028 * tests/target-cflags.test: Require GNU make. Exit with status 77
3029 if gcc or make not found. Fixes PR automake/121.
3031 * configure.in: Require Perl 5.005.
3032 * automake.in: Require 5.005.
3034 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3035 Fixes PR automake/122.
3037 2001-02-14 Tom Tromey <tromey@redhat.com>
3039 * automake.in (add_depend2): Only emit a given object rule once.
3040 Fixes specflags6.test.
3042 2001-02-14 Richard Boulton <richard@tartarus.org>
3044 * tests/specflags6.test: New file.
3046 2001-02-14 Tom Tromey <tromey@redhat.com>
3048 * automake.texi (A Shared Library): Mention -module.
3050 2001-02-13 Tom Tromey <tromey@redhat.com>
3052 * automake.in (do_one_merge_target): Always register $name and
3055 * automake.in (do_one_merge_target): Register `all' as phony
3058 * configure.in: Updated to 1.4e for cvs.
3060 2001-02-12 Tom Tromey <tromey@redhat.com>
3062 * configure.in: Updated to 1.4d and released.
3064 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3065 names through autoconf.
3067 Fix for subdirbuiltsources.test:
3068 * automake.in (initialize_per_input): [all_target] Initialize to
3070 (handle_merge_targets): Use all-redirect target to handle built
3072 (do_one_merge_target): Don't generate all-redirect rule.
3074 2001-02-11 Peter Muir <iyhi@yahoo.com>
3076 * tests/subdirbuiltsources.test: New file.
3077 * tests/Makefile.am (TESTS): Added new file.
3079 2001-02-10 Tom Tromey <tromey@redhat.com>
3081 * tests/condlib.test: New file.
3082 * tests/Makefile.am (TESTS): Added new file.
3084 2001-02-10 Lars J. Aas <larsa@sim.no>
3086 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3087 (&canonicalize): New. Includes '@' in canonical range.
3088 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3089 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3091 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3093 * automake.in (handle_configure): Revert part of
3094 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3095 set CONFIG_COMMANDS explicitly.
3097 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3099 * depcomp (gcc3): Propagate exit code.
3101 2001-02-09 Lars J. Aas <larsa@sim.no>
3103 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3105 2001-02-09 Tom Tromey <tromey@redhat.com>
3107 Clean up maintainer-check warnings:
3108 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3110 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3112 2001-02-09 Akim Demaille <akim@epita.fr>
3114 * automake.in (&file_contents): Remove a dead branch.
3116 2001-02-09 Akim Demaille <akim@epita.fr>
3118 * automake.in (&transform): Use `my', not `local'.
3119 (&transform_cond): New.
3120 (&get_object_extension, &handle_texinfo, &handle_tags)
3121 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3122 (&handle_tests_dejagnu): Use it.
3123 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3124 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3126 2001-02-09 Akim Demaille <akim@epita.fr>
3128 * automake.in: Various formatting changes, and modernization of
3131 (&handle_configure, define_standard_variables): Use it.
3133 2001-02-08 Tom Tromey <tromey@redhat.com>
3135 * automake.in (file_contents): Only add $actions if any are
3136 found. Fixes new failure in pr87.test.
3138 2001-02-08 Pavel Roskin <proski@gnu.org>
3140 * tests/pr87.test: Check foo/Makfile.in after it is created.
3142 2001-02-08 Tom Tromey <tromey@redhat.com>
3144 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3145 Report from Lars J. Aas.
3147 2001-02-07 Lars J. Aas <larsa@sim.no>
3149 * lisp.am (install-@DIR@LISP): Removed extra space.
3150 * header.am (install-@DIR@HEADERS): Removed extra space.
3151 * data.am (install-@DIR@DATA): Removed extra space.
3153 2001-02-07 Tom Tromey <tromey@redhat.com>
3155 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3157 * automake.in (handle_dependencies): Use _am_include, not
3159 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3160 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3162 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3164 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3166 * automake.in (handle_configure): Handle case where output file is
3167 in subdir with no Makefile of its own. Fixes remake3.test,
3170 2001-02-06 Pavel Roskin <proski@gnu.org>
3172 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3174 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3175 * tests/exsource.test: Likewise.
3177 2001-02-06 Derek Price <derek.price@openavenue.com>
3179 * automake.in (handle_configure): Fix syntax error.
3181 2001-02-06 Akim Demaille <akim@epita.fr>
3183 * subdirs.am: This file is the exception: clean recursive targets
3184 are called by the clean targets, not the clean-am targets.
3185 Otherwise we have a circular dependency: clean -> clean-am ->
3186 clean-recursive -> clean.
3187 * automake.in (handle_clean): Bind `-local' targets to `-am'
3188 targets, not top targets.
3189 Don't declare -recursive dependencies of the clean targets:
3190 `subdirs.am' did it. Less hard coded knowledge, transfered
3194 2001-02-06 Akim Demaille <akim@epita.fr>
3196 Monstro unsplitable patch.
3198 The aim is to remove hard coded knowledge about clean targets from
3199 automake.in, leaving them in the *.am files.
3200 In addition to the mechanic needed to factor some dependencies, it
3201 appears some rules (most notably distclean and maintainer-clean)
3202 need factored actions. So first, be ready to catch factored
3205 * automake.in (&file_contents): For the time being, use an extended
3206 $RULE_PATTERN which is able to match any kind of rules, with or
3207 without dependency, with or without actions.
3208 Handle all the rules uniformly, storing in %actions the factored
3210 (&flatten, &target_cmp): New.
3211 (&handle_factored_dependencies): Output the %actions.
3212 No longer special case `clean'.
3213 Output the rules in alphabetical order, but keeping `.PHONY' last.
3215 Now we must not use &push_phony_cleaners, which is doing all sort
3216 of magic to push a bit of everything in all the clean targets.
3217 The biggest problem being that, making a Cartesian product, it
3218 requires many useless targets. The `*.am' file know better.
3219 But first, register the new factored rules.
3221 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3222 maintainer-clean, distclean and their `*-am' counterpart in
3224 Initialize %actions.
3225 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3226 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3227 (handle_emacs_lisp, handle_python): Don't play with
3228 &push_phony_cleaners nor &depend and `clean'.
3229 * texinfos.am, texi-vers.am, tags-clean.am:
3230 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3231 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3232 * clean-kr.am, clean-hdr.am: Do it.
3233 Whenever a target is empty, just remove it, it will no longer be
3236 There is still some magic about clean to hard code. But really,
3237 that's the end of &do_one_clean_target.
3239 * automake.in (&do_one_clean_target): Kaboom out.
3240 (&handle_clean): Rewrite the magic code.
3241 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3243 (&push_phony_cleaners): Kaboom too.
3245 2001-02-06 Akim Demaille <akim@epita.fr>
3247 * automake.in (do_one_clean_target): Don't hard code knowledge
3248 about libtool, and maintainer-clean.
3249 * clean.am, libtool.am: Handle these.
3251 2001-02-05 Akim Demaille <akim@epita.fr>
3253 * automake.in (handle_texinfo): No longer hard code the clean
3255 (texinfos.am): Include them.
3257 2001-02-05 Akim Demaille <akim@epita.fr>
3259 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3260 (maintainer-check): Don't be silent when you find a problem, and
3261 actually, even specify the locations.
3262 Also check that @_ is assigned to arrays.
3264 2001-02-05 Akim Demaille <akim@epita.fr>
3266 * m4/regex.m4: Use AC_LIBSOURCES.
3267 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3270 2001-02-04 Tom Tromey <tromey@redhat.com>
3272 * m4/Makefile.am (m4data_DATA): Added make.m4.
3273 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3275 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3276 Copy depcomp to subdir.
3277 * m4/make.m4: New file.
3279 2001-02-04 Pavel Roskin <proski@gnu.org>
3281 * automake.in (handle_dist_worker): Remove a line that is now
3284 2001-02-04 Kevin Ryde <user42@zip.com.au>
3286 * automake.in (handle_configure): Call config.status with empty
3287 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3289 2001-02-04 Tom Tromey <tromey@redhat.com>
3291 * depcomp (ddashmd): Removed case.
3292 (sgi): Handle failure exit correctly
3293 (aix): Likewise. Also, add dummy `.h' targets.
3295 2001-02-04 Akim Demaille <akim@epita.fr>
3297 * distdir.am (distdir): New file, extracted from...
3298 * automake.in (handle_dist_worker): here.
3301 2001-02-04 Akim Demaille <akim@epita.fr>
3303 * automake.in (@clean): Remove, replaced by...
3304 ($dependencies{'clean'}): this.
3305 Use `&depend' instead of push'ing into @clean.
3306 (handle_factored_dependencies): For the time being, skip 'clean'.
3307 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3308 always `clean', and `@clean'.
3310 2001-02-04 Akim Demaille <akim@epita.fr>
3312 * automake.in (%dependencies): Don't be initialize globally for
3313 all the files, but in...
3314 (&initialize_per_input): here.
3316 (@phony): Replace all occurrences with the corresponding &depend
3319 2001-02-03 Tom Tromey <tromey@redhat.com>
3321 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3322 * header-vars.am (INSTALL_HEADER): New macro.
3324 * automake.texi (Rebuilding): New node.