1 2001-08-03 Tom Tromey <tromey@redhat.com>
3 * tests/substref.test: Require GNU make; backed out previous
6 * tests/substref.test: Handle entering/leaving directory
9 2001-08-03 Richard Boulton <richard@tartarus.org>
11 * automake.in (value_to_list): Check for whether $from is defined,
12 rather than whether it is true, so that empty $froms are allowed in
13 substitution reference patterns.
15 * tests/substref.test: New file: test behavior of substitution
16 references when the $from side of the substitution is empty.
17 * tests/Makefile.am (TESTS): Added substref.test.
19 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
21 * m4/install-sh.m4: New file.
22 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
23 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
24 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
25 for install.sh any longer, always use install-sh, don't even
26 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
27 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
29 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
31 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
33 * automake.texi (EXEEXT): Clarify.
35 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
37 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
39 * m4/auxdir.m4: More comments.
41 2001-07-31 Richard Boulton <richard@tartarus.org>
42 Raja R Harinath <harinath@cs.umn.edu>
44 * automake.in (variable_conditions_sub): Remove @parent_conds
45 argument. This was old logic - duplicate or impossible
46 conditionals are removed later by &variable_conditions_reduce().
47 Fixes tests/cond13.test.
48 (conditionals_true_when): Removed.
49 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
51 2001-07-31 Tom Tromey <tromey@redhat.com>
53 * tests/Makefile.am (TESTS): Added cond13.test.
54 (XFAIL_TESTS): Likewise.
55 * tests/cond13.test: New file.
57 * configure.in: Upped to version 1.4k.
59 * configure.in: Released 1.4j.
61 * lib/config.guess: Updated from master sources.
62 * lib/config.sub: Likewise.
64 2001-07-30 Tom Tromey <tromey@redhat.com>
66 * automake.texi (A Program): Typo. Added subsections and more
67 text about conditional compilation.
68 (A Shared Library): Moved earlier.
69 (Program variables): Updated LINK text. Added AM_CFLAGS.
70 (C++ Support): Added AM_CXXFLAGS.
71 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
74 * tests/Makefile.am (TESTS): Added aclibobj.test.
75 * tests/aclibobj.test: New file.
76 * automake.in (handle_lib_objects_cond): Avoid undefined variable
78 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
80 * automake.texi (Dist): Mention other distribution types.
83 2001-07-29 Tom Tromey <tromey@redhat.com>
85 * automake.texi (Program and Library Variables): Texinfo fix.
88 2001-07-28 Tom Tromey <tromey@redhat.com>
90 * automake.texi (Strictness): Mention Cygnus mode.
93 (Canonicalization): Likewise.
94 (Install): Add `nobase_' to example; typo fix.
96 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
98 (Options): Texinfo fixes; some text updates.
101 2001-07-27 Tom Tromey <tromey@redhat.com>
103 * automake.texi (Invoking Automake): Document --Werror and
106 2001-07-26 Tom Tromey <tromey@redhat.com>
108 * tests/nolink.test: Added no-exeext.
110 * automake.in (check_variable_defined_unconditionally): Don't call
113 * automake.texi (Optional): Don't mention ALL_LINGUAS.
115 * automake.in (seen_linguas, all_linguas, all_linguas_line):
117 (handle_gettext): Don't do any checking of the languages.
118 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
120 * automake.in (am_print_error): New function.
122 (am_file_error): Likewise.
123 (am_line_error): Likewise.
124 (am_conf_error): Likewise.
125 (am_conf_line_error): Likewise.
127 * automake.texi (Options): Document no-exeext.
128 * automake.in (handle_options): Recognize no-exeext.
129 (rule_define): Handle no-exeext.
130 * tests/Makefile.am (TESTS): Added new file.
131 * tests/exeext2.test: New file.
133 * automake.in (make_input_list): Removed.
134 (scan_autoconf_config_files): Don't add to make_input_list.
135 (scan_one_autoconf_file): Don't use make_input_list.
136 (scan_autoconf_files): Use make_list, not make_input_list.
137 (scan_autoconf_files): Likewise.
139 * automake.in (seen_exeext): Removed.
140 (generate_makefile): Don't define EXEEXT or OBJEXT.
141 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
142 (am_install_var): Don't check $seen_exeext.
143 (handle_programs): Likewise.
144 (rule_define): Allow x to override x$(EXEEXT), for now.
145 (file_contents_internal): Only define rule if rule_define allows
147 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
149 2001-07-25 Tom Tromey <tromey@redhat.com>
152 * tests/pr9.test: Require GNU make.
153 * tests/dirname.test: Don't use `-u'.
155 2001-07-22 Tom Tromey <tromey@redhat.com>
157 * tests/Makefile.am (TESTS): Added auxdir2.test.
158 (XFAIL_TESTS): Likewise.
159 * tests/auxdir2.test: New file.
161 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
162 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
164 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
165 * automake.in (am_install_var): Add $(EXEEXT) even if program name
166 holds `.'. Don't add $(EXEEXT) if program name already has it.
167 (handle_programs): Don't add $(EXEEXT) if user already did.
168 (make_paragraphs): Don't compute EXEEXT.
170 * tests/Makefile.am (TESTS): Added exeext.test.
171 (XFAIL_TESTS): Likewise.
172 * tests/exeext.test: New file.
174 2001-07-22 Tom Tromey <tromey@redhat.com>
176 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
177 `prog.exe' on Cygwin with libtool. From Robert Collins.
179 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
181 * tests/dirname.test: Explicitly use $SHELL to run the
182 script; this avoids failures on DJGPP.
183 * tests/install2.test: Skip if 'chmod 000' doesn't make
186 2001-07-21 Tom Tromey <tromey@redhat.com>
188 * tests/libtool2.test: Check for libtoolize.
190 * tests/Makefile.am (TESTS): Added substtarg.test.
191 (XFAIL_TESTS): Likewise.
192 * tests/substtarg.test: New file.
194 * automake.in (handle_dist): Handle case where aux dir doesn't
195 have a Makefile. Fixes depdist.test.
196 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
197 * tests/depdist.test: Look for config/depcomp.
199 * tests/Makefile.am (TESTS): Added depdist.test.
200 (XFAIL_TESTS): Likewise.
201 * tests/depdist.test: New file. From Eric Magnien.
203 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
204 AC_PROG_CC_C_O does require AC_PROG_CC.
207 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
209 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
210 output is suitable for make.
212 * automake.texi (Macros): Document AM_PROG_AS.
213 (Assembly Support): New node.
214 * m4/Makefile.am (m4data_DATA): Added as.m4.
215 * m4/as.m4: New file.
217 * automake.texi (Tags): Added uref to global tags.
219 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
221 * automake.in (handle_single_transform_list): Use $(DEPDIR)
222 instead of hardcoding '.deps'.
223 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
225 2001-07-20 Derek Price <dprice@collab.net>
227 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
229 * tests/dirname.test: New test.
230 * tests/stamph2.test: New test.
231 * tests/Makefile.am: Add new tests.
232 * tests/Makefile.in: Regenerated.
234 2001-07-19 Tom Tromey <tromey@redhat.com>
236 * automake.texi (Tags): Document GTAGS_ARGS.
237 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
239 2001-07-19 Tom Tromey <tromey@redhat.com>
240 Alexandre Duret-Lutz <duret_g@epita.fr>
242 Fix for ccnoco.test, subobj8.test:
243 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
244 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
246 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
247 Use AM_AUX_DIR_EXPAND.
248 * lib/compile: Handle case where `-o' argument is the name of an
249 executable, not an object file.
250 * m4/auxdir.m4: New file, from...
251 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
252 * automake.in (handle_single_transform_list, lang_c_rewrite):
253 Require compile using `require_config_file'.
255 2001-07-19 Tom Tromey <tromey@redhat.com>
257 * automake.texi (Program and Library Variables): Added X example
260 2001-07-19 Tom Tromey <tromey@redhat.com>
262 * automake.texi (Distributing): Updated to reflect new license.
264 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
266 * automake.in (require_build_directory): New function, extracted
268 (handle_single_transform_list): ... here.
269 (require_build_directory_maybe): New function.
270 (handle_prograns, handle_libraries, handle_ltlibraries): Call
271 require_build_directory_maybe() to ensure the subdirectory
272 in which a target may lie will exist when the target is created.
273 (handle_libraries, handle_ltlibraries): Use basename before
274 checking library name.
275 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
276 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
277 * lib/am/program.am (%PROGRAM%): Likewise.
279 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
281 * m4/missing.m4: Reword comment.
283 2001-07-18 Pavel Roskin <proski@gnu.org>
285 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
286 * tests/gcj.test: Likewise.
287 * tests/gcj2.test: Likewise.
288 * tests/gcj3.test: Likewise.
290 2001-07-18 Tom Tromey <tromey@redhat.com>
292 * lib/compile: Change how lockdir is computed. If linking or
293 compiling without `-o', just run the compiler.
295 * tests/Makefile.am (TESTS): Added ccnoco.test.
296 (XFAIL_TESTS): Likewise.
297 * tests/ccnoco.test: New file.
299 2001-07-17 Tom Tromey <tromey@redhat.com>
301 * lib/ylwrap: Added special exception.
302 * lib/py-compile: Added license.
303 * lib/mdate-sh: Added special exception.
304 * lib/elisp-comp: Added special exception.
305 * lib/compile: Added special exception.
306 * lib/depcomp: Added special exception.
308 Report from Motoyuki Kasahara:
309 * tests/make.test: Use am__include.
310 * tests/exsource.test: Use am__include.
311 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
312 * automake.in (handle_languages): Use am__include and am__quote.
314 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
315 * m4/init.m4: Updated callers.
317 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
319 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
320 * aclocal.in (scan_configure, add_file): Handle the full macro
321 name even if it contains numbers, such as I18N.
323 2001-07-16 Tom Tromey <tromey@redhat.com>
325 * automake.texi (Dependencies): Link to dependency tracking page.
326 (Data): Mention dist_.
327 (Clean): Mention clean heuristics.
328 (Install): Mention nobase_.
330 * automake.texi (Program and Library Variables): Document _LINK.
332 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
334 * automake.in (handle_libraries): Allow libraries to lie in
335 a subdirectory by constraining only the basename to start
336 with 'lib', not the whole path.
338 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
340 * tests/subobj8.test: New file.
341 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
343 2001-07-16 Tom Tromey <tromey@redhat.com>
345 Fix for PR automake/212:
346 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
347 (uninstall-%DIR%LISP): Likewise.
349 2001-07-15 Tom Tromey <tromey@redhat.com>
351 * automake.in (usage): Rewrote code to handle columnization.
352 From Alexey Mahotkin and Maxim Sinev.
354 Report from Ralf Corsepius:
355 * automake.in (TARGET_PATTERN): Add `+' as valid character.
356 (SUFFIX_RULE_PATTERN): Likewise.
357 * tests/Makefile.am (TESTS): Added cxx.test.
358 * tests/cxx.test: New file.
360 * lib/am/tags.am (distclean-tags): Remove files for gtags.
361 From Shigio Yamaguchi.
363 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
365 * lib/am/distdir.am (distcheck): Emit diagnostic when files
366 remain after "make uninstall".
368 2001-07-14 Tom Tromey <tromey@redhat.com>
370 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
372 * lib/missing (makeinfo): Redirect stdout and stderr outside
373 subshell. From Alexandre Oliva.
375 2001-07-14 Akim Demaille <akim@epita.fr>
377 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
378 `\b(foo|bar)\b' is what we want.
379 * aclocal.in: Likewise.
381 2001-07-14 Akim Demaille <akim@epita.fr>
383 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
385 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
386 actually modified to require AM_DEPENDENCIES.
387 Rename `confdir' as `conftest.dir' so that the configure trap
390 2001-07-04 Tom Tromey <tromey@redhat.com>
393 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
394 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
395 * automake.in (am_install_var): Only rewrite PROGRAMS if
397 (make_paragraphs): Always define %EXEEXT%.
399 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
401 * tests/nolink.test: New file.
402 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
404 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
406 * automake.in (scan_texinfo_file): Add the second argument to
407 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
408 itself may not be used directly.
410 2001-07-04 Tom Tromey <tromey@redhat.com>
413 * lib/missing (makeinfo): Use subshell, not explicit sh
416 * automake.texi (Headers): Mention that we prefer uninstalled
418 (ANSI): Mention cross-compilation limitation.
420 2001-07-03 Tom Tromey <tromey@redhat.com>
422 * configure.in: Upped to 1.4i.
424 * configure.in: Released 1.4h.
426 * lib/config.guess, lib/config.sub: Updated.
428 2001-07-02 Tom Tromey <tromey@redhat.com>
430 Fix for libtool2.test:
431 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
432 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
433 * automake.in (generate_makefile): Call handle_libtool
435 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
437 * tests/libtool2.test: Look for `.lo' files to be removed.
439 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
441 * tests/Makefile.am (TESTS): Removed dup.test.
442 * tests/dup.test: Removed.
443 * aclocal.in (scan_file): Don't give error for duplicate macro.
445 2001-07-01 Tom Tromey <tromey@redhat.com>
447 * automake.texi (Program and Library Variables): Document
448 subdir-objects. Document fact that per-object flags override AM_
451 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
452 (Multilibs): New node.
453 (Macros): Documented missing macros.
454 (Auxiliary Programs): New node.
456 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
457 mode, then simply fail.
459 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
461 * lib/ylwrap: Improve support for DOS paths (and paths
462 containing backslashes in general).
464 2001-07-01 Tom Tromey <tromey@redhat.com>
466 * lib/missing: Added special exception to license.
469 * lib/missing: Updated. Added comment explaining configure.ac
472 * lib/depcomp: Reorder arguments to gcc3.
473 From Per Oyvind Hvidsten.
475 * tests/Makefile.am (TESTS): Added libtool2.test.
476 * tests/libtool2.test: New file.
478 * automake.texi (Program and Library Variables): Added example for
481 2001-06-29 Tom Tromey <tromey@redhat.com>
483 * tests/cond11.test: Use `=', not `=='.
484 * tests/cond12.test: Look for automake in build directory, not
487 2001-06-29 Richard Boulton <richard@tartarus.org>
489 * automake.in (conditionals_true_when): Pass first parameters by
490 reference, avoiding bug which put all parameters in @CONDS instead
491 of @WHENS. Report by Kalle Olavi Niemitalo.
492 Take a single WHEN instead of an array of WHENS.
493 Remove FIXME; can't now have an empty @WHENS.
494 (conditional_is_redundant): New sub.
495 (variable_conditions_reduce): Check whether each condition is
496 implied by any of the other conditions (other those already
497 discarded), rather than checking only against those already
498 considered (and kept). Also, fix sense of check: was keeping
499 tautologous terms instead of discarding them. Use
500 conditional_is_redundant instead of conditionals_true_when.
501 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
502 * tests/cond11.test: New file.
503 * tests/cond12.test: New file.
505 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
507 * automake.in (saw_sources_p): Work even if there are more
508 than one header files, and more than of one type of header.
509 * tests/Makefile.am (TESTS): Added new file.
510 * tests/depend4.test: New file.
512 2001-06-28 Tom Tromey <tromey@redhat.com>
514 * lib/am/libs.am (RANLIB): Don't define.
516 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
518 * automake.in (am_install_var): Assign 1 to $first on
521 2001-06-23 Tom Tromey <tromey@redhat.com>
524 * lib/ylwrap: Changed usage.
525 * lib/am/yacc.am: Rewrote to use new substitutions.
526 * lib/am/lex.am: Likewise.
527 * automake.in (handle_languages): Skip files whose language
528 doesn't have a compiler. Handle `define_flag' attribute.
529 Changed '$' to "\$" to aid Emacs fontification.
530 (struct): Added `rule_file'. Removed `derived_autodep'. Added
531 `_target_hook' and `define_flag'.
532 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
533 and `compiler' attributes. Removed `linker', `derived_autodep',
534 and `ansi' attributes. Added `define_flag'.
535 (yacc, yaccxx): Added `_target_hook'.
536 (saw_extension): Count number of times extension seen.
537 (count_files_for_language): New sub.
538 (saw_sources_p): Use it.
539 (handle_single_transform_list): Allow language rewrite function
540 to return a new source extension. Call target_hook.
541 (yacc_sources, lex_sources): Removed.
542 (initialize_per_input): Don't initialize yacc_sources or
544 (lang_yacc_rewrite): Rewrote.
545 (lang_yaccxx_rewrite): Likewise.
546 (lang_lex_rewrite): Likewise.
547 (lang_lexxx_rewrite): Likewise.
548 (output_yacc_build_rule): Removed.
549 (output_lex_build_rule): Removed.
550 (lang_yacc_finish): Removed build rule generation.
551 (lang_lex_finish): Likewise.
552 (DASH_D_PATTERN): New global.
553 (lang_yacc_target_hook): New function.
554 (_target_hook): New function.
555 (register_language): Default `define_flag'.
556 * tests/yacc5.test: Updated test.
557 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
558 * tests/yacc3.test: Remove bogus `make' invocation. Added test
559 for all YFLAGS variables.
561 2001-06-20 Tom Tromey <tromey@redhat.com>
563 * tests/yacc5.test: Check for per-executable YFLAGS.
565 2001-06-19 Tom Tromey <tromey@redhat.com>
567 * tests/Makefile.am (TESTS): Added yacc5.test.
568 * tests/yacc5.test: New file.
570 2001-06-17 Tom Tromey <tromey@redhat.com>
572 * automake.in (require_file_internal): Check for already-required
573 file after searching for it, and only if it is not found. Don't
574 use `readlink' when checking for dangling symlink. Work if
575 --force-missing specified.
576 * tests/acoutput2.test: Also test --force-missing.
578 Fix for libtool.test:
579 * automake.in (generate_makefile): Call handle_libtool.
580 (handle_libtool): New sub.
581 (handle_compile): Don't read `libtool' file.
583 * tests/acoutput2.test: New file.
584 * tests/Makefile.am (TESTS): Added acoutput2.test.
586 2001-06-15 Tom Tromey <tromey@redhat.com>
588 * tests/Makefile.am (TESTS): Added libtool.test.
589 * tests/libtool.test: New file.
591 2001-06-14 Tom Tromey <tromey@redhat.com>
593 Fix some lisp bugs reported by Bruno Haible:
594 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
596 (install-%DIR%LISP): Handle case where lispdir is not defined.
597 (uninstall-%DIR%LISP): Likewise.
598 (.el.elc): Added `else' clause.
600 Fix for bug reported by Steve M. Robbins:
601 * automake.in (handle_single_transform_list): When building a file
602 from a subdirectory, continue to use `AM_' prefix.
603 * tests/Makefile.am (TESTS): Added subobj7.test.
604 * tests/subobj7.test: New file.
606 * lib/am/configure.am ($(top_builddir)/config.status): Added
607 $(top_builddir) prefix to work around problems with some vendor
608 makes. From Nicholas Joly.
610 * automake.in (yacc_lex_finish_helper): Find ylwrap in
611 top_srcdir. From Tim Van Holder.
612 * tests/Makefile.am (TESTS): Added yacc6.test.
613 * tests/yacc6.test: New file.
615 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
617 * tests/defs, tests/installsh.test: Properly support
620 2001-06-14 Tom Tromey <tromey@redhat.com>
622 * tests/Makefile.am (TESTS): Added mdate4.test.
623 * tests/mdate4.test: New file.
625 * aclocal.in (scan_m4_files): Removed unused variable.
627 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
629 * aclocal.in (scan_m4_files): Tweak the building of &search so
630 that multiple macro names can be found on the same line. Ensure
631 we match whole macro name, not only substrings.
633 2001-06-12 Tom Tromey <tromey@redhat.com>
635 * automake.texi (ANSI): Minor clarification.
636 (Other GNU Tools): Don't mention Guile.
638 (Java Support): Mention file extensions.
639 (Man pages): Mention dist_. Don't mention info pages.
641 2001-06-11 Tom Tromey <tromey@redhat.com>
643 * automake.texi (Program variables): Document AM_CPPFLAGS.
645 (Java Support): Document AM_GCJFLAGS.
646 (Support for Other Languages): Removed `fixme'; added link to
647 suffix rule handling.
649 * automake.texi (Program and Library Variables): Document _LIBADD,
650 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
652 2001-06-11 Kevin Dalley <kevind@rahul.net>
654 * missing: Support configure.ac.
656 2001-06-08 Tom Tromey <tromey@redhat.com>
658 * tests/version4.test: New file.
659 * automake.in (version_check): New sub.
660 (handle_options): Use it.
661 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
662 (TESTS): Added version4.test.
663 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
664 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
666 2001-06-04 Kevin Dalley <kevind@rahul.net>
668 * lib/am/dejagnu.am (site.exp): Fix typo.
670 2001-06-02 Tom Tromey <tromey@redhat.com>
672 * automake.in (variable_conditions_sub): Move parent-only code
674 (variable_conditions): ... to here.
675 (variable_conditions_sub): Include this variable's conditions in
676 the resulting condition list.
677 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
679 2001-06-01 Tom Tromey <tromey@redhat.com>
681 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
683 * tests/ltdeps.test: New file. Report from Lars J. Aas.
685 2001-05-31 Tom Tromey <tromey@redhat.com>
687 * automake.texi (Alternative): New node.
688 (Macros): Use new name for gcc.
689 (Java Support): Likewise.
690 (Dependencies): Rewrote.
691 (Invoking Automake): (Re-)document -i, --ignore-deps, and
694 * automake.texi (Top level): Removed erroneous spaces. Documented
697 2001-05-29 Tom Tromey <tromey@redhat.com>
699 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
701 * automake.texi (Include): Rewrote.
702 (Suffixes): Remove Java example.
703 (Java): Added more explanation. Document variables.
704 (Uniform): Mention JAVA as a primary.
705 (Python): Updated for new Python support.
706 (Sources): Added a weak example.
708 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
710 * automake.texi (A Program): Mention `check' prefix.
711 (Program and Library Variables): New node.
712 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
714 (etags): Mention per-program flags.
715 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
718 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
721 2001-05-28 Tom Tromey <tromey@redhat.com>
723 * m4/Makefile.am (MAINT_CHARSET): Removed.
724 * Makefile.am (MAINT_CHARSET): Removed.
725 * automake.in (maint_charset, dist_charset): Removed.
726 (local_maint_charset): Removed.
727 (initialize_per_input): Don't use maint_charset.
728 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
730 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
732 (.%SUFFIX%.dvi): Likewise.
733 (.%SUFFIX%): Likewise.
735 2001-05-27 Tom Tromey <tromey@redhat.com>
737 * automake.in (handle_multilib): Only add multilib support code at
739 * lib/am/multilib.am: Handle invocation of *-multi targets
740 differently for SUBDIRS and non-SUBDIRS Makefiles.
741 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
742 Only add multilib code when the Makefile in question is actually
745 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
747 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
749 * automake.in (handle_single_transform_list): Skip unknown
752 2001-05-25 Tom Tromey <tromey@redhat.com>
754 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
756 2001-05-24 Tom Tromey <tromey@redhat.com>
758 * automake.in (handle_texinfo_helper): Find mdate-sh in current
759 directory in some situations.
761 * automake.in (generate_makefile): Better explanation for ansi2knr
764 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
766 * automake.in (handle_languages): Skip unknown extensions.
767 (derive_suffix): Check whether $extension_map{$source_ext}
768 is undefined, not empty.
770 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
772 * automake.in (read_am_file): Ignore trailing backslash on
775 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
777 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
779 2001-05-21 Akim Demaille <akim@epita.fr>
781 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
782 multiple times'' warning.
784 2001-05-20 Tom Tromey <tromey@redhat.com>
786 * configure.in: Updated to 1.4g.
788 * configure.in: Updated to 1.4f.
790 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
792 * lib/ansi2knr.c: New version.
794 * Makefile.am (FETCHFILES): Added ansi2knr.c.
797 2001-05-19 Tom Tromey <tromey@redhat.com>
799 * config.guess, config.sub: New versions from FSF.
801 * Makefile.am (fetch): Compare against files in srcdir.
803 For for ansi2knr report from Harlan Stenn:
804 * automake.in (generate_makefile): Run handle_compile before
807 2001-05-18 Tom Tromey <tromey@redhat.com>
809 * automake.in: Reverted erroneous checkin.
811 2001-05-18 Akim Demaille <akim@epita.fr>
813 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
814 to missing `install-info'.
816 2001-05-17 Tom Tromey <tromey@redhat.com>
818 * automake.in (lang_c_finish): Use `rm -f'.
820 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
821 * tests/Makefile.am (TESTS): Added new file.
822 * tests/ansi5.test: New file.
824 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
826 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
828 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
829 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
830 * automake.texi (Requirements): Document the use of the STRIP
831 variable in cross-compilation environments.
833 2001-05-17 Tom Tromey <tromey@redhat.com>
835 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
836 to no dependency tracking.
837 * tests/Makefile.am (TESTS): Added depcomp2.test.
838 * tests/depcomp2.test: New file. From Pavel Roskin.
840 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
842 * lib/depcomp (tru64): New dependency tracking mode.
844 Fix for PR automake/159:
845 * lib/depcomp (aix): Rewrote.
848 Fix for PR automake/174:
849 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
850 * automake.in (read_am_file): Warn if `#' is at start of rule.
852 2001-05-16 Tom Tromey <tromey@redhat.com>
855 * tests/Makefile.am (TESTS): Added comment3.test.
856 (XFAIL_TESTS): Likewise.
857 * tests/comment3.test: New file.
859 Fix for PR automake/175:
860 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
861 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
862 `Leaving directory' messages.
865 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
866 * tests/make.test: Run test with `make -w'.
868 * tests/Makefile.am (TESTS): Removed maintclean.test.
869 * lib/am/clean.am (maintainer-clean-generic): Don't remove
871 * lib/am/configure.am (maintainer-clean-am): Removed.
872 (maintainer-clean-conf): Removed.
873 * tests/maintclean.test: Removed.
875 2001-05-15 Tom Tromey <tromey@redhat.com>
877 Fix for PR automake/177:
878 * Makefile.am (maintainer-clean): Set perllibdir before invoking
881 Fix for maintclean.test:
882 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
883 * lib/am/clean.am (distclean-generic): Don't remove config.cache
885 (distclean, maintainer-clean): Moved to...
886 * lib/am/configure.am: ... here.
887 (distclean): Remove config.cache and config.log.
888 (maintainer-clean): Removed.
889 (maintainer-clean-conf): New target.
890 (maintainer-clean-am): New target.
892 * tests/Makefile.am (TESTS): Added maintclean.test.
893 (XFAIL_TESTS): Likewise.
894 * tests/maintclean.test: New file.
896 Fixes PR automake/175:
897 * tests/target-cflags.test: Use $needs_gnu_make.
898 * tests/exsource.test: Use $needs_gnu_make.
899 * tests/make.test: Require GNU make.
900 * tests/defs (needs_gnu_make): Compute.
902 2001-05-14 Tom Tromey <tromey@redhat.com>
904 * lib/ylwrap: Fixed quoting on regular expression. Fixes
907 Fix for texinfo10.test.
908 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
909 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
910 * automake.in (handle_texinfo_helper): New sub.
911 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
912 * tests/texinfo10.test: Added more cases.
914 Fix for yaccvpath.test:
915 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
916 * lib/am/distdir.am (distdir): Always look for file in build
918 * lib/ylwrap: Quote the `#line' regular expression.
919 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
920 change; don't run sed on the generated file.
921 * tests/yaccvpath.test: Create new parser in srcdir. Added test
922 to make sure parser will be rebuilt at dist time.
924 2001-05-13 Pavel Roskin <proski@gnu.org>
926 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
928 * automake.texi (General Operation): Document it.
930 2001-05-13 Tom Tromey <tromey@redhat.com>
932 Reported by Rainer Orth:
933 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
935 * tests/Makefile.am (TESTS): Added distname.test.
936 * tests/distname.test: New file.
938 * Makefile.am (dist_pkgdata_DATA): Removed.
940 * tests/defs: Find files to copy in lib/.
941 * automake.in (perllibdir): Set to Automake directory.
942 * ansi2knr.c, ansi2knr.1: Removed.
943 * Makefile.am (dist_am_DATA): Removed.
945 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
947 (scriptdir): Removed.
948 (dist_script_DATA): Likewise.
949 (install-data-hook): Likewise.
950 (installcheck-local): Likewise.
951 (TAGS_FILES): Removed amfiles.
952 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
953 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
954 point it to the right directory.
955 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
956 compile.am, configure.am, data.am, dejagnu.am, depend.am,
957 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
958 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
959 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
960 mans.am, multilib.am, program.am, progs.am, python.am,
961 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
962 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
963 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
964 (AUTOMAKE): Use --libdir, not --amdir.
965 Ues AC_CONFIG_AUX_DIR.
966 * lib/Makefile.am (SUBDIRS): Added `am'.
967 (scriptdir): New macro.
968 (dist_script_DATA): Likewise.
969 (dist_pkgdata_DATA): Likewise.
970 (install-data-hook): New target.
971 (installcheck-local): Likewise.
972 * lib/am/Makefile.in: New file.
973 * lib/am/Makefile.am: Removed everything except amdir and
976 2001-05-13 Akim Demaille <akim@epita.fr>
978 * automake.in ($pkgdata_dir): Rename as...
980 ($am_dir): Remove, replace its uses with $libdir.
981 (&parse_arguments): Replace --amdir with --libdir.
982 * automake.texi (Invoking Automake): Document --libdir, not
984 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
986 2001-05-13 Tom Tromey <tromey@redhat.com>
988 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
990 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
991 Correctly look at AMDEP_TRUE, not AMDEP.
993 Report from Robert Boehne:
994 * tests/Makefile.am (TESTS): Added depend2.test.
995 * tests/depend2.test: New file.
997 2001-05-13 James Henstridge <james@daa.com.au>
999 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1000 Point pythondir at site-packages directory. Rename
1001 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1002 pyexecdir. Removed package/module argument. Removed
1003 PYTHON_SITE_INSTALL. Added version checking.
1005 2001-05-14 Jim Meyering <meyering@lucent.com>
1007 * automake.in (macro_define): Change one remaining use of
1008 `variable_dump' to `macro_dump'.
1010 2001-05-13 Tom Tromey <tromey@redhat.com>
1012 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1015 2001-05-13 Akim Demaille <akim@epita.fr>
1017 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1018 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1019 (&am_primary_prefixes): Use `map' rather than `grep'.
1021 2001-05-13 Akim Demaille <akim@epita.fr>
1023 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1025 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1026 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1028 2001-05-13 Akim Demaille <akim@epita.fr>
1030 * lang-compile.am: New file, loaded once per language.
1031 * depend2.am: Move definitions loaded once per language in the
1032 aforementioned file.
1033 * automake.in (&handle_languages): Load it.
1034 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1035 handled by lang-compile.am.
1037 2001-05-13 Tom Tromey <tromey@redhat.com>
1039 * tests/Makefile.am (TESTS): Added python.test.
1040 * tests/python.test: New file.
1041 * automake.in (handle_languages): Use
1042 config_aux_dir_set_in_configure_in.
1043 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1044 py-compile, not py_comp. Define py_compile macro.
1046 2001-05-13 Derek Price <dprice@openavenue.com>
1048 * automake.in (require_file_with_conf_line,
1049 require_file_with_line, require_file): Pass a @require_file_path
1050 of $relative_dir instead of '.' to require_file_internal so that
1051 all the special casing of '.' can be removed elsewhere.
1052 (require_config_file, require_conf_file_with_line,
1053 require_conf_file_with_conf_line): Remove special casing for '.'
1054 and make sure $config_aux_dir is maintained properly.
1055 (require_file_internal): Remove special casing of '.' and set
1056 @require_file_path when missing files are added.
1057 (maybe_push_required_file): Remove special casing of '.'
1058 (handle_dependencies): Remove a workaround for a bug now fixed
1059 and remove $config_aux_dir special casing.
1060 (handle_configure): Remove special casing for $config_aux_dir
1061 (handle_python): Ditto.
1062 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1063 switch on the value of $config_aux_dir_set_in_configure_in.
1064 (handle_texinfo): Ditto.
1065 (scan_one_configure_file): Set $config_aux_dir and
1066 $config_aux_dir_set_in_configure_in properly so special casing
1067 on the value of $config_aux_dir can be removed elsewhere.
1068 * tests/depcomp.test: New file.
1069 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1070 first subdir containing a C file.
1071 * tests/libobj2.test: Ditto.
1072 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1074 2001-05-12 Tom Tromey <tromey@redhat.com>
1076 * tests/gcj.test: Updated for gcj dependency tracking.
1077 * tests/gcj2.test: Likewise.
1079 Fixes PR automake/169.
1080 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1082 * automake.in (java): Added autodep entry.
1083 * tests/Makefile.am (TESTS): Added gcj3.test.
1084 * tests/gcj3.test: New file.
1086 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1088 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1089 stop at the first '='.
1090 * tests/Makefile.am (TESTS): Added vars.test.
1091 * tests/vars.test: New file.
1093 2001-05-12 Akim Demaille <akim@epita.fr>
1095 * automake.in (&handle_single_transform_list): Simplify
1096 computation of $object and $this_obj_ext.
1097 * tests/lex3.test: Merge into...
1098 * tests/lex.test: here.
1099 * tests/pr19.test: Improve and rename as...
1100 * tests/lex3.test: this.
1102 2001-05-09 Tom Tromey <tromey@redhat.com>
1104 * automake.in (read_am_file): Correctly compute $saw_bk.
1105 (scan_autoconf_files): Ensure configure_dist_common is always
1107 * tests/defs (AUTOMAKE): Added --Werror.
1109 2001-05-09 Pavel Roskin <proski@gnu.org>
1111 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1114 2001-05-09 Tom Tromey <tromey@redhat.com>
1116 * tests/werror.test: Use `rm -f'.
1118 2001-05-09 Akim Demaille <akim@epita.fr>
1120 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1122 2001-05-09 Akim Demaille <akim@epita.fr>
1124 * automake.in: Remove some code left from bad patches.
1125 (&handle_dependency): Remove, for the same reason.
1127 2001-05-09 Akim Demaille <akim@epita.fr>
1129 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1130 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1131 (&define_standard_variables): Don't transform %top_builddir% since...
1132 * header-vars.am: Use %TOPDIR% instead.
1134 2001-05-09 Akim Demaille <akim@epita.fr>
1136 * automake.in (@objects): Remove, unused.
1137 Remove all the code related to it, and to former `$(OBJECTS)'.
1139 2001-05-08 Tom Tromey <tromey@redhat.com>
1142 * ylwrap: Handle arguments to program. Remove old code that tried
1143 to avoid absolute paths and add new code to do it in all cases.
1144 Removed ancient logic that tried to deal with relative path.
1145 * tests/Makefile.am (TESTS): Added yacc4.test.
1146 * tests/yacc4.test: New file.
1148 Fix for PR automake/149 and werror.test:
1149 * automake.in (require_file_internal): Use am_line_warning or
1150 am_conf_line_warning when suppressing error.
1151 (am_line_warning): New sub.
1152 (am_conf_line_warning): Save and restore warning signal.
1153 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1155 Fix for PR automake/36:
1156 * tests/Makefile.am (TESTS): Added asm.test.
1157 * tests/asm.test: New file.
1158 * automake.in (asm): Use ASFLAGS and AS.
1159 (lang_asm_finish): New sub.
1161 * automake.in (read_am_file): Removed debugging code.
1163 For PR automake/149:
1164 * tests/Makefile.am (TESTS): Added werror.test.
1165 (XFAIL_TESTS): Likewise.
1166 * tests/werror.test: New file.
1168 * automake.in (conditional_true_when): Don't return if we see
1171 * tests/objc.test: Removed.
1172 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1175 * automake.in (subst): New sub.
1176 (handle_languages): Use it.
1177 (output_lex_build_rule): Likewise; also use _am_quote.
1178 (check_libobjs_sources): Likewise.
1179 (make_paragraphs): Use subst.
1181 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1184 * automake.in (file_contents_internal): Prototype now `$$%'.
1185 (register_language): Prototype now `%'.
1187 Fixes test subobj6.test and PR automake/160:
1188 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1189 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1190 (distclean-compile): Added DISTRMS.
1191 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1192 `mostlyclean' use; added test for non-subdir case.
1193 * automake.in (compile_clean_files): New global.
1194 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1195 (initialize_per_input): Initialize compile_clean_files.
1196 (handle_single_transform_list): Set compile_clean_files entries.
1197 (handle_compile): Handle compilation cleanups.
1199 2001-05-08 Lars J. Aas <larsa@sim.no>
1201 * automake.texi (Canonicalizing Automake macros): Document not
1202 canonicalizing strudels (@) anymore.
1204 2001-05-08 Akim Demaille <akim@epita.fr>
1206 * distdir.am (dist-all): Build all the flavors using a single
1209 2001-05-08 Akim Demaille <akim@epita.fr>
1211 * automake.in (&file_contents_internal): Apply the @cond_stack to
1212 the rules and assignments.
1213 Don't rely on `$.' as it's biased by &make_paragraphs.
1214 Don't remove backslashes in variable values.
1216 2001-05-08 Akim Demaille <akim@epita.fr>
1218 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1219 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1220 ($MACRO_PATTERN): Just catch the name of a macro.
1221 ($BOGUS_MACRO_PATTERN): Remove.
1222 ($ASSIGNMENT_PATTERN): New.
1223 (&file_contents_internal, &make_paragraphs): Adjust.
1224 (¯o_define): Catch bad macro names.
1225 (&cond_stack_endif): Better error message.
1226 (&file_contents_internal): Don't remove backslashes in variable
1228 (¯o_define): Do it for `+=' user variables.
1229 (&define_standard_variables): Use `undef' instead of a dummy
1231 (&make_paragraph): Be sure not to chop the trail of hash only
1232 lines: adjust the `##' regexp.
1233 (&rule_define): Fix a bug: don't read $1 but $target.
1234 * tests/condincl.test: Strengthen.
1236 2001-05-08 Akim Demaille <akim@epita.fr>
1238 * automake.in (Language): Add attributes `Name' and `config_vars'.
1239 (&finish): Work properly if there is no _finish.
1240 (Automake): Register language Names and AC_SUBST dependencies.
1241 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1242 (&handle_languages): Once per language, invoke
1243 `define_linker_variables', and check its config_vars.
1244 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1245 (&lang_java_finish): Remove.
1246 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1248 2001-05-08 Akim Demaille <akim@epita.fr>
1250 * automake.in (&file_contents_internal): Accept $IS_AM.
1251 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1253 2001-05-08 Akim Demaille <akim@epita.fr>
1255 * automake.in (am_install_var): Use `next' instead of `if' on the
1258 2001-05-08 Akim Demaille <akim@epita.fr>
1260 * automake.in (Language): Add attributes `lder' and `ld'.
1261 (®ister_language): Specify for cxx, objc, f77, gcj.
1262 (&define_linker_variable): New.
1263 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1264 (&lang_java_finish): Adjust.
1265 (&libtool_compiler): Remove.
1267 2001-05-08 Akim Demaille <akim@epita.fr>
1269 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1270 argument, as you don't use it.
1272 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1275 (&handle_programs): Don't mess with %lex_sources, as you don't use
1278 2001-05-08 Akim Demaille <akim@epita.fr>
1280 * automake.in (Language): Add attribute `link'.
1281 (®ister_language): Specify for cxx, objc, f77, gcj.
1282 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1283 (&lang_java_finish): Adjust.
1285 2001-05-08 Akim Demaille <akim@epita.fr>
1287 * automake.in (&define_compiler_variables): Use only $LANG as
1289 (&handle_languages): Adjust.
1291 2001-05-08 Akim Demaille <akim@epita.fr>
1293 * automake.in (&define_program_variable): Remove.
1294 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1296 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1297 * texinfos.am: Do it.
1299 2001-05-08 Akim Demaille <akim@epita.fr>
1301 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1303 * dejagnu.am: Do it.
1304 (site.exp): Use `if'.
1306 2001-05-08 Akim Demaille <akim@epita.fr>
1308 * automake.in: Formatting changes.
1309 (variable_dump, variables_dump): Rename as...
1310 (macro_dump, macros_dump): these.
1312 2001-05-08 Akim Demaille <akim@epita.fr>
1314 Support `if !COND', `else COND', `end COND'.
1316 * automake.texi (Conditionals): Document it.
1317 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1318 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1319 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1320 a leading `!' before the condition.
1321 (&handle_options): Use `\d'.
1322 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1323 (&read_am_file, &file_contents_internal): Use them.
1324 (&transform): No longer substitute `%!COND%', forcing the use of
1326 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1328 2001-05-08 Akim Demaille <akim@epita.fr>
1330 Uniform handling of per-object compilation rules.
1331 Note: Automake is repaired.
1333 * automake.in (&handle_languages): Output per object rules for all
1334 the objects, not only for those which language supports dependency
1336 Fix Automake: when outputting per-object rules, use `-o' if the
1337 language has no `output_flag', as it's really needed.
1338 (&handle_single_transform_list): Instead of special casing files
1339 which need per object rules but which language don't support
1340 dependency tracking, keep them in the queue for processing by
1341 `&handle_languages'.
1343 2001-05-08 Akim Demaille <akim@epita.fr>
1345 * automake.in (&handle_languages): `ext-compile.am' and
1346 `depend2.am' are now equivalent for generic rules: output only the
1348 * ext-compile.am: Remove.
1350 2001-05-08 Akim Demaille <akim@epita.fr>
1352 Note: This patch breaks Automake. Repaired within two patches.
1354 * automake.in (Language): Replace the attribute `output_arg' with
1355 `compile_flag' and `output_flag'.
1356 (Automake): Adjust language registrations.
1357 (&handle_languages): Transform `-c' and `-o' for both suffix and
1358 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1360 (&handle_single_transform_list): Adjust to `compile_flag' and
1362 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1364 2001-05-08 Akim Demaille <akim@epita.fr>
1366 * automake.in (&handle_languages): Don't transform %COMPILER%.
1367 Use `$lang->compiler' instead of `$pfx' to transform generic
1368 %COMPILE% and %LTCOMPILE%.
1369 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1370 of %COMPILER% and $<.
1372 2001-05-07 Akim Demaille <akim@epita.fr>
1374 * automake.in (&handle_languages): Use the same `%transform' for
1375 both `depend2.am' and `ext-compile.am'.
1376 Delay the definition of `$flag' so it is right before the first use,
1377 and rename as `$flags'.
1379 2001-05-07 Akim Demaille <akim@epita.fr>
1381 * automake.in (&handle_languages): Compute `$ltoutarg' and
1382 `$outarg' independently of dependency code.
1383 There is no use looping on a language's possible extensions since
1384 we loop over used extensions.
1385 Therefore, there is no use for a local `%transform'.
1387 2001-05-07 Akim Demaille <akim@epita.fr>
1389 * automake.in (&handle_languages): Don't use $comp.
1391 2001-05-07 Akim Demaille <akim@epita.fr>
1393 * automake.in (&handle_languages): Merge the two loops over
1394 %extension_seen/%languages into one and group code to be run once
1395 per language together.
1397 2001-05-07 Akim Demaille <akim@epita.fr>
1399 * automake.in (&handle_languages): Move the `if
1400 ($use_dependencies)' block so that loops over extensions and
1401 languages are next to each other.
1403 2001-05-07 Akim Demaille <akim@epita.fr>
1405 * automake.in (&depend2): Remove, merged into...
1406 (&handle_languages): here.
1408 2001-05-07 Akim Demaille <akim@epita.fr>
1410 * automake.in (&finish_languages): Rename as...
1411 (&handle_languages): this.
1412 Include the body of...
1413 (&handle_dependency): this.
1416 2001-05-06 Tom Tromey <tromey@redhat.com>
1419 * tests/Makefile.am (TESTS): Add subdir5.test.
1420 (XFAIL_TESTS): Likewise.
1421 * tests/subdir5.test: New file.
1423 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1424 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1426 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1428 (handle_options): Handle fork identifier in version number.
1430 * automake.texi (Dist): Document distcheck-hook.
1432 * tests/confh4.test: Update to reflect DEFS change.
1433 For PR automake/132.
1435 Fix for PR automake/132:
1436 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1438 (java): Remove INCLUDES and DEFS from compilation.
1439 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1440 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1441 (DEFAULT_INCLUDES): New macro.
1443 * automake.in (usage): Re-align explanatory text.
1444 Fixes PR automake/148.
1446 * automake.texi (Uniform): Don't use @PROGRAMS@.
1447 Fixes PR automake/154.
1449 For PR automake/160:
1450 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1451 (XFAIL_TESTS): Add subobj6.test.
1452 * tests/subobj6.test: New file.
1454 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1455 (Top level): Don't mention `flat'.
1456 (Extending): Likewise.
1457 (User Variables): New node.
1459 * distdir.am (distdir): Make subdirectory for each file.
1460 Fixes test subobj5.test.
1462 * tests/Makefile.am (TESTS): Add new file.
1463 (XFAIL_TESTS): Likewise.
1464 * tests/texinfo10.test: New file.
1466 2001-05-05 Pavel Roskin <proski@gnu.org>
1468 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1469 in the same way as @defcodeindex and @syncodeindex respectively.
1471 2001-05-05 Tom Tromey <tromey@redhat.com>
1473 * mans.am (install-man%SECTION%): Minor cleanup.
1474 (uninstall-man%SECTION%): Likewise.
1476 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1477 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1479 (uninstall-man%SECTION%): Likewise.
1480 * automake.in (handle_man_pages): Handle dist_ and nodist_
1483 * automake.texi (Future): Removed.
1485 (Hello): Don't mention `deep'.
1486 (Top level): Likewise.
1488 * automake.in (conditional_true_when): Use a hash, not index().
1489 Also, a TRUE component always results in a true return.
1490 Fixes test cond10.test. For PR automake/164.
1491 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1493 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1495 For PR automake/164:
1496 * tests/Makefile.am (TESTS): Added new file.
1497 (XFAIL_TESTS): Likewise.
1498 * tests/cond10.test: New file.
1500 2001-05-05 Tom Tromey <tromey@redhat.com>
1502 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1504 (install-info-am): Likewise.
1506 2001-05-05 Pavel Roskin <proski@gnu.org>
1508 * automake.in (scan_texinfo_file): Don't push undefined values
1511 2001-05-05 Richard Boulton <richard@tartarus.org>
1513 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1516 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1518 * automake.in (required_targets): Added uninstall-am.
1520 2001-05-05 Tom Tromey <tromey@redhat.com>
1522 Fix bug reported by Robert Boehne:
1523 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1525 (handle_dependencies): Likewise.
1526 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1527 substitution. Correct diff now has 30 lines. Look for space
1528 after losing `undef'.
1530 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1532 * m4/sanity.m4: Remove the temp file before possible error exits.
1534 2001-05-04 Akim Demaille <akim@epita.fr>
1536 * configure.in: Set perllibdir.
1539 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1541 * automake.in ($pkgdata_dir): New.
1542 (&require_file_internal): Use it.
1544 2001-05-03 Akim Demaille <akim@epita.fr>
1546 Case insensitive FS choke on Automake/ vs automake.
1547 Reported by Tim Van Holder.
1549 * Automake/: Move into...
1550 * lib/: this new directory.
1552 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1554 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1557 2001-04-30 Jim Meyering <meyering@lucent.com>
1559 * automake.in: Remove `/lib' from include directory.
1561 2001-04-27 Akim Demaille <akim@epita.fr>
1563 AM_INIT_AUTOMAKE is no longer optional.
1565 * automake.in ($seen_make_set, $seen_prog_install)
1566 ($seen_arg_prog): Remove.
1567 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1568 Remove related code.
1570 2001-04-27 Akim Demaille <akim@epita.fr>
1572 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1574 * tests/specflags3.test: here.
1576 2001-04-27 Akim Demaille <akim@epita.fr>
1578 * automake.in ($seen_path_xtra): Remove.
1579 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1580 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1582 2001-04-27 Akim Demaille <akim@epita.fr>
1584 * automake.in (&file_contents_internal): Declare it.
1586 2001-04-27 Akim Demaille <akim@epita.fr>
1588 * automake.in (&read_am_file, &file_contents_internal): Don't
1589 define macros when `FALSE', to avoid errors on doubly defined
1590 variables but under condition `FALSE'. In order to allow...
1591 (&am_install_var): When reading the associated file for the first
1592 time, enable `%?FIRST%'.
1593 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1594 * libs.am: Do it when `%?FIRST%'.
1596 2001-04-27 Akim Demaille <akim@epita.fr>
1598 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1599 * ansi2knr.am: Do it.
1600 Prefer `if %?FOO%' to `if %!FOO%'.
1602 2001-04-27 Akim Demaille <akim@epita.fr>
1604 * automake.in (®ister_language, &finish_languages): Use `pure'
1606 (®ister_language): Use %done properly with objects, not names.
1607 (&finish_languages): Replace `$non_c' with `$needs_c'.
1609 2001-04-27 Akim Demaille <akim@epita.fr>
1611 Unify LISP, PYTHON and JAVA primaries.
1613 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1614 return if there are no files, hook elisp-comp on the Autoconf
1615 macro, rely on lisp.am to define variables.
1616 (&handle_python, &handle_java): Likewise.
1617 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1618 `PYTHON' must be handled here, not in `&handle_python'.
1619 * java.am: Define needed variables and rules.
1621 2001-04-27 Akim Demaille <akim@epita.fr>
1623 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1625 * header.am: Include data.am.
1627 2001-04-27 Akim Demaille <akim@epita.fr>
1629 * automake.in (&am_install_var): Transform `PRIMARY'.
1630 * data.am: Equip with %PRIMARY%.
1632 2001-04-27 Akim Demaille <akim@epita.fr>
1634 * automake.in (@conditional_stack): Rename as...
1635 (@cond_stack): this.
1636 (&file_contents_internal): Support inclusion of files.
1638 2001-04-27 Akim Demaille <akim@epita.fr>
1640 * automake.in (&lang_extensions): Remove.
1641 (&add_depend2, &saw_sources_p): Adjust.
1642 * depend2.am: `%EXT%' no longer includes the dot.
1644 2001-04-27 Akim Demaille <akim@epita.fr>
1646 * automake.in (&finish_languages, &handle_single_transform_list)
1647 (&add_depend2, &handle_dependencies): No longer use the language
1648 name in `$lang'. Rename `$lang_obj' as `$lang'.
1650 2001-04-27 Akim Demaille <akim@epita.fr>
1652 * automake.in (®ister_language): Use `new Language' with a hash.
1654 2001-04-27 Akim Demaille <akim@epita.fr>
1656 * automake.in (®ister_language): Rename `output-arg' and
1657 `derived-autodep' as `output_arg' and `derived_autodep' to match
1658 the Language attribute.
1659 Set the defaults in %option instead of $lang.
1661 2001-04-27 Akim Demaille <akim@epita.fr>
1663 * Automake/: New directory.
1664 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1665 * automake.in (Language): Use Automake::Struct.
1666 * tests/defs: Adjust to find Struct.
1668 2001-04-23 Pavel Roskin <proski@gnu.org>
1670 * automake.in: Add forward declaration for register_language().
1671 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1674 2001-04-20 Akim Demaille <akim@epita.fr>
1676 * automake.in (%required_targets): Add `uninstall'.
1677 From Robert Collins.
1679 2001-04-12 Akim Demaille <akim@epita.fr>
1681 * automake.in (Language): Add attribute `name'.
1682 (®ister_language): The name of the language is now given in the
1684 No longer use `$lang' as the name of the language.
1685 Rename `$lang_obj' as `$lang'.
1687 2001-04-12 Akim Demaille <akim@epita.fr>
1689 * automake.in (Language): Add attribute `_finish'.
1692 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1693 (&lang_asm_finish): Remove.
1695 2001-04-12 Akim Demaille <akim@epita.fr>
1697 * automake.in (Language): Add attribute `extensions'.
1698 (Automake): Pass a hash to `®ister_language' instead of a
1699 list of pseudo assignments.
1700 (®ister_language): Adjust.
1701 (&finish_languages): Initialize `$ltoutarg'.
1703 2001-04-12 Akim Demaille <akim@epita.fr>
1705 * automake.in (Language): Add attribute `output_arg'.
1706 (%language_map): Remove.
1707 (®ister_language): Build only the object, and store in
1709 (&finish_languages, &handle_single_transform_list): Adjust.
1711 2001-04-12 Akim Demaille <akim@epita.fr>
1713 * automake.in (Language): Add attributes `flags', `compile' and
1715 (&finish_languages, &handle_single_transform_list, &handle_dist)
1716 (&add_depend2, ®ister_language): Use them and the `linker' and
1719 2001-04-12 Akim Demaille <akim@epita.fr>
1721 * automake.in (&handle_single_transform_list, &finish_languages)
1722 (&handle_dist, &handle_dependencies): Use the language object for
1723 autodep and derived-autodep too.
1725 2001-04-12 Akim Demaille <akim@epita.fr>
1727 * automake.in (¯o_define): Ignore Automake definition for
1728 ($var, $cond) if there is already a user definition for ($var, $cond).
1730 2001-04-12 Akim Demaille <akim@epita.fr>
1732 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1733 but also @deffn and so on which push data in indexes.
1734 Reported by Derek R. Price.
1736 2001-04-12 Akim Demaille <akim@epita.fr>
1738 * automake.in (Language): New package, temporarily in this file.
1740 (Automake): New package.
1742 (&handle_single_transform_list): Use the language object's `ansi'
1743 attribute instead of `$language_map{"$lang-ansi-p"}'.
1744 (®ister_language): Build and register the language too.
1746 2001-04-11 Tom Tromey <tromey@redhat.com>
1748 Fixes report from Larry Jones:
1749 * automake.in (handle_dependencies): Add `@_am_quote@' where
1751 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1753 2001-04-11 Akim Demaille <akim@epita.fr>
1755 * depend2.am: Fix the `if' condition for Libtool.
1756 Reported by Robert Boehne.
1758 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1760 * tests/subobj5.test: New file.
1762 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1764 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1765 * tests/Makefile.am (TESTS): Added make.test.
1766 * tests/make.test: New file.
1768 2001-04-10 Tom Tromey <tromey@redhat.com>
1770 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1772 2001-04-10 Derek R. Price <dprice@collab.net>
1774 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1776 2001-04-10 Akim Demaille <akim@epita.fr>
1778 * distdir.am: Add a missing backslash.
1780 2001-04-10 Akim Demaille <akim@epita.fr>
1782 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1784 Specify to the caller whether $regen_aclocal_m4.
1785 (&handle_configure): Adjust.
1786 Transform `REGEN-ACLOCAL-M4'.
1788 * configure.am: Use it.
1789 * tests/defs (me): New.
1790 * tests/confdeps.test: New.
1792 2001-04-09 Tom Tromey <tromey@redhat.com>
1794 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1795 Fixes report from Jim Meyering.
1797 2001-04-09 Akim Demaille <akim@epita.fr>
1799 * automake.in (&handle_configure): Don't bother with optimizing
1802 2001-04-09 Akim Demaille <akim@epita.fr>
1804 * tests/cond3.test (expected): Adjust.
1806 2001-04-09 Akim Demaille <akim@epita.fr>
1808 * automake.in (&handle_single_transform_list): Remove $xbase,
1810 (&handle_source_transform): All the variables have conditions now,
1812 (&variable_delete): Admit an argument @conds.
1814 2001-04-09 Akim Demaille <akim@epita.fr>
1816 * automake.in ($source_suffix_pattern): Remove, unused.
1817 %extension_map seems to have replaced it.
1819 2001-04-09 Akim Demaille <akim@epita.fr>
1821 * ext-compile.am: New file.
1822 * automake.in (&finish_languages): Output it.
1823 Require a C linker if there are several registered source suffixes.
1824 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1825 extensions, which are discovered in ext-compile.am.
1826 With the help from Robert Boehne.
1828 2001-04-09 Akim Demaille <akim@epita.fr>
1830 * automake.in (&handle_compile): Extract from...
1831 (&get_object_extension): here.
1832 (&read_am_file): Call it.
1833 ($included_generic_compile, $included_knr_compile)
1834 ($included_libtool_compile): Remove.
1835 ($get_object_extension_was_run): New.
1837 2001-04-09 Akim Demaille <akim@epita.fr>
1839 Use AM_CONDITIONAL and if/endif for AMDEP.
1841 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1842 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1843 to a configure time if/endif), or to `FALSE' (static removal of
1845 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1846 * depend2.am: Use if/endif.
1848 Adjust the 101 tests that use dependencies so that they
1849 properly invoke aclocal before automake. They need to `see'
1850 `AM_CONDITIONAL([AMDEP], ...)'.
1852 2001-04-09 Akim Demaille <akim@epita.fr>
1854 * tags.am: Fix missing leading tabs.
1856 2001-04-09 Akim Demaille <akim@epita.fr>
1858 * automake.in: Use simple quotes to define the _PATTERN variables
1859 to unobfuscate the regexps.
1860 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1862 2001-04-09 Akim Demaille <akim@epita.fr>
1864 * automake.in (&rule_define): When you discover a suffix rules,
1865 register the extensions for .SUFFIXES.
1866 (&handle_texinfo): Don't register the suffixes.
1867 (&get_object_extension): Don't register suffixes, let them be
1868 discovered in depend2.am.
1869 (&handle_emacs_lisp): Depend on your lisp.am.
1870 * lisp.am: Include the rule &handle_emacs_lisp used to output.
1872 2001-04-09 Akim Demaille <akim@epita.fr>
1874 * subdirs.am: Don't define info related recursive targets.
1877 2001-04-09 Akim Demaille <akim@epita.fr>
1879 * subdirs.am (RECURSIVE_TARGETS): New variable.
1881 * automake.in (&handle_subdirs): Output it.
1882 (&file_contents_internal): Support value spread on several lines.
1884 2001-04-09 Akim Demaille <akim@epita.fr>
1886 * automake.in (&handle_man_pages): Rely on mans.am to define
1887 man%SECTION%dir and MANS.
1890 2001-04-09 Akim Demaille <akim@epita.fr>
1892 * automake.in (&variable_dump): Use %var_type properly.
1893 (¯o_define): Enforce better overriding rules.
1894 Handle the special case that used to handle...
1895 (&define_pretty_variable): this.
1897 The variables you define are owned by Automake.
1898 (&generate_makefile): PRE_INSTALL and co must not be defined *by
1900 (&variable_defined): Now independent of the owner.
1901 (&variable_output, &variable_pretty_output): Adjust to %var_type.
1903 2001-04-09 Akim Demaille <akim@epita.fr>
1905 * automake.in (%var_was_plus_eq): Rename as...
1907 (%def_type): Remove.
1908 (¯o_define): %var_type may now hold `', `+', or `:'.
1909 (%conditional, %am_vars, %content_lines): Rename as...
1910 (%var_value, %var_comment, %var_line): these.
1912 2001-04-09 Akim Demaille <akim@epita.fr>
1914 * automake.in (&variable_output): Admit a list of @CONDS.
1915 (&variable_pretty_output): New.
1916 (&define_pretty_variable): Use it.
1917 (&read_am_file, &file_contents_internal): Prepend a separator to
1918 $am_vars only if there is none yet.
1919 (&file_contents_internal): Rename $separator as $spacing to
1920 harmonize with &read_am_file.
1922 2001-04-09 Akim Demaille <akim@epita.fr>
1924 * automake.in (&am_install_var): Transform DIST, and let the *.am
1925 files handle DIST_COMMON.
1926 * data.am, header.am, java.am, list.am, python.am, script.am: Set
1929 2001-04-09 Akim Demaille <akim@epita.fr>
1931 * automake.in (%dist_common): Remove.
1932 (%configure_dist_common): Replace with...
1933 ($configure_dist_common): this.
1934 (&generate_makefile): Read the user file before using
1935 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1936 that no variable is defined before it is run.
1937 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1938 (&dist_cmp): Rename as...
1939 (&for_dist_common): this.
1940 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1942 Adjust to $configure_dist_common.
1943 * configure.am, texi-vers.am: Set DIST_COMMON.
1945 2001-04-09 Akim Demaille <akim@epita.fr>
1947 * automake.in (&handle_aclocal_m4): Rename as...
1948 (&scan_aclocal_m4): this.
1949 Return the list of aclocal.m4 dependencies.
1950 (&handle_configure): Invoke it, and use it when loading...
1951 * configure.am: Template the rules to recreate aclocal.m4.
1953 2001-04-09 Akim Demaille <akim@epita.fr>
1955 * automake.in (&get_object_extension): Use ansi2knr.am.
1956 * clean-kr.am, kr-extra.am: Remove, merged into...
1957 * ansi2knr.am: this new file.
1959 2001-04-09 Akim Demaille <akim@epita.fr>
1961 * automake.in (&transform): Fix an incredible bug which was
1962 breaking the if/endif system.
1963 ($ELSE_PATTERN): Admit an optional argument.
1965 2001-04-09 Akim Demaille <akim@epita.fr>
1967 * comp-vars.am: Remove, merged into...
1969 * automake.in (&get_object_extension): Adjust.
1971 2001-04-09 Akim Demaille <akim@epita.fr>
1973 * remake.am: Merge into...
1974 * configure.am: ... here.
1975 * automake.in (&handle_configure): Adjust.
1977 2001-04-09 Akim Demaille <akim@epita.fr>
1979 * automake.in (&output_lex_build_rule): Output this...
1982 2001-04-09 Akim Demaille <akim@epita.fr>
1984 * automake.in (&condition_negate): New.
1985 (&variable_conditions_permutations): Use it.
1986 (&read_am_file, &file_contents): Use it on `else' clauses to
1988 (&output_yacc_build_rule): Output this...
1989 * yacc.am: New file.
1991 2001-04-09 Akim Demaille <akim@epita.fr>
1993 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1994 (&handle_dist): Don't.
1995 (&handle_clean): Don't handle config.status here, let...
1996 * clean.am: ... do it.
1997 * distdir.am: Adjust.
1999 2001-04-09 Akim Demaille <akim@epita.fr>
2001 * automake.in: Use strict vars and subs.
2002 Declare `%require_file_found'.
2003 (&handle_source_transform, &make_paragraphs): Declare my variables.
2005 2001-04-09 Akim Demaille <akim@epita.fr>
2007 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2008 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2009 * java.am (_am_installdirs): Be sure to set it.
2011 2001-04-09 Akim Demaille <akim@epita.fr>
2013 * automake.in (&make_condition): Return '#' when FALSE.
2014 (&conditional_string): Return FALSE, not '#' in the corresponding
2016 (&file_contents_internal): Adjust.
2017 (&check_variable_defined_unconditional): Dump the guilty variable.
2019 2001-04-09 Akim Demaille <akim@epita.fr>
2021 * distdir.am: Use and abuse of if/endif.
2022 * scripts.am: Using if/endif with variables is fine.
2024 2001-04-09 Akim Demaille <akim@epita.fr>
2026 * automake.in (&make_paragraphs): Extract from &file_contents.
2027 Make it more robust than the previous RE based scheme.
2028 (&file_contents): Use it.
2030 2001-04-09 Akim Demaille <akim@epita.fr>
2032 * automake.in (&make_paragraphs): Extract from &file_contents.
2033 Make it more robust than the previous RE based scheme.
2034 (&file_contents): Use it.
2036 2001-04-09 Akim Demaille <akim@epita.fr>
2038 * tests/yacc2.test: Don't define several times a variable, as
2041 2001-04-09 Akim Demaille <akim@epita.fr>
2043 * automake.in (&handle_source_transform): Fix pr72: don't define
2044 $linker if there are no @files.
2046 2001-04-09 Akim Demaille <akim@epita.fr>
2048 Avoid reading twice header-vars.am as now macro_define
2051 * automake.in (&define_standard_variables): Don't output the
2053 (&read_main_am_file): Output first user variables, then Automake
2055 Don't call twice &define_standard_variables.
2056 Save variable comments in $am_vars.
2057 (&variable_output): New.
2058 (&file_contents_internal): New.
2059 Save variable comments in $am_vars.
2060 (&file_contents): Use it.
2062 2001-04-09 Akim Demaille <akim@epita.fr>
2064 * automake.in (¯o_define): The user is allowed to override
2065 a value if it was set by Automake, or if it was found in AC_SUBST.
2067 2001-04-09 Akim Demaille <akim@epita.fr>
2069 * automake.in (&handle_source_transform): Better locality of the
2071 Use `next' to skip nonexistent variables.
2073 2001-04-09 Akim Demaille <akim@epita.fr>
2075 * automake.in (&variable_dump): If a variable is undefined, say
2077 (&check_ambiguous_conditional): Give finer error messages.
2078 (¯o_define): Check that a `+=' variable is not set with `='.
2079 Check for ambiguous definitions each time you _set_ (even with `+=')
2081 (&read_main_am_file): Perform a deep copy of %conditional.
2083 2001-04-09 Akim Demaille <akim@epita.fr>
2085 * automake.in (&variable_defined): Some callers, e.g.,
2086 &am_primary_prefixes, really want to know if the variable is
2087 defined for any condition, not `TRUE' by default.
2088 (&am_primary_prefixes): Give a more precise error message.
2090 2001-04-09 Akim Demaille <akim@epita.fr>
2092 (&variable_conditions): Don't include `FALSE' in the result.
2094 2001-04-09 Akim Demaille <akim@epita.fr>
2096 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2097 (&variable_conditions): Don't include `FALSE' in the result.
2099 2001-04-09 Akim Demaille <akim@epita.fr>
2101 * tests/defs, tests/depend3.test: Remove useless code.
2103 2001-04-09 Akim Demaille <akim@epita.fr>
2105 * automake.in (&handle_source_transform): Use
2106 &variable_conditions, don't read $conditional{$var}.
2107 (&variable_conditions_sub): When the call is the top level call,
2108 generate all the permutations of the conditions.
2110 2001-04-09 Akim Demaille <akim@epita.fr>
2112 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2113 that it does not get noticed twice by automake, which now
2114 complains for multiple definitions.
2115 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2116 because we defined INSTALL.
2118 2001-04-09 Akim Demaille <akim@epita.fr>
2120 * automake.in (&generate_makefile) Use macro_define to define
2121 SOURCES and OBJECTS.
2122 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2123 this would make perl create $condition{VAR}, which we don't want.
2125 2001-04-09 Akim Demaille <akim@epita.fr>
2127 * automake.in (&variable_defined, &define_pretty_variable):
2128 Simplify code which used to handle the cases where not all
2129 variables were in %conditional.
2130 (&define_variable): Use &define_pretty_variable.
2131 (&variable_conditions_sub, &variable_value_as_list_worker)
2132 (&variable_value_as_list, &rule_define): Simplify syntax.
2133 (&read_main_am_file): Dump the guilty predefined variables.
2135 2001-04-09 Akim Demaille <akim@epita.fr>
2137 * automake.in (&variable_conditions_sub)
2138 (&variable_value_as_list_worker): Remove dead code which used to
2139 handle the cases where not all variables were in %conditional.
2141 2001-04-09 Akim Demaille <akim@epita.fr>
2143 * automake.in (&handle_source_transform, &read_main_am_file):
2144 Simplify loops which were split in two parts, conditional vs
2145 unconditional variables.
2147 2001-04-09 Akim Demaille <akim@epita.fr>
2149 Handle unconditional values of variables as conditioned by
2152 * automake.in (%contents): Remove.
2153 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2154 (&read_am_file, &variable_defined, &variable_conditions_sub)
2155 (&variable_value, &variable_value_as_list_worker)
2156 (&variable_value_as_list, &define_pretty_variable)
2157 (&read_main_am_file): Use
2158 $conditional, not %contents.
2159 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2160 (&variable_conditionally_defined): New.
2161 (&handle_dist): Use it.
2162 (&check_ambiguous_conditional): When multiply defined, specify
2163 under which condition.
2164 (¯o_define): Use it.
2165 (&variable_delete): New.
2166 (&read_am_file): Use it.
2167 (&am_install_var): Simplify, as all the variables are in
2170 2001-04-07 Tom Tromey <tromey@redhat.com>
2172 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2174 * tests/man.test: New file.
2176 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2178 * depcomp (gcc3): Invert test condition.
2180 2001-04-07 Tom Tromey <tromey@redhat.com>
2182 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2183 statement. Report from Larry Jones.
2185 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2187 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2189 2001-04-01 Tom Tromey <tromey@redhat.com>
2191 * java.am (.PHONY clean-am): Removed trailing ":".
2192 From Per Bothner. Fixes PR automake/139.
2194 2001-03-28 Akim Demaille <akim@epita.fr>
2196 * program.am: Fix a stupid typo: now *all* (not none) the programs
2198 Reported by Robert Boehne.
2200 2001-03-23 Akim Demaille <akim@epita.fr>
2202 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2205 2001-03-23 Akim Demaille <akim@epita.fr>
2207 * automake.in (&variable_conditionally_defined): Rename as...
2208 (&check_variable_unconditionally_defined): this.
2209 (&variable_dump): Fix the output.
2210 (&variable_defined, ¯o_define): Since conditions are
2211 canonicalized, don't use a loop to look for a condition: read the
2213 (¯o_define, &rule_define, &read_am_file, &file_contents):
2214 Rename $cond_string as $cond.
2215 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2216 discovered via AC_SUBST, they now trigger a `defined twice' error.
2218 2001-03-23 Akim Demaille <akim@epita.fr>
2220 * automake.in (&handle_footer, &handle_installdirs)
2221 (&read_main_am_file): Don't read %contents directly, use
2224 2001-03-23 Akim Demaille <akim@epita.fr>
2226 * automake.in (&read_am_file): Define the variables in a single
2228 Factor the $saw_bk code.
2230 2001-03-23 Akim Demaille <akim@epita.fr>
2232 * automake.in (&read_am_file): Keep $cond_string up to date.
2234 2001-03-23 Akim Demaille <akim@epita.fr>
2236 * automake.in (&define_variable): Use ¯o_define.
2238 2001-03-23 Akim Demaille <akim@epita.fr>
2240 * automake.in (¯o_define): Don't lose the location if we
2241 redefine a variable.
2242 Don't push all the variables in @var_list, let...
2243 (&read_am_file, &file_contents): ... do it.
2244 (&define_pretty_variable): Use macro_define.
2245 (&am_install_var): Delete the value of variables being redefined
2246 to pacify ¯o_define which checks that variables are not
2249 2001-03-23 Akim Demaille <akim@epita.fr>
2251 * automake.in (&conditional_dump): Rename as...
2252 (&variables_dump): this. Use...
2253 (&variable_dump): this new sub.
2255 2001-03-23 Akim Demaille <akim@epita.fr>
2257 * automake.in (&file_contents): Maintain $cond_string sync with
2259 Output rules only if not under `FALSE'.
2260 Define variables under $cond_string.
2261 * scripts.am: For the time being if/endif does not work properly
2264 2001-03-23 Akim Demaille <akim@epita.fr>
2266 * automake.in (IF_PATTERN): Unobfuscate the parens.
2267 (ENDIF_PATTERN): Allow a condition to be specified.
2268 (&file_contents): Use a @cond_stack.
2269 (&transform): At least for an easy transition, also transform
2270 %?FOO% and %!FOO%, as suggested by Lars.
2271 * scripts.am: First test bed for static if/endif use.
2273 2001-03-23 Akim Demaille <akim@epita.fr>
2275 * automake.in (&file_contents): Use rule_define.
2277 2001-03-23 Akim Demaille <akim@epita.fr>
2279 * automake.in (¯o_define): Don't rely on $1.
2280 Initialize the variable.
2281 Set its Automakism only if not defined or if given to the user.
2282 When concatenating values, insert a separator only if the value
2284 (&read_am_file): When dumping the @var_list, skip Automake
2286 (&file_contents): Use macro_define.
2288 2001-03-23 Akim Demaille <akim@epita.fr>
2290 * automake.in (&rule_define): Extract from...
2291 (&read_am_file): here.
2293 2001-03-23 Akim Demaille <akim@epita.fr>
2295 * automake.in (¯o_define, &read_am_file): More work for the
2296 former from the latter. Reorganize the latter.
2298 2001-03-23 Akim Demaille <akim@epita.fr>
2300 * automake.in (¯o_define): Extract from...
2301 (&read_am_file): here.
2303 2001-03-23 Akim Demaille <akim@epita.fr>
2305 * automake.in (%am_var_defs): Replace with...
2307 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2308 (&file_contents, am_primary_&prefixes): Adjust.
2309 (&variable_defined, &define_variable): The actual semantics is
2311 (&read_main_am_file): Assert the var is user defined when
2312 outputting @var_list.
2314 2001-03-23 Akim Demaille <akim@epita.fr>
2316 * automake.in (read_am_file): TRUE and FALSE are predefined
2318 (&by_condition): Adjust.
2319 (&conditional_string): Recognize `TRUE' and `FALSE'.
2320 (&make_condition): Use it.
2321 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2322 * automake.texi (Conditionals): Adjust.
2323 * tests/cond9.test: s/FALSE/WRONG/.
2325 2001-03-12 Pavel Roskin <proski@gnu.org>
2327 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2330 2001-03-12 Akim Demaille <akim@epita.fr>
2332 * automake.in (&variable_conditions_permutations): Separate the
2334 * tests/cond3.test: Improve the sed expression.
2336 2001-03-09 Pavel Roskin <proski@gnu.org>
2338 * Makefile.am (maintainer-check): Scan all *.am files and tests
2339 for invocations of `rm' without `-f'.
2340 * tests/mclean.test: Adjusted to prevent triggering the above
2343 2001-03-09 Tom Tromey <tromey@redhat.com>
2345 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2346 maintainer-check failure.
2348 2001-03-09 Akim Demaille <akim@epita.fr>
2350 * tests/cond3.test: Strengthen.
2352 2001-03-09 Akim Demaille <akim@epita.fr>
2354 * automake.in (&conditional_string): Produce a unique string
2355 characterizing a condition stack.
2356 (&conditional_same): Remove, comparing two strings is now enough.
2357 (&variable_defined): Adjust.
2358 (&read_am_file): Use conditional_string.
2360 2001-03-08 Akim Demaille <akim@epita.fr>
2362 * automake.in: Use -w.
2363 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2364 (&parse_arguments): Support --Werror and --Wno-error as a
2365 temporary hack until --warning/-W is properly implemented.
2366 (&handle_single_transform_list): Prototype.
2367 Be sure to define $directory.
2368 Use `exists' instead of testing the value of a maybe undefined
2370 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2371 (&handle_factored_dependencies): Use defined values.
2372 (&scan_one_autoconf_file): Save $_.
2373 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2374 Run automake with --Wno-error.
2376 2001-03-07 Akim Demaille <akim@epita.fr>
2378 * automake.in (&handle_all): Use an array instead of a scalar for
2380 Get rid of all-redirect: let `all' be that target.
2382 2001-03-07 Akim Demaille <akim@epita.fr>
2384 * automake.in (&handle_merge_targets): Ventilate its non `all'
2385 related content into...
2386 (&generate_makefile): here.
2387 (&handle_merge_targets): Rename as...
2388 (&handle_all): this.
2389 Remove a useless `if': `@all' is obviously not empty, since it
2390 contains at least the `basename ($makefile)' which has just been
2393 2001-03-07 Akim Demaille <akim@epita.fr>
2395 * automake.in, aclocal.in: Backquote is inert in double quotes.
2397 2001-03-06 Akim Demaille <akim@epita.fr>
2399 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2402 2001-03-06 Pavel Roskin <proski@gnu.org>
2404 * java.am: Use `rm -f' instead of `rm'.
2406 2001-03-06 Akim Demaille <akim@epita.fr>
2408 * automake.in (&push_dist_common): Simplify.
2410 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2412 * ltlib.am: Replaced spaces with tab.
2414 2001-03-06 Pavel Roskin <proski@gnu.org>
2416 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2419 2001-03-05 Pavel Roskin <proski@gnu.org>
2421 * header.am, scripts.am: Use ?INSTALL? in the install and
2424 2001-03-05 Pavel Roskin <proski@gnu.org>
2426 * tests/copy.test: Never use `rm' without `-f' - it may ask
2427 questions, notably for read-only files during `make distcheck'.
2428 * tests/insh.test: Likewise.
2429 * tests/installsh.test: Likewise.
2430 * tests/symlink.test: Likewise.
2431 * tests/symlink2.test: Likewise.
2432 * tests/symlink3.test: Likewise.
2434 2001-03-05 Pavel Roskin <proski@gnu.org>
2436 * noinstdir.test: New test.
2437 * tests/Makefile.am (TESTS): Add noinstdir.test.
2438 (XFAIL_TESTS): Likewise.
2440 2001-03-05 Akim Demaille <akim@epita.fr>
2442 * automake.in (&handle_options): Change the RE so that the third
2443 part of the versions always exist.
2444 (&file_contents): Don't pass uninitialized values to &transform.
2446 2001-03-05 Akim Demaille <akim@epita.fr>
2448 * automake.in (&file_contents): Require a hash as second argument.
2451 2001-03-05 Akim Demaille <akim@epita.fr>
2453 Always use hashes with &file_contents.
2455 * automake.in (&handle_texinfo): texibuild.am does not need
2457 texinfos.am wants only TEXICLEANS.
2458 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2460 * texinfos.am: Adjust.
2462 2001-03-05 Akim Demaille <akim@epita.fr>
2464 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2465 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2466 (&am_install_var): Forget about `-clean'.
2467 Transform ?INSTALL?.
2468 Always output the *.am file.
2469 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2470 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2471 Remove, merged into the corresponding *.am file.
2472 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2475 2001-03-05 Pavel Roskin <proski@gnu.org>
2477 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2479 2001-03-05 Akim Demaille <akim@epita.fr>
2481 If OBJEXT and EXEEXT are not set, provide a default value, and use
2482 them unconditionally.
2484 * automake.in (&generate_makefile): Provide default values for
2486 (&get_object_extension, &finish_languages)
2487 (&handle_single_transform_list, &handle_programs, &add_depend2)
2488 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2489 them, they are defined.
2490 * compile.am, depend2.am, program.am, progs.am: Likewise.
2491 * remake-hdr.am: Fix a typo.
2492 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2493 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2494 * tests/suffix2.test: Adjust.
2496 2001-03-05 Akim Demaille <akim@epita.fr>
2498 * automake.in (&file_contents): Map MAINTAINER-MODE to
2499 @MAINTAINER_MODE_TRUE@ or nothing.
2500 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2503 2001-03-05 Akim Demaille <akim@epita.fr>
2505 * automake.in (&do_one_merge_target): Remove, was only called from...
2506 (&handle_merge_targets): here for `all'.
2509 2001-03-05 Akim Demaille <akim@epita.fr>
2511 Make the installation/uninstallation of Info pages follow the
2512 regular am/recursive scheme.
2514 * automake.in (%required_targets, %dependencies): Add
2516 (%dependencies): Add install-info, install-info-am, and
2518 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2519 reversed BTW. Does anybody use the option `no-installinfo'?
2520 (&handle_merge_targets): Let the handling of info related targets
2522 (&handle_factored_dependencies): this.
2523 * subdirs.am: Use ?INSTALL-INFO?.
2524 * texinfos.am: Define the install-info, uninstall-info and
2525 uninstall-info-am targets.
2527 2001-03-05 Akim Demaille <akim@epita.fr>
2529 * automake.in (%required_targets, %dependencies): Add dvi, info,
2531 (@info, @dvi): Remove.
2532 (&handle_texinfo, &handle_merge_targets): Adjust.
2533 (&handle_factored_dependencies): Required targets are phony.
2534 * texinfos.am: Build info, dvi, and the corresponding -am or
2537 2001-03-05 Akim Demaille <akim@epita.fr>
2539 * automake.in (&am_install_var): Remove $cygxform, unused.
2541 2001-03-05 Akim Demaille <akim@epita.fr>
2543 * automake.in (&file_contents): Transform LIBTOOL.
2544 (&am_install_var): Remove $ltxform.
2545 * ltlib.am, progs.am: Adjust.
2547 2001-03-05 Akim Demaille <akim@epita.fr>
2549 * automake.in: Require AC_PROG_INSTALL in...
2550 (&scan_autoconf_files): here.
2552 2001-03-05 Akim Demaille <akim@epita.fr>
2554 * configure.am: New file.
2555 * automake.in (&file_contents): Transform CONFIGURE-AC.
2556 (&handle_texinfo, &handle_configure): Don't transform
2558 (&handle_configure): Use `configure.am'.
2559 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2560 MAINTAINER-MODE and CONFIGURE-AC.
2562 2001-03-05 Akim Demaille <akim@epita.fr>
2564 * automake.in (&pretty_print_internal): Don't output useless
2566 (define_pretty_variable): Don't issue the space after the `=' sign
2567 to avoid trailing spaces in Makefile.ins.
2569 2001-03-05 Akim Demaille <akim@epita.fr>
2571 * automake.in (&generate_makefile): Invoke &initialize_per_input
2572 *before* setting $am_file_name and $in_file_name.
2574 2001-03-05 Akim Demaille <akim@epita.fr>
2576 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2577 Globals, initialized...
2578 (&initialize_per_input): here.
2580 2001-03-05 Akim Demaille <akim@epita.fr>
2582 * automake.in ($am_relative_dir): Global.
2583 (&initialize_per_input): Init it.
2584 (%make_list, @make_input_list): My them from
2585 (&scan_autoconf_files): here.
2586 (&require_file_internal): Mying changes.
2588 2001-03-05 Akim Demaille <akim@epita.fr>
2590 * automake.in (%am_vars, @var_list, %def_type): Globals.
2591 (&initialize_per_input): Initialize them.
2592 (&read_main_am_file): Don't local them.
2593 (&get_object_extension): $objext is private.
2594 (&handle_single_transform_list): $lang is.
2595 (&handle_ltlibraries): $libname_rx is.
2596 (&scan_autoconf_config_files): How about actually paying attention
2597 to your arguments, instead of working on $_? (this is no Perl
2598 variable, it's a Perl variable followed by a question mark).
2599 (&file_contents): $contents and $separator are private.
2600 (&am_install_var): Declare @condvals, not $condvals.
2603 2001-03-05 Akim Demaille <akim@epita.fr>
2605 * automake.in (&initialize_per_input): Move to the top.
2606 Precede with the `my' list of its variables.
2608 2001-03-05 Akim Demaille <akim@epita.fr>
2610 * automake.in ($am_file): Use vars.
2611 ($am_file_name, $in_file_name): Private to &generate_makefile.
2613 2001-03-05 Akim Demaille <akim@epita.fr>
2615 * automake.in: Preparation for `use strict': Move the
2616 initialization of the constants to the top, from...
2617 (&initialize_global_constants): here.
2619 2001-03-05 Akim Demaille <akim@epita.fr>
2621 * automake.in (&handle_single_transform_list, &add_depend2): Let
2622 $lang_specific_files{$lang} be a list instead of a string.
2624 2001-03-05 Akim Demaille <akim@epita.fr>
2626 Let's make it run ten times faster...
2628 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2630 (&file_contents): Let `$command' remove the Automake commands, and
2631 normalize the series of `\n'.
2632 Slurp the file and apply $command in a single step.
2633 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2634 is already normalized to be handled by &transform.
2636 2001-03-05 Tom Tromey <tromey@redhat.com>
2638 * automake.in (register_language): Add entry for `-pure'.
2639 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2640 (finish_languages): Use `-pure' field of language map.
2642 2001-03-03 Tom Tromey <tromey@redhat.com>
2644 * tests/yaccvpath.test: No need to remove dummy files.
2645 * tests/subobj3.test: No need to remove dummy files.
2646 * tests/pr9.test: No need to remove dummy files.
2647 * tests/pr87.test: No need to remove dummy files.
2648 * tests/pr19.test: No need to remove dummy files.
2649 * tests/install2.test: No need to remove dummy files.
2650 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2653 2001-02-27 Pavel Roskin <proski@gnu.org>
2655 * tests/yaccvpath.test: Add a delay to make parse.c really out
2656 of date. Detect the problem earlier, after `make distdir'. Drop
2657 dependency on flex. Always use the `-y' flag for bison. Comment
2659 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2661 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2663 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2665 2001-02-28 Akim Demaille <akim@epita.fr>
2667 * automake.in (&add_depend2): Transform `GENERIC'.
2668 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2669 addition was broken by the `@ -> %' patch.
2670 * depend2.am: Adjust to use ?GENERIC?.
2672 2001-02-28 Akim Demaille <akim@epita.fr>
2674 * Makefile.am (maintainer-check): `undef $/' is OK.
2676 2001-02-28 Akim Demaille <akim@epita.fr>
2678 * automake.in (&handle_configure): Fortunately, $top_reldir,
2679 the definition of which was highly suspicious, was unused.
2681 2001-02-27 Akim Demaille <akim@epita.fr>
2683 * automake.in (%exec_dir_p): Move to the top so that it is visible
2686 2001-02-27 Pavel Roskin <proski@gnu.org>
2688 * tests/yaccvpath.test: Prevent automake from looking into ..
2689 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2691 2001-02-27 Akim Demaille <akim@epita.fr>
2693 * automake.in (%exec_dir_p): Pulled out from...
2694 (&am_primary_prefixes): here.
2696 2001-02-27 Akim Demaille <akim@epita.fr>
2698 * automake.in (&usage): Display $0, not $me.
2700 2001-02-27 Akim Demaille <akim@epita.fr>
2702 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2703 * automake.in (&handle_clean): Don't escape what's given to
2706 2001-02-27 Akim Demaille <akim@epita.fr>
2708 Distinguish automake substitutions from config.status
2711 * automake.in (&add_depend2): Transform AMDEP.
2712 (&handle_clean): Transform MCFILES and MFILES.
2713 (&file_contents): Transform MAINTAINER_MODE.
2714 (&transform, &am_install_var): Use `%', not `@'.
2715 Adjust all the *.am files.
2716 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2717 * depend2.am: Display the double dependency on both ?AMDEP? and
2720 2001-02-27 Tom Tromey <tromey@redhat.com>
2722 * distdir.am (distcheck): Fixed new code.
2724 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2725 Only configure once.
2727 * distdir.am (distcheck): Print error message if distclean failed
2730 2001-02-27 Pavel Roskin <proski@gnu.org>
2732 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2734 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2736 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2737 * tests/yaccvpath.test: New file.
2739 2001-02-26 Akim Demaille <akim@epita.fr>
2741 * automake.in (&am_install_var): Recognize whether predefined
2742 directories are `data' or `exec'.
2743 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2745 * tests/instdata2.test: Update.
2747 2001-02-26 Akim Demaille <akim@epita.fr>
2749 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2750 necessarily in infodir.
2752 2001-02-26 Akim Demaille <akim@epita.fr>
2754 * automake.in ($am_file): Be `local', as my'd variables used in
2755 `foreach' loops are always private to the loop.
2757 2001-02-26 Pavel Roskin <proski@gnu.org>
2759 * Makefile.am: Add install.am.
2761 2001-02-26 Akim Demaille <akim@epita.fr>
2763 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2764 routines, otherwise the elements to compare are passed in @_
2765 instead of $a and $b.
2767 2001-02-26 Akim Demaille <akim@epita.fr>
2769 * automake.in (%required_targets): `installcheck-am' is needed.
2771 2001-02-26 Akim Demaille <akim@epita.fr>
2773 * automake.in (&transform_cond): Merge into...
2777 2001-02-26 Akim Demaille <akim@epita.fr>
2779 * automake.in (&handle_dist): Use &transform instead of dedicated
2781 But be sure to always do it.
2782 * distdir.am: Adjust.
2784 2001-02-26 Akim Demaille <akim@epita.fr>
2786 * automake.in: Use File::Basename.
2787 (&dirname, &basename): Remove.
2789 2001-02-26 Akim Demaille <akim@epita.fr>
2791 * automake.in ($me): New.
2793 (&usage): Display your full name.
2795 2001-02-26 Akim Demaille <akim@epita.fr>
2797 * automake.texi (Invoking Automake): Remove dead options.
2799 2001-02-26 Akim Demaille <akim@epita.fr>
2801 * automake.in (&scan_texinfo_file): Also compute the list of files
2803 Handle local errors.
2804 (&handle_texinfo): Use it.
2806 2001-02-26 Akim Demaille <akim@epita.fr>
2808 * automake.in: Don't pass arguments to...
2809 (&parse_arguments): Work on @ARGV.
2811 Add support for `-f'.
2815 2001-02-26 Akim Demaille <akim@epita.fr>
2817 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2818 handle installcheck and installcheck-am.
2819 * install.am: Do it.
2821 2001-02-26 Akim Demaille <akim@epita.fr>
2823 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2824 handle install and install-am.
2825 * install.am: Do it.
2827 2001-02-26 Akim Demaille <akim@epita.fr>
2829 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2830 work on targets handled by %dependencies.
2831 (&handle_factored_dependencies): Do it.
2832 * install.am: Install install-exec, install-data and uninstall's
2835 2001-02-26 Akim Demaille <akim@epita.fr>
2837 * automake.in (&handle_merge_targets): Move `install-strip' from
2839 * install.am: to here.
2841 2001-02-26 Akim Demaille <akim@epita.fr>
2843 * automake.in (@installdirs): Remove.
2844 (&file_contents): Be able to grow Automake macros with `+='.
2845 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2846 files define _am_installdirs.
2847 (&handle_installdirs): Remove the code, just output `install.am'.
2849 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2850 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2852 2001-02-26 Akim Demaille <akim@epita.fr>
2854 * tests/instdata2.test (libexec_DATA): Exercise more
2857 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2859 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2861 2001-02-25 Tom Tromey <tromey@redhat.com>
2863 * tests/instdata2.test: Added `sbin_DATA' check.
2865 * tests/Makefile.am (TESTS): Added subdircond.test.
2866 * tests/subdircond.test: New file.
2867 * automake.in (handle_gettext): Don't fail if SUBDIRS
2868 conditionally defined.
2870 * automake.in: Use IO::File.
2871 (generate_makefile): Use IO::File.
2872 (scan_texinfo_file): Likewise.
2873 (handle_aclocal_m4): Likewise.
2874 (scan_autoconf_traces): Likewise.
2875 (scan_one_autoconf_file): Likewise.
2876 (read_am_file): Likewise.
2877 (file_contents): Likewise.
2880 2001-02-25 Akim Demaille <akim@epita.fr>
2882 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2884 2001-02-25 Akim Demaille <akim@epita.fr>
2886 * automake.in (&transform): Also call &transform_cond on your
2888 (&handle_dist): Adjust.
2889 (&handle_factored_dependencies): Uniq dependencies.
2891 2001-02-25 Akim Demaille <akim@epita.fr>
2893 * automake.in (&handle_gettext): Simplify redundant `if'.
2894 Used &variable_value, don't read %contents directly.
2896 2001-02-25 Akim Demaille <akim@epita.fr>
2898 * automake.in ($install_recursive): Remove, replaced with calls to
2899 `&variable_defined ('SUBDIRS')'.
2900 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2901 (&file_contents): now does.
2903 2001-02-25 Akim Demaille <akim@epita.fr>
2905 * automake.in (&handle_man_pages): $found is dead.
2907 2001-02-25 Akim Demaille <akim@epita.fr>
2909 Internally just store the conditionals as space separated lists of
2910 CONDITIONS (instead of @CONDITIONS@).
2912 * automake.in (&conditional_true_when, &variable_conditions_sub):
2913 Split conditions at spaces.
2914 (&handle_dependencies, &variable_conditions_permutations): Don't
2915 put @ around conditions.
2916 (&variable_conditions_cmp): There are no @ to strip.
2917 (&make_condition): New.
2918 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2920 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2921 Join @conditional_stack with spaces.
2922 (&read_main_am_file): Adjust the output of variables.
2923 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2924 true' and no longer `@TEST@TRUE = @TEST@true'.
2925 (&variable_conditions_cmp): Rename as...
2926 (&by_condition): this.
2927 Sort in a human pleasant order.
2928 Use it everywhere a human can see conditions.
2929 (&variable_conditions_reduce): Don't sort conditions, that's
2931 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2933 2001-02-25 Akim Demaille <akim@epita.fr>
2935 * automake.in: `my' the globals.
2937 2001-02-25 Akim Demaille <akim@epita.fr>
2939 * automake.in (&initialize_per_input): %targets_conditionals is
2941 (&read_am_file): When slurping a rule, set the target related
2942 variable, and no variable related variable.
2943 (&file_contents): Likewise.
2944 * tests/vartar.test, tests/ctarget1.test: New.
2946 2001-02-25 Akim Demaille <akim@epita.fr>
2948 * automake.in (&variable_defined, &variable_value_as_list_worker):
2949 If $VAR is effectively a variable, don't die if it's also a
2951 Plus some formatting changes.
2953 2001-02-25 Akim Demaille <akim@epita.fr>
2955 * automake.in: Mying changes.
2956 * Makefile.am (maintainer-check): Check the stability of the
2957 number of uses of `local'.
2959 2001-02-25 Akim Demaille <akim@epita.fr>
2961 * automake.in: Mying changes.
2963 2001-02-25 Akim Demaille <akim@epita.fr>
2965 * automake.in: Mying changes.
2967 2001-02-25 Akim Demaille <akim@epita.fr>
2969 * automake.in: Mying changes.
2970 (&handle_tags): Fix a bug uncovered by the previous mying changes:
2971 transform CONFIG into $config, not $xform.
2973 2001-02-25 Akim Demaille <akim@epita.fr>
2975 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2976 Don't deal with install-data-am, install-exec-am and unstall-am.
2977 (&initialize_per_input): Add them to %dependencies.
2978 Remove %exec_dir_p since the *.am files are now in charge of it.
2979 Remove @uninstall, @install_data, @install_exec.
2980 (&handle_merge_targets): Adjust to these removals.
2981 (&file_contents): Also &transform_cond for --no-installman and
2983 (&do_one_merge_target): Add some magic to install hooks on
2984 %dependencies' targets.
2985 (%required_targets): New.
2986 (&handle_factored_dependencies): Output required targets.
2987 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2988 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2989 * texinfos.am: Declare your dependencies on install-data-am,
2990 install-exec-am and uninstall-am.
2991 * tests/instdata2.test (incldata_HEADERS): New test.
2993 2001-02-24 Tom Tromey <tromey@redhat.com>
2995 * Makefile.am (amfiles): Added texibuild.am.
2996 * texibuild.am: New file.
2997 * tests/Makefile.am (TESTS): Added texinfo9.test.
2998 * tests/texinfo9.test: New file.
2999 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3000 error if suffix unrecognized. Removed extraneous newline.
3002 2001-02-23 Akim Demaille <akim@epita.fr>
3004 * automake.in (&am_install_var): Don't hook on the clean targets
3006 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3007 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3010 2001-02-23 Akim Demaille <akim@epita.fr>
3012 * automake.in: Promote local `my' over `local'.
3014 2001-02-23 Akim Demaille <akim@epita.fr>
3016 * automake.in: Formatting and mying changes.
3018 2001-02-23 Akim Demaille <akim@epita.fr>
3020 * automake.in: Formatting and mying changes.
3022 2001-02-23 Akim Demaille <akim@epita.fr>
3024 * automake.in (&handle_man_pages): Let install-man and
3025 uninstall-man be handled by the dependency tracker.
3026 (&initialize_per_input): Let %dependencies track them.
3027 * mans.am: Add the needed hooks with the proper dependencies.
3029 2001-02-22 Pavel Roskin <proski@gnu.org>
3031 * tests/target-cflags.test: Don't use subshell to configure in
3032 subdirectory. Typo fix - run `./foo', not `/foo'.
3034 2001-02-22 Akim Demaille <akim@epita.fr>
3036 * automake.in: Formatting and mying changes.
3038 2001-02-21 Tom Tromey <tromey@redhat.com>
3040 * automake.in (handle_dist): Introduce new variable to avoid extra
3041 keys in %dist_dirs. Fixes distdir.test.
3043 * automake.in (handle_texinfo): Only remove suffixes we can
3046 * tests/distdir.test: Check to make sure directory isn't made in
3049 * automake.in (handle_dist): Do nothing in Cygnus mode.
3051 2001-02-21 Pavel Roskin <proski@gnu.org>
3053 * header-vars.am: Remove tabs before variable definitions.
3055 2001-02-21 Akim Demaille <akim@epita.fr>
3057 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3060 2001-02-21 Akim Demaille <akim@epita.fr>
3062 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3063 numeric value as required by Perl 5.6.
3065 2001-02-21 Akim Demaille <akim@epita.fr>
3067 * dist-vars.am: Remove, merge into...
3069 * automake.in (dirname, basename, backname): Move to the top of
3070 the file so that prototypes are checked,
3071 Use them without `&'.
3072 (&handle_dist): Adjust.
3074 2001-02-21 Akim Demaille <akim@epita.fr>
3076 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3077 Use a uniform naming scheme.
3078 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3079 (&read_am_file): Fix conditional definition of backslash continued
3082 2001-02-21 Akim Demaille <akim@epita.fr>
3084 Change the handling of conditionals: instead of using an ad-hoc
3085 encoding to store a hash in a string, use hashes.
3087 * automake.in (&conditional_dump): New.
3088 (&check_ambiguous_conditional, &variable_defined)
3089 (&variable_conditions_sub, &variable_value_as_list_worker)
3090 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3091 handle `$conditional{$vars}' as a hash instead of a plain string.
3093 2001-02-21 Akim Demaille <akim@epita.fr>
3095 * automake.in (&conditional_true_when): Modernize, simplify.
3096 Warning: `$comp' is now private (my), while it used to be
3097 `inherited' from a `local' elsewhere in the code. AFAICT it was
3098 wrong, but some dirty side effect might show up.
3099 (&conditionals_true_when): New.
3100 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3102 2001-02-21 Akim Demaille <akim@epita.fr>
3104 * automake.in ($top_builddir): Remove, used in one place.
3105 (&define_standard_variables): Adjust.
3106 Move the definition of triplet variables into...
3107 * header-vars.am: here.
3109 2001-02-21 Akim Demaille <akim@epita.fr>
3111 * automake.in (&initialize_global_constants): Don't define $USAGE.
3112 (&usage): Handle the former content of $USAGE.
3113 Don't pretend autoconf cares about Makefile.in.
3114 Classify the options.
3115 (&handle_tests): Formatting and mying changes.
3117 2001-02-21 Akim Demaille <akim@epita.fr>
3119 * automake.in (&handle_tests_dejagnu): Move the definition of a
3120 default `site.exp' into...
3121 * dejagnu.am (site.exp): here.
3122 Use DOS compliant file names.
3124 2001-02-21 Akim Demaille <akim@epita.fr>
3126 * automake.in (&dist_cmp): New.
3127 (&handle_dist): Use it.
3128 Promote `my' over `local'.
3130 2001-02-21 Akim Demaille <akim@epita.fr>
3132 * dist.am: Remove, merge into...
3133 * distdir.am: here. Use the neat sed snippet for banners.
3134 BTW, distcheck is phony.
3135 * automake.in (&handle_dist_worker): Remove, merge into...
3136 (&handle_dist): this.
3137 (&file_contents): Strip leading new lines.
3138 Be sure to end comments with new lines.
3140 2001-02-21 Akim Demaille <akim@epita.fr>
3142 * distdir.am (GZIP_ENV): Define.
3143 * automake.in (&handle_dist): Don't.
3145 (&handle_dist_worker, &am_install_var): Use it.
3147 2001-02-21 Akim Demaille <akim@epita.fr>
3149 * distdir.am (distdir): Handle the DIST-TARGETS.
3150 * automake.in (&handle_dist_worker): Don't.
3152 2001-02-21 Akim Demaille <akim@epita.fr>
3154 * automake.in (&file_contents): Transform the global options (such
3156 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3158 2001-02-21 Akim Demaille <akim@epita.fr>
3160 * distdir.am (distdir): Be sure to have permissive rights on its
3162 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3164 And BTW, all these guys are phony.
3165 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3166 output distributions.
3167 (&handle_dist): As its name doesn't indicate, don't.
3168 (&initialize_global_constants): Don't define variables which
3169 content is now handled by distdir.am.
3170 But register `dist-all' as a factored target.
3171 (&handle_factored_dependencies): Don't output empty targets.
3173 2001-02-20 Tom Tromey <tromey@redhat.com>
3175 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3178 2001-02-18 Tom Tromey <tromey@redhat.com>
3180 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3181 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3182 (AM_PROG_STRIP): Commented out.
3184 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3186 * depcomp (gcc3): Protect against the compiler deleting
3187 the dependency output file.
3189 2001-02-17 Tom Tromey <tromey@redhat.com>
3191 * automake.in (handle_merge_targets): Use double quotes around
3192 setting of INSTALL_STRIP_PROGRAM.
3193 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3194 to absolute path at runtime.
3195 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3197 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3199 * m4/strip.m4: New file.
3200 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3201 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3202 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3203 * automake.in (handle_merge_targets): In the install-strip rule,
3204 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3205 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3206 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3207 don't use INSTALL_STRIP_FLAG any longer.
3209 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3211 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3214 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3216 * automake.in (unquote_m4_arg): New function.
3217 (scan_one_configure_file): Call unquote_m4_arg on
3218 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3221 2001-02-15 Tom Tromey <tromey@redhat.com>
3223 * config.guess, config.sub: New versions from FSF.
3225 * Makefile.am (WGET): New macro.
3226 (FETCHFILES): New macro.
3227 (fetch): New target.
3229 * tests/subobj3.test: Exit with status 77 if gcc not found.
3230 * tests/pr9.test: Exit with status 77 if gzip not found.
3231 * tests/pr87.test: Exit with status 77 if gcc not found.
3232 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3233 * tests/install2.test: Exit with status 77 if gzip not found.
3234 * tests/exsource.test: Exit with status 77 if GNU make not found.
3235 * tests/ansi3.test: Exit with status 77 if gcc not found.
3237 * tests/target-cflags.test: Require GNU make. Exit with status 77
3238 if gcc or make not found. Fixes PR automake/121.
3240 * configure.in: Require Perl 5.005.
3241 * automake.in: Require 5.005.
3243 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3244 Fixes PR automake/122.
3246 2001-02-14 Tom Tromey <tromey@redhat.com>
3248 * automake.in (add_depend2): Only emit a given object rule once.
3249 Fixes specflags6.test.
3251 2001-02-14 Richard Boulton <richard@tartarus.org>
3253 * tests/specflags6.test: New file.
3255 2001-02-14 Tom Tromey <tromey@redhat.com>
3257 * automake.texi (A Shared Library): Mention -module.
3259 2001-02-13 Tom Tromey <tromey@redhat.com>
3261 * automake.in (do_one_merge_target): Always register $name and
3264 * automake.in (do_one_merge_target): Register `all' as phony
3267 * configure.in: Updated to 1.4e for cvs.
3269 2001-02-12 Tom Tromey <tromey@redhat.com>
3271 * configure.in: Updated to 1.4d and released.
3273 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3274 names through autoconf.
3276 Fix for subdirbuiltsources.test:
3277 * automake.in (initialize_per_input): [all_target] Initialize to
3279 (handle_merge_targets): Use all-redirect target to handle built
3281 (do_one_merge_target): Don't generate all-redirect rule.
3283 2001-02-11 Peter Muir <iyhi@yahoo.com>
3285 * tests/subdirbuiltsources.test: New file.
3286 * tests/Makefile.am (TESTS): Added new file.
3288 2001-02-10 Tom Tromey <tromey@redhat.com>
3290 * tests/condlib.test: New file.
3291 * tests/Makefile.am (TESTS): Added new file.
3293 2001-02-10 Lars J. Aas <larsa@sim.no>
3295 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3296 (&canonicalize): New. Includes '@' in canonical range.
3297 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3298 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3300 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3302 * automake.in (handle_configure): Revert part of
3303 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3304 set CONFIG_COMMANDS explicitly.
3306 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3308 * depcomp (gcc3): Propagate exit code.
3310 2001-02-09 Lars J. Aas <larsa@sim.no>
3312 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3314 2001-02-09 Tom Tromey <tromey@redhat.com>
3316 Clean up maintainer-check warnings:
3317 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3319 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3321 2001-02-09 Akim Demaille <akim@epita.fr>
3323 * automake.in (&file_contents): Remove a dead branch.
3325 2001-02-09 Akim Demaille <akim@epita.fr>
3327 * automake.in (&transform): Use `my', not `local'.
3328 (&transform_cond): New.
3329 (&get_object_extension, &handle_texinfo, &handle_tags)
3330 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3331 (&handle_tests_dejagnu): Use it.
3332 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3333 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3335 2001-02-09 Akim Demaille <akim@epita.fr>
3337 * automake.in: Various formatting changes, and modernization of
3340 (&handle_configure, define_standard_variables): Use it.
3342 2001-02-08 Tom Tromey <tromey@redhat.com>
3344 * automake.in (file_contents): Only add $actions if any are
3345 found. Fixes new failure in pr87.test.
3347 2001-02-08 Pavel Roskin <proski@gnu.org>
3349 * tests/pr87.test: Check foo/Makfile.in after it is created.
3351 2001-02-08 Tom Tromey <tromey@redhat.com>
3353 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3354 Report from Lars J. Aas.
3356 2001-02-07 Lars J. Aas <larsa@sim.no>
3358 * lisp.am (install-@DIR@LISP): Removed extra space.
3359 * header.am (install-@DIR@HEADERS): Removed extra space.
3360 * data.am (install-@DIR@DATA): Removed extra space.
3362 2001-02-07 Tom Tromey <tromey@redhat.com>
3364 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3366 * automake.in (handle_dependencies): Use _am_include, not
3368 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3369 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3371 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3373 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3375 * automake.in (handle_configure): Handle case where output file is
3376 in subdir with no Makefile of its own. Fixes remake3.test,
3379 2001-02-06 Pavel Roskin <proski@gnu.org>
3381 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3383 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3384 * tests/exsource.test: Likewise.
3386 2001-02-06 Derek Price <derek.price@openavenue.com>
3388 * automake.in (handle_configure): Fix syntax error.
3390 2001-02-06 Akim Demaille <akim@epita.fr>
3392 * subdirs.am: This file is the exception: clean recursive targets
3393 are called by the clean targets, not the clean-am targets.
3394 Otherwise we have a circular dependency: clean -> clean-am ->
3395 clean-recursive -> clean.
3396 * automake.in (handle_clean): Bind `-local' targets to `-am'
3397 targets, not top targets.
3398 Don't declare -recursive dependencies of the clean targets:
3399 `subdirs.am' did it. Less hard coded knowledge, transfered
3403 2001-02-06 Akim Demaille <akim@epita.fr>
3405 Monstro unsplitable patch.
3407 The aim is to remove hard coded knowledge about clean targets from
3408 automake.in, leaving them in the *.am files.
3409 In addition to the mechanic needed to factor some dependencies, it
3410 appears some rules (most notably distclean and maintainer-clean)
3411 need factored actions. So first, be ready to catch factored
3414 * automake.in (&file_contents): For the time being, use an extended
3415 $RULE_PATTERN which is able to match any kind of rules, with or
3416 without dependency, with or without actions.
3417 Handle all the rules uniformly, storing in %actions the factored
3419 (&flatten, &target_cmp): New.
3420 (&handle_factored_dependencies): Output the %actions.
3421 No longer special case `clean'.
3422 Output the rules in alphabetical order, but keeping `.PHONY' last.
3424 Now we must not use &push_phony_cleaners, which is doing all sort
3425 of magic to push a bit of everything in all the clean targets.
3426 The biggest problem being that, making a Cartesian product, it
3427 requires many useless targets. The `*.am' file know better.
3428 But first, register the new factored rules.
3430 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3431 maintainer-clean, distclean and their `*-am' counterpart in
3433 Initialize %actions.
3434 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3435 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3436 (handle_emacs_lisp, handle_python): Don't play with
3437 &push_phony_cleaners nor &depend and `clean'.
3438 * texinfos.am, texi-vers.am, tags-clean.am:
3439 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3440 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3441 * clean-kr.am, clean-hdr.am: Do it.
3442 Whenever a target is empty, just remove it, it will no longer be
3445 There is still some magic about clean to hard code. But really,
3446 that's the end of &do_one_clean_target.
3448 * automake.in (&do_one_clean_target): Kaboom out.
3449 (&handle_clean): Rewrite the magic code.
3450 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3452 (&push_phony_cleaners): Kaboom too.
3454 2001-02-06 Akim Demaille <akim@epita.fr>
3456 * automake.in (do_one_clean_target): Don't hard code knowledge
3457 about libtool, and maintainer-clean.
3458 * clean.am, libtool.am: Handle these.
3460 2001-02-05 Akim Demaille <akim@epita.fr>
3462 * automake.in (handle_texinfo): No longer hard code the clean
3464 (texinfos.am): Include them.
3466 2001-02-05 Akim Demaille <akim@epita.fr>
3468 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3469 (maintainer-check): Don't be silent when you find a problem, and
3470 actually, even specify the locations.
3471 Also check that @_ is assigned to arrays.
3473 2001-02-05 Akim Demaille <akim@epita.fr>
3475 * m4/regex.m4: Use AC_LIBSOURCES.
3476 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3479 2001-02-04 Tom Tromey <tromey@redhat.com>
3481 * m4/Makefile.am (m4data_DATA): Added make.m4.
3482 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3484 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3485 Copy depcomp to subdir.
3486 * m4/make.m4: New file.
3488 2001-02-04 Pavel Roskin <proski@gnu.org>
3490 * automake.in (handle_dist_worker): Remove a line that is now
3493 2001-02-04 Kevin Ryde <user42@zip.com.au>
3495 * automake.in (handle_configure): Call config.status with empty
3496 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3498 2001-02-04 Tom Tromey <tromey@redhat.com>
3500 * depcomp (ddashmd): Removed case.
3501 (sgi): Handle failure exit correctly
3502 (aix): Likewise. Also, add dummy `.h' targets.
3504 2001-02-04 Akim Demaille <akim@epita.fr>
3506 * distdir.am (distdir): New file, extracted from...
3507 * automake.in (handle_dist_worker): here.
3510 2001-02-04 Akim Demaille <akim@epita.fr>
3512 * automake.in (@clean): Remove, replaced by...
3513 ($dependencies{'clean'}): this.
3514 Use `&depend' instead of push'ing into @clean.
3515 (handle_factored_dependencies): For the time being, skip 'clean'.
3516 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3517 always `clean', and `@clean'.
3519 2001-02-04 Akim Demaille <akim@epita.fr>
3521 * automake.in (%dependencies): Don't be initialize globally for
3522 all the files, but in...
3523 (&initialize_per_input): here.
3525 (@phony): Replace all occurrences with the corresponding &depend
3528 2001-02-03 Tom Tromey <tromey@redhat.com>
3530 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3531 * header-vars.am (INSTALL_HEADER): New macro.
3533 * automake.texi (Rebuilding): New node.