1 2009-11-28 Jim Meyering <meyering@redhat.com>
3 do not put world-writable directories in distribution tarballs
4 * lib/am/distdir.am (distdir): Do not make all directories
5 group- or world-writable. Instead, use 755.
8 2001-08-27 Tom Tromey <tromey@redhat.com>
10 * automake.texi (A Shared Library): Clarify installation
12 (Install): Typo. From Adrian Bunk.
14 * automake.texi (Macros): Typo fix.
15 From Christian Cornelssen
17 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
18 tests/cond4.test, tests/cond16.test, tests/cond18.test,
19 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
20 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
21 tests/substref.test: Clear CFLAGS.
23 2001-08-27 Tom Tromey <tromey@redhat.com>
25 * automake.texi (Yacc and Lex): Mention lex, not yacc.
28 * tests/yacc7.test: Use test -f, not test -e.
30 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
32 * automake.texi (etags): Typo fix.
34 2001-08-27 Guido Draheim <guidod@gmx.de>
36 * automake.in : restrict ansi2knr option to be a filepath
38 2001-08-23 Tom Tromey <tromey@redhat.com>
40 * configure.in: Upped to 1.5.1a.
42 2001-08-22 Tom Tromey <tromey@redhat.com>
44 * configure.in: Released 1.5.
46 * automake.texi (Conditionals): Mention that conditionals must
47 always be invoked. For PR automake/220.
49 * lib/config.guess, lib/config.sub: New versions from FSF.
51 * tests/Makefile.am (XFAIL_TESTS): Removed.
52 (TESTS): Removed xfail tests.
53 * tests/subdir5.test, tests/auxdir2.test, tests/cond17.test:
56 2001-08-22 Richard Boulton <richard@tartarus.org>
57 Tom Tromey <tromey@redhat.com>
59 * automake.in (lang_yacc_target_hook): Make header file depend on
61 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
62 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
63 * tests/yacc7.test: New file.
64 * tests/Makefile.am (TESTS): Added yacc7.test.
66 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
68 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
70 2001-08-18 Tom Tromey <tromey@redhat.com>
72 * automake.texi (Dist): Mention dist-all.
74 2001-08-11 Tom Tromey <tromey@redhat.com>
76 * configure.in: Upped to version 1.4m.
78 * configure.in: Released 1.4l.
80 * lib/config.guess, lib/config.sub: New versions from FSF.
82 2001-08-09 Richard Boulton <richard@tartarus.org>
84 * automake.in (handle_single_transform_list): Use new global,
85 `%linkers_used', to store the linkers used, rather than an internal
86 variable. Enables correct linker to be calculated across a group
87 of calls to &handle_single_transform_list. Return only list of
88 objects, since linker to be used is now externally determined.
89 (handle_source_transform): adapted for new calling conventions of
90 handle_single_transform_list. Calls resolve_linker() on a set of
91 all the linkers used for any prefix, rather than for each prefix in
93 (linkers_used): New global.
94 * tests/link_dist.test: New test.
95 * tests/Makefile.am (TESTS): Added link_dist.test.
97 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
99 Dissociate testsuite 'make' invocations from outer 'make'.
100 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
101 environment variables.
102 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
104 * tests/substref.test: Likewise.
106 2001-08-08 Richard Boulton <richard@tartarus.org>
108 * tests/cond18.test: New file.
109 * tests/cond19.test: New file.
110 * tests/cond20.test: New file.
111 * tests/cond4.test: Updated to check the generated _OBJECTS more
113 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
116 2001-08-08 Richard Boulton <richard@tartarus.org>
118 * automake.in (file_contents_internal): if a rule is conditionally
119 defined, define the standard automake definition for it for those
120 conditions which are not conditionally defined.
121 (invert_conditions): New function: invert a list of conditionals.
123 * tests/cond14.test: New file.
124 * tests/cond15.test: New file.
125 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
127 2001-08-05 Tom Tromey <tromey@redhat.com>
129 * tests/Makefile.am (TESTS): Added dejagnu2.test.
130 * tests/dejagnu2.test: New file.
131 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
132 * automake.in (handle_scripts): Removed dead code.
133 (handle_tests_dejagnu): Don't handle site.exp generation
136 2001-08-04 Richard Boulton <richard@tartarus.org>
138 * tests/cond17.test: New file: test for being able to define an
139 object to be generated in different ways according to a
141 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
142 (TESTS): Added cond17.test.
144 2001-08-02 Richard Boulton <richard@tartarus.org>
146 * automake.in (variable_conditions_sub): Handle variable
147 substitution refs when computing conditions based on subvariable
148 conditions. Fixes substitution refs of system variables when sub
149 variable is conditional.
150 (SUBST_REF_PATTERN): New global.
151 * tests/cond16.test: New file: regression test for variable
153 * test/Makefile.am (TESTS): Added cond16.test.
155 2001-08-03 Tom Tromey <tromey@redhat.com>
157 * tests/substref.test: Require GNU make; backed out previous
160 * tests/substref.test: Handle entering/leaving directory
163 2001-08-03 Richard Boulton <richard@tartarus.org>
165 * automake.in (value_to_list): Check for whether $from is defined,
166 rather than whether it is true, so that empty $froms are allowed in
167 substitution reference patterns.
169 * tests/substref.test: New file: test behavior of substitution
170 references when the $from side of the substitution is empty.
171 * tests/Makefile.am (TESTS): Added substref.test.
173 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
175 * m4/install-sh.m4: New file.
176 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
177 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
178 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
179 for install.sh any longer, always use install-sh, don't even
180 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
181 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
183 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
185 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
187 * automake.texi (EXEEXT): Clarify.
189 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
191 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
193 * m4/auxdir.m4: More comments.
195 2001-07-31 Richard Boulton <richard@tartarus.org>
196 Raja R Harinath <harinath@cs.umn.edu>
198 * automake.in (variable_conditions_sub): Remove @parent_conds
199 argument. This was old logic - duplicate or impossible
200 conditionals are removed later by &variable_conditions_reduce().
201 Fixes tests/cond13.test.
202 (conditionals_true_when): Removed.
203 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
205 2001-07-31 Tom Tromey <tromey@redhat.com>
207 * tests/Makefile.am (TESTS): Added cond13.test.
208 (XFAIL_TESTS): Likewise.
209 * tests/cond13.test: New file.
211 * configure.in: Upped to version 1.4k.
213 * configure.in: Released 1.4j.
215 * lib/config.guess: Updated from master sources.
216 * lib/config.sub: Likewise.
218 2001-07-30 Tom Tromey <tromey@redhat.com>
220 * automake.texi (A Program): Typo. Added subsections and more
221 text about conditional compilation.
222 (A Shared Library): Moved earlier.
223 (Program variables): Updated LINK text. Added AM_CFLAGS.
224 (C++ Support): Added AM_CXXFLAGS.
225 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
228 * tests/Makefile.am (TESTS): Added aclibobj.test.
229 * tests/aclibobj.test: New file.
230 * automake.in (handle_lib_objects_cond): Avoid undefined variable
232 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
234 * automake.texi (Dist): Mention other distribution types.
237 2001-07-29 Tom Tromey <tromey@redhat.com>
239 * automake.texi (Program and Library Variables): Texinfo fix.
240 From Alexey Mahotkin.
242 2001-07-28 Tom Tromey <tromey@redhat.com>
244 * automake.texi (Strictness): Mention Cygnus mode.
247 (Canonicalization): Likewise.
248 (Install): Add `nobase_' to example; typo fix.
250 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
252 (Options): Texinfo fixes; some text updates.
255 2001-07-27 Tom Tromey <tromey@redhat.com>
257 * automake.texi (Invoking Automake): Document --Werror and
260 2001-07-26 Tom Tromey <tromey@redhat.com>
262 * tests/nolink.test: Added no-exeext.
264 * automake.in (check_variable_defined_unconditionally): Don't call
267 * automake.texi (Optional): Don't mention ALL_LINGUAS.
269 * automake.in (seen_linguas, all_linguas, all_linguas_line):
271 (handle_gettext): Don't do any checking of the languages.
272 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
274 * automake.in (am_print_error): New function.
276 (am_file_error): Likewise.
277 (am_line_error): Likewise.
278 (am_conf_error): Likewise.
279 (am_conf_line_error): Likewise.
281 * automake.texi (Options): Document no-exeext.
282 * automake.in (handle_options): Recognize no-exeext.
283 (rule_define): Handle no-exeext.
284 * tests/Makefile.am (TESTS): Added new file.
285 * tests/exeext2.test: New file.
287 * automake.in (make_input_list): Removed.
288 (scan_autoconf_config_files): Don't add to make_input_list.
289 (scan_one_autoconf_file): Don't use make_input_list.
290 (scan_autoconf_files): Use make_list, not make_input_list.
291 (scan_autoconf_files): Likewise.
293 * automake.in (seen_exeext): Removed.
294 (generate_makefile): Don't define EXEEXT or OBJEXT.
295 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
296 (am_install_var): Don't check $seen_exeext.
297 (handle_programs): Likewise.
298 (rule_define): Allow x to override x$(EXEEXT), for now.
299 (file_contents_internal): Only define rule if rule_define allows
301 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
303 2001-07-25 Tom Tromey <tromey@redhat.com>
306 * tests/pr9.test: Require GNU make.
307 * tests/dirname.test: Don't use `-u'.
309 2001-07-22 Tom Tromey <tromey@redhat.com>
311 * tests/Makefile.am (TESTS): Added auxdir2.test.
312 (XFAIL_TESTS): Likewise.
313 * tests/auxdir2.test: New file.
315 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
316 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
318 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
319 * automake.in (am_install_var): Add $(EXEEXT) even if program name
320 holds `.'. Don't add $(EXEEXT) if program name already has it.
321 (handle_programs): Don't add $(EXEEXT) if user already did.
322 (make_paragraphs): Don't compute EXEEXT.
324 * tests/Makefile.am (TESTS): Added exeext.test.
325 (XFAIL_TESTS): Likewise.
326 * tests/exeext.test: New file.
328 2001-07-22 Tom Tromey <tromey@redhat.com>
330 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
331 `prog.exe' on Cygwin with libtool. From Robert Collins.
333 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
335 * tests/dirname.test: Explicitly use $SHELL to run the
336 script; this avoids failures on DJGPP.
337 * tests/install2.test: Skip if 'chmod 000' doesn't make
340 2001-07-21 Tom Tromey <tromey@redhat.com>
342 * tests/libtool2.test: Check for libtoolize.
344 * tests/Makefile.am (TESTS): Added substtarg.test.
345 (XFAIL_TESTS): Likewise.
346 * tests/substtarg.test: New file.
348 * automake.in (handle_dist): Handle case where aux dir doesn't
349 have a Makefile. Fixes depdist.test.
350 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
351 * tests/depdist.test: Look for config/depcomp.
353 * tests/Makefile.am (TESTS): Added depdist.test.
354 (XFAIL_TESTS): Likewise.
355 * tests/depdist.test: New file. From Eric Magnien.
357 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
358 AC_PROG_CC_C_O does require AC_PROG_CC.
361 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
363 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
364 output is suitable for make.
366 * automake.texi (Macros): Document AM_PROG_AS.
367 (Assembly Support): New node.
368 * m4/Makefile.am (m4data_DATA): Added as.m4.
369 * m4/as.m4: New file.
371 * automake.texi (Tags): Added uref to global tags.
373 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
375 * automake.in (handle_single_transform_list): Use $(DEPDIR)
376 instead of hardcoding '.deps'.
377 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
379 2001-07-20 Derek Price <dprice@collab.net>
381 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
383 * tests/dirname.test: New test.
384 * tests/stamph2.test: New test.
385 * tests/Makefile.am: Add new tests.
386 * tests/Makefile.in: Regenerated.
388 2001-07-19 Tom Tromey <tromey@redhat.com>
390 * automake.texi (Tags): Document GTAGS_ARGS.
391 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
393 2001-07-19 Tom Tromey <tromey@redhat.com>
394 Alexandre Duret-Lutz <duret_g@epita.fr>
396 Fix for ccnoco.test, subobj8.test:
397 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
398 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
400 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
401 Use AM_AUX_DIR_EXPAND.
402 * lib/compile: Handle case where `-o' argument is the name of an
403 executable, not an object file.
404 * m4/auxdir.m4: New file, from...
405 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
406 * automake.in (handle_single_transform_list, lang_c_rewrite):
407 Require compile using `require_config_file'.
409 2001-07-19 Tom Tromey <tromey@redhat.com>
411 * automake.texi (Program and Library Variables): Added X example
414 2001-07-19 Tom Tromey <tromey@redhat.com>
416 * automake.texi (Distributing): Updated to reflect new license.
418 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
420 * automake.in (require_build_directory): New function, extracted
422 (handle_single_transform_list): ... here.
423 (require_build_directory_maybe): New function.
424 (handle_prograns, handle_libraries, handle_ltlibraries): Call
425 require_build_directory_maybe() to ensure the subdirectory
426 in which a target may lie will exist when the target is created.
427 (handle_libraries, handle_ltlibraries): Use basename before
428 checking library name.
429 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
430 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
431 * lib/am/program.am (%PROGRAM%): Likewise.
433 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
435 * m4/missing.m4: Reword comment.
437 2001-07-18 Pavel Roskin <proski@gnu.org>
439 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
440 * tests/gcj.test: Likewise.
441 * tests/gcj2.test: Likewise.
442 * tests/gcj3.test: Likewise.
444 2001-07-18 Tom Tromey <tromey@redhat.com>
446 * lib/compile: Change how lockdir is computed. If linking or
447 compiling without `-o', just run the compiler.
449 * tests/Makefile.am (TESTS): Added ccnoco.test.
450 (XFAIL_TESTS): Likewise.
451 * tests/ccnoco.test: New file.
453 2001-07-17 Tom Tromey <tromey@redhat.com>
455 * lib/ylwrap: Added special exception.
456 * lib/py-compile: Added license.
457 * lib/mdate-sh: Added special exception.
458 * lib/elisp-comp: Added special exception.
459 * lib/compile: Added special exception.
460 * lib/depcomp: Added special exception.
462 Report from Motoyuki Kasahara:
463 * tests/make.test: Use am__include.
464 * tests/exsource.test: Use am__include.
465 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
466 * automake.in (handle_languages): Use am__include and am__quote.
468 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
469 * m4/init.m4: Updated callers.
471 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
473 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
474 * aclocal.in (scan_configure, add_file): Handle the full macro
475 name even if it contains numbers, such as I18N.
477 2001-07-16 Tom Tromey <tromey@redhat.com>
479 * automake.texi (Dependencies): Link to dependency tracking page.
480 (Data): Mention dist_.
481 (Clean): Mention clean heuristics.
482 (Install): Mention nobase_.
484 * automake.texi (Program and Library Variables): Document _LINK.
486 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
488 * automake.in (handle_libraries): Allow libraries to lie in
489 a subdirectory by constraining only the basename to start
490 with 'lib', not the whole path.
492 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
494 * tests/subobj8.test: New file.
495 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
497 2001-07-16 Tom Tromey <tromey@redhat.com>
499 Fix for PR automake/212:
500 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
501 (uninstall-%DIR%LISP): Likewise.
503 2001-07-15 Tom Tromey <tromey@redhat.com>
505 * automake.in (usage): Rewrote code to handle columnization.
506 From Alexey Mahotkin and Maxim Sinev.
508 Report from Ralf Corsepius:
509 * automake.in (TARGET_PATTERN): Add `+' as valid character.
510 (SUFFIX_RULE_PATTERN): Likewise.
511 * tests/Makefile.am (TESTS): Added cxx.test.
512 * tests/cxx.test: New file.
514 * lib/am/tags.am (distclean-tags): Remove files for gtags.
515 From Shigio Yamaguchi.
517 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
519 * lib/am/distdir.am (distcheck): Emit diagnostic when files
520 remain after "make uninstall".
522 2001-07-14 Tom Tromey <tromey@redhat.com>
524 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
526 * lib/missing (makeinfo): Redirect stdout and stderr outside
527 subshell. From Alexandre Oliva.
529 2001-07-14 Akim Demaille <akim@epita.fr>
531 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
532 `\b(foo|bar)\b' is what we want.
533 * aclocal.in: Likewise.
535 2001-07-14 Akim Demaille <akim@epita.fr>
537 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
539 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
540 actually modified to require AM_DEPENDENCIES.
541 Rename `confdir' as `conftest.dir' so that the configure trap
544 2001-07-04 Tom Tromey <tromey@redhat.com>
547 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
548 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
549 * automake.in (am_install_var): Only rewrite PROGRAMS if
551 (make_paragraphs): Always define %EXEEXT%.
553 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
555 * tests/nolink.test: New file.
556 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
558 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
560 * automake.in (scan_texinfo_file): Add the second argument to
561 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
562 itself may not be used directly.
564 2001-07-04 Tom Tromey <tromey@redhat.com>
567 * lib/missing (makeinfo): Use subshell, not explicit sh
570 * automake.texi (Headers): Mention that we prefer uninstalled
572 (ANSI): Mention cross-compilation limitation.
574 2001-07-03 Tom Tromey <tromey@redhat.com>
576 * configure.in: Upped to 1.4i.
578 * configure.in: Released 1.4h.
580 * lib/config.guess, lib/config.sub: Updated.
582 2001-07-02 Tom Tromey <tromey@redhat.com>
584 Fix for libtool2.test:
585 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
586 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
587 * automake.in (generate_makefile): Call handle_libtool
589 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
591 * tests/libtool2.test: Look for `.lo' files to be removed.
593 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
595 * tests/Makefile.am (TESTS): Removed dup.test.
596 * tests/dup.test: Removed.
597 * aclocal.in (scan_file): Don't give error for duplicate macro.
599 2001-07-01 Tom Tromey <tromey@redhat.com>
601 * automake.texi (Program and Library Variables): Document
602 subdir-objects. Document fact that per-object flags override AM_
605 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
606 (Multilibs): New node.
607 (Macros): Documented missing macros.
608 (Auxiliary Programs): New node.
610 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
611 mode, then simply fail.
613 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
615 * lib/ylwrap: Improve support for DOS paths (and paths
616 containing backslashes in general).
618 2001-07-01 Tom Tromey <tromey@redhat.com>
620 * lib/missing: Added special exception to license.
623 * lib/missing: Updated. Added comment explaining configure.ac
626 * lib/depcomp: Reorder arguments to gcc3.
627 From Per Oyvind Hvidsten.
629 * tests/Makefile.am (TESTS): Added libtool2.test.
630 * tests/libtool2.test: New file.
632 * automake.texi (Program and Library Variables): Added example for
635 2001-06-29 Tom Tromey <tromey@redhat.com>
637 * tests/cond11.test: Use `=', not `=='.
638 * tests/cond12.test: Look for automake in build directory, not
641 2001-06-29 Richard Boulton <richard@tartarus.org>
643 * automake.in (conditionals_true_when): Pass first parameters by
644 reference, avoiding bug which put all parameters in @CONDS instead
645 of @WHENS. Report by Kalle Olavi Niemitalo.
646 Take a single WHEN instead of an array of WHENS.
647 Remove FIXME; can't now have an empty @WHENS.
648 (conditional_is_redundant): New sub.
649 (variable_conditions_reduce): Check whether each condition is
650 implied by any of the other conditions (other those already
651 discarded), rather than checking only against those already
652 considered (and kept). Also, fix sense of check: was keeping
653 tautologous terms instead of discarding them. Use
654 conditional_is_redundant instead of conditionals_true_when.
655 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
656 * tests/cond11.test: New file.
657 * tests/cond12.test: New file.
659 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
661 * automake.in (saw_sources_p): Work even if there are more
662 than one header files, and more than of one type of header.
663 * tests/Makefile.am (TESTS): Added new file.
664 * tests/depend4.test: New file.
666 2001-06-28 Tom Tromey <tromey@redhat.com>
668 * lib/am/libs.am (RANLIB): Don't define.
670 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
672 * automake.in (am_install_var): Assign 1 to $first on
675 2001-06-23 Tom Tromey <tromey@redhat.com>
678 * lib/ylwrap: Changed usage.
679 * lib/am/yacc.am: Rewrote to use new substitutions.
680 * lib/am/lex.am: Likewise.
681 * automake.in (handle_languages): Skip files whose language
682 doesn't have a compiler. Handle `define_flag' attribute.
683 Changed '$' to "\$" to aid Emacs fontification.
684 (struct): Added `rule_file'. Removed `derived_autodep'. Added
685 `_target_hook' and `define_flag'.
686 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
687 and `compiler' attributes. Removed `linker', `derived_autodep',
688 and `ansi' attributes. Added `define_flag'.
689 (yacc, yaccxx): Added `_target_hook'.
690 (saw_extension): Count number of times extension seen.
691 (count_files_for_language): New sub.
692 (saw_sources_p): Use it.
693 (handle_single_transform_list): Allow language rewrite function
694 to return a new source extension. Call target_hook.
695 (yacc_sources, lex_sources): Removed.
696 (initialize_per_input): Don't initialize yacc_sources or
698 (lang_yacc_rewrite): Rewrote.
699 (lang_yaccxx_rewrite): Likewise.
700 (lang_lex_rewrite): Likewise.
701 (lang_lexxx_rewrite): Likewise.
702 (output_yacc_build_rule): Removed.
703 (output_lex_build_rule): Removed.
704 (lang_yacc_finish): Removed build rule generation.
705 (lang_lex_finish): Likewise.
706 (DASH_D_PATTERN): New global.
707 (lang_yacc_target_hook): New function.
708 (_target_hook): New function.
709 (register_language): Default `define_flag'.
710 * tests/yacc5.test: Updated test.
711 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
712 * tests/yacc3.test: Remove bogus `make' invocation. Added test
713 for all YFLAGS variables.
715 2001-06-20 Tom Tromey <tromey@redhat.com>
717 * tests/yacc5.test: Check for per-executable YFLAGS.
719 2001-06-19 Tom Tromey <tromey@redhat.com>
721 * tests/Makefile.am (TESTS): Added yacc5.test.
722 * tests/yacc5.test: New file.
724 2001-06-17 Tom Tromey <tromey@redhat.com>
726 * automake.in (require_file_internal): Check for already-required
727 file after searching for it, and only if it is not found. Don't
728 use `readlink' when checking for dangling symlink. Work if
729 --force-missing specified.
730 * tests/acoutput2.test: Also test --force-missing.
732 Fix for libtool.test:
733 * automake.in (generate_makefile): Call handle_libtool.
734 (handle_libtool): New sub.
735 (handle_compile): Don't read `libtool' file.
737 * tests/acoutput2.test: New file.
738 * tests/Makefile.am (TESTS): Added acoutput2.test.
740 2001-06-15 Tom Tromey <tromey@redhat.com>
742 * tests/Makefile.am (TESTS): Added libtool.test.
743 * tests/libtool.test: New file.
745 2001-06-14 Tom Tromey <tromey@redhat.com>
747 Fix some lisp bugs reported by Bruno Haible:
748 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
750 (install-%DIR%LISP): Handle case where lispdir is not defined.
751 (uninstall-%DIR%LISP): Likewise.
752 (.el.elc): Added `else' clause.
754 Fix for bug reported by Steve M. Robbins:
755 * automake.in (handle_single_transform_list): When building a file
756 from a subdirectory, continue to use `AM_' prefix.
757 * tests/Makefile.am (TESTS): Added subobj7.test.
758 * tests/subobj7.test: New file.
760 * lib/am/configure.am ($(top_builddir)/config.status): Added
761 $(top_builddir) prefix to work around problems with some vendor
762 makes. From Nicholas Joly.
764 * automake.in (yacc_lex_finish_helper): Find ylwrap in
765 top_srcdir. From Tim Van Holder.
766 * tests/Makefile.am (TESTS): Added yacc6.test.
767 * tests/yacc6.test: New file.
769 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
771 * tests/defs, tests/installsh.test: Properly support
774 2001-06-14 Tom Tromey <tromey@redhat.com>
776 * tests/Makefile.am (TESTS): Added mdate4.test.
777 * tests/mdate4.test: New file.
779 * aclocal.in (scan_m4_files): Removed unused variable.
781 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
783 * aclocal.in (scan_m4_files): Tweak the building of &search so
784 that multiple macro names can be found on the same line. Ensure
785 we match whole macro name, not only substrings.
787 2001-06-12 Tom Tromey <tromey@redhat.com>
789 * automake.texi (ANSI): Minor clarification.
790 (Other GNU Tools): Don't mention Guile.
792 (Java Support): Mention file extensions.
793 (Man pages): Mention dist_. Don't mention info pages.
795 2001-06-11 Tom Tromey <tromey@redhat.com>
797 * automake.texi (Program variables): Document AM_CPPFLAGS.
799 (Java Support): Document AM_GCJFLAGS.
800 (Support for Other Languages): Removed `fixme'; added link to
801 suffix rule handling.
803 * automake.texi (Program and Library Variables): Document _LIBADD,
804 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
806 2001-06-11 Kevin Dalley <kevind@rahul.net>
808 * missing: Support configure.ac.
810 2001-06-08 Tom Tromey <tromey@redhat.com>
812 * tests/version4.test: New file.
813 * automake.in (version_check): New sub.
814 (handle_options): Use it.
815 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
816 (TESTS): Added version4.test.
817 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
818 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
820 2001-06-04 Kevin Dalley <kevind@rahul.net>
822 * lib/am/dejagnu.am (site.exp): Fix typo.
824 2001-06-02 Tom Tromey <tromey@redhat.com>
826 * automake.in (variable_conditions_sub): Move parent-only code
828 (variable_conditions): ... to here.
829 (variable_conditions_sub): Include this variable's conditions in
830 the resulting condition list.
831 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
833 2001-06-01 Tom Tromey <tromey@redhat.com>
835 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
837 * tests/ltdeps.test: New file. Report from Lars J. Aas.
839 2001-05-31 Tom Tromey <tromey@redhat.com>
841 * automake.texi (Alternative): New node.
842 (Macros): Use new name for gcc.
843 (Java Support): Likewise.
844 (Dependencies): Rewrote.
845 (Invoking Automake): (Re-)document -i, --ignore-deps, and
848 * automake.texi (Top level): Removed erroneous spaces. Documented
851 2001-05-29 Tom Tromey <tromey@redhat.com>
853 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
855 * automake.texi (Include): Rewrote.
856 (Suffixes): Remove Java example.
857 (Java): Added more explanation. Document variables.
858 (Uniform): Mention JAVA as a primary.
859 (Python): Updated for new Python support.
860 (Sources): Added a weak example.
862 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
864 * automake.texi (A Program): Mention `check' prefix.
865 (Program and Library Variables): New node.
866 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
868 (etags): Mention per-program flags.
869 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
872 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
875 2001-05-28 Tom Tromey <tromey@redhat.com>
877 * m4/Makefile.am (MAINT_CHARSET): Removed.
878 * Makefile.am (MAINT_CHARSET): Removed.
879 * automake.in (maint_charset, dist_charset): Removed.
880 (local_maint_charset): Removed.
881 (initialize_per_input): Don't use maint_charset.
882 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
884 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
886 (.%SUFFIX%.dvi): Likewise.
887 (.%SUFFIX%): Likewise.
889 2001-05-27 Tom Tromey <tromey@redhat.com>
891 * automake.in (handle_multilib): Only add multilib support code at
893 * lib/am/multilib.am: Handle invocation of *-multi targets
894 differently for SUBDIRS and non-SUBDIRS Makefiles.
895 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
896 Only add multilib code when the Makefile in question is actually
899 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
901 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
903 * automake.in (handle_single_transform_list): Skip unknown
906 2001-05-25 Tom Tromey <tromey@redhat.com>
908 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
910 2001-05-24 Tom Tromey <tromey@redhat.com>
912 * automake.in (handle_texinfo_helper): Find mdate-sh in current
913 directory in some situations.
915 * automake.in (generate_makefile): Better explanation for ansi2knr
918 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
920 * automake.in (handle_languages): Skip unknown extensions.
921 (derive_suffix): Check whether $extension_map{$source_ext}
922 is undefined, not empty.
924 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
926 * automake.in (read_am_file): Ignore trailing backslash on
929 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
931 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
933 2001-05-21 Akim Demaille <akim@epita.fr>
935 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
936 multiple times'' warning.
938 2001-05-20 Tom Tromey <tromey@redhat.com>
940 * configure.in: Updated to 1.4g.
942 * configure.in: Updated to 1.4f.
944 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
946 * lib/ansi2knr.c: New version.
948 * Makefile.am (FETCHFILES): Added ansi2knr.c.
951 2001-05-19 Tom Tromey <tromey@redhat.com>
953 * config.guess, config.sub: New versions from FSF.
955 * Makefile.am (fetch): Compare against files in srcdir.
957 For for ansi2knr report from Harlan Stenn:
958 * automake.in (generate_makefile): Run handle_compile before
961 2001-05-18 Tom Tromey <tromey@redhat.com>
963 * automake.in: Reverted erroneous checkin.
965 2001-05-18 Akim Demaille <akim@epita.fr>
967 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
968 to missing `install-info'.
970 2001-05-17 Tom Tromey <tromey@redhat.com>
972 * automake.in (lang_c_finish): Use `rm -f'.
974 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
975 * tests/Makefile.am (TESTS): Added new file.
976 * tests/ansi5.test: New file.
978 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
980 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
982 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
983 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
984 * automake.texi (Requirements): Document the use of the STRIP
985 variable in cross-compilation environments.
987 2001-05-17 Tom Tromey <tromey@redhat.com>
989 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
990 to no dependency tracking.
991 * tests/Makefile.am (TESTS): Added depcomp2.test.
992 * tests/depcomp2.test: New file. From Pavel Roskin.
994 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
996 * lib/depcomp (tru64): New dependency tracking mode.
998 Fix for PR automake/159:
999 * lib/depcomp (aix): Rewrote.
1002 Fix for PR automake/174:
1003 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1004 * automake.in (read_am_file): Warn if `#' is at start of rule.
1006 2001-05-16 Tom Tromey <tromey@redhat.com>
1008 For PR automake/174:
1009 * tests/Makefile.am (TESTS): Added comment3.test.
1010 (XFAIL_TESTS): Likewise.
1011 * tests/comment3.test: New file.
1013 Fix for PR automake/175:
1014 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1015 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1016 `Leaving directory' messages.
1018 For PR automake/175:
1019 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1020 * tests/make.test: Run test with `make -w'.
1022 * tests/Makefile.am (TESTS): Removed maintclean.test.
1023 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1025 * lib/am/configure.am (maintainer-clean-am): Removed.
1026 (maintainer-clean-conf): Removed.
1027 * tests/maintclean.test: Removed.
1029 2001-05-15 Tom Tromey <tromey@redhat.com>
1031 Fix for PR automake/177:
1032 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1033 automake or aclocal.
1035 Fix for maintclean.test:
1036 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1037 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1039 (distclean, maintainer-clean): Moved to...
1040 * lib/am/configure.am: ... here.
1041 (distclean): Remove config.cache and config.log.
1042 (maintainer-clean): Removed.
1043 (maintainer-clean-conf): New target.
1044 (maintainer-clean-am): New target.
1046 * tests/Makefile.am (TESTS): Added maintclean.test.
1047 (XFAIL_TESTS): Likewise.
1048 * tests/maintclean.test: New file.
1050 Fixes PR automake/175:
1051 * tests/target-cflags.test: Use $needs_gnu_make.
1052 * tests/exsource.test: Use $needs_gnu_make.
1053 * tests/make.test: Require GNU make.
1054 * tests/defs (needs_gnu_make): Compute.
1056 2001-05-14 Tom Tromey <tromey@redhat.com>
1058 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1061 Fix for texinfo10.test.
1062 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1063 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1064 * automake.in (handle_texinfo_helper): New sub.
1065 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1066 * tests/texinfo10.test: Added more cases.
1068 Fix for yaccvpath.test:
1069 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1070 * lib/am/distdir.am (distdir): Always look for file in build
1072 * lib/ylwrap: Quote the `#line' regular expression.
1073 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1074 change; don't run sed on the generated file.
1075 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1076 to make sure parser will be rebuilt at dist time.
1078 2001-05-13 Pavel Roskin <proski@gnu.org>
1080 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1081 beginning with `##'.
1082 * automake.texi (General Operation): Document it.
1084 2001-05-13 Tom Tromey <tromey@redhat.com>
1086 Reported by Rainer Orth:
1087 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1089 * tests/Makefile.am (TESTS): Added distname.test.
1090 * tests/distname.test: New file.
1092 * Makefile.am (dist_pkgdata_DATA): Removed.
1094 * tests/defs: Find files to copy in lib/.
1095 * automake.in (perllibdir): Set to Automake directory.
1096 * ansi2knr.c, ansi2knr.1: Removed.
1097 * Makefile.am (dist_am_DATA): Removed.
1099 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1101 (scriptdir): Removed.
1102 (dist_script_DATA): Likewise.
1103 (install-data-hook): Likewise.
1104 (installcheck-local): Likewise.
1105 (TAGS_FILES): Removed amfiles.
1106 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1107 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1108 point it to the right directory.
1109 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1110 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1111 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1112 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1113 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1114 mans.am, multilib.am, program.am, progs.am, python.am,
1115 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1116 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1117 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1118 (AUTOMAKE): Use --libdir, not --amdir.
1119 Ues AC_CONFIG_AUX_DIR.
1120 * lib/Makefile.am (SUBDIRS): Added `am'.
1121 (scriptdir): New macro.
1122 (dist_script_DATA): Likewise.
1123 (dist_pkgdata_DATA): Likewise.
1124 (install-data-hook): New target.
1125 (installcheck-local): Likewise.
1126 * lib/am/Makefile.in: New file.
1127 * lib/am/Makefile.am: Removed everything except amdir and
1130 2001-05-13 Akim Demaille <akim@epita.fr>
1132 * automake.in ($pkgdata_dir): Rename as...
1134 ($am_dir): Remove, replace its uses with $libdir.
1135 (&parse_arguments): Replace --amdir with --libdir.
1136 * automake.texi (Invoking Automake): Document --libdir, not
1138 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1140 2001-05-13 Tom Tromey <tromey@redhat.com>
1142 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1144 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1145 Correctly look at AMDEP_TRUE, not AMDEP.
1147 Report from Robert Boehne:
1148 * tests/Makefile.am (TESTS): Added depend2.test.
1149 * tests/depend2.test: New file.
1151 2001-05-13 James Henstridge <james@daa.com.au>
1153 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1154 Point pythondir at site-packages directory. Rename
1155 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1156 pyexecdir. Removed package/module argument. Removed
1157 PYTHON_SITE_INSTALL. Added version checking.
1159 2001-05-14 Jim Meyering <meyering@lucent.com>
1161 * automake.in (macro_define): Change one remaining use of
1162 `variable_dump' to `macro_dump'.
1164 2001-05-13 Tom Tromey <tromey@redhat.com>
1166 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1169 2001-05-13 Akim Demaille <akim@epita.fr>
1171 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1172 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1173 (&am_primary_prefixes): Use `map' rather than `grep'.
1175 2001-05-13 Akim Demaille <akim@epita.fr>
1177 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1179 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1180 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1182 2001-05-13 Akim Demaille <akim@epita.fr>
1184 * lang-compile.am: New file, loaded once per language.
1185 * depend2.am: Move definitions loaded once per language in the
1186 aforementioned file.
1187 * automake.in (&handle_languages): Load it.
1188 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1189 handled by lang-compile.am.
1191 2001-05-13 Tom Tromey <tromey@redhat.com>
1193 * tests/Makefile.am (TESTS): Added python.test.
1194 * tests/python.test: New file.
1195 * automake.in (handle_languages): Use
1196 config_aux_dir_set_in_configure_in.
1197 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1198 py-compile, not py_comp. Define py_compile macro.
1200 2001-05-13 Derek Price <dprice@openavenue.com>
1202 * automake.in (require_file_with_conf_line,
1203 require_file_with_line, require_file): Pass a @require_file_path
1204 of $relative_dir instead of '.' to require_file_internal so that
1205 all the special casing of '.' can be removed elsewhere.
1206 (require_config_file, require_conf_file_with_line,
1207 require_conf_file_with_conf_line): Remove special casing for '.'
1208 and make sure $config_aux_dir is maintained properly.
1209 (require_file_internal): Remove special casing of '.' and set
1210 @require_file_path when missing files are added.
1211 (maybe_push_required_file): Remove special casing of '.'
1212 (handle_dependencies): Remove a workaround for a bug now fixed
1213 and remove $config_aux_dir special casing.
1214 (handle_configure): Remove special casing for $config_aux_dir
1215 (handle_python): Ditto.
1216 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1217 switch on the value of $config_aux_dir_set_in_configure_in.
1218 (handle_texinfo): Ditto.
1219 (scan_one_configure_file): Set $config_aux_dir and
1220 $config_aux_dir_set_in_configure_in properly so special casing
1221 on the value of $config_aux_dir can be removed elsewhere.
1222 * tests/depcomp.test: New file.
1223 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1224 first subdir containing a C file.
1225 * tests/libobj2.test: Ditto.
1226 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1228 2001-05-12 Tom Tromey <tromey@redhat.com>
1230 * tests/gcj.test: Updated for gcj dependency tracking.
1231 * tests/gcj2.test: Likewise.
1233 Fixes PR automake/169.
1234 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1236 * automake.in (java): Added autodep entry.
1237 * tests/Makefile.am (TESTS): Added gcj3.test.
1238 * tests/gcj3.test: New file.
1240 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1242 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1243 stop at the first '='.
1244 * tests/Makefile.am (TESTS): Added vars.test.
1245 * tests/vars.test: New file.
1247 2001-05-12 Akim Demaille <akim@epita.fr>
1249 * automake.in (&handle_single_transform_list): Simplify
1250 computation of $object and $this_obj_ext.
1251 * tests/lex3.test: Merge into...
1252 * tests/lex.test: here.
1253 * tests/pr19.test: Improve and rename as...
1254 * tests/lex3.test: this.
1256 2001-05-09 Tom Tromey <tromey@redhat.com>
1258 * automake.in (read_am_file): Correctly compute $saw_bk.
1259 (scan_autoconf_files): Ensure configure_dist_common is always
1261 * tests/defs (AUTOMAKE): Added --Werror.
1263 2001-05-09 Pavel Roskin <proski@gnu.org>
1265 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1268 2001-05-09 Tom Tromey <tromey@redhat.com>
1270 * tests/werror.test: Use `rm -f'.
1272 2001-05-09 Akim Demaille <akim@epita.fr>
1274 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1276 2001-05-09 Akim Demaille <akim@epita.fr>
1278 * automake.in: Remove some code left from bad patches.
1279 (&handle_dependency): Remove, for the same reason.
1281 2001-05-09 Akim Demaille <akim@epita.fr>
1283 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1284 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1285 (&define_standard_variables): Don't transform %top_builddir% since...
1286 * header-vars.am: Use %TOPDIR% instead.
1288 2001-05-09 Akim Demaille <akim@epita.fr>
1290 * automake.in (@objects): Remove, unused.
1291 Remove all the code related to it, and to former `$(OBJECTS)'.
1293 2001-05-08 Tom Tromey <tromey@redhat.com>
1296 * ylwrap: Handle arguments to program. Remove old code that tried
1297 to avoid absolute paths and add new code to do it in all cases.
1298 Removed ancient logic that tried to deal with relative path.
1299 * tests/Makefile.am (TESTS): Added yacc4.test.
1300 * tests/yacc4.test: New file.
1302 Fix for PR automake/149 and werror.test:
1303 * automake.in (require_file_internal): Use am_line_warning or
1304 am_conf_line_warning when suppressing error.
1305 (am_line_warning): New sub.
1306 (am_conf_line_warning): Save and restore warning signal.
1307 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1309 Fix for PR automake/36:
1310 * tests/Makefile.am (TESTS): Added asm.test.
1311 * tests/asm.test: New file.
1312 * automake.in (asm): Use ASFLAGS and AS.
1313 (lang_asm_finish): New sub.
1315 * automake.in (read_am_file): Removed debugging code.
1317 For PR automake/149:
1318 * tests/Makefile.am (TESTS): Added werror.test.
1319 (XFAIL_TESTS): Likewise.
1320 * tests/werror.test: New file.
1322 * automake.in (conditional_true_when): Don't return if we see
1325 * tests/objc.test: Removed.
1326 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1329 * automake.in (subst): New sub.
1330 (handle_languages): Use it.
1331 (output_lex_build_rule): Likewise; also use _am_quote.
1332 (check_libobjs_sources): Likewise.
1333 (make_paragraphs): Use subst.
1335 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1338 * automake.in (file_contents_internal): Prototype now `$$%'.
1339 (register_language): Prototype now `%'.
1341 Fixes test subobj6.test and PR automake/160:
1342 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1343 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1344 (distclean-compile): Added DISTRMS.
1345 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1346 `mostlyclean' use; added test for non-subdir case.
1347 * automake.in (compile_clean_files): New global.
1348 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1349 (initialize_per_input): Initialize compile_clean_files.
1350 (handle_single_transform_list): Set compile_clean_files entries.
1351 (handle_compile): Handle compilation cleanups.
1353 2001-05-08 Lars J. Aas <larsa@sim.no>
1355 * automake.texi (Canonicalizing Automake macros): Document not
1356 canonicalizing strudels (@) anymore.
1358 2001-05-08 Akim Demaille <akim@epita.fr>
1360 * distdir.am (dist-all): Build all the flavors using a single
1363 2001-05-08 Akim Demaille <akim@epita.fr>
1365 * automake.in (&file_contents_internal): Apply the @cond_stack to
1366 the rules and assignments.
1367 Don't rely on `$.' as it's biased by &make_paragraphs.
1368 Don't remove backslashes in variable values.
1370 2001-05-08 Akim Demaille <akim@epita.fr>
1372 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1373 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1374 ($MACRO_PATTERN): Just catch the name of a macro.
1375 ($BOGUS_MACRO_PATTERN): Remove.
1376 ($ASSIGNMENT_PATTERN): New.
1377 (&file_contents_internal, &make_paragraphs): Adjust.
1378 (¯o_define): Catch bad macro names.
1379 (&cond_stack_endif): Better error message.
1380 (&file_contents_internal): Don't remove backslashes in variable
1382 (¯o_define): Do it for `+=' user variables.
1383 (&define_standard_variables): Use `undef' instead of a dummy
1385 (&make_paragraph): Be sure not to chop the trail of hash only
1386 lines: adjust the `##' regexp.
1387 (&rule_define): Fix a bug: don't read $1 but $target.
1388 * tests/condincl.test: Strengthen.
1390 2001-05-08 Akim Demaille <akim@epita.fr>
1392 * automake.in (Language): Add attributes `Name' and `config_vars'.
1393 (&finish): Work properly if there is no _finish.
1394 (Automake): Register language Names and AC_SUBST dependencies.
1395 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1396 (&handle_languages): Once per language, invoke
1397 `define_linker_variables', and check its config_vars.
1398 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1399 (&lang_java_finish): Remove.
1400 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1402 2001-05-08 Akim Demaille <akim@epita.fr>
1404 * automake.in (&file_contents_internal): Accept $IS_AM.
1405 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1407 2001-05-08 Akim Demaille <akim@epita.fr>
1409 * automake.in (am_install_var): Use `next' instead of `if' on the
1412 2001-05-08 Akim Demaille <akim@epita.fr>
1414 * automake.in (Language): Add attributes `lder' and `ld'.
1415 (®ister_language): Specify for cxx, objc, f77, gcj.
1416 (&define_linker_variable): New.
1417 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1418 (&lang_java_finish): Adjust.
1419 (&libtool_compiler): Remove.
1421 2001-05-08 Akim Demaille <akim@epita.fr>
1423 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1424 argument, as you don't use it.
1426 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1429 (&handle_programs): Don't mess with %lex_sources, as you don't use
1432 2001-05-08 Akim Demaille <akim@epita.fr>
1434 * automake.in (Language): Add attribute `link'.
1435 (®ister_language): Specify for cxx, objc, f77, gcj.
1436 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1437 (&lang_java_finish): Adjust.
1439 2001-05-08 Akim Demaille <akim@epita.fr>
1441 * automake.in (&define_compiler_variables): Use only $LANG as
1443 (&handle_languages): Adjust.
1445 2001-05-08 Akim Demaille <akim@epita.fr>
1447 * automake.in (&define_program_variable): Remove.
1448 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1450 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1451 * texinfos.am: Do it.
1453 2001-05-08 Akim Demaille <akim@epita.fr>
1455 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1457 * dejagnu.am: Do it.
1458 (site.exp): Use `if'.
1460 2001-05-08 Akim Demaille <akim@epita.fr>
1462 * automake.in: Formatting changes.
1463 (variable_dump, variables_dump): Rename as...
1464 (macro_dump, macros_dump): these.
1466 2001-05-08 Akim Demaille <akim@epita.fr>
1468 Support `if !COND', `else COND', `end COND'.
1470 * automake.texi (Conditionals): Document it.
1471 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1472 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1473 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1474 a leading `!' before the condition.
1475 (&handle_options): Use `\d'.
1476 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1477 (&read_am_file, &file_contents_internal): Use them.
1478 (&transform): No longer substitute `%!COND%', forcing the use of
1480 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1482 2001-05-08 Akim Demaille <akim@epita.fr>
1484 Uniform handling of per-object compilation rules.
1485 Note: Automake is repaired.
1487 * automake.in (&handle_languages): Output per object rules for all
1488 the objects, not only for those which language supports dependency
1490 Fix Automake: when outputting per-object rules, use `-o' if the
1491 language has no `output_flag', as it's really needed.
1492 (&handle_single_transform_list): Instead of special casing files
1493 which need per object rules but which language don't support
1494 dependency tracking, keep them in the queue for processing by
1495 `&handle_languages'.
1497 2001-05-08 Akim Demaille <akim@epita.fr>
1499 * automake.in (&handle_languages): `ext-compile.am' and
1500 `depend2.am' are now equivalent for generic rules: output only the
1502 * ext-compile.am: Remove.
1504 2001-05-08 Akim Demaille <akim@epita.fr>
1506 Note: This patch breaks Automake. Repaired within two patches.
1508 * automake.in (Language): Replace the attribute `output_arg' with
1509 `compile_flag' and `output_flag'.
1510 (Automake): Adjust language registrations.
1511 (&handle_languages): Transform `-c' and `-o' for both suffix and
1512 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1514 (&handle_single_transform_list): Adjust to `compile_flag' and
1516 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1518 2001-05-08 Akim Demaille <akim@epita.fr>
1520 * automake.in (&handle_languages): Don't transform %COMPILER%.
1521 Use `$lang->compiler' instead of `$pfx' to transform generic
1522 %COMPILE% and %LTCOMPILE%.
1523 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1524 of %COMPILER% and $<.
1526 2001-05-07 Akim Demaille <akim@epita.fr>
1528 * automake.in (&handle_languages): Use the same `%transform' for
1529 both `depend2.am' and `ext-compile.am'.
1530 Delay the definition of `$flag' so it is right before the first use,
1531 and rename as `$flags'.
1533 2001-05-07 Akim Demaille <akim@epita.fr>
1535 * automake.in (&handle_languages): Compute `$ltoutarg' and
1536 `$outarg' independently of dependency code.
1537 There is no use looping on a language's possible extensions since
1538 we loop over used extensions.
1539 Therefore, there is no use for a local `%transform'.
1541 2001-05-07 Akim Demaille <akim@epita.fr>
1543 * automake.in (&handle_languages): Don't use $comp.
1545 2001-05-07 Akim Demaille <akim@epita.fr>
1547 * automake.in (&handle_languages): Merge the two loops over
1548 %extension_seen/%languages into one and group code to be run once
1549 per language together.
1551 2001-05-07 Akim Demaille <akim@epita.fr>
1553 * automake.in (&handle_languages): Move the `if
1554 ($use_dependencies)' block so that loops over extensions and
1555 languages are next to each other.
1557 2001-05-07 Akim Demaille <akim@epita.fr>
1559 * automake.in (&depend2): Remove, merged into...
1560 (&handle_languages): here.
1562 2001-05-07 Akim Demaille <akim@epita.fr>
1564 * automake.in (&finish_languages): Rename as...
1565 (&handle_languages): this.
1566 Include the body of...
1567 (&handle_dependency): this.
1570 2001-05-06 Tom Tromey <tromey@redhat.com>
1573 * tests/Makefile.am (TESTS): Add subdir5.test.
1574 (XFAIL_TESTS): Likewise.
1575 * tests/subdir5.test: New file.
1577 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1578 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1580 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1582 (handle_options): Handle fork identifier in version number.
1584 * automake.texi (Dist): Document distcheck-hook.
1586 * tests/confh4.test: Update to reflect DEFS change.
1587 For PR automake/132.
1589 Fix for PR automake/132:
1590 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1592 (java): Remove INCLUDES and DEFS from compilation.
1593 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1594 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1595 (DEFAULT_INCLUDES): New macro.
1597 * automake.in (usage): Re-align explanatory text.
1598 Fixes PR automake/148.
1600 * automake.texi (Uniform): Don't use @PROGRAMS@.
1601 Fixes PR automake/154.
1603 For PR automake/160:
1604 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1605 (XFAIL_TESTS): Add subobj6.test.
1606 * tests/subobj6.test: New file.
1608 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1609 (Top level): Don't mention `flat'.
1610 (Extending): Likewise.
1611 (User Variables): New node.
1613 * distdir.am (distdir): Make subdirectory for each file.
1614 Fixes test subobj5.test.
1616 * tests/Makefile.am (TESTS): Add new file.
1617 (XFAIL_TESTS): Likewise.
1618 * tests/texinfo10.test: New file.
1620 2001-05-05 Pavel Roskin <proski@gnu.org>
1622 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1623 in the same way as @defcodeindex and @syncodeindex respectively.
1625 2001-05-05 Tom Tromey <tromey@redhat.com>
1627 * mans.am (install-man%SECTION%): Minor cleanup.
1628 (uninstall-man%SECTION%): Likewise.
1630 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1631 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1633 (uninstall-man%SECTION%): Likewise.
1634 * automake.in (handle_man_pages): Handle dist_ and nodist_
1637 * automake.texi (Future): Removed.
1639 (Hello): Don't mention `deep'.
1640 (Top level): Likewise.
1642 * automake.in (conditional_true_when): Use a hash, not index().
1643 Also, a TRUE component always results in a true return.
1644 Fixes test cond10.test. For PR automake/164.
1645 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1647 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1649 For PR automake/164:
1650 * tests/Makefile.am (TESTS): Added new file.
1651 (XFAIL_TESTS): Likewise.
1652 * tests/cond10.test: New file.
1654 2001-05-05 Tom Tromey <tromey@redhat.com>
1656 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1658 (install-info-am): Likewise.
1660 2001-05-05 Pavel Roskin <proski@gnu.org>
1662 * automake.in (scan_texinfo_file): Don't push undefined values
1665 2001-05-05 Richard Boulton <richard@tartarus.org>
1667 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1670 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1672 * automake.in (required_targets): Added uninstall-am.
1674 2001-05-05 Tom Tromey <tromey@redhat.com>
1676 Fix bug reported by Robert Boehne:
1677 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1679 (handle_dependencies): Likewise.
1680 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1681 substitution. Correct diff now has 30 lines. Look for space
1682 after losing `undef'.
1684 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1686 * m4/sanity.m4: Remove the temp file before possible error exits.
1688 2001-05-04 Akim Demaille <akim@epita.fr>
1690 * configure.in: Set perllibdir.
1693 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1695 * automake.in ($pkgdata_dir): New.
1696 (&require_file_internal): Use it.
1698 2001-05-03 Akim Demaille <akim@epita.fr>
1700 Case insensitive FS choke on Automake/ vs automake.
1701 Reported by Tim Van Holder.
1703 * Automake/: Move into...
1704 * lib/: this new directory.
1706 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1708 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1711 2001-04-30 Jim Meyering <meyering@lucent.com>
1713 * automake.in: Remove `/lib' from include directory.
1715 2001-04-27 Akim Demaille <akim@epita.fr>
1717 AM_INIT_AUTOMAKE is no longer optional.
1719 * automake.in ($seen_make_set, $seen_prog_install)
1720 ($seen_arg_prog): Remove.
1721 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1722 Remove related code.
1724 2001-04-27 Akim Demaille <akim@epita.fr>
1726 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1728 * tests/specflags3.test: here.
1730 2001-04-27 Akim Demaille <akim@epita.fr>
1732 * automake.in ($seen_path_xtra): Remove.
1733 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1734 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1736 2001-04-27 Akim Demaille <akim@epita.fr>
1738 * automake.in (&file_contents_internal): Declare it.
1740 2001-04-27 Akim Demaille <akim@epita.fr>
1742 * automake.in (&read_am_file, &file_contents_internal): Don't
1743 define macros when `FALSE', to avoid errors on doubly defined
1744 variables but under condition `FALSE'. In order to allow...
1745 (&am_install_var): When reading the associated file for the first
1746 time, enable `%?FIRST%'.
1747 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1748 * libs.am: Do it when `%?FIRST%'.
1750 2001-04-27 Akim Demaille <akim@epita.fr>
1752 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1753 * ansi2knr.am: Do it.
1754 Prefer `if %?FOO%' to `if %!FOO%'.
1756 2001-04-27 Akim Demaille <akim@epita.fr>
1758 * automake.in (®ister_language, &finish_languages): Use `pure'
1760 (®ister_language): Use %done properly with objects, not names.
1761 (&finish_languages): Replace `$non_c' with `$needs_c'.
1763 2001-04-27 Akim Demaille <akim@epita.fr>
1765 Unify LISP, PYTHON and JAVA primaries.
1767 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1768 return if there are no files, hook elisp-comp on the Autoconf
1769 macro, rely on lisp.am to define variables.
1770 (&handle_python, &handle_java): Likewise.
1771 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1772 `PYTHON' must be handled here, not in `&handle_python'.
1773 * java.am: Define needed variables and rules.
1775 2001-04-27 Akim Demaille <akim@epita.fr>
1777 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1779 * header.am: Include data.am.
1781 2001-04-27 Akim Demaille <akim@epita.fr>
1783 * automake.in (&am_install_var): Transform `PRIMARY'.
1784 * data.am: Equip with %PRIMARY%.
1786 2001-04-27 Akim Demaille <akim@epita.fr>
1788 * automake.in (@conditional_stack): Rename as...
1789 (@cond_stack): this.
1790 (&file_contents_internal): Support inclusion of files.
1792 2001-04-27 Akim Demaille <akim@epita.fr>
1794 * automake.in (&lang_extensions): Remove.
1795 (&add_depend2, &saw_sources_p): Adjust.
1796 * depend2.am: `%EXT%' no longer includes the dot.
1798 2001-04-27 Akim Demaille <akim@epita.fr>
1800 * automake.in (&finish_languages, &handle_single_transform_list)
1801 (&add_depend2, &handle_dependencies): No longer use the language
1802 name in `$lang'. Rename `$lang_obj' as `$lang'.
1804 2001-04-27 Akim Demaille <akim@epita.fr>
1806 * automake.in (®ister_language): Use `new Language' with a hash.
1808 2001-04-27 Akim Demaille <akim@epita.fr>
1810 * automake.in (®ister_language): Rename `output-arg' and
1811 `derived-autodep' as `output_arg' and `derived_autodep' to match
1812 the Language attribute.
1813 Set the defaults in %option instead of $lang.
1815 2001-04-27 Akim Demaille <akim@epita.fr>
1817 * Automake/: New directory.
1818 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1819 * automake.in (Language): Use Automake::Struct.
1820 * tests/defs: Adjust to find Struct.
1822 2001-04-23 Pavel Roskin <proski@gnu.org>
1824 * automake.in: Add forward declaration for register_language().
1825 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1828 2001-04-20 Akim Demaille <akim@epita.fr>
1830 * automake.in (%required_targets): Add `uninstall'.
1831 From Robert Collins.
1833 2001-04-12 Akim Demaille <akim@epita.fr>
1835 * automake.in (Language): Add attribute `name'.
1836 (®ister_language): The name of the language is now given in the
1838 No longer use `$lang' as the name of the language.
1839 Rename `$lang_obj' as `$lang'.
1841 2001-04-12 Akim Demaille <akim@epita.fr>
1843 * automake.in (Language): Add attribute `_finish'.
1846 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1847 (&lang_asm_finish): Remove.
1849 2001-04-12 Akim Demaille <akim@epita.fr>
1851 * automake.in (Language): Add attribute `extensions'.
1852 (Automake): Pass a hash to `®ister_language' instead of a
1853 list of pseudo assignments.
1854 (®ister_language): Adjust.
1855 (&finish_languages): Initialize `$ltoutarg'.
1857 2001-04-12 Akim Demaille <akim@epita.fr>
1859 * automake.in (Language): Add attribute `output_arg'.
1860 (%language_map): Remove.
1861 (®ister_language): Build only the object, and store in
1863 (&finish_languages, &handle_single_transform_list): Adjust.
1865 2001-04-12 Akim Demaille <akim@epita.fr>
1867 * automake.in (Language): Add attributes `flags', `compile' and
1869 (&finish_languages, &handle_single_transform_list, &handle_dist)
1870 (&add_depend2, ®ister_language): Use them and the `linker' and
1873 2001-04-12 Akim Demaille <akim@epita.fr>
1875 * automake.in (&handle_single_transform_list, &finish_languages)
1876 (&handle_dist, &handle_dependencies): Use the language object for
1877 autodep and derived-autodep too.
1879 2001-04-12 Akim Demaille <akim@epita.fr>
1881 * automake.in (¯o_define): Ignore Automake definition for
1882 ($var, $cond) if there is already a user definition for ($var, $cond).
1884 2001-04-12 Akim Demaille <akim@epita.fr>
1886 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1887 but also @deffn and so on which push data in indexes.
1888 Reported by Derek R. Price.
1890 2001-04-12 Akim Demaille <akim@epita.fr>
1892 * automake.in (Language): New package, temporarily in this file.
1894 (Automake): New package.
1896 (&handle_single_transform_list): Use the language object's `ansi'
1897 attribute instead of `$language_map{"$lang-ansi-p"}'.
1898 (®ister_language): Build and register the language too.
1900 2001-04-11 Tom Tromey <tromey@redhat.com>
1902 Fixes report from Larry Jones:
1903 * automake.in (handle_dependencies): Add `@_am_quote@' where
1905 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1907 2001-04-11 Akim Demaille <akim@epita.fr>
1909 * depend2.am: Fix the `if' condition for Libtool.
1910 Reported by Robert Boehne.
1912 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1914 * tests/subobj5.test: New file.
1916 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1918 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1919 * tests/Makefile.am (TESTS): Added make.test.
1920 * tests/make.test: New file.
1922 2001-04-10 Tom Tromey <tromey@redhat.com>
1924 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1926 2001-04-10 Derek R. Price <dprice@collab.net>
1928 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1930 2001-04-10 Akim Demaille <akim@epita.fr>
1932 * distdir.am: Add a missing backslash.
1934 2001-04-10 Akim Demaille <akim@epita.fr>
1936 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1938 Specify to the caller whether $regen_aclocal_m4.
1939 (&handle_configure): Adjust.
1940 Transform `REGEN-ACLOCAL-M4'.
1942 * configure.am: Use it.
1943 * tests/defs (me): New.
1944 * tests/confdeps.test: New.
1946 2001-04-09 Tom Tromey <tromey@redhat.com>
1948 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1949 Fixes report from Jim Meyering.
1951 2001-04-09 Akim Demaille <akim@epita.fr>
1953 * automake.in (&handle_configure): Don't bother with optimizing
1956 2001-04-09 Akim Demaille <akim@epita.fr>
1958 * tests/cond3.test (expected): Adjust.
1960 2001-04-09 Akim Demaille <akim@epita.fr>
1962 * automake.in (&handle_single_transform_list): Remove $xbase,
1964 (&handle_source_transform): All the variables have conditions now,
1966 (&variable_delete): Admit an argument @conds.
1968 2001-04-09 Akim Demaille <akim@epita.fr>
1970 * automake.in ($source_suffix_pattern): Remove, unused.
1971 %extension_map seems to have replaced it.
1973 2001-04-09 Akim Demaille <akim@epita.fr>
1975 * ext-compile.am: New file.
1976 * automake.in (&finish_languages): Output it.
1977 Require a C linker if there are several registered source suffixes.
1978 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1979 extensions, which are discovered in ext-compile.am.
1980 With the help from Robert Boehne.
1982 2001-04-09 Akim Demaille <akim@epita.fr>
1984 * automake.in (&handle_compile): Extract from...
1985 (&get_object_extension): here.
1986 (&read_am_file): Call it.
1987 ($included_generic_compile, $included_knr_compile)
1988 ($included_libtool_compile): Remove.
1989 ($get_object_extension_was_run): New.
1991 2001-04-09 Akim Demaille <akim@epita.fr>
1993 Use AM_CONDITIONAL and if/endif for AMDEP.
1995 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1996 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1997 to a configure time if/endif), or to `FALSE' (static removal of
1999 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2000 * depend2.am: Use if/endif.
2002 Adjust the 101 tests that use dependencies so that they
2003 properly invoke aclocal before automake. They need to `see'
2004 `AM_CONDITIONAL([AMDEP], ...)'.
2006 2001-04-09 Akim Demaille <akim@epita.fr>
2008 * tags.am: Fix missing leading tabs.
2010 2001-04-09 Akim Demaille <akim@epita.fr>
2012 * automake.in: Use simple quotes to define the _PATTERN variables
2013 to unobfuscate the regexps.
2014 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2016 2001-04-09 Akim Demaille <akim@epita.fr>
2018 * automake.in (&rule_define): When you discover a suffix rules,
2019 register the extensions for .SUFFIXES.
2020 (&handle_texinfo): Don't register the suffixes.
2021 (&get_object_extension): Don't register suffixes, let them be
2022 discovered in depend2.am.
2023 (&handle_emacs_lisp): Depend on your lisp.am.
2024 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2026 2001-04-09 Akim Demaille <akim@epita.fr>
2028 * subdirs.am: Don't define info related recursive targets.
2031 2001-04-09 Akim Demaille <akim@epita.fr>
2033 * subdirs.am (RECURSIVE_TARGETS): New variable.
2035 * automake.in (&handle_subdirs): Output it.
2036 (&file_contents_internal): Support value spread on several lines.
2038 2001-04-09 Akim Demaille <akim@epita.fr>
2040 * automake.in (&handle_man_pages): Rely on mans.am to define
2041 man%SECTION%dir and MANS.
2044 2001-04-09 Akim Demaille <akim@epita.fr>
2046 * automake.in (&variable_dump): Use %var_type properly.
2047 (¯o_define): Enforce better overriding rules.
2048 Handle the special case that used to handle...
2049 (&define_pretty_variable): this.
2051 The variables you define are owned by Automake.
2052 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2054 (&variable_defined): Now independent of the owner.
2055 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2057 2001-04-09 Akim Demaille <akim@epita.fr>
2059 * automake.in (%var_was_plus_eq): Rename as...
2061 (%def_type): Remove.
2062 (¯o_define): %var_type may now hold `', `+', or `:'.
2063 (%conditional, %am_vars, %content_lines): Rename as...
2064 (%var_value, %var_comment, %var_line): these.
2066 2001-04-09 Akim Demaille <akim@epita.fr>
2068 * automake.in (&variable_output): Admit a list of @CONDS.
2069 (&variable_pretty_output): New.
2070 (&define_pretty_variable): Use it.
2071 (&read_am_file, &file_contents_internal): Prepend a separator to
2072 $am_vars only if there is none yet.
2073 (&file_contents_internal): Rename $separator as $spacing to
2074 harmonize with &read_am_file.
2076 2001-04-09 Akim Demaille <akim@epita.fr>
2078 * automake.in (&am_install_var): Transform DIST, and let the *.am
2079 files handle DIST_COMMON.
2080 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2083 2001-04-09 Akim Demaille <akim@epita.fr>
2085 * automake.in (%dist_common): Remove.
2086 (%configure_dist_common): Replace with...
2087 ($configure_dist_common): this.
2088 (&generate_makefile): Read the user file before using
2089 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2090 that no variable is defined before it is run.
2091 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2092 (&dist_cmp): Rename as...
2093 (&for_dist_common): this.
2094 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2096 Adjust to $configure_dist_common.
2097 * configure.am, texi-vers.am: Set DIST_COMMON.
2099 2001-04-09 Akim Demaille <akim@epita.fr>
2101 * automake.in (&handle_aclocal_m4): Rename as...
2102 (&scan_aclocal_m4): this.
2103 Return the list of aclocal.m4 dependencies.
2104 (&handle_configure): Invoke it, and use it when loading...
2105 * configure.am: Template the rules to recreate aclocal.m4.
2107 2001-04-09 Akim Demaille <akim@epita.fr>
2109 * automake.in (&get_object_extension): Use ansi2knr.am.
2110 * clean-kr.am, kr-extra.am: Remove, merged into...
2111 * ansi2knr.am: this new file.
2113 2001-04-09 Akim Demaille <akim@epita.fr>
2115 * automake.in (&transform): Fix an incredible bug which was
2116 breaking the if/endif system.
2117 ($ELSE_PATTERN): Admit an optional argument.
2119 2001-04-09 Akim Demaille <akim@epita.fr>
2121 * comp-vars.am: Remove, merged into...
2123 * automake.in (&get_object_extension): Adjust.
2125 2001-04-09 Akim Demaille <akim@epita.fr>
2127 * remake.am: Merge into...
2128 * configure.am: ... here.
2129 * automake.in (&handle_configure): Adjust.
2131 2001-04-09 Akim Demaille <akim@epita.fr>
2133 * automake.in (&output_lex_build_rule): Output this...
2136 2001-04-09 Akim Demaille <akim@epita.fr>
2138 * automake.in (&condition_negate): New.
2139 (&variable_conditions_permutations): Use it.
2140 (&read_am_file, &file_contents): Use it on `else' clauses to
2142 (&output_yacc_build_rule): Output this...
2143 * yacc.am: New file.
2145 2001-04-09 Akim Demaille <akim@epita.fr>
2147 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2148 (&handle_dist): Don't.
2149 (&handle_clean): Don't handle config.status here, let...
2150 * clean.am: ... do it.
2151 * distdir.am: Adjust.
2153 2001-04-09 Akim Demaille <akim@epita.fr>
2155 * automake.in: Use strict vars and subs.
2156 Declare `%require_file_found'.
2157 (&handle_source_transform, &make_paragraphs): Declare my variables.
2159 2001-04-09 Akim Demaille <akim@epita.fr>
2161 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2162 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2163 * java.am (_am_installdirs): Be sure to set it.
2165 2001-04-09 Akim Demaille <akim@epita.fr>
2167 * automake.in (&make_condition): Return '#' when FALSE.
2168 (&conditional_string): Return FALSE, not '#' in the corresponding
2170 (&file_contents_internal): Adjust.
2171 (&check_variable_defined_unconditional): Dump the guilty variable.
2173 2001-04-09 Akim Demaille <akim@epita.fr>
2175 * distdir.am: Use and abuse of if/endif.
2176 * scripts.am: Using if/endif with variables is fine.
2178 2001-04-09 Akim Demaille <akim@epita.fr>
2180 * automake.in (&make_paragraphs): Extract from &file_contents.
2181 Make it more robust than the previous RE based scheme.
2182 (&file_contents): Use it.
2184 2001-04-09 Akim Demaille <akim@epita.fr>
2186 * automake.in (&make_paragraphs): Extract from &file_contents.
2187 Make it more robust than the previous RE based scheme.
2188 (&file_contents): Use it.
2190 2001-04-09 Akim Demaille <akim@epita.fr>
2192 * tests/yacc2.test: Don't define several times a variable, as
2195 2001-04-09 Akim Demaille <akim@epita.fr>
2197 * automake.in (&handle_source_transform): Fix pr72: don't define
2198 $linker if there are no @files.
2200 2001-04-09 Akim Demaille <akim@epita.fr>
2202 Avoid reading twice header-vars.am as now macro_define
2205 * automake.in (&define_standard_variables): Don't output the
2207 (&read_main_am_file): Output first user variables, then Automake
2209 Don't call twice &define_standard_variables.
2210 Save variable comments in $am_vars.
2211 (&variable_output): New.
2212 (&file_contents_internal): New.
2213 Save variable comments in $am_vars.
2214 (&file_contents): Use it.
2216 2001-04-09 Akim Demaille <akim@epita.fr>
2218 * automake.in (¯o_define): The user is allowed to override
2219 a value if it was set by Automake, or if it was found in AC_SUBST.
2221 2001-04-09 Akim Demaille <akim@epita.fr>
2223 * automake.in (&handle_source_transform): Better locality of the
2225 Use `next' to skip nonexistent variables.
2227 2001-04-09 Akim Demaille <akim@epita.fr>
2229 * automake.in (&variable_dump): If a variable is undefined, say
2231 (&check_ambiguous_conditional): Give finer error messages.
2232 (¯o_define): Check that a `+=' variable is not set with `='.
2233 Check for ambiguous definitions each time you _set_ (even with `+=')
2235 (&read_main_am_file): Perform a deep copy of %conditional.
2237 2001-04-09 Akim Demaille <akim@epita.fr>
2239 * automake.in (&variable_defined): Some callers, e.g.,
2240 &am_primary_prefixes, really want to know if the variable is
2241 defined for any condition, not `TRUE' by default.
2242 (&am_primary_prefixes): Give a more precise error message.
2244 2001-04-09 Akim Demaille <akim@epita.fr>
2246 (&variable_conditions): Don't include `FALSE' in the result.
2248 2001-04-09 Akim Demaille <akim@epita.fr>
2250 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2251 (&variable_conditions): Don't include `FALSE' in the result.
2253 2001-04-09 Akim Demaille <akim@epita.fr>
2255 * tests/defs, tests/depend3.test: Remove useless code.
2257 2001-04-09 Akim Demaille <akim@epita.fr>
2259 * automake.in (&handle_source_transform): Use
2260 &variable_conditions, don't read $conditional{$var}.
2261 (&variable_conditions_sub): When the call is the top level call,
2262 generate all the permutations of the conditions.
2264 2001-04-09 Akim Demaille <akim@epita.fr>
2266 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2267 that it does not get noticed twice by automake, which now
2268 complains for multiple definitions.
2269 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2270 because we defined INSTALL.
2272 2001-04-09 Akim Demaille <akim@epita.fr>
2274 * automake.in (&generate_makefile) Use macro_define to define
2275 SOURCES and OBJECTS.
2276 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2277 this would make perl create $condition{VAR}, which we don't want.
2279 2001-04-09 Akim Demaille <akim@epita.fr>
2281 * automake.in (&variable_defined, &define_pretty_variable):
2282 Simplify code which used to handle the cases where not all
2283 variables were in %conditional.
2284 (&define_variable): Use &define_pretty_variable.
2285 (&variable_conditions_sub, &variable_value_as_list_worker)
2286 (&variable_value_as_list, &rule_define): Simplify syntax.
2287 (&read_main_am_file): Dump the guilty predefined variables.
2289 2001-04-09 Akim Demaille <akim@epita.fr>
2291 * automake.in (&variable_conditions_sub)
2292 (&variable_value_as_list_worker): Remove dead code which used to
2293 handle the cases where not all variables were in %conditional.
2295 2001-04-09 Akim Demaille <akim@epita.fr>
2297 * automake.in (&handle_source_transform, &read_main_am_file):
2298 Simplify loops which were split in two parts, conditional vs
2299 unconditional variables.
2301 2001-04-09 Akim Demaille <akim@epita.fr>
2303 Handle unconditional values of variables as conditioned by
2306 * automake.in (%contents): Remove.
2307 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2308 (&read_am_file, &variable_defined, &variable_conditions_sub)
2309 (&variable_value, &variable_value_as_list_worker)
2310 (&variable_value_as_list, &define_pretty_variable)
2311 (&read_main_am_file): Use
2312 $conditional, not %contents.
2313 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2314 (&variable_conditionally_defined): New.
2315 (&handle_dist): Use it.
2316 (&check_ambiguous_conditional): When multiply defined, specify
2317 under which condition.
2318 (¯o_define): Use it.
2319 (&variable_delete): New.
2320 (&read_am_file): Use it.
2321 (&am_install_var): Simplify, as all the variables are in
2324 2001-04-07 Tom Tromey <tromey@redhat.com>
2326 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2328 * tests/man.test: New file.
2330 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2332 * depcomp (gcc3): Invert test condition.
2334 2001-04-07 Tom Tromey <tromey@redhat.com>
2336 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2337 statement. Report from Larry Jones.
2339 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2341 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2343 2001-04-01 Tom Tromey <tromey@redhat.com>
2345 * java.am (.PHONY clean-am): Removed trailing ":".
2346 From Per Bothner. Fixes PR automake/139.
2348 2001-03-28 Akim Demaille <akim@epita.fr>
2350 * program.am: Fix a stupid typo: now *all* (not none) the programs
2352 Reported by Robert Boehne.
2354 2001-03-23 Akim Demaille <akim@epita.fr>
2356 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2359 2001-03-23 Akim Demaille <akim@epita.fr>
2361 * automake.in (&variable_conditionally_defined): Rename as...
2362 (&check_variable_unconditionally_defined): this.
2363 (&variable_dump): Fix the output.
2364 (&variable_defined, ¯o_define): Since conditions are
2365 canonicalized, don't use a loop to look for a condition: read the
2367 (¯o_define, &rule_define, &read_am_file, &file_contents):
2368 Rename $cond_string as $cond.
2369 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2370 discovered via AC_SUBST, they now trigger a `defined twice' error.
2372 2001-03-23 Akim Demaille <akim@epita.fr>
2374 * automake.in (&handle_footer, &handle_installdirs)
2375 (&read_main_am_file): Don't read %contents directly, use
2378 2001-03-23 Akim Demaille <akim@epita.fr>
2380 * automake.in (&read_am_file): Define the variables in a single
2382 Factor the $saw_bk code.
2384 2001-03-23 Akim Demaille <akim@epita.fr>
2386 * automake.in (&read_am_file): Keep $cond_string up to date.
2388 2001-03-23 Akim Demaille <akim@epita.fr>
2390 * automake.in (&define_variable): Use ¯o_define.
2392 2001-03-23 Akim Demaille <akim@epita.fr>
2394 * automake.in (¯o_define): Don't lose the location if we
2395 redefine a variable.
2396 Don't push all the variables in @var_list, let...
2397 (&read_am_file, &file_contents): ... do it.
2398 (&define_pretty_variable): Use macro_define.
2399 (&am_install_var): Delete the value of variables being redefined
2400 to pacify ¯o_define which checks that variables are not
2403 2001-03-23 Akim Demaille <akim@epita.fr>
2405 * automake.in (&conditional_dump): Rename as...
2406 (&variables_dump): this. Use...
2407 (&variable_dump): this new sub.
2409 2001-03-23 Akim Demaille <akim@epita.fr>
2411 * automake.in (&file_contents): Maintain $cond_string sync with
2413 Output rules only if not under `FALSE'.
2414 Define variables under $cond_string.
2415 * scripts.am: For the time being if/endif does not work properly
2418 2001-03-23 Akim Demaille <akim@epita.fr>
2420 * automake.in (IF_PATTERN): Unobfuscate the parens.
2421 (ENDIF_PATTERN): Allow a condition to be specified.
2422 (&file_contents): Use a @cond_stack.
2423 (&transform): At least for an easy transition, also transform
2424 %?FOO% and %!FOO%, as suggested by Lars.
2425 * scripts.am: First test bed for static if/endif use.
2427 2001-03-23 Akim Demaille <akim@epita.fr>
2429 * automake.in (&file_contents): Use rule_define.
2431 2001-03-23 Akim Demaille <akim@epita.fr>
2433 * automake.in (¯o_define): Don't rely on $1.
2434 Initialize the variable.
2435 Set its Automakism only if not defined or if given to the user.
2436 When concatenating values, insert a separator only if the value
2438 (&read_am_file): When dumping the @var_list, skip Automake
2440 (&file_contents): Use macro_define.
2442 2001-03-23 Akim Demaille <akim@epita.fr>
2444 * automake.in (&rule_define): Extract from...
2445 (&read_am_file): here.
2447 2001-03-23 Akim Demaille <akim@epita.fr>
2449 * automake.in (¯o_define, &read_am_file): More work for the
2450 former from the latter. Reorganize the latter.
2452 2001-03-23 Akim Demaille <akim@epita.fr>
2454 * automake.in (¯o_define): Extract from...
2455 (&read_am_file): here.
2457 2001-03-23 Akim Demaille <akim@epita.fr>
2459 * automake.in (%am_var_defs): Replace with...
2461 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2462 (&file_contents, am_primary_&prefixes): Adjust.
2463 (&variable_defined, &define_variable): The actual semantics is
2465 (&read_main_am_file): Assert the var is user defined when
2466 outputting @var_list.
2468 2001-03-23 Akim Demaille <akim@epita.fr>
2470 * automake.in (read_am_file): TRUE and FALSE are predefined
2472 (&by_condition): Adjust.
2473 (&conditional_string): Recognize `TRUE' and `FALSE'.
2474 (&make_condition): Use it.
2475 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2476 * automake.texi (Conditionals): Adjust.
2477 * tests/cond9.test: s/FALSE/WRONG/.
2479 2001-03-12 Pavel Roskin <proski@gnu.org>
2481 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2484 2001-03-12 Akim Demaille <akim@epita.fr>
2486 * automake.in (&variable_conditions_permutations): Separate the
2488 * tests/cond3.test: Improve the sed expression.
2490 2001-03-09 Pavel Roskin <proski@gnu.org>
2492 * Makefile.am (maintainer-check): Scan all *.am files and tests
2493 for invocations of `rm' without `-f'.
2494 * tests/mclean.test: Adjusted to prevent triggering the above
2497 2001-03-09 Tom Tromey <tromey@redhat.com>
2499 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2500 maintainer-check failure.
2502 2001-03-09 Akim Demaille <akim@epita.fr>
2504 * tests/cond3.test: Strengthen.
2506 2001-03-09 Akim Demaille <akim@epita.fr>
2508 * automake.in (&conditional_string): Produce a unique string
2509 characterizing a condition stack.
2510 (&conditional_same): Remove, comparing two strings is now enough.
2511 (&variable_defined): Adjust.
2512 (&read_am_file): Use conditional_string.
2514 2001-03-08 Akim Demaille <akim@epita.fr>
2516 * automake.in: Use -w.
2517 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2518 (&parse_arguments): Support --Werror and --Wno-error as a
2519 temporary hack until --warning/-W is properly implemented.
2520 (&handle_single_transform_list): Prototype.
2521 Be sure to define $directory.
2522 Use `exists' instead of testing the value of a maybe undefined
2524 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2525 (&handle_factored_dependencies): Use defined values.
2526 (&scan_one_autoconf_file): Save $_.
2527 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2528 Run automake with --Wno-error.
2530 2001-03-07 Akim Demaille <akim@epita.fr>
2532 * automake.in (&handle_all): Use an array instead of a scalar for
2534 Get rid of all-redirect: let `all' be that target.
2536 2001-03-07 Akim Demaille <akim@epita.fr>
2538 * automake.in (&handle_merge_targets): Ventilate its non `all'
2539 related content into...
2540 (&generate_makefile): here.
2541 (&handle_merge_targets): Rename as...
2542 (&handle_all): this.
2543 Remove a useless `if': `@all' is obviously not empty, since it
2544 contains at least the `basename ($makefile)' which has just been
2547 2001-03-07 Akim Demaille <akim@epita.fr>
2549 * automake.in, aclocal.in: Backquote is inert in double quotes.
2551 2001-03-06 Akim Demaille <akim@epita.fr>
2553 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2556 2001-03-06 Pavel Roskin <proski@gnu.org>
2558 * java.am: Use `rm -f' instead of `rm'.
2560 2001-03-06 Akim Demaille <akim@epita.fr>
2562 * automake.in (&push_dist_common): Simplify.
2564 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2566 * ltlib.am: Replaced spaces with tab.
2568 2001-03-06 Pavel Roskin <proski@gnu.org>
2570 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2573 2001-03-05 Pavel Roskin <proski@gnu.org>
2575 * header.am, scripts.am: Use ?INSTALL? in the install and
2578 2001-03-05 Pavel Roskin <proski@gnu.org>
2580 * tests/copy.test: Never use `rm' without `-f' - it may ask
2581 questions, notably for read-only files during `make distcheck'.
2582 * tests/insh.test: Likewise.
2583 * tests/installsh.test: Likewise.
2584 * tests/symlink.test: Likewise.
2585 * tests/symlink2.test: Likewise.
2586 * tests/symlink3.test: Likewise.
2588 2001-03-05 Pavel Roskin <proski@gnu.org>
2590 * noinstdir.test: New test.
2591 * tests/Makefile.am (TESTS): Add noinstdir.test.
2592 (XFAIL_TESTS): Likewise.
2594 2001-03-05 Akim Demaille <akim@epita.fr>
2596 * automake.in (&handle_options): Change the RE so that the third
2597 part of the versions always exist.
2598 (&file_contents): Don't pass uninitialized values to &transform.
2600 2001-03-05 Akim Demaille <akim@epita.fr>
2602 * automake.in (&file_contents): Require a hash as second argument.
2605 2001-03-05 Akim Demaille <akim@epita.fr>
2607 Always use hashes with &file_contents.
2609 * automake.in (&handle_texinfo): texibuild.am does not need
2611 texinfos.am wants only TEXICLEANS.
2612 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2614 * texinfos.am: Adjust.
2616 2001-03-05 Akim Demaille <akim@epita.fr>
2618 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2619 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2620 (&am_install_var): Forget about `-clean'.
2621 Transform ?INSTALL?.
2622 Always output the *.am file.
2623 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2624 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2625 Remove, merged into the corresponding *.am file.
2626 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2629 2001-03-05 Pavel Roskin <proski@gnu.org>
2631 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2633 2001-03-05 Akim Demaille <akim@epita.fr>
2635 If OBJEXT and EXEEXT are not set, provide a default value, and use
2636 them unconditionally.
2638 * automake.in (&generate_makefile): Provide default values for
2640 (&get_object_extension, &finish_languages)
2641 (&handle_single_transform_list, &handle_programs, &add_depend2)
2642 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2643 them, they are defined.
2644 * compile.am, depend2.am, program.am, progs.am: Likewise.
2645 * remake-hdr.am: Fix a typo.
2646 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2647 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2648 * tests/suffix2.test: Adjust.
2650 2001-03-05 Akim Demaille <akim@epita.fr>
2652 * automake.in (&file_contents): Map MAINTAINER-MODE to
2653 @MAINTAINER_MODE_TRUE@ or nothing.
2654 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2657 2001-03-05 Akim Demaille <akim@epita.fr>
2659 * automake.in (&do_one_merge_target): Remove, was only called from...
2660 (&handle_merge_targets): here for `all'.
2663 2001-03-05 Akim Demaille <akim@epita.fr>
2665 Make the installation/uninstallation of Info pages follow the
2666 regular am/recursive scheme.
2668 * automake.in (%required_targets, %dependencies): Add
2670 (%dependencies): Add install-info, install-info-am, and
2672 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2673 reversed BTW. Does anybody use the option `no-installinfo'?
2674 (&handle_merge_targets): Let the handling of info related targets
2676 (&handle_factored_dependencies): this.
2677 * subdirs.am: Use ?INSTALL-INFO?.
2678 * texinfos.am: Define the install-info, uninstall-info and
2679 uninstall-info-am targets.
2681 2001-03-05 Akim Demaille <akim@epita.fr>
2683 * automake.in (%required_targets, %dependencies): Add dvi, info,
2685 (@info, @dvi): Remove.
2686 (&handle_texinfo, &handle_merge_targets): Adjust.
2687 (&handle_factored_dependencies): Required targets are phony.
2688 * texinfos.am: Build info, dvi, and the corresponding -am or
2691 2001-03-05 Akim Demaille <akim@epita.fr>
2693 * automake.in (&am_install_var): Remove $cygxform, unused.
2695 2001-03-05 Akim Demaille <akim@epita.fr>
2697 * automake.in (&file_contents): Transform LIBTOOL.
2698 (&am_install_var): Remove $ltxform.
2699 * ltlib.am, progs.am: Adjust.
2701 2001-03-05 Akim Demaille <akim@epita.fr>
2703 * automake.in: Require AC_PROG_INSTALL in...
2704 (&scan_autoconf_files): here.
2706 2001-03-05 Akim Demaille <akim@epita.fr>
2708 * configure.am: New file.
2709 * automake.in (&file_contents): Transform CONFIGURE-AC.
2710 (&handle_texinfo, &handle_configure): Don't transform
2712 (&handle_configure): Use `configure.am'.
2713 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2714 MAINTAINER-MODE and CONFIGURE-AC.
2716 2001-03-05 Akim Demaille <akim@epita.fr>
2718 * automake.in (&pretty_print_internal): Don't output useless
2720 (define_pretty_variable): Don't issue the space after the `=' sign
2721 to avoid trailing spaces in Makefile.ins.
2723 2001-03-05 Akim Demaille <akim@epita.fr>
2725 * automake.in (&generate_makefile): Invoke &initialize_per_input
2726 *before* setting $am_file_name and $in_file_name.
2728 2001-03-05 Akim Demaille <akim@epita.fr>
2730 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2731 Globals, initialized...
2732 (&initialize_per_input): here.
2734 2001-03-05 Akim Demaille <akim@epita.fr>
2736 * automake.in ($am_relative_dir): Global.
2737 (&initialize_per_input): Init it.
2738 (%make_list, @make_input_list): My them from
2739 (&scan_autoconf_files): here.
2740 (&require_file_internal): Mying changes.
2742 2001-03-05 Akim Demaille <akim@epita.fr>
2744 * automake.in (%am_vars, @var_list, %def_type): Globals.
2745 (&initialize_per_input): Initialize them.
2746 (&read_main_am_file): Don't local them.
2747 (&get_object_extension): $objext is private.
2748 (&handle_single_transform_list): $lang is.
2749 (&handle_ltlibraries): $libname_rx is.
2750 (&scan_autoconf_config_files): How about actually paying attention
2751 to your arguments, instead of working on $_? (this is no Perl
2752 variable, it's a Perl variable followed by a question mark).
2753 (&file_contents): $contents and $separator are private.
2754 (&am_install_var): Declare @condvals, not $condvals.
2757 2001-03-05 Akim Demaille <akim@epita.fr>
2759 * automake.in (&initialize_per_input): Move to the top.
2760 Precede with the `my' list of its variables.
2762 2001-03-05 Akim Demaille <akim@epita.fr>
2764 * automake.in ($am_file): Use vars.
2765 ($am_file_name, $in_file_name): Private to &generate_makefile.
2767 2001-03-05 Akim Demaille <akim@epita.fr>
2769 * automake.in: Preparation for `use strict': Move the
2770 initialization of the constants to the top, from...
2771 (&initialize_global_constants): here.
2773 2001-03-05 Akim Demaille <akim@epita.fr>
2775 * automake.in (&handle_single_transform_list, &add_depend2): Let
2776 $lang_specific_files{$lang} be a list instead of a string.
2778 2001-03-05 Akim Demaille <akim@epita.fr>
2780 Let's make it run ten times faster...
2782 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2784 (&file_contents): Let `$command' remove the Automake commands, and
2785 normalize the series of `\n'.
2786 Slurp the file and apply $command in a single step.
2787 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2788 is already normalized to be handled by &transform.
2790 2001-03-05 Tom Tromey <tromey@redhat.com>
2792 * automake.in (register_language): Add entry for `-pure'.
2793 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2794 (finish_languages): Use `-pure' field of language map.
2796 2001-03-03 Tom Tromey <tromey@redhat.com>
2798 * tests/yaccvpath.test: No need to remove dummy files.
2799 * tests/subobj3.test: No need to remove dummy files.
2800 * tests/pr9.test: No need to remove dummy files.
2801 * tests/pr87.test: No need to remove dummy files.
2802 * tests/pr19.test: No need to remove dummy files.
2803 * tests/install2.test: No need to remove dummy files.
2804 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2807 2001-02-27 Pavel Roskin <proski@gnu.org>
2809 * tests/yaccvpath.test: Add a delay to make parse.c really out
2810 of date. Detect the problem earlier, after `make distdir'. Drop
2811 dependency on flex. Always use the `-y' flag for bison. Comment
2813 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2815 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2817 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2819 2001-02-28 Akim Demaille <akim@epita.fr>
2821 * automake.in (&add_depend2): Transform `GENERIC'.
2822 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2823 addition was broken by the `@ -> %' patch.
2824 * depend2.am: Adjust to use ?GENERIC?.
2826 2001-02-28 Akim Demaille <akim@epita.fr>
2828 * Makefile.am (maintainer-check): `undef $/' is OK.
2830 2001-02-28 Akim Demaille <akim@epita.fr>
2832 * automake.in (&handle_configure): Fortunately, $top_reldir,
2833 the definition of which was highly suspicious, was unused.
2835 2001-02-27 Akim Demaille <akim@epita.fr>
2837 * automake.in (%exec_dir_p): Move to the top so that it is visible
2840 2001-02-27 Pavel Roskin <proski@gnu.org>
2842 * tests/yaccvpath.test: Prevent automake from looking into ..
2843 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2845 2001-02-27 Akim Demaille <akim@epita.fr>
2847 * automake.in (%exec_dir_p): Pulled out from...
2848 (&am_primary_prefixes): here.
2850 2001-02-27 Akim Demaille <akim@epita.fr>
2852 * automake.in (&usage): Display $0, not $me.
2854 2001-02-27 Akim Demaille <akim@epita.fr>
2856 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2857 * automake.in (&handle_clean): Don't escape what's given to
2860 2001-02-27 Akim Demaille <akim@epita.fr>
2862 Distinguish automake substitutions from config.status
2865 * automake.in (&add_depend2): Transform AMDEP.
2866 (&handle_clean): Transform MCFILES and MFILES.
2867 (&file_contents): Transform MAINTAINER_MODE.
2868 (&transform, &am_install_var): Use `%', not `@'.
2869 Adjust all the *.am files.
2870 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2871 * depend2.am: Display the double dependency on both ?AMDEP? and
2874 2001-02-27 Tom Tromey <tromey@redhat.com>
2876 * distdir.am (distcheck): Fixed new code.
2878 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2879 Only configure once.
2881 * distdir.am (distcheck): Print error message if distclean failed
2884 2001-02-27 Pavel Roskin <proski@gnu.org>
2886 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2888 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2890 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2891 * tests/yaccvpath.test: New file.
2893 2001-02-26 Akim Demaille <akim@epita.fr>
2895 * automake.in (&am_install_var): Recognize whether predefined
2896 directories are `data' or `exec'.
2897 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2899 * tests/instdata2.test: Update.
2901 2001-02-26 Akim Demaille <akim@epita.fr>
2903 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2904 necessarily in infodir.
2906 2001-02-26 Akim Demaille <akim@epita.fr>
2908 * automake.in ($am_file): Be `local', as my'd variables used in
2909 `foreach' loops are always private to the loop.
2911 2001-02-26 Pavel Roskin <proski@gnu.org>
2913 * Makefile.am: Add install.am.
2915 2001-02-26 Akim Demaille <akim@epita.fr>
2917 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2918 routines, otherwise the elements to compare are passed in @_
2919 instead of $a and $b.
2921 2001-02-26 Akim Demaille <akim@epita.fr>
2923 * automake.in (%required_targets): `installcheck-am' is needed.
2925 2001-02-26 Akim Demaille <akim@epita.fr>
2927 * automake.in (&transform_cond): Merge into...
2931 2001-02-26 Akim Demaille <akim@epita.fr>
2933 * automake.in (&handle_dist): Use &transform instead of dedicated
2935 But be sure to always do it.
2936 * distdir.am: Adjust.
2938 2001-02-26 Akim Demaille <akim@epita.fr>
2940 * automake.in: Use File::Basename.
2941 (&dirname, &basename): Remove.
2943 2001-02-26 Akim Demaille <akim@epita.fr>
2945 * automake.in ($me): New.
2947 (&usage): Display your full name.
2949 2001-02-26 Akim Demaille <akim@epita.fr>
2951 * automake.texi (Invoking Automake): Remove dead options.
2953 2001-02-26 Akim Demaille <akim@epita.fr>
2955 * automake.in (&scan_texinfo_file): Also compute the list of files
2957 Handle local errors.
2958 (&handle_texinfo): Use it.
2960 2001-02-26 Akim Demaille <akim@epita.fr>
2962 * automake.in: Don't pass arguments to...
2963 (&parse_arguments): Work on @ARGV.
2965 Add support for `-f'.
2969 2001-02-26 Akim Demaille <akim@epita.fr>
2971 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2972 handle installcheck and installcheck-am.
2973 * install.am: Do it.
2975 2001-02-26 Akim Demaille <akim@epita.fr>
2977 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2978 handle install and install-am.
2979 * install.am: Do it.
2981 2001-02-26 Akim Demaille <akim@epita.fr>
2983 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2984 work on targets handled by %dependencies.
2985 (&handle_factored_dependencies): Do it.
2986 * install.am: Install install-exec, install-data and uninstall's
2989 2001-02-26 Akim Demaille <akim@epita.fr>
2991 * automake.in (&handle_merge_targets): Move `install-strip' from
2993 * install.am: to here.
2995 2001-02-26 Akim Demaille <akim@epita.fr>
2997 * automake.in (@installdirs): Remove.
2998 (&file_contents): Be able to grow Automake macros with `+='.
2999 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3000 files define _am_installdirs.
3001 (&handle_installdirs): Remove the code, just output `install.am'.
3003 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3004 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3006 2001-02-26 Akim Demaille <akim@epita.fr>
3008 * tests/instdata2.test (libexec_DATA): Exercise more
3011 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3013 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3015 2001-02-25 Tom Tromey <tromey@redhat.com>
3017 * tests/instdata2.test: Added `sbin_DATA' check.
3019 * tests/Makefile.am (TESTS): Added subdircond.test.
3020 * tests/subdircond.test: New file.
3021 * automake.in (handle_gettext): Don't fail if SUBDIRS
3022 conditionally defined.
3024 * automake.in: Use IO::File.
3025 (generate_makefile): Use IO::File.
3026 (scan_texinfo_file): Likewise.
3027 (handle_aclocal_m4): Likewise.
3028 (scan_autoconf_traces): Likewise.
3029 (scan_one_autoconf_file): Likewise.
3030 (read_am_file): Likewise.
3031 (file_contents): Likewise.
3034 2001-02-25 Akim Demaille <akim@epita.fr>
3036 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3038 2001-02-25 Akim Demaille <akim@epita.fr>
3040 * automake.in (&transform): Also call &transform_cond on your
3042 (&handle_dist): Adjust.
3043 (&handle_factored_dependencies): Uniq dependencies.
3045 2001-02-25 Akim Demaille <akim@epita.fr>
3047 * automake.in (&handle_gettext): Simplify redundant `if'.
3048 Used &variable_value, don't read %contents directly.
3050 2001-02-25 Akim Demaille <akim@epita.fr>
3052 * automake.in ($install_recursive): Remove, replaced with calls to
3053 `&variable_defined ('SUBDIRS')'.
3054 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3055 (&file_contents): now does.
3057 2001-02-25 Akim Demaille <akim@epita.fr>
3059 * automake.in (&handle_man_pages): $found is dead.
3061 2001-02-25 Akim Demaille <akim@epita.fr>
3063 Internally just store the conditionals as space separated lists of
3064 CONDITIONS (instead of @CONDITIONS@).
3066 * automake.in (&conditional_true_when, &variable_conditions_sub):
3067 Split conditions at spaces.
3068 (&handle_dependencies, &variable_conditions_permutations): Don't
3069 put @ around conditions.
3070 (&variable_conditions_cmp): There are no @ to strip.
3071 (&make_condition): New.
3072 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3074 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3075 Join @conditional_stack with spaces.
3076 (&read_main_am_file): Adjust the output of variables.
3077 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3078 true' and no longer `@TEST@TRUE = @TEST@true'.
3079 (&variable_conditions_cmp): Rename as...
3080 (&by_condition): this.
3081 Sort in a human pleasant order.
3082 Use it everywhere a human can see conditions.
3083 (&variable_conditions_reduce): Don't sort conditions, that's
3085 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3087 2001-02-25 Akim Demaille <akim@epita.fr>
3089 * automake.in: `my' the globals.
3091 2001-02-25 Akim Demaille <akim@epita.fr>
3093 * automake.in (&initialize_per_input): %targets_conditionals is
3095 (&read_am_file): When slurping a rule, set the target related
3096 variable, and no variable related variable.
3097 (&file_contents): Likewise.
3098 * tests/vartar.test, tests/ctarget1.test: New.
3100 2001-02-25 Akim Demaille <akim@epita.fr>
3102 * automake.in (&variable_defined, &variable_value_as_list_worker):
3103 If $VAR is effectively a variable, don't die if it's also a
3105 Plus some formatting changes.
3107 2001-02-25 Akim Demaille <akim@epita.fr>
3109 * automake.in: Mying changes.
3110 * Makefile.am (maintainer-check): Check the stability of the
3111 number of uses of `local'.
3113 2001-02-25 Akim Demaille <akim@epita.fr>
3115 * automake.in: Mying changes.
3117 2001-02-25 Akim Demaille <akim@epita.fr>
3119 * automake.in: Mying changes.
3121 2001-02-25 Akim Demaille <akim@epita.fr>
3123 * automake.in: Mying changes.
3124 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3125 transform CONFIG into $config, not $xform.
3127 2001-02-25 Akim Demaille <akim@epita.fr>
3129 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3130 Don't deal with install-data-am, install-exec-am and unstall-am.
3131 (&initialize_per_input): Add them to %dependencies.
3132 Remove %exec_dir_p since the *.am files are now in charge of it.
3133 Remove @uninstall, @install_data, @install_exec.
3134 (&handle_merge_targets): Adjust to these removals.
3135 (&file_contents): Also &transform_cond for --no-installman and
3137 (&do_one_merge_target): Add some magic to install hooks on
3138 %dependencies' targets.
3139 (%required_targets): New.
3140 (&handle_factored_dependencies): Output required targets.
3141 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3142 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3143 * texinfos.am: Declare your dependencies on install-data-am,
3144 install-exec-am and uninstall-am.
3145 * tests/instdata2.test (incldata_HEADERS): New test.
3147 2001-02-24 Tom Tromey <tromey@redhat.com>
3149 * Makefile.am (amfiles): Added texibuild.am.
3150 * texibuild.am: New file.
3151 * tests/Makefile.am (TESTS): Added texinfo9.test.
3152 * tests/texinfo9.test: New file.
3153 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3154 error if suffix unrecognized. Removed extraneous newline.
3156 2001-02-23 Akim Demaille <akim@epita.fr>
3158 * automake.in (&am_install_var): Don't hook on the clean targets
3160 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3161 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3164 2001-02-23 Akim Demaille <akim@epita.fr>
3166 * automake.in: Promote local `my' over `local'.
3168 2001-02-23 Akim Demaille <akim@epita.fr>
3170 * automake.in: Formatting and mying changes.
3172 2001-02-23 Akim Demaille <akim@epita.fr>
3174 * automake.in: Formatting and mying changes.
3176 2001-02-23 Akim Demaille <akim@epita.fr>
3178 * automake.in (&handle_man_pages): Let install-man and
3179 uninstall-man be handled by the dependency tracker.
3180 (&initialize_per_input): Let %dependencies track them.
3181 * mans.am: Add the needed hooks with the proper dependencies.
3183 2001-02-22 Pavel Roskin <proski@gnu.org>
3185 * tests/target-cflags.test: Don't use subshell to configure in
3186 subdirectory. Typo fix - run `./foo', not `/foo'.
3188 2001-02-22 Akim Demaille <akim@epita.fr>
3190 * automake.in: Formatting and mying changes.
3192 2001-02-21 Tom Tromey <tromey@redhat.com>
3194 * automake.in (handle_dist): Introduce new variable to avoid extra
3195 keys in %dist_dirs. Fixes distdir.test.
3197 * automake.in (handle_texinfo): Only remove suffixes we can
3200 * tests/distdir.test: Check to make sure directory isn't made in
3203 * automake.in (handle_dist): Do nothing in Cygnus mode.
3205 2001-02-21 Pavel Roskin <proski@gnu.org>
3207 * header-vars.am: Remove tabs before variable definitions.
3209 2001-02-21 Akim Demaille <akim@epita.fr>
3211 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3214 2001-02-21 Akim Demaille <akim@epita.fr>
3216 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3217 numeric value as required by Perl 5.6.
3219 2001-02-21 Akim Demaille <akim@epita.fr>
3221 * dist-vars.am: Remove, merge into...
3223 * automake.in (dirname, basename, backname): Move to the top of
3224 the file so that prototypes are checked,
3225 Use them without `&'.
3226 (&handle_dist): Adjust.
3228 2001-02-21 Akim Demaille <akim@epita.fr>
3230 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3231 Use a uniform naming scheme.
3232 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3233 (&read_am_file): Fix conditional definition of backslash continued
3236 2001-02-21 Akim Demaille <akim@epita.fr>
3238 Change the handling of conditionals: instead of using an ad-hoc
3239 encoding to store a hash in a string, use hashes.
3241 * automake.in (&conditional_dump): New.
3242 (&check_ambiguous_conditional, &variable_defined)
3243 (&variable_conditions_sub, &variable_value_as_list_worker)
3244 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3245 handle `$conditional{$vars}' as a hash instead of a plain string.
3247 2001-02-21 Akim Demaille <akim@epita.fr>
3249 * automake.in (&conditional_true_when): Modernize, simplify.
3250 Warning: `$comp' is now private (my), while it used to be
3251 `inherited' from a `local' elsewhere in the code. AFAICT it was
3252 wrong, but some dirty side effect might show up.
3253 (&conditionals_true_when): New.
3254 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3256 2001-02-21 Akim Demaille <akim@epita.fr>
3258 * automake.in ($top_builddir): Remove, used in one place.
3259 (&define_standard_variables): Adjust.
3260 Move the definition of triplet variables into...
3261 * header-vars.am: here.
3263 2001-02-21 Akim Demaille <akim@epita.fr>
3265 * automake.in (&initialize_global_constants): Don't define $USAGE.
3266 (&usage): Handle the former content of $USAGE.
3267 Don't pretend autoconf cares about Makefile.in.
3268 Classify the options.
3269 (&handle_tests): Formatting and mying changes.
3271 2001-02-21 Akim Demaille <akim@epita.fr>
3273 * automake.in (&handle_tests_dejagnu): Move the definition of a
3274 default `site.exp' into...
3275 * dejagnu.am (site.exp): here.
3276 Use DOS compliant file names.
3278 2001-02-21 Akim Demaille <akim@epita.fr>
3280 * automake.in (&dist_cmp): New.
3281 (&handle_dist): Use it.
3282 Promote `my' over `local'.
3284 2001-02-21 Akim Demaille <akim@epita.fr>
3286 * dist.am: Remove, merge into...
3287 * distdir.am: here. Use the neat sed snippet for banners.
3288 BTW, distcheck is phony.
3289 * automake.in (&handle_dist_worker): Remove, merge into...
3290 (&handle_dist): this.
3291 (&file_contents): Strip leading new lines.
3292 Be sure to end comments with new lines.
3294 2001-02-21 Akim Demaille <akim@epita.fr>
3296 * distdir.am (GZIP_ENV): Define.
3297 * automake.in (&handle_dist): Don't.
3299 (&handle_dist_worker, &am_install_var): Use it.
3301 2001-02-21 Akim Demaille <akim@epita.fr>
3303 * distdir.am (distdir): Handle the DIST-TARGETS.
3304 * automake.in (&handle_dist_worker): Don't.
3306 2001-02-21 Akim Demaille <akim@epita.fr>
3308 * automake.in (&file_contents): Transform the global options (such
3310 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3312 2001-02-21 Akim Demaille <akim@epita.fr>
3314 * distdir.am (distdir): Be sure to have permissive rights on its
3316 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3318 And BTW, all these guys are phony.
3319 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3320 output distributions.
3321 (&handle_dist): As its name doesn't indicate, don't.
3322 (&initialize_global_constants): Don't define variables which
3323 content is now handled by distdir.am.
3324 But register `dist-all' as a factored target.
3325 (&handle_factored_dependencies): Don't output empty targets.
3327 2001-02-20 Tom Tromey <tromey@redhat.com>
3329 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3332 2001-02-18 Tom Tromey <tromey@redhat.com>
3334 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3335 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3336 (AM_PROG_STRIP): Commented out.
3338 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3340 * depcomp (gcc3): Protect against the compiler deleting
3341 the dependency output file.
3343 2001-02-17 Tom Tromey <tromey@redhat.com>
3345 * automake.in (handle_merge_targets): Use double quotes around
3346 setting of INSTALL_STRIP_PROGRAM.
3347 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3348 to absolute path at runtime.
3349 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3351 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3353 * m4/strip.m4: New file.
3354 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3355 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3356 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3357 * automake.in (handle_merge_targets): In the install-strip rule,
3358 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3359 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3360 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3361 don't use INSTALL_STRIP_FLAG any longer.
3363 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3365 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3368 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3370 * automake.in (unquote_m4_arg): New function.
3371 (scan_one_configure_file): Call unquote_m4_arg on
3372 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3375 2001-02-15 Tom Tromey <tromey@redhat.com>
3377 * config.guess, config.sub: New versions from FSF.
3379 * Makefile.am (WGET): New macro.
3380 (FETCHFILES): New macro.
3381 (fetch): New target.
3383 * tests/subobj3.test: Exit with status 77 if gcc not found.
3384 * tests/pr9.test: Exit with status 77 if gzip not found.
3385 * tests/pr87.test: Exit with status 77 if gcc not found.
3386 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3387 * tests/install2.test: Exit with status 77 if gzip not found.
3388 * tests/exsource.test: Exit with status 77 if GNU make not found.
3389 * tests/ansi3.test: Exit with status 77 if gcc not found.
3391 * tests/target-cflags.test: Require GNU make. Exit with status 77
3392 if gcc or make not found. Fixes PR automake/121.
3394 * configure.in: Require Perl 5.005.
3395 * automake.in: Require 5.005.
3397 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3398 Fixes PR automake/122.
3400 2001-02-14 Tom Tromey <tromey@redhat.com>
3402 * automake.in (add_depend2): Only emit a given object rule once.
3403 Fixes specflags6.test.
3405 2001-02-14 Richard Boulton <richard@tartarus.org>
3407 * tests/specflags6.test: New file.
3409 2001-02-14 Tom Tromey <tromey@redhat.com>
3411 * automake.texi (A Shared Library): Mention -module.
3413 2001-02-13 Tom Tromey <tromey@redhat.com>
3415 * automake.in (do_one_merge_target): Always register $name and
3418 * automake.in (do_one_merge_target): Register `all' as phony
3421 * configure.in: Updated to 1.4e for cvs.
3423 2001-02-12 Tom Tromey <tromey@redhat.com>
3425 * configure.in: Updated to 1.4d and released.
3427 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3428 names through autoconf.
3430 Fix for subdirbuiltsources.test:
3431 * automake.in (initialize_per_input): [all_target] Initialize to
3433 (handle_merge_targets): Use all-redirect target to handle built
3435 (do_one_merge_target): Don't generate all-redirect rule.
3437 2001-02-11 Peter Muir <iyhi@yahoo.com>
3439 * tests/subdirbuiltsources.test: New file.
3440 * tests/Makefile.am (TESTS): Added new file.
3442 2001-02-10 Tom Tromey <tromey@redhat.com>
3444 * tests/condlib.test: New file.
3445 * tests/Makefile.am (TESTS): Added new file.
3447 2001-02-10 Lars J. Aas <larsa@sim.no>
3449 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3450 (&canonicalize): New. Includes '@' in canonical range.
3451 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3452 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3454 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3456 * automake.in (handle_configure): Revert part of
3457 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3458 set CONFIG_COMMANDS explicitly.
3460 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3462 * depcomp (gcc3): Propagate exit code.
3464 2001-02-09 Lars J. Aas <larsa@sim.no>
3466 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3468 2001-02-09 Tom Tromey <tromey@redhat.com>
3470 Clean up maintainer-check warnings:
3471 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3473 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3475 2001-02-09 Akim Demaille <akim@epita.fr>
3477 * automake.in (&file_contents): Remove a dead branch.
3479 2001-02-09 Akim Demaille <akim@epita.fr>
3481 * automake.in (&transform): Use `my', not `local'.
3482 (&transform_cond): New.
3483 (&get_object_extension, &handle_texinfo, &handle_tags)
3484 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3485 (&handle_tests_dejagnu): Use it.
3486 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3487 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3489 2001-02-09 Akim Demaille <akim@epita.fr>
3491 * automake.in: Various formatting changes, and modernization of
3494 (&handle_configure, define_standard_variables): Use it.
3496 2001-02-08 Tom Tromey <tromey@redhat.com>
3498 * automake.in (file_contents): Only add $actions if any are
3499 found. Fixes new failure in pr87.test.
3501 2001-02-08 Pavel Roskin <proski@gnu.org>
3503 * tests/pr87.test: Check foo/Makfile.in after it is created.
3505 2001-02-08 Tom Tromey <tromey@redhat.com>
3507 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3508 Report from Lars J. Aas.
3510 2001-02-07 Lars J. Aas <larsa@sim.no>
3512 * lisp.am (install-@DIR@LISP): Removed extra space.
3513 * header.am (install-@DIR@HEADERS): Removed extra space.
3514 * data.am (install-@DIR@DATA): Removed extra space.
3516 2001-02-07 Tom Tromey <tromey@redhat.com>
3518 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3520 * automake.in (handle_dependencies): Use _am_include, not
3522 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3523 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3525 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3527 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3529 * automake.in (handle_configure): Handle case where output file is
3530 in subdir with no Makefile of its own. Fixes remake3.test,
3533 2001-02-06 Pavel Roskin <proski@gnu.org>
3535 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3537 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3538 * tests/exsource.test: Likewise.
3540 2001-02-06 Derek Price <derek.price@openavenue.com>
3542 * automake.in (handle_configure): Fix syntax error.
3544 2001-02-06 Akim Demaille <akim@epita.fr>
3546 * subdirs.am: This file is the exception: clean recursive targets
3547 are called by the clean targets, not the clean-am targets.
3548 Otherwise we have a circular dependency: clean -> clean-am ->
3549 clean-recursive -> clean.
3550 * automake.in (handle_clean): Bind `-local' targets to `-am'
3551 targets, not top targets.
3552 Don't declare -recursive dependencies of the clean targets:
3553 `subdirs.am' did it. Less hard coded knowledge, transfered
3557 2001-02-06 Akim Demaille <akim@epita.fr>
3559 Monstro unsplitable patch.
3561 The aim is to remove hard coded knowledge about clean targets from
3562 automake.in, leaving them in the *.am files.
3563 In addition to the mechanic needed to factor some dependencies, it
3564 appears some rules (most notably distclean and maintainer-clean)
3565 need factored actions. So first, be ready to catch factored
3568 * automake.in (&file_contents): For the time being, use an extended
3569 $RULE_PATTERN which is able to match any kind of rules, with or
3570 without dependency, with or without actions.
3571 Handle all the rules uniformly, storing in %actions the factored
3573 (&flatten, &target_cmp): New.
3574 (&handle_factored_dependencies): Output the %actions.
3575 No longer special case `clean'.
3576 Output the rules in alphabetical order, but keeping `.PHONY' last.
3578 Now we must not use &push_phony_cleaners, which is doing all sort
3579 of magic to push a bit of everything in all the clean targets.
3580 The biggest problem being that, making a Cartesian product, it
3581 requires many useless targets. The `*.am' file know better.
3582 But first, register the new factored rules.
3584 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3585 maintainer-clean, distclean and their `*-am' counterpart in
3587 Initialize %actions.
3588 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3589 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3590 (handle_emacs_lisp, handle_python): Don't play with
3591 &push_phony_cleaners nor &depend and `clean'.
3592 * texinfos.am, texi-vers.am, tags-clean.am:
3593 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3594 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3595 * clean-kr.am, clean-hdr.am: Do it.
3596 Whenever a target is empty, just remove it, it will no longer be
3599 There is still some magic about clean to hard code. But really,
3600 that's the end of &do_one_clean_target.
3602 * automake.in (&do_one_clean_target): Kaboom out.
3603 (&handle_clean): Rewrite the magic code.
3604 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3606 (&push_phony_cleaners): Kaboom too.
3608 2001-02-06 Akim Demaille <akim@epita.fr>
3610 * automake.in (do_one_clean_target): Don't hard code knowledge
3611 about libtool, and maintainer-clean.
3612 * clean.am, libtool.am: Handle these.
3614 2001-02-05 Akim Demaille <akim@epita.fr>
3616 * automake.in (handle_texinfo): No longer hard code the clean
3618 (texinfos.am): Include them.
3620 2001-02-05 Akim Demaille <akim@epita.fr>
3622 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3623 (maintainer-check): Don't be silent when you find a problem, and
3624 actually, even specify the locations.
3625 Also check that @_ is assigned to arrays.
3627 2001-02-05 Akim Demaille <akim@epita.fr>
3629 * m4/regex.m4: Use AC_LIBSOURCES.
3630 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3633 2001-02-04 Tom Tromey <tromey@redhat.com>
3635 * m4/Makefile.am (m4data_DATA): Added make.m4.
3636 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3638 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3639 Copy depcomp to subdir.
3640 * m4/make.m4: New file.
3642 2001-02-04 Pavel Roskin <proski@gnu.org>
3644 * automake.in (handle_dist_worker): Remove a line that is now
3647 2001-02-04 Kevin Ryde <user42@zip.com.au>
3649 * automake.in (handle_configure): Call config.status with empty
3650 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3652 2001-02-04 Tom Tromey <tromey@redhat.com>
3654 * depcomp (ddashmd): Removed case.
3655 (sgi): Handle failure exit correctly
3656 (aix): Likewise. Also, add dummy `.h' targets.
3658 2001-02-04 Akim Demaille <akim@epita.fr>
3660 * distdir.am (distdir): New file, extracted from...
3661 * automake.in (handle_dist_worker): here.
3664 2001-02-04 Akim Demaille <akim@epita.fr>
3666 * automake.in (@clean): Remove, replaced by...
3667 ($dependencies{'clean'}): this.
3668 Use `&depend' instead of push'ing into @clean.
3669 (handle_factored_dependencies): For the time being, skip 'clean'.
3670 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3671 always `clean', and `@clean'.
3673 2001-02-04 Akim Demaille <akim@epita.fr>
3675 * automake.in (%dependencies): Don't be initialize globally for
3676 all the files, but in...
3677 (&initialize_per_input): here.
3679 (@phony): Replace all occurrences with the corresponding &depend
3682 2001-02-03 Tom Tromey <tromey@redhat.com>
3684 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3685 * header-vars.am (INSTALL_HEADER): New macro.
3687 * automake.texi (Rebuilding): New node.