1 2001-09-27 Akim Demaille <akim@epita.fr>
3 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
5 2001-09-27 Akim Demaille <akim@epita.fr>
7 * lib/am/distdir.am (dist): Rename as...
9 (dist): Additional name for dist-all.
10 * automake.texi (Options, Dist): Adjust.
12 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
14 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
15 * automake.in (obsolete_macros): Likewise.
16 (seen_objext): Remove (unused).
17 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
18 * lib/am/header-vars.am (EXEEXT, OBJEXT,
19 PATH_SEPARATOR): New variables.
20 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
22 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
24 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
25 neutralize CDPATH for us.
26 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
27 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
30 2001-09-22 Akim Demaille <akim@epita.fr>
32 * configure.in, NEWS: Bump to 1.5a.
35 2001-09-22 Paul Eggert <eggert@twinsun.com>
37 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
38 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
39 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
40 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
41 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
42 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
43 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
44 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
45 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
46 m4/termios.m4, m4/winsz.m4: Add copyright notice.
48 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
49 which has a copyright notice.
51 * m4/strtod.m4: Correct the dates on the copyright notice.
53 2001-09-17 Akim Demaille <akim@epita.fr>
55 * lib/missing (autom4te): New.
56 (aclocal, autoconf, automake, autoheader, help2man): Propagate
59 2001-08-27 Tom Tromey <tromey@redhat.com>
61 * automake.texi (A Shared Library): Clarify installation
63 (Install): Typo. From Adrian Bunk.
65 2001-08-27 Tom Tromey <tromey@redhat.com>
67 * automake.texi (Macros): Typo fix.
68 From Christian Cornelssen
70 2001-08-27 Tom Tromey <tromey@redhat.com>
72 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
73 tests/cond4.test, tests/cond16.test, tests/cond18.test,
74 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
75 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
76 tests/substref.test: Clear CFLAGS.
78 * automake.texi (Yacc and Lex): Mention lex, not yacc.
81 2001-08-27 Tom Tromey <tromey@redhat.com>
83 * tests/yacc7.test: Use test -f, not test -e.
85 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
87 * automake.texi (etags): Typo fix.
89 2001-08-27 Guido Draheim <guidod@gmx.de>
91 * automake.in : restrict ansi2knr option to be a filepath
93 2001-08-23 Richard Boulton <richard@tartarus.org>
95 * tests/yacc7.test: Actually add this file: was accidentally omitted.
97 2001-08-22 Tom Tromey <tromey@redhat.com>
99 * automake.texi (Conditionals): Mention that conditionals must
100 always be invoked. For PR automake/220.
102 2001-08-22 Richard Boulton <richard@tartarus.org>
103 Tom Tromey <tromey@redhat.com>
105 * automake.in (lang_yacc_target_hook): Make header file depend on
106 .c file, not .y file.
107 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
108 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
109 * tests/yacc7.test: New file.
110 * tests/Makefile.am (TESTS): Added yacc7.test.
112 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
114 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
116 2001-08-18 Tom Tromey <tromey@redhat.com>
118 * automake.texi (Dist): Mention dist-all.
120 2001-08-18 Tom Tromey <tromey@redhat.com>
122 * tests/cond3.test: Use portable sed expression.
123 From Richard Boulton.
125 2001-08-13 Richard Boulton <richard@tartarus.org>
127 * automake.in (handle_source_transform): Call
128 define_objects_from_sources() instead of calling
129 variable_value_as_list(), handle_single_transform_list() and
130 define_pretty_variable() directly.
131 (handle_single_transform_list): Add $topparent parameter, used for
132 error messages. Improved error message.
133 (define_objects_from_sources): New function.
134 (subobjname): New function.
135 (variable_conditions_recursive): New name for variable conditions.
136 (variable_value_as_list_recursive): New name for variable_value_as_list.
137 (variable_value_as_list_worker): Renamed to ...
138 (variable_value_as_list_recursive_worker): ... this.
139 (variable_conditions_sub): Renamed to ...
140 (variable_conditions_recursive_sub): ... this.
141 (variable_conditions): Rewritten: now doesn't recurse subvariables.
142 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
143 (substfroms): New global.
144 (substtos): New global.
145 (substnums): New global.
146 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
147 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
148 * tests/sourcesub2.test: New test.
149 * tests/Makefile.am (TEST): Added sourcesub2.test.
151 2001-08-11 Tom Tromey <tromey@redhat.com>
153 * configure.in: Upped to 1.4s.
155 2001-08-09 Richard Boulton <richard@tartarus.org>
157 * automake.in (handle_single_transform_list): Use new global,
158 `%linkers_used', to store the linkers used, rather than an internal
159 variable. Enables correct linker to be calculated across a group
160 of calls to &handle_single_transform_list. Return only list of
161 objects, since linker to be used is now externally determined.
162 (handle_source_transform): adapted for new calling conventions of
163 handle_single_transform_list. Calls resolve_linker() on a set of
164 all the linkers used for any prefix, rather than for each prefix in
166 (linkers_used): New global.
167 * tests/link_dist.test: New test.
168 * tests/Makefile.am (TESTS): Added link_dist.test.
170 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
172 Dissociate testsuite 'make' invocations from outer 'make'.
173 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
174 environment variables.
175 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
177 * tests/substref.test: Likewise.
179 2001-08-08 Richard Boulton <richard@tartarus.org>
181 * tests/cond18.test: New file.
182 * tests/cond19.test: New file.
183 * tests/cond20.test: New file.
184 * tests/cond4.test: Updated to check the generated _OBJECTS more
186 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
189 2001-08-08 Richard Boulton <richard@tartarus.org>
191 * automake.in (file_contents_internal): if a rule is conditionally
192 defined, define the standard automake definition for it for those
193 conditions which are not conditionally defined.
194 (invert_conditions): New function: invert a list of conditionals.
196 * tests/cond14.test: New file.
197 * tests/cond15.test: New file.
198 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
200 2001-08-05 Tom Tromey <tromey@redhat.com>
202 * tests/Makefile.am (TESTS): Added dejagnu2.test.
203 * tests/dejagnu2.test: New file.
204 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
205 * automake.in (handle_scripts): Removed dead code.
206 (handle_tests_dejagnu): Don't handle site.exp generation
209 2001-08-04 Richard Boulton <richard@tartarus.org>
211 * tests/cond17.test: New file: test for being able to define an
212 object to be generated in different ways according to a
214 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
215 (TESTS): Added cond17.test.
217 2001-08-02 Richard Boulton <richard@tartarus.org>
219 * automake.in (variable_conditions_sub): Handle variable
220 substitution refs when computing conditions based on subvariable
221 conditions. Fixes substitution refs of system variables when sub
222 variable is conditional.
223 (SUBST_REF_PATTERN): New global.
224 * tests/cond16.test: New file: regression test for variable
226 * test/Makefile.am (TESTS): Added cond16.test.
228 2001-08-03 Tom Tromey <tromey@redhat.com>
230 * tests/substref.test: Require GNU make; backed out previous
233 * tests/substref.test: Handle entering/leaving directory
236 2001-08-03 Richard Boulton <richard@tartarus.org>
238 * automake.in (value_to_list): Check for whether $from is defined,
239 rather than whether it is true, so that empty $froms are allowed in
240 substitution reference patterns.
242 * tests/substref.test: New file: test behavior of substitution
243 references when the $from side of the substitution is empty.
244 * tests/Makefile.am (TESTS): Added substref.test.
246 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * m4/install-sh.m4: New file.
249 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
250 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
251 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
252 for install.sh any longer, always use install-sh, don't even
253 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
254 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
256 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
258 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
260 * automake.texi (EXEEXT): Clarify.
262 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
264 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
266 * m4/auxdir.m4: More comments.
268 2001-07-31 Richard Boulton <richard@tartarus.org>
269 Raja R Harinath <harinath@cs.umn.edu>
271 * automake.in (variable_conditions_sub): Remove @parent_conds
272 argument. This was old logic - duplicate or impossible
273 conditionals are removed later by &variable_conditions_reduce().
274 Fixes tests/cond13.test.
275 (conditionals_true_when): Removed.
276 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
278 2001-07-31 Tom Tromey <tromey@redhat.com>
280 * tests/Makefile.am (TESTS): Added cond13.test.
281 (XFAIL_TESTS): Likewise.
282 * tests/cond13.test: New file.
284 * configure.in: Upped to version 1.4k.
286 * configure.in: Released 1.4j.
288 * lib/config.guess: Updated from master sources.
289 * lib/config.sub: Likewise.
291 2001-07-30 Tom Tromey <tromey@redhat.com>
293 * automake.texi (A Program): Typo. Added subsections and more
294 text about conditional compilation.
295 (A Shared Library): Moved earlier.
296 (Program variables): Updated LINK text. Added AM_CFLAGS.
297 (C++ Support): Added AM_CXXFLAGS.
298 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
301 * tests/Makefile.am (TESTS): Added aclibobj.test.
302 * tests/aclibobj.test: New file.
303 * automake.in (handle_lib_objects_cond): Avoid undefined variable
305 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
307 * automake.texi (Dist): Mention other distribution types.
310 2001-07-29 Tom Tromey <tromey@redhat.com>
312 * automake.texi (Program and Library Variables): Texinfo fix.
313 From Alexey Mahotkin.
315 2001-07-28 Tom Tromey <tromey@redhat.com>
317 * automake.texi (Strictness): Mention Cygnus mode.
320 (Canonicalization): Likewise.
321 (Install): Add `nobase_' to example; typo fix.
323 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
325 (Options): Texinfo fixes; some text updates.
328 2001-07-27 Tom Tromey <tromey@redhat.com>
330 * automake.texi (Invoking Automake): Document --Werror and
333 2001-07-26 Tom Tromey <tromey@redhat.com>
335 * tests/nolink.test: Added no-exeext.
337 * automake.in (check_variable_defined_unconditionally): Don't call
340 * automake.texi (Optional): Don't mention ALL_LINGUAS.
342 * automake.in (seen_linguas, all_linguas, all_linguas_line):
344 (handle_gettext): Don't do any checking of the languages.
345 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
347 * automake.in (am_print_error): New function.
349 (am_file_error): Likewise.
350 (am_line_error): Likewise.
351 (am_conf_error): Likewise.
352 (am_conf_line_error): Likewise.
354 * automake.texi (Options): Document no-exeext.
355 * automake.in (handle_options): Recognize no-exeext.
356 (rule_define): Handle no-exeext.
357 * tests/Makefile.am (TESTS): Added new file.
358 * tests/exeext2.test: New file.
360 * automake.in (make_input_list): Removed.
361 (scan_autoconf_config_files): Don't add to make_input_list.
362 (scan_one_autoconf_file): Don't use make_input_list.
363 (scan_autoconf_files): Use make_list, not make_input_list.
364 (scan_autoconf_files): Likewise.
366 * automake.in (seen_exeext): Removed.
367 (generate_makefile): Don't define EXEEXT or OBJEXT.
368 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
369 (am_install_var): Don't check $seen_exeext.
370 (handle_programs): Likewise.
371 (rule_define): Allow x to override x$(EXEEXT), for now.
372 (file_contents_internal): Only define rule if rule_define allows
374 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
376 2001-07-25 Tom Tromey <tromey@redhat.com>
379 * tests/pr9.test: Require GNU make.
380 * tests/dirname.test: Don't use `-u'.
382 2001-07-22 Tom Tromey <tromey@redhat.com>
384 * tests/Makefile.am (TESTS): Added auxdir2.test.
385 (XFAIL_TESTS): Likewise.
386 * tests/auxdir2.test: New file.
388 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
389 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
391 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
392 * automake.in (am_install_var): Add $(EXEEXT) even if program name
393 holds `.'. Don't add $(EXEEXT) if program name already has it.
394 (handle_programs): Don't add $(EXEEXT) if user already did.
395 (make_paragraphs): Don't compute EXEEXT.
397 * tests/Makefile.am (TESTS): Added exeext.test.
398 (XFAIL_TESTS): Likewise.
399 * tests/exeext.test: New file.
401 2001-07-22 Tom Tromey <tromey@redhat.com>
403 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
404 `prog.exe' on Cygwin with libtool. From Robert Collins.
406 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
408 * tests/dirname.test: Explicitly use $SHELL to run the
409 script; this avoids failures on DJGPP.
410 * tests/install2.test: Skip if 'chmod 000' doesn't make
413 2001-07-21 Tom Tromey <tromey@redhat.com>
415 * tests/libtool2.test: Check for libtoolize.
417 * tests/Makefile.am (TESTS): Added substtarg.test.
418 (XFAIL_TESTS): Likewise.
419 * tests/substtarg.test: New file.
421 * automake.in (handle_dist): Handle case where aux dir doesn't
422 have a Makefile. Fixes depdist.test.
423 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
424 * tests/depdist.test: Look for config/depcomp.
426 * tests/Makefile.am (TESTS): Added depdist.test.
427 (XFAIL_TESTS): Likewise.
428 * tests/depdist.test: New file. From Eric Magnien.
430 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
431 AC_PROG_CC_C_O does require AC_PROG_CC.
434 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
436 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
437 output is suitable for make.
439 * automake.texi (Macros): Document AM_PROG_AS.
440 (Assembly Support): New node.
441 * m4/Makefile.am (m4data_DATA): Added as.m4.
442 * m4/as.m4: New file.
444 * automake.texi (Tags): Added uref to global tags.
446 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
448 * automake.in (handle_single_transform_list): Use $(DEPDIR)
449 instead of hardcoding '.deps'.
450 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
452 2001-07-20 Derek Price <dprice@collab.net>
454 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
456 * tests/dirname.test: New test.
457 * tests/stamph2.test: New test.
458 * tests/Makefile.am: Add new tests.
459 * tests/Makefile.in: Regenerated.
461 2001-07-19 Tom Tromey <tromey@redhat.com>
463 * automake.texi (Tags): Document GTAGS_ARGS.
464 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
466 2001-07-19 Tom Tromey <tromey@redhat.com>
467 Alexandre Duret-Lutz <duret_g@epita.fr>
469 Fix for ccnoco.test, subobj8.test:
470 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
471 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
473 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
474 Use AM_AUX_DIR_EXPAND.
475 * lib/compile: Handle case where `-o' argument is the name of an
476 executable, not an object file.
477 * m4/auxdir.m4: New file, from...
478 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
479 * automake.in (handle_single_transform_list, lang_c_rewrite):
480 Require compile using `require_config_file'.
482 2001-07-19 Tom Tromey <tromey@redhat.com>
484 * automake.texi (Program and Library Variables): Added X example
487 2001-07-19 Tom Tromey <tromey@redhat.com>
489 * automake.texi (Distributing): Updated to reflect new license.
491 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
493 * automake.in (require_build_directory): New function, extracted
495 (handle_single_transform_list): ... here.
496 (require_build_directory_maybe): New function.
497 (handle_prograns, handle_libraries, handle_ltlibraries): Call
498 require_build_directory_maybe() to ensure the subdirectory
499 in which a target may lie will exist when the target is created.
500 (handle_libraries, handle_ltlibraries): Use basename before
501 checking library name.
502 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
503 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
504 * lib/am/program.am (%PROGRAM%): Likewise.
506 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
508 * m4/missing.m4: Reword comment.
510 2001-07-18 Pavel Roskin <proski@gnu.org>
512 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
513 * tests/gcj.test: Likewise.
514 * tests/gcj2.test: Likewise.
515 * tests/gcj3.test: Likewise.
517 2001-07-18 Tom Tromey <tromey@redhat.com>
519 * lib/compile: Change how lockdir is computed. If linking or
520 compiling without `-o', just run the compiler.
522 * tests/Makefile.am (TESTS): Added ccnoco.test.
523 (XFAIL_TESTS): Likewise.
524 * tests/ccnoco.test: New file.
526 2001-07-17 Tom Tromey <tromey@redhat.com>
528 * lib/ylwrap: Added special exception.
529 * lib/py-compile: Added license.
530 * lib/mdate-sh: Added special exception.
531 * lib/elisp-comp: Added special exception.
532 * lib/compile: Added special exception.
533 * lib/depcomp: Added special exception.
535 Report from Motoyuki Kasahara:
536 * tests/make.test: Use am__include.
537 * tests/exsource.test: Use am__include.
538 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
539 * automake.in (handle_languages): Use am__include and am__quote.
541 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
542 * m4/init.m4: Updated callers.
544 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
546 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
547 * aclocal.in (scan_configure, add_file): Handle the full macro
548 name even if it contains numbers, such as I18N.
550 2001-07-16 Tom Tromey <tromey@redhat.com>
552 * automake.texi (Dependencies): Link to dependency tracking page.
553 (Data): Mention dist_.
554 (Clean): Mention clean heuristics.
555 (Install): Mention nobase_.
557 * automake.texi (Program and Library Variables): Document _LINK.
559 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
561 * automake.in (handle_libraries): Allow libraries to lie in
562 a subdirectory by constraining only the basename to start
563 with 'lib', not the whole path.
565 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
567 * tests/subobj8.test: New file.
568 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
570 2001-07-16 Tom Tromey <tromey@redhat.com>
572 Fix for PR automake/212:
573 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
574 (uninstall-%DIR%LISP): Likewise.
576 2001-07-15 Tom Tromey <tromey@redhat.com>
578 * automake.in (usage): Rewrote code to handle columnization.
579 From Alexey Mahotkin and Maxim Sinev.
581 Report from Ralf Corsepius:
582 * automake.in (TARGET_PATTERN): Add `+' as valid character.
583 (SUFFIX_RULE_PATTERN): Likewise.
584 * tests/Makefile.am (TESTS): Added cxx.test.
585 * tests/cxx.test: New file.
587 * lib/am/tags.am (distclean-tags): Remove files for gtags.
588 From Shigio Yamaguchi.
590 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
592 * lib/am/distdir.am (distcheck): Emit diagnostic when files
593 remain after "make uninstall".
595 2001-07-14 Tom Tromey <tromey@redhat.com>
597 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
599 * lib/missing (makeinfo): Redirect stdout and stderr outside
600 subshell. From Alexandre Oliva.
602 2001-07-14 Akim Demaille <akim@epita.fr>
604 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
605 `\b(foo|bar)\b' is what we want.
606 * aclocal.in: Likewise.
608 2001-07-14 Akim Demaille <akim@epita.fr>
610 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
612 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
613 actually modified to require AM_DEPENDENCIES.
614 Rename `confdir' as `conftest.dir' so that the configure trap
617 2001-07-04 Tom Tromey <tromey@redhat.com>
620 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
621 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
622 * automake.in (am_install_var): Only rewrite PROGRAMS if
624 (make_paragraphs): Always define %EXEEXT%.
626 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
628 * tests/nolink.test: New file.
629 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
631 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
633 * automake.in (scan_texinfo_file): Add the second argument to
634 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
635 itself may not be used directly.
637 2001-07-04 Tom Tromey <tromey@redhat.com>
640 * lib/missing (makeinfo): Use subshell, not explicit sh
643 * automake.texi (Headers): Mention that we prefer uninstalled
645 (ANSI): Mention cross-compilation limitation.
647 2001-07-03 Tom Tromey <tromey@redhat.com>
649 * configure.in: Upped to 1.4i.
651 * configure.in: Released 1.4h.
653 * lib/config.guess, lib/config.sub: Updated.
655 2001-07-02 Tom Tromey <tromey@redhat.com>
657 Fix for libtool2.test:
658 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
659 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
660 * automake.in (generate_makefile): Call handle_libtool
662 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
664 * tests/libtool2.test: Look for `.lo' files to be removed.
666 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
668 * tests/Makefile.am (TESTS): Removed dup.test.
669 * tests/dup.test: Removed.
670 * aclocal.in (scan_file): Don't give error for duplicate macro.
672 2001-07-01 Tom Tromey <tromey@redhat.com>
674 * automake.texi (Program and Library Variables): Document
675 subdir-objects. Document fact that per-object flags override AM_
678 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
679 (Multilibs): New node.
680 (Macros): Documented missing macros.
681 (Auxiliary Programs): New node.
683 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
684 mode, then simply fail.
686 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
688 * lib/ylwrap: Improve support for DOS paths (and paths
689 containing backslashes in general).
691 2001-07-01 Tom Tromey <tromey@redhat.com>
693 * lib/missing: Added special exception to license.
696 * lib/missing: Updated. Added comment explaining configure.ac
699 * lib/depcomp: Reorder arguments to gcc3.
700 From Per Oyvind Hvidsten.
702 * tests/Makefile.am (TESTS): Added libtool2.test.
703 * tests/libtool2.test: New file.
705 * automake.texi (Program and Library Variables): Added example for
708 2001-06-29 Tom Tromey <tromey@redhat.com>
710 * tests/cond11.test: Use `=', not `=='.
711 * tests/cond12.test: Look for automake in build directory, not
714 2001-06-29 Richard Boulton <richard@tartarus.org>
716 * automake.in (conditionals_true_when): Pass first parameters by
717 reference, avoiding bug which put all parameters in @CONDS instead
718 of @WHENS. Report by Kalle Olavi Niemitalo.
719 Take a single WHEN instead of an array of WHENS.
720 Remove FIXME; can't now have an empty @WHENS.
721 (conditional_is_redundant): New sub.
722 (variable_conditions_reduce): Check whether each condition is
723 implied by any of the other conditions (other those already
724 discarded), rather than checking only against those already
725 considered (and kept). Also, fix sense of check: was keeping
726 tautologous terms instead of discarding them. Use
727 conditional_is_redundant instead of conditionals_true_when.
728 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
729 * tests/cond11.test: New file.
730 * tests/cond12.test: New file.
732 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
734 * automake.in (saw_sources_p): Work even if there are more
735 than one header files, and more than of one type of header.
736 * tests/Makefile.am (TESTS): Added new file.
737 * tests/depend4.test: New file.
739 2001-06-28 Tom Tromey <tromey@redhat.com>
741 * lib/am/libs.am (RANLIB): Don't define.
743 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
745 * automake.in (am_install_var): Assign 1 to $first on
748 2001-06-23 Tom Tromey <tromey@redhat.com>
751 * lib/ylwrap: Changed usage.
752 * lib/am/yacc.am: Rewrote to use new substitutions.
753 * lib/am/lex.am: Likewise.
754 * automake.in (handle_languages): Skip files whose language
755 doesn't have a compiler. Handle `define_flag' attribute.
756 Changed '$' to "\$" to aid Emacs fontification.
757 (struct): Added `rule_file'. Removed `derived_autodep'. Added
758 `_target_hook' and `define_flag'.
759 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
760 and `compiler' attributes. Removed `linker', `derived_autodep',
761 and `ansi' attributes. Added `define_flag'.
762 (yacc, yaccxx): Added `_target_hook'.
763 (saw_extension): Count number of times extension seen.
764 (count_files_for_language): New sub.
765 (saw_sources_p): Use it.
766 (handle_single_transform_list): Allow language rewrite function
767 to return a new source extension. Call target_hook.
768 (yacc_sources, lex_sources): Removed.
769 (initialize_per_input): Don't initialize yacc_sources or
771 (lang_yacc_rewrite): Rewrote.
772 (lang_yaccxx_rewrite): Likewise.
773 (lang_lex_rewrite): Likewise.
774 (lang_lexxx_rewrite): Likewise.
775 (output_yacc_build_rule): Removed.
776 (output_lex_build_rule): Removed.
777 (lang_yacc_finish): Removed build rule generation.
778 (lang_lex_finish): Likewise.
779 (DASH_D_PATTERN): New global.
780 (lang_yacc_target_hook): New function.
781 (_target_hook): New function.
782 (register_language): Default `define_flag'.
783 * tests/yacc5.test: Updated test.
784 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
785 * tests/yacc3.test: Remove bogus `make' invocation. Added test
786 for all YFLAGS variables.
788 2001-06-20 Tom Tromey <tromey@redhat.com>
790 * tests/yacc5.test: Check for per-executable YFLAGS.
792 2001-06-19 Tom Tromey <tromey@redhat.com>
794 * tests/Makefile.am (TESTS): Added yacc5.test.
795 * tests/yacc5.test: New file.
797 2001-06-17 Tom Tromey <tromey@redhat.com>
799 * automake.in (require_file_internal): Check for already-required
800 file after searching for it, and only if it is not found. Don't
801 use `readlink' when checking for dangling symlink. Work if
802 --force-missing specified.
803 * tests/acoutput2.test: Also test --force-missing.
805 Fix for libtool.test:
806 * automake.in (generate_makefile): Call handle_libtool.
807 (handle_libtool): New sub.
808 (handle_compile): Don't read `libtool' file.
810 * tests/acoutput2.test: New file.
811 * tests/Makefile.am (TESTS): Added acoutput2.test.
813 2001-06-15 Tom Tromey <tromey@redhat.com>
815 * tests/Makefile.am (TESTS): Added libtool.test.
816 * tests/libtool.test: New file.
818 2001-06-14 Tom Tromey <tromey@redhat.com>
820 Fix some lisp bugs reported by Bruno Haible:
821 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
823 (install-%DIR%LISP): Handle case where lispdir is not defined.
824 (uninstall-%DIR%LISP): Likewise.
825 (.el.elc): Added `else' clause.
827 Fix for bug reported by Steve M. Robbins:
828 * automake.in (handle_single_transform_list): When building a file
829 from a subdirectory, continue to use `AM_' prefix.
830 * tests/Makefile.am (TESTS): Added subobj7.test.
831 * tests/subobj7.test: New file.
833 * lib/am/configure.am ($(top_builddir)/config.status): Added
834 $(top_builddir) prefix to work around problems with some vendor
835 makes. From Nicholas Joly.
837 * automake.in (yacc_lex_finish_helper): Find ylwrap in
838 top_srcdir. From Tim Van Holder.
839 * tests/Makefile.am (TESTS): Added yacc6.test.
840 * tests/yacc6.test: New file.
842 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
844 * tests/defs, tests/installsh.test: Properly support
847 2001-06-14 Tom Tromey <tromey@redhat.com>
849 * tests/Makefile.am (TESTS): Added mdate4.test.
850 * tests/mdate4.test: New file.
852 * aclocal.in (scan_m4_files): Removed unused variable.
854 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
856 * aclocal.in (scan_m4_files): Tweak the building of &search so
857 that multiple macro names can be found on the same line. Ensure
858 we match whole macro name, not only substrings.
860 2001-06-12 Tom Tromey <tromey@redhat.com>
862 * automake.texi (ANSI): Minor clarification.
863 (Other GNU Tools): Don't mention Guile.
865 (Java Support): Mention file extensions.
866 (Man pages): Mention dist_. Don't mention info pages.
868 2001-06-11 Tom Tromey <tromey@redhat.com>
870 * automake.texi (Program variables): Document AM_CPPFLAGS.
872 (Java Support): Document AM_GCJFLAGS.
873 (Support for Other Languages): Removed `fixme'; added link to
874 suffix rule handling.
876 * automake.texi (Program and Library Variables): Document _LIBADD,
877 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
879 2001-06-11 Kevin Dalley <kevind@rahul.net>
881 * missing: Support configure.ac.
883 2001-06-08 Tom Tromey <tromey@redhat.com>
885 * tests/version4.test: New file.
886 * automake.in (version_check): New sub.
887 (handle_options): Use it.
888 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
889 (TESTS): Added version4.test.
890 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
891 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
893 2001-06-04 Kevin Dalley <kevind@rahul.net>
895 * lib/am/dejagnu.am (site.exp): Fix typo.
897 2001-06-02 Tom Tromey <tromey@redhat.com>
899 * automake.in (variable_conditions_sub): Move parent-only code
901 (variable_conditions): ... to here.
902 (variable_conditions_sub): Include this variable's conditions in
903 the resulting condition list.
904 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
906 2001-06-01 Tom Tromey <tromey@redhat.com>
908 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
910 * tests/ltdeps.test: New file. Report from Lars J. Aas.
912 2001-05-31 Tom Tromey <tromey@redhat.com>
914 * automake.texi (Alternative): New node.
915 (Macros): Use new name for gcc.
916 (Java Support): Likewise.
917 (Dependencies): Rewrote.
918 (Invoking Automake): (Re-)document -i, --ignore-deps, and
921 * automake.texi (Top level): Removed erroneous spaces. Documented
924 2001-05-29 Tom Tromey <tromey@redhat.com>
926 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
928 * automake.texi (Include): Rewrote.
929 (Suffixes): Remove Java example.
930 (Java): Added more explanation. Document variables.
931 (Uniform): Mention JAVA as a primary.
932 (Python): Updated for new Python support.
933 (Sources): Added a weak example.
935 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
937 * automake.texi (A Program): Mention `check' prefix.
938 (Program and Library Variables): New node.
939 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
941 (etags): Mention per-program flags.
942 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
945 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
948 2001-05-28 Tom Tromey <tromey@redhat.com>
950 * m4/Makefile.am (MAINT_CHARSET): Removed.
951 * Makefile.am (MAINT_CHARSET): Removed.
952 * automake.in (maint_charset, dist_charset): Removed.
953 (local_maint_charset): Removed.
954 (initialize_per_input): Don't use maint_charset.
955 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
957 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
959 (.%SUFFIX%.dvi): Likewise.
960 (.%SUFFIX%): Likewise.
962 2001-05-27 Tom Tromey <tromey@redhat.com>
964 * automake.in (handle_multilib): Only add multilib support code at
966 * lib/am/multilib.am: Handle invocation of *-multi targets
967 differently for SUBDIRS and non-SUBDIRS Makefiles.
968 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
969 Only add multilib code when the Makefile in question is actually
972 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
974 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
976 * automake.in (handle_single_transform_list): Skip unknown
979 2001-05-25 Tom Tromey <tromey@redhat.com>
981 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
983 2001-05-24 Tom Tromey <tromey@redhat.com>
985 * automake.in (handle_texinfo_helper): Find mdate-sh in current
986 directory in some situations.
988 * automake.in (generate_makefile): Better explanation for ansi2knr
991 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
993 * automake.in (handle_languages): Skip unknown extensions.
994 (derive_suffix): Check whether $extension_map{$source_ext}
995 is undefined, not empty.
997 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
999 * automake.in (read_am_file): Ignore trailing backslash on
1002 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1004 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1006 2001-05-21 Akim Demaille <akim@epita.fr>
1008 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1009 multiple times'' warning.
1011 2001-05-20 Tom Tromey <tromey@redhat.com>
1013 * configure.in: Updated to 1.4g.
1015 * configure.in: Updated to 1.4f.
1017 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1019 * lib/ansi2knr.c: New version.
1021 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1024 2001-05-19 Tom Tromey <tromey@redhat.com>
1026 * config.guess, config.sub: New versions from FSF.
1028 * Makefile.am (fetch): Compare against files in srcdir.
1030 For for ansi2knr report from Harlan Stenn:
1031 * automake.in (generate_makefile): Run handle_compile before
1034 2001-05-18 Tom Tromey <tromey@redhat.com>
1036 * automake.in: Reverted erroneous checkin.
1038 2001-05-18 Akim Demaille <akim@epita.fr>
1040 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1041 to missing `install-info'.
1043 2001-05-17 Tom Tromey <tromey@redhat.com>
1045 * automake.in (lang_c_finish): Use `rm -f'.
1047 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1048 * tests/Makefile.am (TESTS): Added new file.
1049 * tests/ansi5.test: New file.
1051 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1053 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1055 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1056 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1057 * automake.texi (Requirements): Document the use of the STRIP
1058 variable in cross-compilation environments.
1060 2001-05-17 Tom Tromey <tromey@redhat.com>
1062 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1063 to no dependency tracking.
1064 * tests/Makefile.am (TESTS): Added depcomp2.test.
1065 * tests/depcomp2.test: New file. From Pavel Roskin.
1067 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1069 * lib/depcomp (tru64): New dependency tracking mode.
1071 Fix for PR automake/159:
1072 * lib/depcomp (aix): Rewrote.
1075 Fix for PR automake/174:
1076 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1077 * automake.in (read_am_file): Warn if `#' is at start of rule.
1079 2001-05-16 Tom Tromey <tromey@redhat.com>
1081 For PR automake/174:
1082 * tests/Makefile.am (TESTS): Added comment3.test.
1083 (XFAIL_TESTS): Likewise.
1084 * tests/comment3.test: New file.
1086 Fix for PR automake/175:
1087 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1088 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1089 `Leaving directory' messages.
1091 For PR automake/175:
1092 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1093 * tests/make.test: Run test with `make -w'.
1095 * tests/Makefile.am (TESTS): Removed maintclean.test.
1096 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1098 * lib/am/configure.am (maintainer-clean-am): Removed.
1099 (maintainer-clean-conf): Removed.
1100 * tests/maintclean.test: Removed.
1102 2001-05-15 Tom Tromey <tromey@redhat.com>
1104 Fix for PR automake/177:
1105 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1106 automake or aclocal.
1108 Fix for maintclean.test:
1109 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1110 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1112 (distclean, maintainer-clean): Moved to...
1113 * lib/am/configure.am: ... here.
1114 (distclean): Remove config.cache and config.log.
1115 (maintainer-clean): Removed.
1116 (maintainer-clean-conf): New target.
1117 (maintainer-clean-am): New target.
1119 * tests/Makefile.am (TESTS): Added maintclean.test.
1120 (XFAIL_TESTS): Likewise.
1121 * tests/maintclean.test: New file.
1123 Fixes PR automake/175:
1124 * tests/target-cflags.test: Use $needs_gnu_make.
1125 * tests/exsource.test: Use $needs_gnu_make.
1126 * tests/make.test: Require GNU make.
1127 * tests/defs (needs_gnu_make): Compute.
1129 2001-05-14 Tom Tromey <tromey@redhat.com>
1131 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1134 Fix for texinfo10.test.
1135 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1136 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1137 * automake.in (handle_texinfo_helper): New sub.
1138 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1139 * tests/texinfo10.test: Added more cases.
1141 Fix for yaccvpath.test:
1142 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1143 * lib/am/distdir.am (distdir): Always look for file in build
1145 * lib/ylwrap: Quote the `#line' regular expression.
1146 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1147 change; don't run sed on the generated file.
1148 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1149 to make sure parser will be rebuilt at dist time.
1151 2001-05-13 Pavel Roskin <proski@gnu.org>
1153 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1154 beginning with `##'.
1155 * automake.texi (General Operation): Document it.
1157 2001-05-13 Tom Tromey <tromey@redhat.com>
1159 Reported by Rainer Orth:
1160 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1162 * tests/Makefile.am (TESTS): Added distname.test.
1163 * tests/distname.test: New file.
1165 * Makefile.am (dist_pkgdata_DATA): Removed.
1167 * tests/defs: Find files to copy in lib/.
1168 * automake.in (perllibdir): Set to Automake directory.
1169 * ansi2knr.c, ansi2knr.1: Removed.
1170 * Makefile.am (dist_am_DATA): Removed.
1172 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1174 (scriptdir): Removed.
1175 (dist_script_DATA): Likewise.
1176 (install-data-hook): Likewise.
1177 (installcheck-local): Likewise.
1178 (TAGS_FILES): Removed amfiles.
1179 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1180 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1181 point it to the right directory.
1182 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1183 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1184 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1185 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1186 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1187 mans.am, multilib.am, program.am, progs.am, python.am,
1188 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1189 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1190 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1191 (AUTOMAKE): Use --libdir, not --amdir.
1192 Ues AC_CONFIG_AUX_DIR.
1193 * lib/Makefile.am (SUBDIRS): Added `am'.
1194 (scriptdir): New macro.
1195 (dist_script_DATA): Likewise.
1196 (dist_pkgdata_DATA): Likewise.
1197 (install-data-hook): New target.
1198 (installcheck-local): Likewise.
1199 * lib/am/Makefile.in: New file.
1200 * lib/am/Makefile.am: Removed everything except amdir and
1203 2001-05-13 Akim Demaille <akim@epita.fr>
1205 * automake.in ($pkgdata_dir): Rename as...
1207 ($am_dir): Remove, replace its uses with $libdir.
1208 (&parse_arguments): Replace --amdir with --libdir.
1209 * automake.texi (Invoking Automake): Document --libdir, not
1211 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1213 2001-05-13 Tom Tromey <tromey@redhat.com>
1215 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1217 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1218 Correctly look at AMDEP_TRUE, not AMDEP.
1220 Report from Robert Boehne:
1221 * tests/Makefile.am (TESTS): Added depend2.test.
1222 * tests/depend2.test: New file.
1224 2001-05-13 James Henstridge <james@daa.com.au>
1226 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1227 Point pythondir at site-packages directory. Rename
1228 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1229 pyexecdir. Removed package/module argument. Removed
1230 PYTHON_SITE_INSTALL. Added version checking.
1232 2001-05-14 Jim Meyering <meyering@lucent.com>
1234 * automake.in (macro_define): Change one remaining use of
1235 `variable_dump' to `macro_dump'.
1237 2001-05-13 Tom Tromey <tromey@redhat.com>
1239 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1242 2001-05-13 Akim Demaille <akim@epita.fr>
1244 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1245 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1246 (&am_primary_prefixes): Use `map' rather than `grep'.
1248 2001-05-13 Akim Demaille <akim@epita.fr>
1250 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1252 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1253 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1255 2001-05-13 Akim Demaille <akim@epita.fr>
1257 * lang-compile.am: New file, loaded once per language.
1258 * depend2.am: Move definitions loaded once per language in the
1259 aforementioned file.
1260 * automake.in (&handle_languages): Load it.
1261 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1262 handled by lang-compile.am.
1264 2001-05-13 Tom Tromey <tromey@redhat.com>
1266 * tests/Makefile.am (TESTS): Added python.test.
1267 * tests/python.test: New file.
1268 * automake.in (handle_languages): Use
1269 config_aux_dir_set_in_configure_in.
1270 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1271 py-compile, not py_comp. Define py_compile macro.
1273 2001-05-13 Derek Price <dprice@openavenue.com>
1275 * automake.in (require_file_with_conf_line,
1276 require_file_with_line, require_file): Pass a @require_file_path
1277 of $relative_dir instead of '.' to require_file_internal so that
1278 all the special casing of '.' can be removed elsewhere.
1279 (require_config_file, require_conf_file_with_line,
1280 require_conf_file_with_conf_line): Remove special casing for '.'
1281 and make sure $config_aux_dir is maintained properly.
1282 (require_file_internal): Remove special casing of '.' and set
1283 @require_file_path when missing files are added.
1284 (maybe_push_required_file): Remove special casing of '.'
1285 (handle_dependencies): Remove a workaround for a bug now fixed
1286 and remove $config_aux_dir special casing.
1287 (handle_configure): Remove special casing for $config_aux_dir
1288 (handle_python): Ditto.
1289 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1290 switch on the value of $config_aux_dir_set_in_configure_in.
1291 (handle_texinfo): Ditto.
1292 (scan_one_configure_file): Set $config_aux_dir and
1293 $config_aux_dir_set_in_configure_in properly so special casing
1294 on the value of $config_aux_dir can be removed elsewhere.
1295 * tests/depcomp.test: New file.
1296 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1297 first subdir containing a C file.
1298 * tests/libobj2.test: Ditto.
1299 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1301 2001-05-12 Tom Tromey <tromey@redhat.com>
1303 * tests/gcj.test: Updated for gcj dependency tracking.
1304 * tests/gcj2.test: Likewise.
1306 Fixes PR automake/169.
1307 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1309 * automake.in (java): Added autodep entry.
1310 * tests/Makefile.am (TESTS): Added gcj3.test.
1311 * tests/gcj3.test: New file.
1313 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1315 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1316 stop at the first '='.
1317 * tests/Makefile.am (TESTS): Added vars.test.
1318 * tests/vars.test: New file.
1320 2001-05-12 Akim Demaille <akim@epita.fr>
1322 * automake.in (&handle_single_transform_list): Simplify
1323 computation of $object and $this_obj_ext.
1324 * tests/lex3.test: Merge into...
1325 * tests/lex.test: here.
1326 * tests/pr19.test: Improve and rename as...
1327 * tests/lex3.test: this.
1329 2001-05-09 Tom Tromey <tromey@redhat.com>
1331 * automake.in (read_am_file): Correctly compute $saw_bk.
1332 (scan_autoconf_files): Ensure configure_dist_common is always
1334 * tests/defs (AUTOMAKE): Added --Werror.
1336 2001-05-09 Pavel Roskin <proski@gnu.org>
1338 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1341 2001-05-09 Tom Tromey <tromey@redhat.com>
1343 * tests/werror.test: Use `rm -f'.
1345 2001-05-09 Akim Demaille <akim@epita.fr>
1347 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1349 2001-05-09 Akim Demaille <akim@epita.fr>
1351 * automake.in: Remove some code left from bad patches.
1352 (&handle_dependency): Remove, for the same reason.
1354 2001-05-09 Akim Demaille <akim@epita.fr>
1356 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1357 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1358 (&define_standard_variables): Don't transform %top_builddir% since...
1359 * header-vars.am: Use %TOPDIR% instead.
1361 2001-05-09 Akim Demaille <akim@epita.fr>
1363 * automake.in (@objects): Remove, unused.
1364 Remove all the code related to it, and to former `$(OBJECTS)'.
1366 2001-05-08 Tom Tromey <tromey@redhat.com>
1369 * ylwrap: Handle arguments to program. Remove old code that tried
1370 to avoid absolute paths and add new code to do it in all cases.
1371 Removed ancient logic that tried to deal with relative path.
1372 * tests/Makefile.am (TESTS): Added yacc4.test.
1373 * tests/yacc4.test: New file.
1375 Fix for PR automake/149 and werror.test:
1376 * automake.in (require_file_internal): Use am_line_warning or
1377 am_conf_line_warning when suppressing error.
1378 (am_line_warning): New sub.
1379 (am_conf_line_warning): Save and restore warning signal.
1380 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1382 Fix for PR automake/36:
1383 * tests/Makefile.am (TESTS): Added asm.test.
1384 * tests/asm.test: New file.
1385 * automake.in (asm): Use ASFLAGS and AS.
1386 (lang_asm_finish): New sub.
1388 * automake.in (read_am_file): Removed debugging code.
1390 For PR automake/149:
1391 * tests/Makefile.am (TESTS): Added werror.test.
1392 (XFAIL_TESTS): Likewise.
1393 * tests/werror.test: New file.
1395 * automake.in (conditional_true_when): Don't return if we see
1398 * tests/objc.test: Removed.
1399 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1402 * automake.in (subst): New sub.
1403 (handle_languages): Use it.
1404 (output_lex_build_rule): Likewise; also use _am_quote.
1405 (check_libobjs_sources): Likewise.
1406 (make_paragraphs): Use subst.
1408 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1411 * automake.in (file_contents_internal): Prototype now `$$%'.
1412 (register_language): Prototype now `%'.
1414 Fixes test subobj6.test and PR automake/160:
1415 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1416 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1417 (distclean-compile): Added DISTRMS.
1418 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1419 `mostlyclean' use; added test for non-subdir case.
1420 * automake.in (compile_clean_files): New global.
1421 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1422 (initialize_per_input): Initialize compile_clean_files.
1423 (handle_single_transform_list): Set compile_clean_files entries.
1424 (handle_compile): Handle compilation cleanups.
1426 2001-05-08 Lars J. Aas <larsa@sim.no>
1428 * automake.texi (Canonicalizing Automake macros): Document not
1429 canonicalizing strudels (@) anymore.
1431 2001-05-08 Akim Demaille <akim@epita.fr>
1433 * distdir.am (dist-all): Build all the flavors using a single
1436 2001-05-08 Akim Demaille <akim@epita.fr>
1438 * automake.in (&file_contents_internal): Apply the @cond_stack to
1439 the rules and assignments.
1440 Don't rely on `$.' as it's biased by &make_paragraphs.
1441 Don't remove backslashes in variable values.
1443 2001-05-08 Akim Demaille <akim@epita.fr>
1445 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1446 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1447 ($MACRO_PATTERN): Just catch the name of a macro.
1448 ($BOGUS_MACRO_PATTERN): Remove.
1449 ($ASSIGNMENT_PATTERN): New.
1450 (&file_contents_internal, &make_paragraphs): Adjust.
1451 (¯o_define): Catch bad macro names.
1452 (&cond_stack_endif): Better error message.
1453 (&file_contents_internal): Don't remove backslashes in variable
1455 (¯o_define): Do it for `+=' user variables.
1456 (&define_standard_variables): Use `undef' instead of a dummy
1458 (&make_paragraph): Be sure not to chop the trail of hash only
1459 lines: adjust the `##' regexp.
1460 (&rule_define): Fix a bug: don't read $1 but $target.
1461 * tests/condincl.test: Strengthen.
1463 2001-05-08 Akim Demaille <akim@epita.fr>
1465 * automake.in (Language): Add attributes `Name' and `config_vars'.
1466 (&finish): Work properly if there is no _finish.
1467 (Automake): Register language Names and AC_SUBST dependencies.
1468 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1469 (&handle_languages): Once per language, invoke
1470 `define_linker_variables', and check its config_vars.
1471 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1472 (&lang_java_finish): Remove.
1473 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1475 2001-05-08 Akim Demaille <akim@epita.fr>
1477 * automake.in (&file_contents_internal): Accept $IS_AM.
1478 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1480 2001-05-08 Akim Demaille <akim@epita.fr>
1482 * automake.in (am_install_var): Use `next' instead of `if' on the
1485 2001-05-08 Akim Demaille <akim@epita.fr>
1487 * automake.in (Language): Add attributes `lder' and `ld'.
1488 (®ister_language): Specify for cxx, objc, f77, gcj.
1489 (&define_linker_variable): New.
1490 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1491 (&lang_java_finish): Adjust.
1492 (&libtool_compiler): Remove.
1494 2001-05-08 Akim Demaille <akim@epita.fr>
1496 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1497 argument, as you don't use it.
1499 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1502 (&handle_programs): Don't mess with %lex_sources, as you don't use
1505 2001-05-08 Akim Demaille <akim@epita.fr>
1507 * automake.in (Language): Add attribute `link'.
1508 (®ister_language): Specify for cxx, objc, f77, gcj.
1509 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1510 (&lang_java_finish): Adjust.
1512 2001-05-08 Akim Demaille <akim@epita.fr>
1514 * automake.in (&define_compiler_variables): Use only $LANG as
1516 (&handle_languages): Adjust.
1518 2001-05-08 Akim Demaille <akim@epita.fr>
1520 * automake.in (&define_program_variable): Remove.
1521 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1523 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1524 * texinfos.am: Do it.
1526 2001-05-08 Akim Demaille <akim@epita.fr>
1528 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1530 * dejagnu.am: Do it.
1531 (site.exp): Use `if'.
1533 2001-05-08 Akim Demaille <akim@epita.fr>
1535 * automake.in: Formatting changes.
1536 (variable_dump, variables_dump): Rename as...
1537 (macro_dump, macros_dump): these.
1539 2001-05-08 Akim Demaille <akim@epita.fr>
1541 Support `if !COND', `else COND', `end COND'.
1543 * automake.texi (Conditionals): Document it.
1544 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1545 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1546 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1547 a leading `!' before the condition.
1548 (&handle_options): Use `\d'.
1549 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1550 (&read_am_file, &file_contents_internal): Use them.
1551 (&transform): No longer substitute `%!COND%', forcing the use of
1553 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1555 2001-05-08 Akim Demaille <akim@epita.fr>
1557 Uniform handling of per-object compilation rules.
1558 Note: Automake is repaired.
1560 * automake.in (&handle_languages): Output per object rules for all
1561 the objects, not only for those which language supports dependency
1563 Fix Automake: when outputting per-object rules, use `-o' if the
1564 language has no `output_flag', as it's really needed.
1565 (&handle_single_transform_list): Instead of special casing files
1566 which need per object rules but which language don't support
1567 dependency tracking, keep them in the queue for processing by
1568 `&handle_languages'.
1570 2001-05-08 Akim Demaille <akim@epita.fr>
1572 * automake.in (&handle_languages): `ext-compile.am' and
1573 `depend2.am' are now equivalent for generic rules: output only the
1575 * ext-compile.am: Remove.
1577 2001-05-08 Akim Demaille <akim@epita.fr>
1579 Note: This patch breaks Automake. Repaired within two patches.
1581 * automake.in (Language): Replace the attribute `output_arg' with
1582 `compile_flag' and `output_flag'.
1583 (Automake): Adjust language registrations.
1584 (&handle_languages): Transform `-c' and `-o' for both suffix and
1585 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1587 (&handle_single_transform_list): Adjust to `compile_flag' and
1589 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1591 2001-05-08 Akim Demaille <akim@epita.fr>
1593 * automake.in (&handle_languages): Don't transform %COMPILER%.
1594 Use `$lang->compiler' instead of `$pfx' to transform generic
1595 %COMPILE% and %LTCOMPILE%.
1596 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1597 of %COMPILER% and $<.
1599 2001-05-07 Akim Demaille <akim@epita.fr>
1601 * automake.in (&handle_languages): Use the same `%transform' for
1602 both `depend2.am' and `ext-compile.am'.
1603 Delay the definition of `$flag' so it is right before the first use,
1604 and rename as `$flags'.
1606 2001-05-07 Akim Demaille <akim@epita.fr>
1608 * automake.in (&handle_languages): Compute `$ltoutarg' and
1609 `$outarg' independently of dependency code.
1610 There is no use looping on a language's possible extensions since
1611 we loop over used extensions.
1612 Therefore, there is no use for a local `%transform'.
1614 2001-05-07 Akim Demaille <akim@epita.fr>
1616 * automake.in (&handle_languages): Don't use $comp.
1618 2001-05-07 Akim Demaille <akim@epita.fr>
1620 * automake.in (&handle_languages): Merge the two loops over
1621 %extension_seen/%languages into one and group code to be run once
1622 per language together.
1624 2001-05-07 Akim Demaille <akim@epita.fr>
1626 * automake.in (&handle_languages): Move the `if
1627 ($use_dependencies)' block so that loops over extensions and
1628 languages are next to each other.
1630 2001-05-07 Akim Demaille <akim@epita.fr>
1632 * automake.in (&depend2): Remove, merged into...
1633 (&handle_languages): here.
1635 2001-05-07 Akim Demaille <akim@epita.fr>
1637 * automake.in (&finish_languages): Rename as...
1638 (&handle_languages): this.
1639 Include the body of...
1640 (&handle_dependency): this.
1643 2001-05-06 Tom Tromey <tromey@redhat.com>
1646 * tests/Makefile.am (TESTS): Add subdir5.test.
1647 (XFAIL_TESTS): Likewise.
1648 * tests/subdir5.test: New file.
1650 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1651 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1653 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1655 (handle_options): Handle fork identifier in version number.
1657 * automake.texi (Dist): Document distcheck-hook.
1659 * tests/confh4.test: Update to reflect DEFS change.
1660 For PR automake/132.
1662 Fix for PR automake/132:
1663 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1665 (java): Remove INCLUDES and DEFS from compilation.
1666 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1667 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1668 (DEFAULT_INCLUDES): New macro.
1670 * automake.in (usage): Re-align explanatory text.
1671 Fixes PR automake/148.
1673 * automake.texi (Uniform): Don't use @PROGRAMS@.
1674 Fixes PR automake/154.
1676 For PR automake/160:
1677 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1678 (XFAIL_TESTS): Add subobj6.test.
1679 * tests/subobj6.test: New file.
1681 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1682 (Top level): Don't mention `flat'.
1683 (Extending): Likewise.
1684 (User Variables): New node.
1686 * distdir.am (distdir): Make subdirectory for each file.
1687 Fixes test subobj5.test.
1689 * tests/Makefile.am (TESTS): Add new file.
1690 (XFAIL_TESTS): Likewise.
1691 * tests/texinfo10.test: New file.
1693 2001-05-05 Pavel Roskin <proski@gnu.org>
1695 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1696 in the same way as @defcodeindex and @syncodeindex respectively.
1698 2001-05-05 Tom Tromey <tromey@redhat.com>
1700 * mans.am (install-man%SECTION%): Minor cleanup.
1701 (uninstall-man%SECTION%): Likewise.
1703 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1704 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1706 (uninstall-man%SECTION%): Likewise.
1707 * automake.in (handle_man_pages): Handle dist_ and nodist_
1710 * automake.texi (Future): Removed.
1712 (Hello): Don't mention `deep'.
1713 (Top level): Likewise.
1715 * automake.in (conditional_true_when): Use a hash, not index().
1716 Also, a TRUE component always results in a true return.
1717 Fixes test cond10.test. For PR automake/164.
1718 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1720 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1722 For PR automake/164:
1723 * tests/Makefile.am (TESTS): Added new file.
1724 (XFAIL_TESTS): Likewise.
1725 * tests/cond10.test: New file.
1727 2001-05-05 Tom Tromey <tromey@redhat.com>
1729 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1731 (install-info-am): Likewise.
1733 2001-05-05 Pavel Roskin <proski@gnu.org>
1735 * automake.in (scan_texinfo_file): Don't push undefined values
1738 2001-05-05 Richard Boulton <richard@tartarus.org>
1740 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1743 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1745 * automake.in (required_targets): Added uninstall-am.
1747 2001-05-05 Tom Tromey <tromey@redhat.com>
1749 Fix bug reported by Robert Boehne:
1750 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1752 (handle_dependencies): Likewise.
1753 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1754 substitution. Correct diff now has 30 lines. Look for space
1755 after losing `undef'.
1757 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1759 * m4/sanity.m4: Remove the temp file before possible error exits.
1761 2001-05-04 Akim Demaille <akim@epita.fr>
1763 * configure.in: Set perllibdir.
1766 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1768 * automake.in ($pkgdata_dir): New.
1769 (&require_file_internal): Use it.
1771 2001-05-03 Akim Demaille <akim@epita.fr>
1773 Case insensitive FS choke on Automake/ vs automake.
1774 Reported by Tim Van Holder.
1776 * Automake/: Move into...
1777 * lib/: this new directory.
1779 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1781 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1784 2001-04-30 Jim Meyering <meyering@lucent.com>
1786 * automake.in: Remove `/lib' from include directory.
1788 2001-04-27 Akim Demaille <akim@epita.fr>
1790 AM_INIT_AUTOMAKE is no longer optional.
1792 * automake.in ($seen_make_set, $seen_prog_install)
1793 ($seen_arg_prog): Remove.
1794 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1795 Remove related code.
1797 2001-04-27 Akim Demaille <akim@epita.fr>
1799 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1801 * tests/specflags3.test: here.
1803 2001-04-27 Akim Demaille <akim@epita.fr>
1805 * automake.in ($seen_path_xtra): Remove.
1806 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1807 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1809 2001-04-27 Akim Demaille <akim@epita.fr>
1811 * automake.in (&file_contents_internal): Declare it.
1813 2001-04-27 Akim Demaille <akim@epita.fr>
1815 * automake.in (&read_am_file, &file_contents_internal): Don't
1816 define macros when `FALSE', to avoid errors on doubly defined
1817 variables but under condition `FALSE'. In order to allow...
1818 (&am_install_var): When reading the associated file for the first
1819 time, enable `%?FIRST%'.
1820 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1821 * libs.am: Do it when `%?FIRST%'.
1823 2001-04-27 Akim Demaille <akim@epita.fr>
1825 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1826 * ansi2knr.am: Do it.
1827 Prefer `if %?FOO%' to `if %!FOO%'.
1829 2001-04-27 Akim Demaille <akim@epita.fr>
1831 * automake.in (®ister_language, &finish_languages): Use `pure'
1833 (®ister_language): Use %done properly with objects, not names.
1834 (&finish_languages): Replace `$non_c' with `$needs_c'.
1836 2001-04-27 Akim Demaille <akim@epita.fr>
1838 Unify LISP, PYTHON and JAVA primaries.
1840 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1841 return if there are no files, hook elisp-comp on the Autoconf
1842 macro, rely on lisp.am to define variables.
1843 (&handle_python, &handle_java): Likewise.
1844 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1845 `PYTHON' must be handled here, not in `&handle_python'.
1846 * java.am: Define needed variables and rules.
1848 2001-04-27 Akim Demaille <akim@epita.fr>
1850 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1852 * header.am: Include data.am.
1854 2001-04-27 Akim Demaille <akim@epita.fr>
1856 * automake.in (&am_install_var): Transform `PRIMARY'.
1857 * data.am: Equip with %PRIMARY%.
1859 2001-04-27 Akim Demaille <akim@epita.fr>
1861 * automake.in (@conditional_stack): Rename as...
1862 (@cond_stack): this.
1863 (&file_contents_internal): Support inclusion of files.
1865 2001-04-27 Akim Demaille <akim@epita.fr>
1867 * automake.in (&lang_extensions): Remove.
1868 (&add_depend2, &saw_sources_p): Adjust.
1869 * depend2.am: `%EXT%' no longer includes the dot.
1871 2001-04-27 Akim Demaille <akim@epita.fr>
1873 * automake.in (&finish_languages, &handle_single_transform_list)
1874 (&add_depend2, &handle_dependencies): No longer use the language
1875 name in `$lang'. Rename `$lang_obj' as `$lang'.
1877 2001-04-27 Akim Demaille <akim@epita.fr>
1879 * automake.in (®ister_language): Use `new Language' with a hash.
1881 2001-04-27 Akim Demaille <akim@epita.fr>
1883 * automake.in (®ister_language): Rename `output-arg' and
1884 `derived-autodep' as `output_arg' and `derived_autodep' to match
1885 the Language attribute.
1886 Set the defaults in %option instead of $lang.
1888 2001-04-27 Akim Demaille <akim@epita.fr>
1890 * Automake/: New directory.
1891 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1892 * automake.in (Language): Use Automake::Struct.
1893 * tests/defs: Adjust to find Struct.
1895 2001-04-23 Pavel Roskin <proski@gnu.org>
1897 * automake.in: Add forward declaration for register_language().
1898 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1901 2001-04-20 Akim Demaille <akim@epita.fr>
1903 * automake.in (%required_targets): Add `uninstall'.
1904 From Robert Collins.
1906 2001-04-12 Akim Demaille <akim@epita.fr>
1908 * automake.in (Language): Add attribute `name'.
1909 (®ister_language): The name of the language is now given in the
1911 No longer use `$lang' as the name of the language.
1912 Rename `$lang_obj' as `$lang'.
1914 2001-04-12 Akim Demaille <akim@epita.fr>
1916 * automake.in (Language): Add attribute `_finish'.
1919 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1920 (&lang_asm_finish): Remove.
1922 2001-04-12 Akim Demaille <akim@epita.fr>
1924 * automake.in (Language): Add attribute `extensions'.
1925 (Automake): Pass a hash to `®ister_language' instead of a
1926 list of pseudo assignments.
1927 (®ister_language): Adjust.
1928 (&finish_languages): Initialize `$ltoutarg'.
1930 2001-04-12 Akim Demaille <akim@epita.fr>
1932 * automake.in (Language): Add attribute `output_arg'.
1933 (%language_map): Remove.
1934 (®ister_language): Build only the object, and store in
1936 (&finish_languages, &handle_single_transform_list): Adjust.
1938 2001-04-12 Akim Demaille <akim@epita.fr>
1940 * automake.in (Language): Add attributes `flags', `compile' and
1942 (&finish_languages, &handle_single_transform_list, &handle_dist)
1943 (&add_depend2, ®ister_language): Use them and the `linker' and
1946 2001-04-12 Akim Demaille <akim@epita.fr>
1948 * automake.in (&handle_single_transform_list, &finish_languages)
1949 (&handle_dist, &handle_dependencies): Use the language object for
1950 autodep and derived-autodep too.
1952 2001-04-12 Akim Demaille <akim@epita.fr>
1954 * automake.in (¯o_define): Ignore Automake definition for
1955 ($var, $cond) if there is already a user definition for ($var, $cond).
1957 2001-04-12 Akim Demaille <akim@epita.fr>
1959 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1960 but also @deffn and so on which push data in indexes.
1961 Reported by Derek R. Price.
1963 2001-04-12 Akim Demaille <akim@epita.fr>
1965 * automake.in (Language): New package, temporarily in this file.
1967 (Automake): New package.
1969 (&handle_single_transform_list): Use the language object's `ansi'
1970 attribute instead of `$language_map{"$lang-ansi-p"}'.
1971 (®ister_language): Build and register the language too.
1973 2001-04-11 Tom Tromey <tromey@redhat.com>
1975 Fixes report from Larry Jones:
1976 * automake.in (handle_dependencies): Add `@_am_quote@' where
1978 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1980 2001-04-11 Akim Demaille <akim@epita.fr>
1982 * depend2.am: Fix the `if' condition for Libtool.
1983 Reported by Robert Boehne.
1985 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1987 * tests/subobj5.test: New file.
1989 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1991 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1992 * tests/Makefile.am (TESTS): Added make.test.
1993 * tests/make.test: New file.
1995 2001-04-10 Tom Tromey <tromey@redhat.com>
1997 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1999 2001-04-10 Derek R. Price <dprice@collab.net>
2001 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2003 2001-04-10 Akim Demaille <akim@epita.fr>
2005 * distdir.am: Add a missing backslash.
2007 2001-04-10 Akim Demaille <akim@epita.fr>
2009 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2011 Specify to the caller whether $regen_aclocal_m4.
2012 (&handle_configure): Adjust.
2013 Transform `REGEN-ACLOCAL-M4'.
2015 * configure.am: Use it.
2016 * tests/defs (me): New.
2017 * tests/confdeps.test: New.
2019 2001-04-09 Tom Tromey <tromey@redhat.com>
2021 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2022 Fixes report from Jim Meyering.
2024 2001-04-09 Akim Demaille <akim@epita.fr>
2026 * automake.in (&handle_configure): Don't bother with optimizing
2029 2001-04-09 Akim Demaille <akim@epita.fr>
2031 * tests/cond3.test (expected): Adjust.
2033 2001-04-09 Akim Demaille <akim@epita.fr>
2035 * automake.in (&handle_single_transform_list): Remove $xbase,
2037 (&handle_source_transform): All the variables have conditions now,
2039 (&variable_delete): Admit an argument @conds.
2041 2001-04-09 Akim Demaille <akim@epita.fr>
2043 * automake.in ($source_suffix_pattern): Remove, unused.
2044 %extension_map seems to have replaced it.
2046 2001-04-09 Akim Demaille <akim@epita.fr>
2048 * ext-compile.am: New file.
2049 * automake.in (&finish_languages): Output it.
2050 Require a C linker if there are several registered source suffixes.
2051 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2052 extensions, which are discovered in ext-compile.am.
2053 With the help from Robert Boehne.
2055 2001-04-09 Akim Demaille <akim@epita.fr>
2057 * automake.in (&handle_compile): Extract from...
2058 (&get_object_extension): here.
2059 (&read_am_file): Call it.
2060 ($included_generic_compile, $included_knr_compile)
2061 ($included_libtool_compile): Remove.
2062 ($get_object_extension_was_run): New.
2064 2001-04-09 Akim Demaille <akim@epita.fr>
2066 Use AM_CONDITIONAL and if/endif for AMDEP.
2068 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2069 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2070 to a configure time if/endif), or to `FALSE' (static removal of
2072 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2073 * depend2.am: Use if/endif.
2075 Adjust the 101 tests that use dependencies so that they
2076 properly invoke aclocal before automake. They need to `see'
2077 `AM_CONDITIONAL([AMDEP], ...)'.
2079 2001-04-09 Akim Demaille <akim@epita.fr>
2081 * tags.am: Fix missing leading tabs.
2083 2001-04-09 Akim Demaille <akim@epita.fr>
2085 * automake.in: Use simple quotes to define the _PATTERN variables
2086 to unobfuscate the regexps.
2087 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2089 2001-04-09 Akim Demaille <akim@epita.fr>
2091 * automake.in (&rule_define): When you discover a suffix rules,
2092 register the extensions for .SUFFIXES.
2093 (&handle_texinfo): Don't register the suffixes.
2094 (&get_object_extension): Don't register suffixes, let them be
2095 discovered in depend2.am.
2096 (&handle_emacs_lisp): Depend on your lisp.am.
2097 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2099 2001-04-09 Akim Demaille <akim@epita.fr>
2101 * subdirs.am: Don't define info related recursive targets.
2104 2001-04-09 Akim Demaille <akim@epita.fr>
2106 * subdirs.am (RECURSIVE_TARGETS): New variable.
2108 * automake.in (&handle_subdirs): Output it.
2109 (&file_contents_internal): Support value spread on several lines.
2111 2001-04-09 Akim Demaille <akim@epita.fr>
2113 * automake.in (&handle_man_pages): Rely on mans.am to define
2114 man%SECTION%dir and MANS.
2117 2001-04-09 Akim Demaille <akim@epita.fr>
2119 * automake.in (&variable_dump): Use %var_type properly.
2120 (¯o_define): Enforce better overriding rules.
2121 Handle the special case that used to handle...
2122 (&define_pretty_variable): this.
2124 The variables you define are owned by Automake.
2125 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2127 (&variable_defined): Now independent of the owner.
2128 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2130 2001-04-09 Akim Demaille <akim@epita.fr>
2132 * automake.in (%var_was_plus_eq): Rename as...
2134 (%def_type): Remove.
2135 (¯o_define): %var_type may now hold `', `+', or `:'.
2136 (%conditional, %am_vars, %content_lines): Rename as...
2137 (%var_value, %var_comment, %var_line): these.
2139 2001-04-09 Akim Demaille <akim@epita.fr>
2141 * automake.in (&variable_output): Admit a list of @CONDS.
2142 (&variable_pretty_output): New.
2143 (&define_pretty_variable): Use it.
2144 (&read_am_file, &file_contents_internal): Prepend a separator to
2145 $am_vars only if there is none yet.
2146 (&file_contents_internal): Rename $separator as $spacing to
2147 harmonize with &read_am_file.
2149 2001-04-09 Akim Demaille <akim@epita.fr>
2151 * automake.in (&am_install_var): Transform DIST, and let the *.am
2152 files handle DIST_COMMON.
2153 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2156 2001-04-09 Akim Demaille <akim@epita.fr>
2158 * automake.in (%dist_common): Remove.
2159 (%configure_dist_common): Replace with...
2160 ($configure_dist_common): this.
2161 (&generate_makefile): Read the user file before using
2162 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2163 that no variable is defined before it is run.
2164 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2165 (&dist_cmp): Rename as...
2166 (&for_dist_common): this.
2167 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2169 Adjust to $configure_dist_common.
2170 * configure.am, texi-vers.am: Set DIST_COMMON.
2172 2001-04-09 Akim Demaille <akim@epita.fr>
2174 * automake.in (&handle_aclocal_m4): Rename as...
2175 (&scan_aclocal_m4): this.
2176 Return the list of aclocal.m4 dependencies.
2177 (&handle_configure): Invoke it, and use it when loading...
2178 * configure.am: Template the rules to recreate aclocal.m4.
2180 2001-04-09 Akim Demaille <akim@epita.fr>
2182 * automake.in (&get_object_extension): Use ansi2knr.am.
2183 * clean-kr.am, kr-extra.am: Remove, merged into...
2184 * ansi2knr.am: this new file.
2186 2001-04-09 Akim Demaille <akim@epita.fr>
2188 * automake.in (&transform): Fix an incredible bug which was
2189 breaking the if/endif system.
2190 ($ELSE_PATTERN): Admit an optional argument.
2192 2001-04-09 Akim Demaille <akim@epita.fr>
2194 * comp-vars.am: Remove, merged into...
2196 * automake.in (&get_object_extension): Adjust.
2198 2001-04-09 Akim Demaille <akim@epita.fr>
2200 * remake.am: Merge into...
2201 * configure.am: ... here.
2202 * automake.in (&handle_configure): Adjust.
2204 2001-04-09 Akim Demaille <akim@epita.fr>
2206 * automake.in (&output_lex_build_rule): Output this...
2209 2001-04-09 Akim Demaille <akim@epita.fr>
2211 * automake.in (&condition_negate): New.
2212 (&variable_conditions_permutations): Use it.
2213 (&read_am_file, &file_contents): Use it on `else' clauses to
2215 (&output_yacc_build_rule): Output this...
2216 * yacc.am: New file.
2218 2001-04-09 Akim Demaille <akim@epita.fr>
2220 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2221 (&handle_dist): Don't.
2222 (&handle_clean): Don't handle config.status here, let...
2223 * clean.am: ... do it.
2224 * distdir.am: Adjust.
2226 2001-04-09 Akim Demaille <akim@epita.fr>
2228 * automake.in: Use strict vars and subs.
2229 Declare `%require_file_found'.
2230 (&handle_source_transform, &make_paragraphs): Declare my variables.
2232 2001-04-09 Akim Demaille <akim@epita.fr>
2234 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2235 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2236 * java.am (_am_installdirs): Be sure to set it.
2238 2001-04-09 Akim Demaille <akim@epita.fr>
2240 * automake.in (&make_condition): Return '#' when FALSE.
2241 (&conditional_string): Return FALSE, not '#' in the corresponding
2243 (&file_contents_internal): Adjust.
2244 (&check_variable_defined_unconditional): Dump the guilty variable.
2246 2001-04-09 Akim Demaille <akim@epita.fr>
2248 * distdir.am: Use and abuse of if/endif.
2249 * scripts.am: Using if/endif with variables is fine.
2251 2001-04-09 Akim Demaille <akim@epita.fr>
2253 * automake.in (&make_paragraphs): Extract from &file_contents.
2254 Make it more robust than the previous RE based scheme.
2255 (&file_contents): Use it.
2257 2001-04-09 Akim Demaille <akim@epita.fr>
2259 * automake.in (&make_paragraphs): Extract from &file_contents.
2260 Make it more robust than the previous RE based scheme.
2261 (&file_contents): Use it.
2263 2001-04-09 Akim Demaille <akim@epita.fr>
2265 * tests/yacc2.test: Don't define several times a variable, as
2268 2001-04-09 Akim Demaille <akim@epita.fr>
2270 * automake.in (&handle_source_transform): Fix pr72: don't define
2271 $linker if there are no @files.
2273 2001-04-09 Akim Demaille <akim@epita.fr>
2275 Avoid reading twice header-vars.am as now macro_define
2278 * automake.in (&define_standard_variables): Don't output the
2280 (&read_main_am_file): Output first user variables, then Automake
2282 Don't call twice &define_standard_variables.
2283 Save variable comments in $am_vars.
2284 (&variable_output): New.
2285 (&file_contents_internal): New.
2286 Save variable comments in $am_vars.
2287 (&file_contents): Use it.
2289 2001-04-09 Akim Demaille <akim@epita.fr>
2291 * automake.in (¯o_define): The user is allowed to override
2292 a value if it was set by Automake, or if it was found in AC_SUBST.
2294 2001-04-09 Akim Demaille <akim@epita.fr>
2296 * automake.in (&handle_source_transform): Better locality of the
2298 Use `next' to skip nonexistent variables.
2300 2001-04-09 Akim Demaille <akim@epita.fr>
2302 * automake.in (&variable_dump): If a variable is undefined, say
2304 (&check_ambiguous_conditional): Give finer error messages.
2305 (¯o_define): Check that a `+=' variable is not set with `='.
2306 Check for ambiguous definitions each time you _set_ (even with `+=')
2308 (&read_main_am_file): Perform a deep copy of %conditional.
2310 2001-04-09 Akim Demaille <akim@epita.fr>
2312 * automake.in (&variable_defined): Some callers, e.g.,
2313 &am_primary_prefixes, really want to know if the variable is
2314 defined for any condition, not `TRUE' by default.
2315 (&am_primary_prefixes): Give a more precise error message.
2317 2001-04-09 Akim Demaille <akim@epita.fr>
2319 (&variable_conditions): Don't include `FALSE' in the result.
2321 2001-04-09 Akim Demaille <akim@epita.fr>
2323 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2324 (&variable_conditions): Don't include `FALSE' in the result.
2326 2001-04-09 Akim Demaille <akim@epita.fr>
2328 * tests/defs, tests/depend3.test: Remove useless code.
2330 2001-04-09 Akim Demaille <akim@epita.fr>
2332 * automake.in (&handle_source_transform): Use
2333 &variable_conditions, don't read $conditional{$var}.
2334 (&variable_conditions_sub): When the call is the top level call,
2335 generate all the permutations of the conditions.
2337 2001-04-09 Akim Demaille <akim@epita.fr>
2339 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2340 that it does not get noticed twice by automake, which now
2341 complains for multiple definitions.
2342 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2343 because we defined INSTALL.
2345 2001-04-09 Akim Demaille <akim@epita.fr>
2347 * automake.in (&generate_makefile) Use macro_define to define
2348 SOURCES and OBJECTS.
2349 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2350 this would make perl create $condition{VAR}, which we don't want.
2352 2001-04-09 Akim Demaille <akim@epita.fr>
2354 * automake.in (&variable_defined, &define_pretty_variable):
2355 Simplify code which used to handle the cases where not all
2356 variables were in %conditional.
2357 (&define_variable): Use &define_pretty_variable.
2358 (&variable_conditions_sub, &variable_value_as_list_worker)
2359 (&variable_value_as_list, &rule_define): Simplify syntax.
2360 (&read_main_am_file): Dump the guilty predefined variables.
2362 2001-04-09 Akim Demaille <akim@epita.fr>
2364 * automake.in (&variable_conditions_sub)
2365 (&variable_value_as_list_worker): Remove dead code which used to
2366 handle the cases where not all variables were in %conditional.
2368 2001-04-09 Akim Demaille <akim@epita.fr>
2370 * automake.in (&handle_source_transform, &read_main_am_file):
2371 Simplify loops which were split in two parts, conditional vs
2372 unconditional variables.
2374 2001-04-09 Akim Demaille <akim@epita.fr>
2376 Handle unconditional values of variables as conditioned by
2379 * automake.in (%contents): Remove.
2380 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2381 (&read_am_file, &variable_defined, &variable_conditions_sub)
2382 (&variable_value, &variable_value_as_list_worker)
2383 (&variable_value_as_list, &define_pretty_variable)
2384 (&read_main_am_file): Use
2385 $conditional, not %contents.
2386 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2387 (&variable_conditionally_defined): New.
2388 (&handle_dist): Use it.
2389 (&check_ambiguous_conditional): When multiply defined, specify
2390 under which condition.
2391 (¯o_define): Use it.
2392 (&variable_delete): New.
2393 (&read_am_file): Use it.
2394 (&am_install_var): Simplify, as all the variables are in
2397 2001-04-07 Tom Tromey <tromey@redhat.com>
2399 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2401 * tests/man.test: New file.
2403 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2405 * depcomp (gcc3): Invert test condition.
2407 2001-04-07 Tom Tromey <tromey@redhat.com>
2409 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2410 statement. Report from Larry Jones.
2412 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2414 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2416 2001-04-01 Tom Tromey <tromey@redhat.com>
2418 * java.am (.PHONY clean-am): Removed trailing ":".
2419 From Per Bothner. Fixes PR automake/139.
2421 2001-03-28 Akim Demaille <akim@epita.fr>
2423 * program.am: Fix a stupid typo: now *all* (not none) the programs
2425 Reported by Robert Boehne.
2427 2001-03-23 Akim Demaille <akim@epita.fr>
2429 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2432 2001-03-23 Akim Demaille <akim@epita.fr>
2434 * automake.in (&variable_conditionally_defined): Rename as...
2435 (&check_variable_unconditionally_defined): this.
2436 (&variable_dump): Fix the output.
2437 (&variable_defined, ¯o_define): Since conditions are
2438 canonicalized, don't use a loop to look for a condition: read the
2440 (¯o_define, &rule_define, &read_am_file, &file_contents):
2441 Rename $cond_string as $cond.
2442 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2443 discovered via AC_SUBST, they now trigger a `defined twice' error.
2445 2001-03-23 Akim Demaille <akim@epita.fr>
2447 * automake.in (&handle_footer, &handle_installdirs)
2448 (&read_main_am_file): Don't read %contents directly, use
2451 2001-03-23 Akim Demaille <akim@epita.fr>
2453 * automake.in (&read_am_file): Define the variables in a single
2455 Factor the $saw_bk code.
2457 2001-03-23 Akim Demaille <akim@epita.fr>
2459 * automake.in (&read_am_file): Keep $cond_string up to date.
2461 2001-03-23 Akim Demaille <akim@epita.fr>
2463 * automake.in (&define_variable): Use ¯o_define.
2465 2001-03-23 Akim Demaille <akim@epita.fr>
2467 * automake.in (¯o_define): Don't lose the location if we
2468 redefine a variable.
2469 Don't push all the variables in @var_list, let...
2470 (&read_am_file, &file_contents): ... do it.
2471 (&define_pretty_variable): Use macro_define.
2472 (&am_install_var): Delete the value of variables being redefined
2473 to pacify ¯o_define which checks that variables are not
2476 2001-03-23 Akim Demaille <akim@epita.fr>
2478 * automake.in (&conditional_dump): Rename as...
2479 (&variables_dump): this. Use...
2480 (&variable_dump): this new sub.
2482 2001-03-23 Akim Demaille <akim@epita.fr>
2484 * automake.in (&file_contents): Maintain $cond_string sync with
2486 Output rules only if not under `FALSE'.
2487 Define variables under $cond_string.
2488 * scripts.am: For the time being if/endif does not work properly
2491 2001-03-23 Akim Demaille <akim@epita.fr>
2493 * automake.in (IF_PATTERN): Unobfuscate the parens.
2494 (ENDIF_PATTERN): Allow a condition to be specified.
2495 (&file_contents): Use a @cond_stack.
2496 (&transform): At least for an easy transition, also transform
2497 %?FOO% and %!FOO%, as suggested by Lars.
2498 * scripts.am: First test bed for static if/endif use.
2500 2001-03-23 Akim Demaille <akim@epita.fr>
2502 * automake.in (&file_contents): Use rule_define.
2504 2001-03-23 Akim Demaille <akim@epita.fr>
2506 * automake.in (¯o_define): Don't rely on $1.
2507 Initialize the variable.
2508 Set its Automakism only if not defined or if given to the user.
2509 When concatenating values, insert a separator only if the value
2511 (&read_am_file): When dumping the @var_list, skip Automake
2513 (&file_contents): Use macro_define.
2515 2001-03-23 Akim Demaille <akim@epita.fr>
2517 * automake.in (&rule_define): Extract from...
2518 (&read_am_file): here.
2520 2001-03-23 Akim Demaille <akim@epita.fr>
2522 * automake.in (¯o_define, &read_am_file): More work for the
2523 former from the latter. Reorganize the latter.
2525 2001-03-23 Akim Demaille <akim@epita.fr>
2527 * automake.in (¯o_define): Extract from...
2528 (&read_am_file): here.
2530 2001-03-23 Akim Demaille <akim@epita.fr>
2532 * automake.in (%am_var_defs): Replace with...
2534 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2535 (&file_contents, am_primary_&prefixes): Adjust.
2536 (&variable_defined, &define_variable): The actual semantics is
2538 (&read_main_am_file): Assert the var is user defined when
2539 outputting @var_list.
2541 2001-03-23 Akim Demaille <akim@epita.fr>
2543 * automake.in (read_am_file): TRUE and FALSE are predefined
2545 (&by_condition): Adjust.
2546 (&conditional_string): Recognize `TRUE' and `FALSE'.
2547 (&make_condition): Use it.
2548 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2549 * automake.texi (Conditionals): Adjust.
2550 * tests/cond9.test: s/FALSE/WRONG/.
2552 2001-03-12 Pavel Roskin <proski@gnu.org>
2554 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2557 2001-03-12 Akim Demaille <akim@epita.fr>
2559 * automake.in (&variable_conditions_permutations): Separate the
2561 * tests/cond3.test: Improve the sed expression.
2563 2001-03-09 Pavel Roskin <proski@gnu.org>
2565 * Makefile.am (maintainer-check): Scan all *.am files and tests
2566 for invocations of `rm' without `-f'.
2567 * tests/mclean.test: Adjusted to prevent triggering the above
2570 2001-03-09 Tom Tromey <tromey@redhat.com>
2572 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2573 maintainer-check failure.
2575 2001-03-09 Akim Demaille <akim@epita.fr>
2577 * tests/cond3.test: Strengthen.
2579 2001-03-09 Akim Demaille <akim@epita.fr>
2581 * automake.in (&conditional_string): Produce a unique string
2582 characterizing a condition stack.
2583 (&conditional_same): Remove, comparing two strings is now enough.
2584 (&variable_defined): Adjust.
2585 (&read_am_file): Use conditional_string.
2587 2001-03-08 Akim Demaille <akim@epita.fr>
2589 * automake.in: Use -w.
2590 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2591 (&parse_arguments): Support --Werror and --Wno-error as a
2592 temporary hack until --warning/-W is properly implemented.
2593 (&handle_single_transform_list): Prototype.
2594 Be sure to define $directory.
2595 Use `exists' instead of testing the value of a maybe undefined
2597 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2598 (&handle_factored_dependencies): Use defined values.
2599 (&scan_one_autoconf_file): Save $_.
2600 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2601 Run automake with --Wno-error.
2603 2001-03-07 Akim Demaille <akim@epita.fr>
2605 * automake.in (&handle_all): Use an array instead of a scalar for
2607 Get rid of all-redirect: let `all' be that target.
2609 2001-03-07 Akim Demaille <akim@epita.fr>
2611 * automake.in (&handle_merge_targets): Ventilate its non `all'
2612 related content into...
2613 (&generate_makefile): here.
2614 (&handle_merge_targets): Rename as...
2615 (&handle_all): this.
2616 Remove a useless `if': `@all' is obviously not empty, since it
2617 contains at least the `basename ($makefile)' which has just been
2620 2001-03-07 Akim Demaille <akim@epita.fr>
2622 * automake.in, aclocal.in: Backquote is inert in double quotes.
2624 2001-03-06 Akim Demaille <akim@epita.fr>
2626 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2629 2001-03-06 Pavel Roskin <proski@gnu.org>
2631 * java.am: Use `rm -f' instead of `rm'.
2633 2001-03-06 Akim Demaille <akim@epita.fr>
2635 * automake.in (&push_dist_common): Simplify.
2637 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2639 * ltlib.am: Replaced spaces with tab.
2641 2001-03-06 Pavel Roskin <proski@gnu.org>
2643 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2646 2001-03-05 Pavel Roskin <proski@gnu.org>
2648 * header.am, scripts.am: Use ?INSTALL? in the install and
2651 2001-03-05 Pavel Roskin <proski@gnu.org>
2653 * tests/copy.test: Never use `rm' without `-f' - it may ask
2654 questions, notably for read-only files during `make distcheck'.
2655 * tests/insh.test: Likewise.
2656 * tests/installsh.test: Likewise.
2657 * tests/symlink.test: Likewise.
2658 * tests/symlink2.test: Likewise.
2659 * tests/symlink3.test: Likewise.
2661 2001-03-05 Pavel Roskin <proski@gnu.org>
2663 * noinstdir.test: New test.
2664 * tests/Makefile.am (TESTS): Add noinstdir.test.
2665 (XFAIL_TESTS): Likewise.
2667 2001-03-05 Akim Demaille <akim@epita.fr>
2669 * automake.in (&handle_options): Change the RE so that the third
2670 part of the versions always exist.
2671 (&file_contents): Don't pass uninitialized values to &transform.
2673 2001-03-05 Akim Demaille <akim@epita.fr>
2675 * automake.in (&file_contents): Require a hash as second argument.
2678 2001-03-05 Akim Demaille <akim@epita.fr>
2680 Always use hashes with &file_contents.
2682 * automake.in (&handle_texinfo): texibuild.am does not need
2684 texinfos.am wants only TEXICLEANS.
2685 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2687 * texinfos.am: Adjust.
2689 2001-03-05 Akim Demaille <akim@epita.fr>
2691 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2692 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2693 (&am_install_var): Forget about `-clean'.
2694 Transform ?INSTALL?.
2695 Always output the *.am file.
2696 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2697 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2698 Remove, merged into the corresponding *.am file.
2699 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2702 2001-03-05 Pavel Roskin <proski@gnu.org>
2704 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2706 2001-03-05 Akim Demaille <akim@epita.fr>
2708 If OBJEXT and EXEEXT are not set, provide a default value, and use
2709 them unconditionally.
2711 * automake.in (&generate_makefile): Provide default values for
2713 (&get_object_extension, &finish_languages)
2714 (&handle_single_transform_list, &handle_programs, &add_depend2)
2715 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2716 them, they are defined.
2717 * compile.am, depend2.am, program.am, progs.am: Likewise.
2718 * remake-hdr.am: Fix a typo.
2719 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2720 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2721 * tests/suffix2.test: Adjust.
2723 2001-03-05 Akim Demaille <akim@epita.fr>
2725 * automake.in (&file_contents): Map MAINTAINER-MODE to
2726 @MAINTAINER_MODE_TRUE@ or nothing.
2727 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2730 2001-03-05 Akim Demaille <akim@epita.fr>
2732 * automake.in (&do_one_merge_target): Remove, was only called from...
2733 (&handle_merge_targets): here for `all'.
2736 2001-03-05 Akim Demaille <akim@epita.fr>
2738 Make the installation/uninstallation of Info pages follow the
2739 regular am/recursive scheme.
2741 * automake.in (%required_targets, %dependencies): Add
2743 (%dependencies): Add install-info, install-info-am, and
2745 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2746 reversed BTW. Does anybody use the option `no-installinfo'?
2747 (&handle_merge_targets): Let the handling of info related targets
2749 (&handle_factored_dependencies): this.
2750 * subdirs.am: Use ?INSTALL-INFO?.
2751 * texinfos.am: Define the install-info, uninstall-info and
2752 uninstall-info-am targets.
2754 2001-03-05 Akim Demaille <akim@epita.fr>
2756 * automake.in (%required_targets, %dependencies): Add dvi, info,
2758 (@info, @dvi): Remove.
2759 (&handle_texinfo, &handle_merge_targets): Adjust.
2760 (&handle_factored_dependencies): Required targets are phony.
2761 * texinfos.am: Build info, dvi, and the corresponding -am or
2764 2001-03-05 Akim Demaille <akim@epita.fr>
2766 * automake.in (&am_install_var): Remove $cygxform, unused.
2768 2001-03-05 Akim Demaille <akim@epita.fr>
2770 * automake.in (&file_contents): Transform LIBTOOL.
2771 (&am_install_var): Remove $ltxform.
2772 * ltlib.am, progs.am: Adjust.
2774 2001-03-05 Akim Demaille <akim@epita.fr>
2776 * automake.in: Require AC_PROG_INSTALL in...
2777 (&scan_autoconf_files): here.
2779 2001-03-05 Akim Demaille <akim@epita.fr>
2781 * configure.am: New file.
2782 * automake.in (&file_contents): Transform CONFIGURE-AC.
2783 (&handle_texinfo, &handle_configure): Don't transform
2785 (&handle_configure): Use `configure.am'.
2786 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2787 MAINTAINER-MODE and CONFIGURE-AC.
2789 2001-03-05 Akim Demaille <akim@epita.fr>
2791 * automake.in (&pretty_print_internal): Don't output useless
2793 (define_pretty_variable): Don't issue the space after the `=' sign
2794 to avoid trailing spaces in Makefile.ins.
2796 2001-03-05 Akim Demaille <akim@epita.fr>
2798 * automake.in (&generate_makefile): Invoke &initialize_per_input
2799 *before* setting $am_file_name and $in_file_name.
2801 2001-03-05 Akim Demaille <akim@epita.fr>
2803 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2804 Globals, initialized...
2805 (&initialize_per_input): here.
2807 2001-03-05 Akim Demaille <akim@epita.fr>
2809 * automake.in ($am_relative_dir): Global.
2810 (&initialize_per_input): Init it.
2811 (%make_list, @make_input_list): My them from
2812 (&scan_autoconf_files): here.
2813 (&require_file_internal): Mying changes.
2815 2001-03-05 Akim Demaille <akim@epita.fr>
2817 * automake.in (%am_vars, @var_list, %def_type): Globals.
2818 (&initialize_per_input): Initialize them.
2819 (&read_main_am_file): Don't local them.
2820 (&get_object_extension): $objext is private.
2821 (&handle_single_transform_list): $lang is.
2822 (&handle_ltlibraries): $libname_rx is.
2823 (&scan_autoconf_config_files): How about actually paying attention
2824 to your arguments, instead of working on $_? (this is no Perl
2825 variable, it's a Perl variable followed by a question mark).
2826 (&file_contents): $contents and $separator are private.
2827 (&am_install_var): Declare @condvals, not $condvals.
2830 2001-03-05 Akim Demaille <akim@epita.fr>
2832 * automake.in (&initialize_per_input): Move to the top.
2833 Precede with the `my' list of its variables.
2835 2001-03-05 Akim Demaille <akim@epita.fr>
2837 * automake.in ($am_file): Use vars.
2838 ($am_file_name, $in_file_name): Private to &generate_makefile.
2840 2001-03-05 Akim Demaille <akim@epita.fr>
2842 * automake.in: Preparation for `use strict': Move the
2843 initialization of the constants to the top, from...
2844 (&initialize_global_constants): here.
2846 2001-03-05 Akim Demaille <akim@epita.fr>
2848 * automake.in (&handle_single_transform_list, &add_depend2): Let
2849 $lang_specific_files{$lang} be a list instead of a string.
2851 2001-03-05 Akim Demaille <akim@epita.fr>
2853 Let's make it run ten times faster...
2855 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2857 (&file_contents): Let `$command' remove the Automake commands, and
2858 normalize the series of `\n'.
2859 Slurp the file and apply $command in a single step.
2860 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2861 is already normalized to be handled by &transform.
2863 2001-03-05 Tom Tromey <tromey@redhat.com>
2865 * automake.in (register_language): Add entry for `-pure'.
2866 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2867 (finish_languages): Use `-pure' field of language map.
2869 2001-03-03 Tom Tromey <tromey@redhat.com>
2871 * tests/yaccvpath.test: No need to remove dummy files.
2872 * tests/subobj3.test: No need to remove dummy files.
2873 * tests/pr9.test: No need to remove dummy files.
2874 * tests/pr87.test: No need to remove dummy files.
2875 * tests/pr19.test: No need to remove dummy files.
2876 * tests/install2.test: No need to remove dummy files.
2877 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2880 2001-02-27 Pavel Roskin <proski@gnu.org>
2882 * tests/yaccvpath.test: Add a delay to make parse.c really out
2883 of date. Detect the problem earlier, after `make distdir'. Drop
2884 dependency on flex. Always use the `-y' flag for bison. Comment
2886 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2888 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2890 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2892 2001-02-28 Akim Demaille <akim@epita.fr>
2894 * automake.in (&add_depend2): Transform `GENERIC'.
2895 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2896 addition was broken by the `@ -> %' patch.
2897 * depend2.am: Adjust to use ?GENERIC?.
2899 2001-02-28 Akim Demaille <akim@epita.fr>
2901 * Makefile.am (maintainer-check): `undef $/' is OK.
2903 2001-02-28 Akim Demaille <akim@epita.fr>
2905 * automake.in (&handle_configure): Fortunately, $top_reldir,
2906 the definition of which was highly suspicious, was unused.
2908 2001-02-27 Akim Demaille <akim@epita.fr>
2910 * automake.in (%exec_dir_p): Move to the top so that it is visible
2913 2001-02-27 Pavel Roskin <proski@gnu.org>
2915 * tests/yaccvpath.test: Prevent automake from looking into ..
2916 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2918 2001-02-27 Akim Demaille <akim@epita.fr>
2920 * automake.in (%exec_dir_p): Pulled out from...
2921 (&am_primary_prefixes): here.
2923 2001-02-27 Akim Demaille <akim@epita.fr>
2925 * automake.in (&usage): Display $0, not $me.
2927 2001-02-27 Akim Demaille <akim@epita.fr>
2929 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2930 * automake.in (&handle_clean): Don't escape what's given to
2933 2001-02-27 Akim Demaille <akim@epita.fr>
2935 Distinguish automake substitutions from config.status
2938 * automake.in (&add_depend2): Transform AMDEP.
2939 (&handle_clean): Transform MCFILES and MFILES.
2940 (&file_contents): Transform MAINTAINER_MODE.
2941 (&transform, &am_install_var): Use `%', not `@'.
2942 Adjust all the *.am files.
2943 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2944 * depend2.am: Display the double dependency on both ?AMDEP? and
2947 2001-02-27 Tom Tromey <tromey@redhat.com>
2949 * distdir.am (distcheck): Fixed new code.
2951 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2952 Only configure once.
2954 * distdir.am (distcheck): Print error message if distclean failed
2957 2001-02-27 Pavel Roskin <proski@gnu.org>
2959 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2961 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2963 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2964 * tests/yaccvpath.test: New file.
2966 2001-02-26 Akim Demaille <akim@epita.fr>
2968 * automake.in (&am_install_var): Recognize whether predefined
2969 directories are `data' or `exec'.
2970 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2972 * tests/instdata2.test: Update.
2974 2001-02-26 Akim Demaille <akim@epita.fr>
2976 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2977 necessarily in infodir.
2979 2001-02-26 Akim Demaille <akim@epita.fr>
2981 * automake.in ($am_file): Be `local', as my'd variables used in
2982 `foreach' loops are always private to the loop.
2984 2001-02-26 Pavel Roskin <proski@gnu.org>
2986 * Makefile.am: Add install.am.
2988 2001-02-26 Akim Demaille <akim@epita.fr>
2990 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2991 routines, otherwise the elements to compare are passed in @_
2992 instead of $a and $b.
2994 2001-02-26 Akim Demaille <akim@epita.fr>
2996 * automake.in (%required_targets): `installcheck-am' is needed.
2998 2001-02-26 Akim Demaille <akim@epita.fr>
3000 * automake.in (&transform_cond): Merge into...
3004 2001-02-26 Akim Demaille <akim@epita.fr>
3006 * automake.in (&handle_dist): Use &transform instead of dedicated
3008 But be sure to always do it.
3009 * distdir.am: Adjust.
3011 2001-02-26 Akim Demaille <akim@epita.fr>
3013 * automake.in: Use File::Basename.
3014 (&dirname, &basename): Remove.
3016 2001-02-26 Akim Demaille <akim@epita.fr>
3018 * automake.in ($me): New.
3020 (&usage): Display your full name.
3022 2001-02-26 Akim Demaille <akim@epita.fr>
3024 * automake.texi (Invoking Automake): Remove dead options.
3026 2001-02-26 Akim Demaille <akim@epita.fr>
3028 * automake.in (&scan_texinfo_file): Also compute the list of files
3030 Handle local errors.
3031 (&handle_texinfo): Use it.
3033 2001-02-26 Akim Demaille <akim@epita.fr>
3035 * automake.in: Don't pass arguments to...
3036 (&parse_arguments): Work on @ARGV.
3038 Add support for `-f'.
3042 2001-02-26 Akim Demaille <akim@epita.fr>
3044 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3045 handle installcheck and installcheck-am.
3046 * install.am: Do it.
3048 2001-02-26 Akim Demaille <akim@epita.fr>
3050 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3051 handle install and install-am.
3052 * install.am: Do it.
3054 2001-02-26 Akim Demaille <akim@epita.fr>
3056 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3057 work on targets handled by %dependencies.
3058 (&handle_factored_dependencies): Do it.
3059 * install.am: Install install-exec, install-data and uninstall's
3062 2001-02-26 Akim Demaille <akim@epita.fr>
3064 * automake.in (&handle_merge_targets): Move `install-strip' from
3066 * install.am: to here.
3068 2001-02-26 Akim Demaille <akim@epita.fr>
3070 * automake.in (@installdirs): Remove.
3071 (&file_contents): Be able to grow Automake macros with `+='.
3072 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3073 files define _am_installdirs.
3074 (&handle_installdirs): Remove the code, just output `install.am'.
3076 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3077 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3079 2001-02-26 Akim Demaille <akim@epita.fr>
3081 * tests/instdata2.test (libexec_DATA): Exercise more
3084 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3086 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3088 2001-02-25 Tom Tromey <tromey@redhat.com>
3090 * tests/instdata2.test: Added `sbin_DATA' check.
3092 * tests/Makefile.am (TESTS): Added subdircond.test.
3093 * tests/subdircond.test: New file.
3094 * automake.in (handle_gettext): Don't fail if SUBDIRS
3095 conditionally defined.
3097 * automake.in: Use IO::File.
3098 (generate_makefile): Use IO::File.
3099 (scan_texinfo_file): Likewise.
3100 (handle_aclocal_m4): Likewise.
3101 (scan_autoconf_traces): Likewise.
3102 (scan_one_autoconf_file): Likewise.
3103 (read_am_file): Likewise.
3104 (file_contents): Likewise.
3107 2001-02-25 Akim Demaille <akim@epita.fr>
3109 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3111 2001-02-25 Akim Demaille <akim@epita.fr>
3113 * automake.in (&transform): Also call &transform_cond on your
3115 (&handle_dist): Adjust.
3116 (&handle_factored_dependencies): Uniq dependencies.
3118 2001-02-25 Akim Demaille <akim@epita.fr>
3120 * automake.in (&handle_gettext): Simplify redundant `if'.
3121 Used &variable_value, don't read %contents directly.
3123 2001-02-25 Akim Demaille <akim@epita.fr>
3125 * automake.in ($install_recursive): Remove, replaced with calls to
3126 `&variable_defined ('SUBDIRS')'.
3127 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3128 (&file_contents): now does.
3130 2001-02-25 Akim Demaille <akim@epita.fr>
3132 * automake.in (&handle_man_pages): $found is dead.
3134 2001-02-25 Akim Demaille <akim@epita.fr>
3136 Internally just store the conditionals as space separated lists of
3137 CONDITIONS (instead of @CONDITIONS@).
3139 * automake.in (&conditional_true_when, &variable_conditions_sub):
3140 Split conditions at spaces.
3141 (&handle_dependencies, &variable_conditions_permutations): Don't
3142 put @ around conditions.
3143 (&variable_conditions_cmp): There are no @ to strip.
3144 (&make_condition): New.
3145 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3147 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3148 Join @conditional_stack with spaces.
3149 (&read_main_am_file): Adjust the output of variables.
3150 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3151 true' and no longer `@TEST@TRUE = @TEST@true'.
3152 (&variable_conditions_cmp): Rename as...
3153 (&by_condition): this.
3154 Sort in a human pleasant order.
3155 Use it everywhere a human can see conditions.
3156 (&variable_conditions_reduce): Don't sort conditions, that's
3158 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3160 2001-02-25 Akim Demaille <akim@epita.fr>
3162 * automake.in: `my' the globals.
3164 2001-02-25 Akim Demaille <akim@epita.fr>
3166 * automake.in (&initialize_per_input): %targets_conditionals is
3168 (&read_am_file): When slurping a rule, set the target related
3169 variable, and no variable related variable.
3170 (&file_contents): Likewise.
3171 * tests/vartar.test, tests/ctarget1.test: New.
3173 2001-02-25 Akim Demaille <akim@epita.fr>
3175 * automake.in (&variable_defined, &variable_value_as_list_worker):
3176 If $VAR is effectively a variable, don't die if it's also a
3178 Plus some formatting changes.
3180 2001-02-25 Akim Demaille <akim@epita.fr>
3182 * automake.in: Mying changes.
3183 * Makefile.am (maintainer-check): Check the stability of the
3184 number of uses of `local'.
3186 2001-02-25 Akim Demaille <akim@epita.fr>
3188 * automake.in: Mying changes.
3190 2001-02-25 Akim Demaille <akim@epita.fr>
3192 * automake.in: Mying changes.
3194 2001-02-25 Akim Demaille <akim@epita.fr>
3196 * automake.in: Mying changes.
3197 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3198 transform CONFIG into $config, not $xform.
3200 2001-02-25 Akim Demaille <akim@epita.fr>
3202 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3203 Don't deal with install-data-am, install-exec-am and unstall-am.
3204 (&initialize_per_input): Add them to %dependencies.
3205 Remove %exec_dir_p since the *.am files are now in charge of it.
3206 Remove @uninstall, @install_data, @install_exec.
3207 (&handle_merge_targets): Adjust to these removals.
3208 (&file_contents): Also &transform_cond for --no-installman and
3210 (&do_one_merge_target): Add some magic to install hooks on
3211 %dependencies' targets.
3212 (%required_targets): New.
3213 (&handle_factored_dependencies): Output required targets.
3214 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3215 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3216 * texinfos.am: Declare your dependencies on install-data-am,
3217 install-exec-am and uninstall-am.
3218 * tests/instdata2.test (incldata_HEADERS): New test.
3220 2001-02-24 Tom Tromey <tromey@redhat.com>
3222 * Makefile.am (amfiles): Added texibuild.am.
3223 * texibuild.am: New file.
3224 * tests/Makefile.am (TESTS): Added texinfo9.test.
3225 * tests/texinfo9.test: New file.
3226 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3227 error if suffix unrecognized. Removed extraneous newline.
3229 2001-02-23 Akim Demaille <akim@epita.fr>
3231 * automake.in (&am_install_var): Don't hook on the clean targets
3233 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3234 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3237 2001-02-23 Akim Demaille <akim@epita.fr>
3239 * automake.in: Promote local `my' over `local'.
3241 2001-02-23 Akim Demaille <akim@epita.fr>
3243 * automake.in: Formatting and mying changes.
3245 2001-02-23 Akim Demaille <akim@epita.fr>
3247 * automake.in: Formatting and mying changes.
3249 2001-02-23 Akim Demaille <akim@epita.fr>
3251 * automake.in (&handle_man_pages): Let install-man and
3252 uninstall-man be handled by the dependency tracker.
3253 (&initialize_per_input): Let %dependencies track them.
3254 * mans.am: Add the needed hooks with the proper dependencies.
3256 2001-02-22 Pavel Roskin <proski@gnu.org>
3258 * tests/target-cflags.test: Don't use subshell to configure in
3259 subdirectory. Typo fix - run `./foo', not `/foo'.
3261 2001-02-22 Akim Demaille <akim@epita.fr>
3263 * automake.in: Formatting and mying changes.
3265 2001-02-21 Tom Tromey <tromey@redhat.com>
3267 * automake.in (handle_dist): Introduce new variable to avoid extra
3268 keys in %dist_dirs. Fixes distdir.test.
3270 * automake.in (handle_texinfo): Only remove suffixes we can
3273 * tests/distdir.test: Check to make sure directory isn't made in
3276 * automake.in (handle_dist): Do nothing in Cygnus mode.
3278 2001-02-21 Pavel Roskin <proski@gnu.org>
3280 * header-vars.am: Remove tabs before variable definitions.
3282 2001-02-21 Akim Demaille <akim@epita.fr>
3284 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3287 2001-02-21 Akim Demaille <akim@epita.fr>
3289 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3290 numeric value as required by Perl 5.6.
3292 2001-02-21 Akim Demaille <akim@epita.fr>
3294 * dist-vars.am: Remove, merge into...
3296 * automake.in (dirname, basename, backname): Move to the top of
3297 the file so that prototypes are checked,
3298 Use them without `&'.
3299 (&handle_dist): Adjust.
3301 2001-02-21 Akim Demaille <akim@epita.fr>
3303 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3304 Use a uniform naming scheme.
3305 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3306 (&read_am_file): Fix conditional definition of backslash continued
3309 2001-02-21 Akim Demaille <akim@epita.fr>
3311 Change the handling of conditionals: instead of using an ad-hoc
3312 encoding to store a hash in a string, use hashes.
3314 * automake.in (&conditional_dump): New.
3315 (&check_ambiguous_conditional, &variable_defined)
3316 (&variable_conditions_sub, &variable_value_as_list_worker)
3317 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3318 handle `$conditional{$vars}' as a hash instead of a plain string.
3320 2001-02-21 Akim Demaille <akim@epita.fr>
3322 * automake.in (&conditional_true_when): Modernize, simplify.
3323 Warning: `$comp' is now private (my), while it used to be
3324 `inherited' from a `local' elsewhere in the code. AFAICT it was
3325 wrong, but some dirty side effect might show up.
3326 (&conditionals_true_when): New.
3327 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3329 2001-02-21 Akim Demaille <akim@epita.fr>
3331 * automake.in ($top_builddir): Remove, used in one place.
3332 (&define_standard_variables): Adjust.
3333 Move the definition of triplet variables into...
3334 * header-vars.am: here.
3336 2001-02-21 Akim Demaille <akim@epita.fr>
3338 * automake.in (&initialize_global_constants): Don't define $USAGE.
3339 (&usage): Handle the former content of $USAGE.
3340 Don't pretend autoconf cares about Makefile.in.
3341 Classify the options.
3342 (&handle_tests): Formatting and mying changes.
3344 2001-02-21 Akim Demaille <akim@epita.fr>
3346 * automake.in (&handle_tests_dejagnu): Move the definition of a
3347 default `site.exp' into...
3348 * dejagnu.am (site.exp): here.
3349 Use DOS compliant file names.
3351 2001-02-21 Akim Demaille <akim@epita.fr>
3353 * automake.in (&dist_cmp): New.
3354 (&handle_dist): Use it.
3355 Promote `my' over `local'.
3357 2001-02-21 Akim Demaille <akim@epita.fr>
3359 * dist.am: Remove, merge into...
3360 * distdir.am: here. Use the neat sed snippet for banners.
3361 BTW, distcheck is phony.
3362 * automake.in (&handle_dist_worker): Remove, merge into...
3363 (&handle_dist): this.
3364 (&file_contents): Strip leading new lines.
3365 Be sure to end comments with new lines.
3367 2001-02-21 Akim Demaille <akim@epita.fr>
3369 * distdir.am (GZIP_ENV): Define.
3370 * automake.in (&handle_dist): Don't.
3372 (&handle_dist_worker, &am_install_var): Use it.
3374 2001-02-21 Akim Demaille <akim@epita.fr>
3376 * distdir.am (distdir): Handle the DIST-TARGETS.
3377 * automake.in (&handle_dist_worker): Don't.
3379 2001-02-21 Akim Demaille <akim@epita.fr>
3381 * automake.in (&file_contents): Transform the global options (such
3383 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3385 2001-02-21 Akim Demaille <akim@epita.fr>
3387 * distdir.am (distdir): Be sure to have permissive rights on its
3389 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3391 And BTW, all these guys are phony.
3392 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3393 output distributions.
3394 (&handle_dist): As its name doesn't indicate, don't.
3395 (&initialize_global_constants): Don't define variables which
3396 content is now handled by distdir.am.
3397 But register `dist-all' as a factored target.
3398 (&handle_factored_dependencies): Don't output empty targets.
3400 2001-02-20 Tom Tromey <tromey@redhat.com>
3402 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3405 2001-02-18 Tom Tromey <tromey@redhat.com>
3407 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3408 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3409 (AM_PROG_STRIP): Commented out.
3411 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3413 * depcomp (gcc3): Protect against the compiler deleting
3414 the dependency output file.
3416 2001-02-17 Tom Tromey <tromey@redhat.com>
3418 * automake.in (handle_merge_targets): Use double quotes around
3419 setting of INSTALL_STRIP_PROGRAM.
3420 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3421 to absolute path at runtime.
3422 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3424 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3426 * m4/strip.m4: New file.
3427 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3428 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3429 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3430 * automake.in (handle_merge_targets): In the install-strip rule,
3431 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3432 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3433 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3434 don't use INSTALL_STRIP_FLAG any longer.
3436 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3438 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3441 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3443 * automake.in (unquote_m4_arg): New function.
3444 (scan_one_configure_file): Call unquote_m4_arg on
3445 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3448 2001-02-15 Tom Tromey <tromey@redhat.com>
3450 * config.guess, config.sub: New versions from FSF.
3452 * Makefile.am (WGET): New macro.
3453 (FETCHFILES): New macro.
3454 (fetch): New target.
3456 * tests/subobj3.test: Exit with status 77 if gcc not found.
3457 * tests/pr9.test: Exit with status 77 if gzip not found.
3458 * tests/pr87.test: Exit with status 77 if gcc not found.
3459 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3460 * tests/install2.test: Exit with status 77 if gzip not found.
3461 * tests/exsource.test: Exit with status 77 if GNU make not found.
3462 * tests/ansi3.test: Exit with status 77 if gcc not found.
3464 * tests/target-cflags.test: Require GNU make. Exit with status 77
3465 if gcc or make not found. Fixes PR automake/121.
3467 * configure.in: Require Perl 5.005.
3468 * automake.in: Require 5.005.
3470 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3471 Fixes PR automake/122.
3473 2001-02-14 Tom Tromey <tromey@redhat.com>
3475 * automake.in (add_depend2): Only emit a given object rule once.
3476 Fixes specflags6.test.
3478 2001-02-14 Richard Boulton <richard@tartarus.org>
3480 * tests/specflags6.test: New file.
3482 2001-02-14 Tom Tromey <tromey@redhat.com>
3484 * automake.texi (A Shared Library): Mention -module.
3486 2001-02-13 Tom Tromey <tromey@redhat.com>
3488 * automake.in (do_one_merge_target): Always register $name and
3491 * automake.in (do_one_merge_target): Register `all' as phony
3494 * configure.in: Updated to 1.4e for cvs.
3496 2001-02-12 Tom Tromey <tromey@redhat.com>
3498 * configure.in: Updated to 1.4d and released.
3500 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3501 names through autoconf.
3503 Fix for subdirbuiltsources.test:
3504 * automake.in (initialize_per_input): [all_target] Initialize to
3506 (handle_merge_targets): Use all-redirect target to handle built
3508 (do_one_merge_target): Don't generate all-redirect rule.
3510 2001-02-11 Peter Muir <iyhi@yahoo.com>
3512 * tests/subdirbuiltsources.test: New file.
3513 * tests/Makefile.am (TESTS): Added new file.
3515 2001-02-10 Tom Tromey <tromey@redhat.com>
3517 * tests/condlib.test: New file.
3518 * tests/Makefile.am (TESTS): Added new file.
3520 2001-02-10 Lars J. Aas <larsa@sim.no>
3522 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3523 (&canonicalize): New. Includes '@' in canonical range.
3524 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3525 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3527 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3529 * automake.in (handle_configure): Revert part of
3530 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3531 set CONFIG_COMMANDS explicitly.
3533 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3535 * depcomp (gcc3): Propagate exit code.
3537 2001-02-09 Lars J. Aas <larsa@sim.no>
3539 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3541 2001-02-09 Tom Tromey <tromey@redhat.com>
3543 Clean up maintainer-check warnings:
3544 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3546 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3548 2001-02-09 Akim Demaille <akim@epita.fr>
3550 * automake.in (&file_contents): Remove a dead branch.
3552 2001-02-09 Akim Demaille <akim@epita.fr>
3554 * automake.in (&transform): Use `my', not `local'.
3555 (&transform_cond): New.
3556 (&get_object_extension, &handle_texinfo, &handle_tags)
3557 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3558 (&handle_tests_dejagnu): Use it.
3559 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3560 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3562 2001-02-09 Akim Demaille <akim@epita.fr>
3564 * automake.in: Various formatting changes, and modernization of
3567 (&handle_configure, define_standard_variables): Use it.
3569 2001-02-08 Tom Tromey <tromey@redhat.com>
3571 * automake.in (file_contents): Only add $actions if any are
3572 found. Fixes new failure in pr87.test.
3574 2001-02-08 Pavel Roskin <proski@gnu.org>
3576 * tests/pr87.test: Check foo/Makfile.in after it is created.
3578 2001-02-08 Tom Tromey <tromey@redhat.com>
3580 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3581 Report from Lars J. Aas.
3583 2001-02-07 Lars J. Aas <larsa@sim.no>
3585 * lisp.am (install-@DIR@LISP): Removed extra space.
3586 * header.am (install-@DIR@HEADERS): Removed extra space.
3587 * data.am (install-@DIR@DATA): Removed extra space.
3589 2001-02-07 Tom Tromey <tromey@redhat.com>
3591 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3593 * automake.in (handle_dependencies): Use _am_include, not
3595 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3596 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3598 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3600 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3602 * automake.in (handle_configure): Handle case where output file is
3603 in subdir with no Makefile of its own. Fixes remake3.test,
3606 2001-02-06 Pavel Roskin <proski@gnu.org>
3608 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3610 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3611 * tests/exsource.test: Likewise.
3613 2001-02-06 Derek Price <derek.price@openavenue.com>
3615 * automake.in (handle_configure): Fix syntax error.
3617 2001-02-06 Akim Demaille <akim@epita.fr>
3619 * subdirs.am: This file is the exception: clean recursive targets
3620 are called by the clean targets, not the clean-am targets.
3621 Otherwise we have a circular dependency: clean -> clean-am ->
3622 clean-recursive -> clean.
3623 * automake.in (handle_clean): Bind `-local' targets to `-am'
3624 targets, not top targets.
3625 Don't declare -recursive dependencies of the clean targets:
3626 `subdirs.am' did it. Less hard coded knowledge, transfered
3630 2001-02-06 Akim Demaille <akim@epita.fr>
3632 Monstro unsplitable patch.
3634 The aim is to remove hard coded knowledge about clean targets from
3635 automake.in, leaving them in the *.am files.
3636 In addition to the mechanic needed to factor some dependencies, it
3637 appears some rules (most notably distclean and maintainer-clean)
3638 need factored actions. So first, be ready to catch factored
3641 * automake.in (&file_contents): For the time being, use an extended
3642 $RULE_PATTERN which is able to match any kind of rules, with or
3643 without dependency, with or without actions.
3644 Handle all the rules uniformly, storing in %actions the factored
3646 (&flatten, &target_cmp): New.
3647 (&handle_factored_dependencies): Output the %actions.
3648 No longer special case `clean'.
3649 Output the rules in alphabetical order, but keeping `.PHONY' last.
3651 Now we must not use &push_phony_cleaners, which is doing all sort
3652 of magic to push a bit of everything in all the clean targets.
3653 The biggest problem being that, making a Cartesian product, it
3654 requires many useless targets. The `*.am' file know better.
3655 But first, register the new factored rules.
3657 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3658 maintainer-clean, distclean and their `*-am' counterpart in
3660 Initialize %actions.
3661 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3662 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3663 (handle_emacs_lisp, handle_python): Don't play with
3664 &push_phony_cleaners nor &depend and `clean'.
3665 * texinfos.am, texi-vers.am, tags-clean.am:
3666 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3667 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3668 * clean-kr.am, clean-hdr.am: Do it.
3669 Whenever a target is empty, just remove it, it will no longer be
3672 There is still some magic about clean to hard code. But really,
3673 that's the end of &do_one_clean_target.
3675 * automake.in (&do_one_clean_target): Kaboom out.
3676 (&handle_clean): Rewrite the magic code.
3677 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3679 (&push_phony_cleaners): Kaboom too.
3681 2001-02-06 Akim Demaille <akim@epita.fr>
3683 * automake.in (do_one_clean_target): Don't hard code knowledge
3684 about libtool, and maintainer-clean.
3685 * clean.am, libtool.am: Handle these.
3687 2001-02-05 Akim Demaille <akim@epita.fr>
3689 * automake.in (handle_texinfo): No longer hard code the clean
3691 (texinfos.am): Include them.
3693 2001-02-05 Akim Demaille <akim@epita.fr>
3695 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3696 (maintainer-check): Don't be silent when you find a problem, and
3697 actually, even specify the locations.
3698 Also check that @_ is assigned to arrays.
3700 2001-02-05 Akim Demaille <akim@epita.fr>
3702 * m4/regex.m4: Use AC_LIBSOURCES.
3703 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3706 2001-02-04 Tom Tromey <tromey@redhat.com>
3708 * m4/Makefile.am (m4data_DATA): Added make.m4.
3709 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3711 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3712 Copy depcomp to subdir.
3713 * m4/make.m4: New file.
3715 2001-02-04 Pavel Roskin <proski@gnu.org>
3717 * automake.in (handle_dist_worker): Remove a line that is now
3720 2001-02-04 Kevin Ryde <user42@zip.com.au>
3722 * automake.in (handle_configure): Call config.status with empty
3723 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3725 2001-02-04 Tom Tromey <tromey@redhat.com>
3727 * depcomp (ddashmd): Removed case.
3728 (sgi): Handle failure exit correctly
3729 (aix): Likewise. Also, add dummy `.h' targets.
3731 2001-02-04 Akim Demaille <akim@epita.fr>
3733 * distdir.am (distdir): New file, extracted from...
3734 * automake.in (handle_dist_worker): here.
3737 2001-02-04 Akim Demaille <akim@epita.fr>
3739 * automake.in (@clean): Remove, replaced by...
3740 ($dependencies{'clean'}): this.
3741 Use `&depend' instead of push'ing into @clean.
3742 (handle_factored_dependencies): For the time being, skip 'clean'.
3743 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3744 always `clean', and `@clean'.
3746 2001-02-04 Akim Demaille <akim@epita.fr>
3748 * automake.in (%dependencies): Don't be initialize globally for
3749 all the files, but in...
3750 (&initialize_per_input): here.
3752 (@phony): Replace all occurrences with the corresponding &depend
3755 2001-02-03 Tom Tromey <tromey@redhat.com>
3757 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3758 * header-vars.am (INSTALL_HEADER): New macro.
3760 * automake.texi (Rebuilding): New node.
3764 Copyright 2001 Free Software Foundation, Inc.
3766 This file is part of GNU Automake.
3768 GNU Automake is free software; you can redistribute it and/or modify
3769 it under the terms of the GNU General Public License as published by
3770 the Free Software Foundation; either version 2, or (at your option)
3773 GNU Automake is distributed in the hope that it will be useful,
3774 but WITHOUT ANY WARRANTY; without even the implied warranty of
3775 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3776 GNU General Public License for more details.
3778 You should have received a copy of the GNU General Public License
3779 along with autoconf; see the file COPYING. If not, write to
3780 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3781 Boston, MA 02111-1307, USA.