1 2001-09-29 Paul Eggert <eggert@twinsun.com>
3 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
4 bugs when making file names with unusual characters. Quote chmod
5 arg "$dirmode", in case it contains white space.
7 Incorporate the following change from autoconf mkinstalldirs:
9 1999-04-10 Ben Elliston <bje@cygnus.com>
11 Add `-m' flag to specify the mode of a newly created
12 directory. Add command line usage and `-h', `--help' options.
13 Contributed by Jeff Garzik.
15 2001-09-27 Akim Demaille <akim@epita.fr>
17 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
19 2001-09-27 Akim Demaille <akim@epita.fr>
21 * lib/am/distdir.am (dist): Rename as...
23 (dist): Additional name for dist-all.
24 * automake.texi (Options, Dist): Adjust.
26 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
28 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
29 * automake.in (obsolete_macros): Likewise.
30 (seen_objext): Remove (unused).
31 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
32 * lib/am/header-vars.am (EXEEXT, OBJEXT,
33 PATH_SEPARATOR): New variables.
34 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
36 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
38 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
39 neutralize CDPATH for us.
40 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
41 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
44 2001-09-22 Akim Demaille <akim@epita.fr>
46 * configure.in, NEWS: Bump to 1.5a.
49 2001-09-22 Paul Eggert <eggert@twinsun.com>
51 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
52 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
53 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
54 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
55 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
56 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
57 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
58 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
59 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
60 m4/termios.m4, m4/winsz.m4: Add copyright notice.
62 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
63 which has a copyright notice.
65 * m4/strtod.m4: Correct the dates on the copyright notice.
67 2001-09-17 Akim Demaille <akim@epita.fr>
69 * lib/missing (autom4te): New.
70 (aclocal, autoconf, automake, autoheader, help2man): Propagate
73 2001-08-27 Tom Tromey <tromey@redhat.com>
75 * automake.texi (A Shared Library): Clarify installation
77 (Install): Typo. From Adrian Bunk.
79 2001-08-27 Tom Tromey <tromey@redhat.com>
81 * automake.texi (Macros): Typo fix.
82 From Christian Cornelssen
84 2001-08-27 Tom Tromey <tromey@redhat.com>
86 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
87 tests/cond4.test, tests/cond16.test, tests/cond18.test,
88 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
89 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
90 tests/substref.test: Clear CFLAGS.
92 * automake.texi (Yacc and Lex): Mention lex, not yacc.
95 2001-08-27 Tom Tromey <tromey@redhat.com>
97 * tests/yacc7.test: Use test -f, not test -e.
99 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
101 * automake.texi (etags): Typo fix.
103 2001-08-27 Guido Draheim <guidod@gmx.de>
105 * automake.in : restrict ansi2knr option to be a filepath
107 2001-08-23 Richard Boulton <richard@tartarus.org>
109 * tests/yacc7.test: Actually add this file: was accidentally omitted.
111 2001-08-22 Tom Tromey <tromey@redhat.com>
113 * automake.texi (Conditionals): Mention that conditionals must
114 always be invoked. For PR automake/220.
116 2001-08-22 Richard Boulton <richard@tartarus.org>
117 Tom Tromey <tromey@redhat.com>
119 * automake.in (lang_yacc_target_hook): Make header file depend on
120 .c file, not .y file.
121 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
122 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
123 * tests/yacc7.test: New file.
124 * tests/Makefile.am (TESTS): Added yacc7.test.
126 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
128 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
130 2001-08-18 Tom Tromey <tromey@redhat.com>
132 * automake.texi (Dist): Mention dist-all.
134 2001-08-18 Tom Tromey <tromey@redhat.com>
136 * tests/cond3.test: Use portable sed expression.
137 From Richard Boulton.
139 2001-08-13 Richard Boulton <richard@tartarus.org>
141 * automake.in (handle_source_transform): Call
142 define_objects_from_sources() instead of calling
143 variable_value_as_list(), handle_single_transform_list() and
144 define_pretty_variable() directly.
145 (handle_single_transform_list): Add $topparent parameter, used for
146 error messages. Improved error message.
147 (define_objects_from_sources): New function.
148 (subobjname): New function.
149 (variable_conditions_recursive): New name for variable conditions.
150 (variable_value_as_list_recursive): New name for variable_value_as_list.
151 (variable_value_as_list_worker): Renamed to ...
152 (variable_value_as_list_recursive_worker): ... this.
153 (variable_conditions_sub): Renamed to ...
154 (variable_conditions_recursive_sub): ... this.
155 (variable_conditions): Rewritten: now doesn't recurse subvariables.
156 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
157 (substfroms): New global.
158 (substtos): New global.
159 (substnums): New global.
160 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
161 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
162 * tests/sourcesub2.test: New test.
163 * tests/Makefile.am (TEST): Added sourcesub2.test.
165 2001-08-11 Tom Tromey <tromey@redhat.com>
167 * configure.in: Upped to 1.4s.
169 2001-08-09 Richard Boulton <richard@tartarus.org>
171 * automake.in (handle_single_transform_list): Use new global,
172 `%linkers_used', to store the linkers used, rather than an internal
173 variable. Enables correct linker to be calculated across a group
174 of calls to &handle_single_transform_list. Return only list of
175 objects, since linker to be used is now externally determined.
176 (handle_source_transform): adapted for new calling conventions of
177 handle_single_transform_list. Calls resolve_linker() on a set of
178 all the linkers used for any prefix, rather than for each prefix in
180 (linkers_used): New global.
181 * tests/link_dist.test: New test.
182 * tests/Makefile.am (TESTS): Added link_dist.test.
184 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
186 Dissociate testsuite 'make' invocations from outer 'make'.
187 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
188 environment variables.
189 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
191 * tests/substref.test: Likewise.
193 2001-08-08 Richard Boulton <richard@tartarus.org>
195 * tests/cond18.test: New file.
196 * tests/cond19.test: New file.
197 * tests/cond20.test: New file.
198 * tests/cond4.test: Updated to check the generated _OBJECTS more
200 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
203 2001-08-08 Richard Boulton <richard@tartarus.org>
205 * automake.in (file_contents_internal): if a rule is conditionally
206 defined, define the standard automake definition for it for those
207 conditions which are not conditionally defined.
208 (invert_conditions): New function: invert a list of conditionals.
210 * tests/cond14.test: New file.
211 * tests/cond15.test: New file.
212 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
214 2001-08-05 Tom Tromey <tromey@redhat.com>
216 * tests/Makefile.am (TESTS): Added dejagnu2.test.
217 * tests/dejagnu2.test: New file.
218 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
219 * automake.in (handle_scripts): Removed dead code.
220 (handle_tests_dejagnu): Don't handle site.exp generation
223 2001-08-04 Richard Boulton <richard@tartarus.org>
225 * tests/cond17.test: New file: test for being able to define an
226 object to be generated in different ways according to a
228 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
229 (TESTS): Added cond17.test.
231 2001-08-02 Richard Boulton <richard@tartarus.org>
233 * automake.in (variable_conditions_sub): Handle variable
234 substitution refs when computing conditions based on subvariable
235 conditions. Fixes substitution refs of system variables when sub
236 variable is conditional.
237 (SUBST_REF_PATTERN): New global.
238 * tests/cond16.test: New file: regression test for variable
240 * test/Makefile.am (TESTS): Added cond16.test.
242 2001-08-03 Tom Tromey <tromey@redhat.com>
244 * tests/substref.test: Require GNU make; backed out previous
247 * tests/substref.test: Handle entering/leaving directory
250 2001-08-03 Richard Boulton <richard@tartarus.org>
252 * automake.in (value_to_list): Check for whether $from is defined,
253 rather than whether it is true, so that empty $froms are allowed in
254 substitution reference patterns.
256 * tests/substref.test: New file: test behavior of substitution
257 references when the $from side of the substitution is empty.
258 * tests/Makefile.am (TESTS): Added substref.test.
260 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
262 * m4/install-sh.m4: New file.
263 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
264 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
265 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
266 for install.sh any longer, always use install-sh, don't even
267 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
268 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
270 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
272 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
274 * automake.texi (EXEEXT): Clarify.
276 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
278 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
280 * m4/auxdir.m4: More comments.
282 2001-07-31 Richard Boulton <richard@tartarus.org>
283 Raja R Harinath <harinath@cs.umn.edu>
285 * automake.in (variable_conditions_sub): Remove @parent_conds
286 argument. This was old logic - duplicate or impossible
287 conditionals are removed later by &variable_conditions_reduce().
288 Fixes tests/cond13.test.
289 (conditionals_true_when): Removed.
290 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
292 2001-07-31 Tom Tromey <tromey@redhat.com>
294 * tests/Makefile.am (TESTS): Added cond13.test.
295 (XFAIL_TESTS): Likewise.
296 * tests/cond13.test: New file.
298 * configure.in: Upped to version 1.4k.
300 * configure.in: Released 1.4j.
302 * lib/config.guess: Updated from master sources.
303 * lib/config.sub: Likewise.
305 2001-07-30 Tom Tromey <tromey@redhat.com>
307 * automake.texi (A Program): Typo. Added subsections and more
308 text about conditional compilation.
309 (A Shared Library): Moved earlier.
310 (Program variables): Updated LINK text. Added AM_CFLAGS.
311 (C++ Support): Added AM_CXXFLAGS.
312 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
315 * tests/Makefile.am (TESTS): Added aclibobj.test.
316 * tests/aclibobj.test: New file.
317 * automake.in (handle_lib_objects_cond): Avoid undefined variable
319 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
321 * automake.texi (Dist): Mention other distribution types.
324 2001-07-29 Tom Tromey <tromey@redhat.com>
326 * automake.texi (Program and Library Variables): Texinfo fix.
327 From Alexey Mahotkin.
329 2001-07-28 Tom Tromey <tromey@redhat.com>
331 * automake.texi (Strictness): Mention Cygnus mode.
334 (Canonicalization): Likewise.
335 (Install): Add `nobase_' to example; typo fix.
337 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
339 (Options): Texinfo fixes; some text updates.
342 2001-07-27 Tom Tromey <tromey@redhat.com>
344 * automake.texi (Invoking Automake): Document --Werror and
347 2001-07-26 Tom Tromey <tromey@redhat.com>
349 * tests/nolink.test: Added no-exeext.
351 * automake.in (check_variable_defined_unconditionally): Don't call
354 * automake.texi (Optional): Don't mention ALL_LINGUAS.
356 * automake.in (seen_linguas, all_linguas, all_linguas_line):
358 (handle_gettext): Don't do any checking of the languages.
359 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
361 * automake.in (am_print_error): New function.
363 (am_file_error): Likewise.
364 (am_line_error): Likewise.
365 (am_conf_error): Likewise.
366 (am_conf_line_error): Likewise.
368 * automake.texi (Options): Document no-exeext.
369 * automake.in (handle_options): Recognize no-exeext.
370 (rule_define): Handle no-exeext.
371 * tests/Makefile.am (TESTS): Added new file.
372 * tests/exeext2.test: New file.
374 * automake.in (make_input_list): Removed.
375 (scan_autoconf_config_files): Don't add to make_input_list.
376 (scan_one_autoconf_file): Don't use make_input_list.
377 (scan_autoconf_files): Use make_list, not make_input_list.
378 (scan_autoconf_files): Likewise.
380 * automake.in (seen_exeext): Removed.
381 (generate_makefile): Don't define EXEEXT or OBJEXT.
382 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
383 (am_install_var): Don't check $seen_exeext.
384 (handle_programs): Likewise.
385 (rule_define): Allow x to override x$(EXEEXT), for now.
386 (file_contents_internal): Only define rule if rule_define allows
388 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
390 2001-07-25 Tom Tromey <tromey@redhat.com>
393 * tests/pr9.test: Require GNU make.
394 * tests/dirname.test: Don't use `-u'.
396 2001-07-22 Tom Tromey <tromey@redhat.com>
398 * tests/Makefile.am (TESTS): Added auxdir2.test.
399 (XFAIL_TESTS): Likewise.
400 * tests/auxdir2.test: New file.
402 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
403 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
405 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
406 * automake.in (am_install_var): Add $(EXEEXT) even if program name
407 holds `.'. Don't add $(EXEEXT) if program name already has it.
408 (handle_programs): Don't add $(EXEEXT) if user already did.
409 (make_paragraphs): Don't compute EXEEXT.
411 * tests/Makefile.am (TESTS): Added exeext.test.
412 (XFAIL_TESTS): Likewise.
413 * tests/exeext.test: New file.
415 2001-07-22 Tom Tromey <tromey@redhat.com>
417 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
418 `prog.exe' on Cygwin with libtool. From Robert Collins.
420 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
422 * tests/dirname.test: Explicitly use $SHELL to run the
423 script; this avoids failures on DJGPP.
424 * tests/install2.test: Skip if 'chmod 000' doesn't make
427 2001-07-21 Tom Tromey <tromey@redhat.com>
429 * tests/libtool2.test: Check for libtoolize.
431 * tests/Makefile.am (TESTS): Added substtarg.test.
432 (XFAIL_TESTS): Likewise.
433 * tests/substtarg.test: New file.
435 * automake.in (handle_dist): Handle case where aux dir doesn't
436 have a Makefile. Fixes depdist.test.
437 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
438 * tests/depdist.test: Look for config/depcomp.
440 * tests/Makefile.am (TESTS): Added depdist.test.
441 (XFAIL_TESTS): Likewise.
442 * tests/depdist.test: New file. From Eric Magnien.
444 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
445 AC_PROG_CC_C_O does require AC_PROG_CC.
448 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
450 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
451 output is suitable for make.
453 * automake.texi (Macros): Document AM_PROG_AS.
454 (Assembly Support): New node.
455 * m4/Makefile.am (m4data_DATA): Added as.m4.
456 * m4/as.m4: New file.
458 * automake.texi (Tags): Added uref to global tags.
460 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
462 * automake.in (handle_single_transform_list): Use $(DEPDIR)
463 instead of hardcoding '.deps'.
464 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
466 2001-07-20 Derek Price <dprice@collab.net>
468 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
470 * tests/dirname.test: New test.
471 * tests/stamph2.test: New test.
472 * tests/Makefile.am: Add new tests.
473 * tests/Makefile.in: Regenerated.
475 2001-07-19 Tom Tromey <tromey@redhat.com>
477 * automake.texi (Tags): Document GTAGS_ARGS.
478 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
480 2001-07-19 Tom Tromey <tromey@redhat.com>
481 Alexandre Duret-Lutz <duret_g@epita.fr>
483 Fix for ccnoco.test, subobj8.test:
484 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
485 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
487 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
488 Use AM_AUX_DIR_EXPAND.
489 * lib/compile: Handle case where `-o' argument is the name of an
490 executable, not an object file.
491 * m4/auxdir.m4: New file, from...
492 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
493 * automake.in (handle_single_transform_list, lang_c_rewrite):
494 Require compile using `require_config_file'.
496 2001-07-19 Tom Tromey <tromey@redhat.com>
498 * automake.texi (Program and Library Variables): Added X example
501 2001-07-19 Tom Tromey <tromey@redhat.com>
503 * automake.texi (Distributing): Updated to reflect new license.
505 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
507 * automake.in (require_build_directory): New function, extracted
509 (handle_single_transform_list): ... here.
510 (require_build_directory_maybe): New function.
511 (handle_prograns, handle_libraries, handle_ltlibraries): Call
512 require_build_directory_maybe() to ensure the subdirectory
513 in which a target may lie will exist when the target is created.
514 (handle_libraries, handle_ltlibraries): Use basename before
515 checking library name.
516 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
517 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
518 * lib/am/program.am (%PROGRAM%): Likewise.
520 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
522 * m4/missing.m4: Reword comment.
524 2001-07-18 Pavel Roskin <proski@gnu.org>
526 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
527 * tests/gcj.test: Likewise.
528 * tests/gcj2.test: Likewise.
529 * tests/gcj3.test: Likewise.
531 2001-07-18 Tom Tromey <tromey@redhat.com>
533 * lib/compile: Change how lockdir is computed. If linking or
534 compiling without `-o', just run the compiler.
536 * tests/Makefile.am (TESTS): Added ccnoco.test.
537 (XFAIL_TESTS): Likewise.
538 * tests/ccnoco.test: New file.
540 2001-07-17 Tom Tromey <tromey@redhat.com>
542 * lib/ylwrap: Added special exception.
543 * lib/py-compile: Added license.
544 * lib/mdate-sh: Added special exception.
545 * lib/elisp-comp: Added special exception.
546 * lib/compile: Added special exception.
547 * lib/depcomp: Added special exception.
549 Report from Motoyuki Kasahara:
550 * tests/make.test: Use am__include.
551 * tests/exsource.test: Use am__include.
552 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
553 * automake.in (handle_languages): Use am__include and am__quote.
555 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
556 * m4/init.m4: Updated callers.
558 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
560 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
561 * aclocal.in (scan_configure, add_file): Handle the full macro
562 name even if it contains numbers, such as I18N.
564 2001-07-16 Tom Tromey <tromey@redhat.com>
566 * automake.texi (Dependencies): Link to dependency tracking page.
567 (Data): Mention dist_.
568 (Clean): Mention clean heuristics.
569 (Install): Mention nobase_.
571 * automake.texi (Program and Library Variables): Document _LINK.
573 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
575 * automake.in (handle_libraries): Allow libraries to lie in
576 a subdirectory by constraining only the basename to start
577 with 'lib', not the whole path.
579 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
581 * tests/subobj8.test: New file.
582 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
584 2001-07-16 Tom Tromey <tromey@redhat.com>
586 Fix for PR automake/212:
587 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
588 (uninstall-%DIR%LISP): Likewise.
590 2001-07-15 Tom Tromey <tromey@redhat.com>
592 * automake.in (usage): Rewrote code to handle columnization.
593 From Alexey Mahotkin and Maxim Sinev.
595 Report from Ralf Corsepius:
596 * automake.in (TARGET_PATTERN): Add `+' as valid character.
597 (SUFFIX_RULE_PATTERN): Likewise.
598 * tests/Makefile.am (TESTS): Added cxx.test.
599 * tests/cxx.test: New file.
601 * lib/am/tags.am (distclean-tags): Remove files for gtags.
602 From Shigio Yamaguchi.
604 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
606 * lib/am/distdir.am (distcheck): Emit diagnostic when files
607 remain after "make uninstall".
609 2001-07-14 Tom Tromey <tromey@redhat.com>
611 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
613 * lib/missing (makeinfo): Redirect stdout and stderr outside
614 subshell. From Alexandre Oliva.
616 2001-07-14 Akim Demaille <akim@epita.fr>
618 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
619 `\b(foo|bar)\b' is what we want.
620 * aclocal.in: Likewise.
622 2001-07-14 Akim Demaille <akim@epita.fr>
624 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
626 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
627 actually modified to require AM_DEPENDENCIES.
628 Rename `confdir' as `conftest.dir' so that the configure trap
631 2001-07-04 Tom Tromey <tromey@redhat.com>
634 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
635 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
636 * automake.in (am_install_var): Only rewrite PROGRAMS if
638 (make_paragraphs): Always define %EXEEXT%.
640 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
642 * tests/nolink.test: New file.
643 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
645 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
647 * automake.in (scan_texinfo_file): Add the second argument to
648 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
649 itself may not be used directly.
651 2001-07-04 Tom Tromey <tromey@redhat.com>
654 * lib/missing (makeinfo): Use subshell, not explicit sh
657 * automake.texi (Headers): Mention that we prefer uninstalled
659 (ANSI): Mention cross-compilation limitation.
661 2001-07-03 Tom Tromey <tromey@redhat.com>
663 * configure.in: Upped to 1.4i.
665 * configure.in: Released 1.4h.
667 * lib/config.guess, lib/config.sub: Updated.
669 2001-07-02 Tom Tromey <tromey@redhat.com>
671 Fix for libtool2.test:
672 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
673 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
674 * automake.in (generate_makefile): Call handle_libtool
676 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
678 * tests/libtool2.test: Look for `.lo' files to be removed.
680 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
682 * tests/Makefile.am (TESTS): Removed dup.test.
683 * tests/dup.test: Removed.
684 * aclocal.in (scan_file): Don't give error for duplicate macro.
686 2001-07-01 Tom Tromey <tromey@redhat.com>
688 * automake.texi (Program and Library Variables): Document
689 subdir-objects. Document fact that per-object flags override AM_
692 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
693 (Multilibs): New node.
694 (Macros): Documented missing macros.
695 (Auxiliary Programs): New node.
697 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
698 mode, then simply fail.
700 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
702 * lib/ylwrap: Improve support for DOS paths (and paths
703 containing backslashes in general).
705 2001-07-01 Tom Tromey <tromey@redhat.com>
707 * lib/missing: Added special exception to license.
710 * lib/missing: Updated. Added comment explaining configure.ac
713 * lib/depcomp: Reorder arguments to gcc3.
714 From Per Oyvind Hvidsten.
716 * tests/Makefile.am (TESTS): Added libtool2.test.
717 * tests/libtool2.test: New file.
719 * automake.texi (Program and Library Variables): Added example for
722 2001-06-29 Tom Tromey <tromey@redhat.com>
724 * tests/cond11.test: Use `=', not `=='.
725 * tests/cond12.test: Look for automake in build directory, not
728 2001-06-29 Richard Boulton <richard@tartarus.org>
730 * automake.in (conditionals_true_when): Pass first parameters by
731 reference, avoiding bug which put all parameters in @CONDS instead
732 of @WHENS. Report by Kalle Olavi Niemitalo.
733 Take a single WHEN instead of an array of WHENS.
734 Remove FIXME; can't now have an empty @WHENS.
735 (conditional_is_redundant): New sub.
736 (variable_conditions_reduce): Check whether each condition is
737 implied by any of the other conditions (other those already
738 discarded), rather than checking only against those already
739 considered (and kept). Also, fix sense of check: was keeping
740 tautologous terms instead of discarding them. Use
741 conditional_is_redundant instead of conditionals_true_when.
742 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
743 * tests/cond11.test: New file.
744 * tests/cond12.test: New file.
746 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
748 * automake.in (saw_sources_p): Work even if there are more
749 than one header files, and more than of one type of header.
750 * tests/Makefile.am (TESTS): Added new file.
751 * tests/depend4.test: New file.
753 2001-06-28 Tom Tromey <tromey@redhat.com>
755 * lib/am/libs.am (RANLIB): Don't define.
757 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
759 * automake.in (am_install_var): Assign 1 to $first on
762 2001-06-23 Tom Tromey <tromey@redhat.com>
765 * lib/ylwrap: Changed usage.
766 * lib/am/yacc.am: Rewrote to use new substitutions.
767 * lib/am/lex.am: Likewise.
768 * automake.in (handle_languages): Skip files whose language
769 doesn't have a compiler. Handle `define_flag' attribute.
770 Changed '$' to "\$" to aid Emacs fontification.
771 (struct): Added `rule_file'. Removed `derived_autodep'. Added
772 `_target_hook' and `define_flag'.
773 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
774 and `compiler' attributes. Removed `linker', `derived_autodep',
775 and `ansi' attributes. Added `define_flag'.
776 (yacc, yaccxx): Added `_target_hook'.
777 (saw_extension): Count number of times extension seen.
778 (count_files_for_language): New sub.
779 (saw_sources_p): Use it.
780 (handle_single_transform_list): Allow language rewrite function
781 to return a new source extension. Call target_hook.
782 (yacc_sources, lex_sources): Removed.
783 (initialize_per_input): Don't initialize yacc_sources or
785 (lang_yacc_rewrite): Rewrote.
786 (lang_yaccxx_rewrite): Likewise.
787 (lang_lex_rewrite): Likewise.
788 (lang_lexxx_rewrite): Likewise.
789 (output_yacc_build_rule): Removed.
790 (output_lex_build_rule): Removed.
791 (lang_yacc_finish): Removed build rule generation.
792 (lang_lex_finish): Likewise.
793 (DASH_D_PATTERN): New global.
794 (lang_yacc_target_hook): New function.
795 (_target_hook): New function.
796 (register_language): Default `define_flag'.
797 * tests/yacc5.test: Updated test.
798 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
799 * tests/yacc3.test: Remove bogus `make' invocation. Added test
800 for all YFLAGS variables.
802 2001-06-20 Tom Tromey <tromey@redhat.com>
804 * tests/yacc5.test: Check for per-executable YFLAGS.
806 2001-06-19 Tom Tromey <tromey@redhat.com>
808 * tests/Makefile.am (TESTS): Added yacc5.test.
809 * tests/yacc5.test: New file.
811 2001-06-17 Tom Tromey <tromey@redhat.com>
813 * automake.in (require_file_internal): Check for already-required
814 file after searching for it, and only if it is not found. Don't
815 use `readlink' when checking for dangling symlink. Work if
816 --force-missing specified.
817 * tests/acoutput2.test: Also test --force-missing.
819 Fix for libtool.test:
820 * automake.in (generate_makefile): Call handle_libtool.
821 (handle_libtool): New sub.
822 (handle_compile): Don't read `libtool' file.
824 * tests/acoutput2.test: New file.
825 * tests/Makefile.am (TESTS): Added acoutput2.test.
827 2001-06-15 Tom Tromey <tromey@redhat.com>
829 * tests/Makefile.am (TESTS): Added libtool.test.
830 * tests/libtool.test: New file.
832 2001-06-14 Tom Tromey <tromey@redhat.com>
834 Fix some lisp bugs reported by Bruno Haible:
835 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
837 (install-%DIR%LISP): Handle case where lispdir is not defined.
838 (uninstall-%DIR%LISP): Likewise.
839 (.el.elc): Added `else' clause.
841 Fix for bug reported by Steve M. Robbins:
842 * automake.in (handle_single_transform_list): When building a file
843 from a subdirectory, continue to use `AM_' prefix.
844 * tests/Makefile.am (TESTS): Added subobj7.test.
845 * tests/subobj7.test: New file.
847 * lib/am/configure.am ($(top_builddir)/config.status): Added
848 $(top_builddir) prefix to work around problems with some vendor
849 makes. From Nicholas Joly.
851 * automake.in (yacc_lex_finish_helper): Find ylwrap in
852 top_srcdir. From Tim Van Holder.
853 * tests/Makefile.am (TESTS): Added yacc6.test.
854 * tests/yacc6.test: New file.
856 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
858 * tests/defs, tests/installsh.test: Properly support
861 2001-06-14 Tom Tromey <tromey@redhat.com>
863 * tests/Makefile.am (TESTS): Added mdate4.test.
864 * tests/mdate4.test: New file.
866 * aclocal.in (scan_m4_files): Removed unused variable.
868 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
870 * aclocal.in (scan_m4_files): Tweak the building of &search so
871 that multiple macro names can be found on the same line. Ensure
872 we match whole macro name, not only substrings.
874 2001-06-12 Tom Tromey <tromey@redhat.com>
876 * automake.texi (ANSI): Minor clarification.
877 (Other GNU Tools): Don't mention Guile.
879 (Java Support): Mention file extensions.
880 (Man pages): Mention dist_. Don't mention info pages.
882 2001-06-11 Tom Tromey <tromey@redhat.com>
884 * automake.texi (Program variables): Document AM_CPPFLAGS.
886 (Java Support): Document AM_GCJFLAGS.
887 (Support for Other Languages): Removed `fixme'; added link to
888 suffix rule handling.
890 * automake.texi (Program and Library Variables): Document _LIBADD,
891 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
893 2001-06-11 Kevin Dalley <kevind@rahul.net>
895 * missing: Support configure.ac.
897 2001-06-08 Tom Tromey <tromey@redhat.com>
899 * tests/version4.test: New file.
900 * automake.in (version_check): New sub.
901 (handle_options): Use it.
902 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
903 (TESTS): Added version4.test.
904 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
905 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
907 2001-06-04 Kevin Dalley <kevind@rahul.net>
909 * lib/am/dejagnu.am (site.exp): Fix typo.
911 2001-06-02 Tom Tromey <tromey@redhat.com>
913 * automake.in (variable_conditions_sub): Move parent-only code
915 (variable_conditions): ... to here.
916 (variable_conditions_sub): Include this variable's conditions in
917 the resulting condition list.
918 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
920 2001-06-01 Tom Tromey <tromey@redhat.com>
922 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
924 * tests/ltdeps.test: New file. Report from Lars J. Aas.
926 2001-05-31 Tom Tromey <tromey@redhat.com>
928 * automake.texi (Alternative): New node.
929 (Macros): Use new name for gcc.
930 (Java Support): Likewise.
931 (Dependencies): Rewrote.
932 (Invoking Automake): (Re-)document -i, --ignore-deps, and
935 * automake.texi (Top level): Removed erroneous spaces. Documented
938 2001-05-29 Tom Tromey <tromey@redhat.com>
940 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
942 * automake.texi (Include): Rewrote.
943 (Suffixes): Remove Java example.
944 (Java): Added more explanation. Document variables.
945 (Uniform): Mention JAVA as a primary.
946 (Python): Updated for new Python support.
947 (Sources): Added a weak example.
949 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
951 * automake.texi (A Program): Mention `check' prefix.
952 (Program and Library Variables): New node.
953 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
955 (etags): Mention per-program flags.
956 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
959 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
962 2001-05-28 Tom Tromey <tromey@redhat.com>
964 * m4/Makefile.am (MAINT_CHARSET): Removed.
965 * Makefile.am (MAINT_CHARSET): Removed.
966 * automake.in (maint_charset, dist_charset): Removed.
967 (local_maint_charset): Removed.
968 (initialize_per_input): Don't use maint_charset.
969 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
971 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
973 (.%SUFFIX%.dvi): Likewise.
974 (.%SUFFIX%): Likewise.
976 2001-05-27 Tom Tromey <tromey@redhat.com>
978 * automake.in (handle_multilib): Only add multilib support code at
980 * lib/am/multilib.am: Handle invocation of *-multi targets
981 differently for SUBDIRS and non-SUBDIRS Makefiles.
982 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
983 Only add multilib code when the Makefile in question is actually
986 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
988 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
990 * automake.in (handle_single_transform_list): Skip unknown
993 2001-05-25 Tom Tromey <tromey@redhat.com>
995 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
997 2001-05-24 Tom Tromey <tromey@redhat.com>
999 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1000 directory in some situations.
1002 * automake.in (generate_makefile): Better explanation for ansi2knr
1005 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1007 * automake.in (handle_languages): Skip unknown extensions.
1008 (derive_suffix): Check whether $extension_map{$source_ext}
1009 is undefined, not empty.
1011 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1013 * automake.in (read_am_file): Ignore trailing backslash on
1016 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1018 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1020 2001-05-21 Akim Demaille <akim@epita.fr>
1022 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1023 multiple times'' warning.
1025 2001-05-20 Tom Tromey <tromey@redhat.com>
1027 * configure.in: Updated to 1.4g.
1029 * configure.in: Updated to 1.4f.
1031 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1033 * lib/ansi2knr.c: New version.
1035 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1038 2001-05-19 Tom Tromey <tromey@redhat.com>
1040 * config.guess, config.sub: New versions from FSF.
1042 * Makefile.am (fetch): Compare against files in srcdir.
1044 For for ansi2knr report from Harlan Stenn:
1045 * automake.in (generate_makefile): Run handle_compile before
1048 2001-05-18 Tom Tromey <tromey@redhat.com>
1050 * automake.in: Reverted erroneous checkin.
1052 2001-05-18 Akim Demaille <akim@epita.fr>
1054 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1055 to missing `install-info'.
1057 2001-05-17 Tom Tromey <tromey@redhat.com>
1059 * automake.in (lang_c_finish): Use `rm -f'.
1061 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1062 * tests/Makefile.am (TESTS): Added new file.
1063 * tests/ansi5.test: New file.
1065 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1067 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1069 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1070 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1071 * automake.texi (Requirements): Document the use of the STRIP
1072 variable in cross-compilation environments.
1074 2001-05-17 Tom Tromey <tromey@redhat.com>
1076 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1077 to no dependency tracking.
1078 * tests/Makefile.am (TESTS): Added depcomp2.test.
1079 * tests/depcomp2.test: New file. From Pavel Roskin.
1081 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1083 * lib/depcomp (tru64): New dependency tracking mode.
1085 Fix for PR automake/159:
1086 * lib/depcomp (aix): Rewrote.
1089 Fix for PR automake/174:
1090 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1091 * automake.in (read_am_file): Warn if `#' is at start of rule.
1093 2001-05-16 Tom Tromey <tromey@redhat.com>
1095 For PR automake/174:
1096 * tests/Makefile.am (TESTS): Added comment3.test.
1097 (XFAIL_TESTS): Likewise.
1098 * tests/comment3.test: New file.
1100 Fix for PR automake/175:
1101 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1102 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1103 `Leaving directory' messages.
1105 For PR automake/175:
1106 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1107 * tests/make.test: Run test with `make -w'.
1109 * tests/Makefile.am (TESTS): Removed maintclean.test.
1110 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1112 * lib/am/configure.am (maintainer-clean-am): Removed.
1113 (maintainer-clean-conf): Removed.
1114 * tests/maintclean.test: Removed.
1116 2001-05-15 Tom Tromey <tromey@redhat.com>
1118 Fix for PR automake/177:
1119 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1120 automake or aclocal.
1122 Fix for maintclean.test:
1123 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1124 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1126 (distclean, maintainer-clean): Moved to...
1127 * lib/am/configure.am: ... here.
1128 (distclean): Remove config.cache and config.log.
1129 (maintainer-clean): Removed.
1130 (maintainer-clean-conf): New target.
1131 (maintainer-clean-am): New target.
1133 * tests/Makefile.am (TESTS): Added maintclean.test.
1134 (XFAIL_TESTS): Likewise.
1135 * tests/maintclean.test: New file.
1137 Fixes PR automake/175:
1138 * tests/target-cflags.test: Use $needs_gnu_make.
1139 * tests/exsource.test: Use $needs_gnu_make.
1140 * tests/make.test: Require GNU make.
1141 * tests/defs (needs_gnu_make): Compute.
1143 2001-05-14 Tom Tromey <tromey@redhat.com>
1145 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1148 Fix for texinfo10.test.
1149 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1150 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1151 * automake.in (handle_texinfo_helper): New sub.
1152 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1153 * tests/texinfo10.test: Added more cases.
1155 Fix for yaccvpath.test:
1156 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1157 * lib/am/distdir.am (distdir): Always look for file in build
1159 * lib/ylwrap: Quote the `#line' regular expression.
1160 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1161 change; don't run sed on the generated file.
1162 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1163 to make sure parser will be rebuilt at dist time.
1165 2001-05-13 Pavel Roskin <proski@gnu.org>
1167 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1168 beginning with `##'.
1169 * automake.texi (General Operation): Document it.
1171 2001-05-13 Tom Tromey <tromey@redhat.com>
1173 Reported by Rainer Orth:
1174 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1176 * tests/Makefile.am (TESTS): Added distname.test.
1177 * tests/distname.test: New file.
1179 * Makefile.am (dist_pkgdata_DATA): Removed.
1181 * tests/defs: Find files to copy in lib/.
1182 * automake.in (perllibdir): Set to Automake directory.
1183 * ansi2knr.c, ansi2knr.1: Removed.
1184 * Makefile.am (dist_am_DATA): Removed.
1186 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1188 (scriptdir): Removed.
1189 (dist_script_DATA): Likewise.
1190 (install-data-hook): Likewise.
1191 (installcheck-local): Likewise.
1192 (TAGS_FILES): Removed amfiles.
1193 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1194 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1195 point it to the right directory.
1196 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1197 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1198 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1199 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1200 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1201 mans.am, multilib.am, program.am, progs.am, python.am,
1202 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1203 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1204 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1205 (AUTOMAKE): Use --libdir, not --amdir.
1206 Ues AC_CONFIG_AUX_DIR.
1207 * lib/Makefile.am (SUBDIRS): Added `am'.
1208 (scriptdir): New macro.
1209 (dist_script_DATA): Likewise.
1210 (dist_pkgdata_DATA): Likewise.
1211 (install-data-hook): New target.
1212 (installcheck-local): Likewise.
1213 * lib/am/Makefile.in: New file.
1214 * lib/am/Makefile.am: Removed everything except amdir and
1217 2001-05-13 Akim Demaille <akim@epita.fr>
1219 * automake.in ($pkgdata_dir): Rename as...
1221 ($am_dir): Remove, replace its uses with $libdir.
1222 (&parse_arguments): Replace --amdir with --libdir.
1223 * automake.texi (Invoking Automake): Document --libdir, not
1225 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1227 2001-05-13 Tom Tromey <tromey@redhat.com>
1229 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1231 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1232 Correctly look at AMDEP_TRUE, not AMDEP.
1234 Report from Robert Boehne:
1235 * tests/Makefile.am (TESTS): Added depend2.test.
1236 * tests/depend2.test: New file.
1238 2001-05-13 James Henstridge <james@daa.com.au>
1240 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1241 Point pythondir at site-packages directory. Rename
1242 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1243 pyexecdir. Removed package/module argument. Removed
1244 PYTHON_SITE_INSTALL. Added version checking.
1246 2001-05-14 Jim Meyering <meyering@lucent.com>
1248 * automake.in (macro_define): Change one remaining use of
1249 `variable_dump' to `macro_dump'.
1251 2001-05-13 Tom Tromey <tromey@redhat.com>
1253 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1256 2001-05-13 Akim Demaille <akim@epita.fr>
1258 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1259 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1260 (&am_primary_prefixes): Use `map' rather than `grep'.
1262 2001-05-13 Akim Demaille <akim@epita.fr>
1264 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1266 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1267 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1269 2001-05-13 Akim Demaille <akim@epita.fr>
1271 * lang-compile.am: New file, loaded once per language.
1272 * depend2.am: Move definitions loaded once per language in the
1273 aforementioned file.
1274 * automake.in (&handle_languages): Load it.
1275 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1276 handled by lang-compile.am.
1278 2001-05-13 Tom Tromey <tromey@redhat.com>
1280 * tests/Makefile.am (TESTS): Added python.test.
1281 * tests/python.test: New file.
1282 * automake.in (handle_languages): Use
1283 config_aux_dir_set_in_configure_in.
1284 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1285 py-compile, not py_comp. Define py_compile macro.
1287 2001-05-13 Derek Price <dprice@openavenue.com>
1289 * automake.in (require_file_with_conf_line,
1290 require_file_with_line, require_file): Pass a @require_file_path
1291 of $relative_dir instead of '.' to require_file_internal so that
1292 all the special casing of '.' can be removed elsewhere.
1293 (require_config_file, require_conf_file_with_line,
1294 require_conf_file_with_conf_line): Remove special casing for '.'
1295 and make sure $config_aux_dir is maintained properly.
1296 (require_file_internal): Remove special casing of '.' and set
1297 @require_file_path when missing files are added.
1298 (maybe_push_required_file): Remove special casing of '.'
1299 (handle_dependencies): Remove a workaround for a bug now fixed
1300 and remove $config_aux_dir special casing.
1301 (handle_configure): Remove special casing for $config_aux_dir
1302 (handle_python): Ditto.
1303 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1304 switch on the value of $config_aux_dir_set_in_configure_in.
1305 (handle_texinfo): Ditto.
1306 (scan_one_configure_file): Set $config_aux_dir and
1307 $config_aux_dir_set_in_configure_in properly so special casing
1308 on the value of $config_aux_dir can be removed elsewhere.
1309 * tests/depcomp.test: New file.
1310 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1311 first subdir containing a C file.
1312 * tests/libobj2.test: Ditto.
1313 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1315 2001-05-12 Tom Tromey <tromey@redhat.com>
1317 * tests/gcj.test: Updated for gcj dependency tracking.
1318 * tests/gcj2.test: Likewise.
1320 Fixes PR automake/169.
1321 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1323 * automake.in (java): Added autodep entry.
1324 * tests/Makefile.am (TESTS): Added gcj3.test.
1325 * tests/gcj3.test: New file.
1327 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1329 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1330 stop at the first '='.
1331 * tests/Makefile.am (TESTS): Added vars.test.
1332 * tests/vars.test: New file.
1334 2001-05-12 Akim Demaille <akim@epita.fr>
1336 * automake.in (&handle_single_transform_list): Simplify
1337 computation of $object and $this_obj_ext.
1338 * tests/lex3.test: Merge into...
1339 * tests/lex.test: here.
1340 * tests/pr19.test: Improve and rename as...
1341 * tests/lex3.test: this.
1343 2001-05-09 Tom Tromey <tromey@redhat.com>
1345 * automake.in (read_am_file): Correctly compute $saw_bk.
1346 (scan_autoconf_files): Ensure configure_dist_common is always
1348 * tests/defs (AUTOMAKE): Added --Werror.
1350 2001-05-09 Pavel Roskin <proski@gnu.org>
1352 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1355 2001-05-09 Tom Tromey <tromey@redhat.com>
1357 * tests/werror.test: Use `rm -f'.
1359 2001-05-09 Akim Demaille <akim@epita.fr>
1361 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1363 2001-05-09 Akim Demaille <akim@epita.fr>
1365 * automake.in: Remove some code left from bad patches.
1366 (&handle_dependency): Remove, for the same reason.
1368 2001-05-09 Akim Demaille <akim@epita.fr>
1370 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1371 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1372 (&define_standard_variables): Don't transform %top_builddir% since...
1373 * header-vars.am: Use %TOPDIR% instead.
1375 2001-05-09 Akim Demaille <akim@epita.fr>
1377 * automake.in (@objects): Remove, unused.
1378 Remove all the code related to it, and to former `$(OBJECTS)'.
1380 2001-05-08 Tom Tromey <tromey@redhat.com>
1383 * ylwrap: Handle arguments to program. Remove old code that tried
1384 to avoid absolute paths and add new code to do it in all cases.
1385 Removed ancient logic that tried to deal with relative path.
1386 * tests/Makefile.am (TESTS): Added yacc4.test.
1387 * tests/yacc4.test: New file.
1389 Fix for PR automake/149 and werror.test:
1390 * automake.in (require_file_internal): Use am_line_warning or
1391 am_conf_line_warning when suppressing error.
1392 (am_line_warning): New sub.
1393 (am_conf_line_warning): Save and restore warning signal.
1394 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1396 Fix for PR automake/36:
1397 * tests/Makefile.am (TESTS): Added asm.test.
1398 * tests/asm.test: New file.
1399 * automake.in (asm): Use ASFLAGS and AS.
1400 (lang_asm_finish): New sub.
1402 * automake.in (read_am_file): Removed debugging code.
1404 For PR automake/149:
1405 * tests/Makefile.am (TESTS): Added werror.test.
1406 (XFAIL_TESTS): Likewise.
1407 * tests/werror.test: New file.
1409 * automake.in (conditional_true_when): Don't return if we see
1412 * tests/objc.test: Removed.
1413 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1416 * automake.in (subst): New sub.
1417 (handle_languages): Use it.
1418 (output_lex_build_rule): Likewise; also use _am_quote.
1419 (check_libobjs_sources): Likewise.
1420 (make_paragraphs): Use subst.
1422 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1425 * automake.in (file_contents_internal): Prototype now `$$%'.
1426 (register_language): Prototype now `%'.
1428 Fixes test subobj6.test and PR automake/160:
1429 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1430 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1431 (distclean-compile): Added DISTRMS.
1432 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1433 `mostlyclean' use; added test for non-subdir case.
1434 * automake.in (compile_clean_files): New global.
1435 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1436 (initialize_per_input): Initialize compile_clean_files.
1437 (handle_single_transform_list): Set compile_clean_files entries.
1438 (handle_compile): Handle compilation cleanups.
1440 2001-05-08 Lars J. Aas <larsa@sim.no>
1442 * automake.texi (Canonicalizing Automake macros): Document not
1443 canonicalizing strudels (@) anymore.
1445 2001-05-08 Akim Demaille <akim@epita.fr>
1447 * distdir.am (dist-all): Build all the flavors using a single
1450 2001-05-08 Akim Demaille <akim@epita.fr>
1452 * automake.in (&file_contents_internal): Apply the @cond_stack to
1453 the rules and assignments.
1454 Don't rely on `$.' as it's biased by &make_paragraphs.
1455 Don't remove backslashes in variable values.
1457 2001-05-08 Akim Demaille <akim@epita.fr>
1459 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1460 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1461 ($MACRO_PATTERN): Just catch the name of a macro.
1462 ($BOGUS_MACRO_PATTERN): Remove.
1463 ($ASSIGNMENT_PATTERN): New.
1464 (&file_contents_internal, &make_paragraphs): Adjust.
1465 (¯o_define): Catch bad macro names.
1466 (&cond_stack_endif): Better error message.
1467 (&file_contents_internal): Don't remove backslashes in variable
1469 (¯o_define): Do it for `+=' user variables.
1470 (&define_standard_variables): Use `undef' instead of a dummy
1472 (&make_paragraph): Be sure not to chop the trail of hash only
1473 lines: adjust the `##' regexp.
1474 (&rule_define): Fix a bug: don't read $1 but $target.
1475 * tests/condincl.test: Strengthen.
1477 2001-05-08 Akim Demaille <akim@epita.fr>
1479 * automake.in (Language): Add attributes `Name' and `config_vars'.
1480 (&finish): Work properly if there is no _finish.
1481 (Automake): Register language Names and AC_SUBST dependencies.
1482 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1483 (&handle_languages): Once per language, invoke
1484 `define_linker_variables', and check its config_vars.
1485 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1486 (&lang_java_finish): Remove.
1487 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1489 2001-05-08 Akim Demaille <akim@epita.fr>
1491 * automake.in (&file_contents_internal): Accept $IS_AM.
1492 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1494 2001-05-08 Akim Demaille <akim@epita.fr>
1496 * automake.in (am_install_var): Use `next' instead of `if' on the
1499 2001-05-08 Akim Demaille <akim@epita.fr>
1501 * automake.in (Language): Add attributes `lder' and `ld'.
1502 (®ister_language): Specify for cxx, objc, f77, gcj.
1503 (&define_linker_variable): New.
1504 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1505 (&lang_java_finish): Adjust.
1506 (&libtool_compiler): Remove.
1508 2001-05-08 Akim Demaille <akim@epita.fr>
1510 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1511 argument, as you don't use it.
1513 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1516 (&handle_programs): Don't mess with %lex_sources, as you don't use
1519 2001-05-08 Akim Demaille <akim@epita.fr>
1521 * automake.in (Language): Add attribute `link'.
1522 (®ister_language): Specify for cxx, objc, f77, gcj.
1523 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1524 (&lang_java_finish): Adjust.
1526 2001-05-08 Akim Demaille <akim@epita.fr>
1528 * automake.in (&define_compiler_variables): Use only $LANG as
1530 (&handle_languages): Adjust.
1532 2001-05-08 Akim Demaille <akim@epita.fr>
1534 * automake.in (&define_program_variable): Remove.
1535 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1537 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1538 * texinfos.am: Do it.
1540 2001-05-08 Akim Demaille <akim@epita.fr>
1542 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1544 * dejagnu.am: Do it.
1545 (site.exp): Use `if'.
1547 2001-05-08 Akim Demaille <akim@epita.fr>
1549 * automake.in: Formatting changes.
1550 (variable_dump, variables_dump): Rename as...
1551 (macro_dump, macros_dump): these.
1553 2001-05-08 Akim Demaille <akim@epita.fr>
1555 Support `if !COND', `else COND', `end COND'.
1557 * automake.texi (Conditionals): Document it.
1558 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1559 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1560 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1561 a leading `!' before the condition.
1562 (&handle_options): Use `\d'.
1563 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1564 (&read_am_file, &file_contents_internal): Use them.
1565 (&transform): No longer substitute `%!COND%', forcing the use of
1567 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1569 2001-05-08 Akim Demaille <akim@epita.fr>
1571 Uniform handling of per-object compilation rules.
1572 Note: Automake is repaired.
1574 * automake.in (&handle_languages): Output per object rules for all
1575 the objects, not only for those which language supports dependency
1577 Fix Automake: when outputting per-object rules, use `-o' if the
1578 language has no `output_flag', as it's really needed.
1579 (&handle_single_transform_list): Instead of special casing files
1580 which need per object rules but which language don't support
1581 dependency tracking, keep them in the queue for processing by
1582 `&handle_languages'.
1584 2001-05-08 Akim Demaille <akim@epita.fr>
1586 * automake.in (&handle_languages): `ext-compile.am' and
1587 `depend2.am' are now equivalent for generic rules: output only the
1589 * ext-compile.am: Remove.
1591 2001-05-08 Akim Demaille <akim@epita.fr>
1593 Note: This patch breaks Automake. Repaired within two patches.
1595 * automake.in (Language): Replace the attribute `output_arg' with
1596 `compile_flag' and `output_flag'.
1597 (Automake): Adjust language registrations.
1598 (&handle_languages): Transform `-c' and `-o' for both suffix and
1599 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1601 (&handle_single_transform_list): Adjust to `compile_flag' and
1603 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1605 2001-05-08 Akim Demaille <akim@epita.fr>
1607 * automake.in (&handle_languages): Don't transform %COMPILER%.
1608 Use `$lang->compiler' instead of `$pfx' to transform generic
1609 %COMPILE% and %LTCOMPILE%.
1610 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1611 of %COMPILER% and $<.
1613 2001-05-07 Akim Demaille <akim@epita.fr>
1615 * automake.in (&handle_languages): Use the same `%transform' for
1616 both `depend2.am' and `ext-compile.am'.
1617 Delay the definition of `$flag' so it is right before the first use,
1618 and rename as `$flags'.
1620 2001-05-07 Akim Demaille <akim@epita.fr>
1622 * automake.in (&handle_languages): Compute `$ltoutarg' and
1623 `$outarg' independently of dependency code.
1624 There is no use looping on a language's possible extensions since
1625 we loop over used extensions.
1626 Therefore, there is no use for a local `%transform'.
1628 2001-05-07 Akim Demaille <akim@epita.fr>
1630 * automake.in (&handle_languages): Don't use $comp.
1632 2001-05-07 Akim Demaille <akim@epita.fr>
1634 * automake.in (&handle_languages): Merge the two loops over
1635 %extension_seen/%languages into one and group code to be run once
1636 per language together.
1638 2001-05-07 Akim Demaille <akim@epita.fr>
1640 * automake.in (&handle_languages): Move the `if
1641 ($use_dependencies)' block so that loops over extensions and
1642 languages are next to each other.
1644 2001-05-07 Akim Demaille <akim@epita.fr>
1646 * automake.in (&depend2): Remove, merged into...
1647 (&handle_languages): here.
1649 2001-05-07 Akim Demaille <akim@epita.fr>
1651 * automake.in (&finish_languages): Rename as...
1652 (&handle_languages): this.
1653 Include the body of...
1654 (&handle_dependency): this.
1657 2001-05-06 Tom Tromey <tromey@redhat.com>
1660 * tests/Makefile.am (TESTS): Add subdir5.test.
1661 (XFAIL_TESTS): Likewise.
1662 * tests/subdir5.test: New file.
1664 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1665 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1667 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1669 (handle_options): Handle fork identifier in version number.
1671 * automake.texi (Dist): Document distcheck-hook.
1673 * tests/confh4.test: Update to reflect DEFS change.
1674 For PR automake/132.
1676 Fix for PR automake/132:
1677 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1679 (java): Remove INCLUDES and DEFS from compilation.
1680 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1681 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1682 (DEFAULT_INCLUDES): New macro.
1684 * automake.in (usage): Re-align explanatory text.
1685 Fixes PR automake/148.
1687 * automake.texi (Uniform): Don't use @PROGRAMS@.
1688 Fixes PR automake/154.
1690 For PR automake/160:
1691 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1692 (XFAIL_TESTS): Add subobj6.test.
1693 * tests/subobj6.test: New file.
1695 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1696 (Top level): Don't mention `flat'.
1697 (Extending): Likewise.
1698 (User Variables): New node.
1700 * distdir.am (distdir): Make subdirectory for each file.
1701 Fixes test subobj5.test.
1703 * tests/Makefile.am (TESTS): Add new file.
1704 (XFAIL_TESTS): Likewise.
1705 * tests/texinfo10.test: New file.
1707 2001-05-05 Pavel Roskin <proski@gnu.org>
1709 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1710 in the same way as @defcodeindex and @syncodeindex respectively.
1712 2001-05-05 Tom Tromey <tromey@redhat.com>
1714 * mans.am (install-man%SECTION%): Minor cleanup.
1715 (uninstall-man%SECTION%): Likewise.
1717 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1718 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1720 (uninstall-man%SECTION%): Likewise.
1721 * automake.in (handle_man_pages): Handle dist_ and nodist_
1724 * automake.texi (Future): Removed.
1726 (Hello): Don't mention `deep'.
1727 (Top level): Likewise.
1729 * automake.in (conditional_true_when): Use a hash, not index().
1730 Also, a TRUE component always results in a true return.
1731 Fixes test cond10.test. For PR automake/164.
1732 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1734 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1736 For PR automake/164:
1737 * tests/Makefile.am (TESTS): Added new file.
1738 (XFAIL_TESTS): Likewise.
1739 * tests/cond10.test: New file.
1741 2001-05-05 Tom Tromey <tromey@redhat.com>
1743 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1745 (install-info-am): Likewise.
1747 2001-05-05 Pavel Roskin <proski@gnu.org>
1749 * automake.in (scan_texinfo_file): Don't push undefined values
1752 2001-05-05 Richard Boulton <richard@tartarus.org>
1754 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1757 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1759 * automake.in (required_targets): Added uninstall-am.
1761 2001-05-05 Tom Tromey <tromey@redhat.com>
1763 Fix bug reported by Robert Boehne:
1764 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1766 (handle_dependencies): Likewise.
1767 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1768 substitution. Correct diff now has 30 lines. Look for space
1769 after losing `undef'.
1771 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1773 * m4/sanity.m4: Remove the temp file before possible error exits.
1775 2001-05-04 Akim Demaille <akim@epita.fr>
1777 * configure.in: Set perllibdir.
1780 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1782 * automake.in ($pkgdata_dir): New.
1783 (&require_file_internal): Use it.
1785 2001-05-03 Akim Demaille <akim@epita.fr>
1787 Case insensitive FS choke on Automake/ vs automake.
1788 Reported by Tim Van Holder.
1790 * Automake/: Move into...
1791 * lib/: this new directory.
1793 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1795 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1798 2001-04-30 Jim Meyering <meyering@lucent.com>
1800 * automake.in: Remove `/lib' from include directory.
1802 2001-04-27 Akim Demaille <akim@epita.fr>
1804 AM_INIT_AUTOMAKE is no longer optional.
1806 * automake.in ($seen_make_set, $seen_prog_install)
1807 ($seen_arg_prog): Remove.
1808 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1809 Remove related code.
1811 2001-04-27 Akim Demaille <akim@epita.fr>
1813 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1815 * tests/specflags3.test: here.
1817 2001-04-27 Akim Demaille <akim@epita.fr>
1819 * automake.in ($seen_path_xtra): Remove.
1820 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1821 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1823 2001-04-27 Akim Demaille <akim@epita.fr>
1825 * automake.in (&file_contents_internal): Declare it.
1827 2001-04-27 Akim Demaille <akim@epita.fr>
1829 * automake.in (&read_am_file, &file_contents_internal): Don't
1830 define macros when `FALSE', to avoid errors on doubly defined
1831 variables but under condition `FALSE'. In order to allow...
1832 (&am_install_var): When reading the associated file for the first
1833 time, enable `%?FIRST%'.
1834 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1835 * libs.am: Do it when `%?FIRST%'.
1837 2001-04-27 Akim Demaille <akim@epita.fr>
1839 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1840 * ansi2knr.am: Do it.
1841 Prefer `if %?FOO%' to `if %!FOO%'.
1843 2001-04-27 Akim Demaille <akim@epita.fr>
1845 * automake.in (®ister_language, &finish_languages): Use `pure'
1847 (®ister_language): Use %done properly with objects, not names.
1848 (&finish_languages): Replace `$non_c' with `$needs_c'.
1850 2001-04-27 Akim Demaille <akim@epita.fr>
1852 Unify LISP, PYTHON and JAVA primaries.
1854 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1855 return if there are no files, hook elisp-comp on the Autoconf
1856 macro, rely on lisp.am to define variables.
1857 (&handle_python, &handle_java): Likewise.
1858 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1859 `PYTHON' must be handled here, not in `&handle_python'.
1860 * java.am: Define needed variables and rules.
1862 2001-04-27 Akim Demaille <akim@epita.fr>
1864 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1866 * header.am: Include data.am.
1868 2001-04-27 Akim Demaille <akim@epita.fr>
1870 * automake.in (&am_install_var): Transform `PRIMARY'.
1871 * data.am: Equip with %PRIMARY%.
1873 2001-04-27 Akim Demaille <akim@epita.fr>
1875 * automake.in (@conditional_stack): Rename as...
1876 (@cond_stack): this.
1877 (&file_contents_internal): Support inclusion of files.
1879 2001-04-27 Akim Demaille <akim@epita.fr>
1881 * automake.in (&lang_extensions): Remove.
1882 (&add_depend2, &saw_sources_p): Adjust.
1883 * depend2.am: `%EXT%' no longer includes the dot.
1885 2001-04-27 Akim Demaille <akim@epita.fr>
1887 * automake.in (&finish_languages, &handle_single_transform_list)
1888 (&add_depend2, &handle_dependencies): No longer use the language
1889 name in `$lang'. Rename `$lang_obj' as `$lang'.
1891 2001-04-27 Akim Demaille <akim@epita.fr>
1893 * automake.in (®ister_language): Use `new Language' with a hash.
1895 2001-04-27 Akim Demaille <akim@epita.fr>
1897 * automake.in (®ister_language): Rename `output-arg' and
1898 `derived-autodep' as `output_arg' and `derived_autodep' to match
1899 the Language attribute.
1900 Set the defaults in %option instead of $lang.
1902 2001-04-27 Akim Demaille <akim@epita.fr>
1904 * Automake/: New directory.
1905 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1906 * automake.in (Language): Use Automake::Struct.
1907 * tests/defs: Adjust to find Struct.
1909 2001-04-23 Pavel Roskin <proski@gnu.org>
1911 * automake.in: Add forward declaration for register_language().
1912 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1915 2001-04-20 Akim Demaille <akim@epita.fr>
1917 * automake.in (%required_targets): Add `uninstall'.
1918 From Robert Collins.
1920 2001-04-12 Akim Demaille <akim@epita.fr>
1922 * automake.in (Language): Add attribute `name'.
1923 (®ister_language): The name of the language is now given in the
1925 No longer use `$lang' as the name of the language.
1926 Rename `$lang_obj' as `$lang'.
1928 2001-04-12 Akim Demaille <akim@epita.fr>
1930 * automake.in (Language): Add attribute `_finish'.
1933 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1934 (&lang_asm_finish): Remove.
1936 2001-04-12 Akim Demaille <akim@epita.fr>
1938 * automake.in (Language): Add attribute `extensions'.
1939 (Automake): Pass a hash to `®ister_language' instead of a
1940 list of pseudo assignments.
1941 (®ister_language): Adjust.
1942 (&finish_languages): Initialize `$ltoutarg'.
1944 2001-04-12 Akim Demaille <akim@epita.fr>
1946 * automake.in (Language): Add attribute `output_arg'.
1947 (%language_map): Remove.
1948 (®ister_language): Build only the object, and store in
1950 (&finish_languages, &handle_single_transform_list): Adjust.
1952 2001-04-12 Akim Demaille <akim@epita.fr>
1954 * automake.in (Language): Add attributes `flags', `compile' and
1956 (&finish_languages, &handle_single_transform_list, &handle_dist)
1957 (&add_depend2, ®ister_language): Use them and the `linker' and
1960 2001-04-12 Akim Demaille <akim@epita.fr>
1962 * automake.in (&handle_single_transform_list, &finish_languages)
1963 (&handle_dist, &handle_dependencies): Use the language object for
1964 autodep and derived-autodep too.
1966 2001-04-12 Akim Demaille <akim@epita.fr>
1968 * automake.in (¯o_define): Ignore Automake definition for
1969 ($var, $cond) if there is already a user definition for ($var, $cond).
1971 2001-04-12 Akim Demaille <akim@epita.fr>
1973 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1974 but also @deffn and so on which push data in indexes.
1975 Reported by Derek R. Price.
1977 2001-04-12 Akim Demaille <akim@epita.fr>
1979 * automake.in (Language): New package, temporarily in this file.
1981 (Automake): New package.
1983 (&handle_single_transform_list): Use the language object's `ansi'
1984 attribute instead of `$language_map{"$lang-ansi-p"}'.
1985 (®ister_language): Build and register the language too.
1987 2001-04-11 Tom Tromey <tromey@redhat.com>
1989 Fixes report from Larry Jones:
1990 * automake.in (handle_dependencies): Add `@_am_quote@' where
1992 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1994 2001-04-11 Akim Demaille <akim@epita.fr>
1996 * depend2.am: Fix the `if' condition for Libtool.
1997 Reported by Robert Boehne.
1999 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2001 * tests/subobj5.test: New file.
2003 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2005 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2006 * tests/Makefile.am (TESTS): Added make.test.
2007 * tests/make.test: New file.
2009 2001-04-10 Tom Tromey <tromey@redhat.com>
2011 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2013 2001-04-10 Derek R. Price <dprice@collab.net>
2015 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2017 2001-04-10 Akim Demaille <akim@epita.fr>
2019 * distdir.am: Add a missing backslash.
2021 2001-04-10 Akim Demaille <akim@epita.fr>
2023 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2025 Specify to the caller whether $regen_aclocal_m4.
2026 (&handle_configure): Adjust.
2027 Transform `REGEN-ACLOCAL-M4'.
2029 * configure.am: Use it.
2030 * tests/defs (me): New.
2031 * tests/confdeps.test: New.
2033 2001-04-09 Tom Tromey <tromey@redhat.com>
2035 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2036 Fixes report from Jim Meyering.
2038 2001-04-09 Akim Demaille <akim@epita.fr>
2040 * automake.in (&handle_configure): Don't bother with optimizing
2043 2001-04-09 Akim Demaille <akim@epita.fr>
2045 * tests/cond3.test (expected): Adjust.
2047 2001-04-09 Akim Demaille <akim@epita.fr>
2049 * automake.in (&handle_single_transform_list): Remove $xbase,
2051 (&handle_source_transform): All the variables have conditions now,
2053 (&variable_delete): Admit an argument @conds.
2055 2001-04-09 Akim Demaille <akim@epita.fr>
2057 * automake.in ($source_suffix_pattern): Remove, unused.
2058 %extension_map seems to have replaced it.
2060 2001-04-09 Akim Demaille <akim@epita.fr>
2062 * ext-compile.am: New file.
2063 * automake.in (&finish_languages): Output it.
2064 Require a C linker if there are several registered source suffixes.
2065 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2066 extensions, which are discovered in ext-compile.am.
2067 With the help from Robert Boehne.
2069 2001-04-09 Akim Demaille <akim@epita.fr>
2071 * automake.in (&handle_compile): Extract from...
2072 (&get_object_extension): here.
2073 (&read_am_file): Call it.
2074 ($included_generic_compile, $included_knr_compile)
2075 ($included_libtool_compile): Remove.
2076 ($get_object_extension_was_run): New.
2078 2001-04-09 Akim Demaille <akim@epita.fr>
2080 Use AM_CONDITIONAL and if/endif for AMDEP.
2082 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2083 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2084 to a configure time if/endif), or to `FALSE' (static removal of
2086 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2087 * depend2.am: Use if/endif.
2089 Adjust the 101 tests that use dependencies so that they
2090 properly invoke aclocal before automake. They need to `see'
2091 `AM_CONDITIONAL([AMDEP], ...)'.
2093 2001-04-09 Akim Demaille <akim@epita.fr>
2095 * tags.am: Fix missing leading tabs.
2097 2001-04-09 Akim Demaille <akim@epita.fr>
2099 * automake.in: Use simple quotes to define the _PATTERN variables
2100 to unobfuscate the regexps.
2101 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2103 2001-04-09 Akim Demaille <akim@epita.fr>
2105 * automake.in (&rule_define): When you discover a suffix rules,
2106 register the extensions for .SUFFIXES.
2107 (&handle_texinfo): Don't register the suffixes.
2108 (&get_object_extension): Don't register suffixes, let them be
2109 discovered in depend2.am.
2110 (&handle_emacs_lisp): Depend on your lisp.am.
2111 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2113 2001-04-09 Akim Demaille <akim@epita.fr>
2115 * subdirs.am: Don't define info related recursive targets.
2118 2001-04-09 Akim Demaille <akim@epita.fr>
2120 * subdirs.am (RECURSIVE_TARGETS): New variable.
2122 * automake.in (&handle_subdirs): Output it.
2123 (&file_contents_internal): Support value spread on several lines.
2125 2001-04-09 Akim Demaille <akim@epita.fr>
2127 * automake.in (&handle_man_pages): Rely on mans.am to define
2128 man%SECTION%dir and MANS.
2131 2001-04-09 Akim Demaille <akim@epita.fr>
2133 * automake.in (&variable_dump): Use %var_type properly.
2134 (¯o_define): Enforce better overriding rules.
2135 Handle the special case that used to handle...
2136 (&define_pretty_variable): this.
2138 The variables you define are owned by Automake.
2139 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2141 (&variable_defined): Now independent of the owner.
2142 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2144 2001-04-09 Akim Demaille <akim@epita.fr>
2146 * automake.in (%var_was_plus_eq): Rename as...
2148 (%def_type): Remove.
2149 (¯o_define): %var_type may now hold `', `+', or `:'.
2150 (%conditional, %am_vars, %content_lines): Rename as...
2151 (%var_value, %var_comment, %var_line): these.
2153 2001-04-09 Akim Demaille <akim@epita.fr>
2155 * automake.in (&variable_output): Admit a list of @CONDS.
2156 (&variable_pretty_output): New.
2157 (&define_pretty_variable): Use it.
2158 (&read_am_file, &file_contents_internal): Prepend a separator to
2159 $am_vars only if there is none yet.
2160 (&file_contents_internal): Rename $separator as $spacing to
2161 harmonize with &read_am_file.
2163 2001-04-09 Akim Demaille <akim@epita.fr>
2165 * automake.in (&am_install_var): Transform DIST, and let the *.am
2166 files handle DIST_COMMON.
2167 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2170 2001-04-09 Akim Demaille <akim@epita.fr>
2172 * automake.in (%dist_common): Remove.
2173 (%configure_dist_common): Replace with...
2174 ($configure_dist_common): this.
2175 (&generate_makefile): Read the user file before using
2176 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2177 that no variable is defined before it is run.
2178 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2179 (&dist_cmp): Rename as...
2180 (&for_dist_common): this.
2181 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2183 Adjust to $configure_dist_common.
2184 * configure.am, texi-vers.am: Set DIST_COMMON.
2186 2001-04-09 Akim Demaille <akim@epita.fr>
2188 * automake.in (&handle_aclocal_m4): Rename as...
2189 (&scan_aclocal_m4): this.
2190 Return the list of aclocal.m4 dependencies.
2191 (&handle_configure): Invoke it, and use it when loading...
2192 * configure.am: Template the rules to recreate aclocal.m4.
2194 2001-04-09 Akim Demaille <akim@epita.fr>
2196 * automake.in (&get_object_extension): Use ansi2knr.am.
2197 * clean-kr.am, kr-extra.am: Remove, merged into...
2198 * ansi2knr.am: this new file.
2200 2001-04-09 Akim Demaille <akim@epita.fr>
2202 * automake.in (&transform): Fix an incredible bug which was
2203 breaking the if/endif system.
2204 ($ELSE_PATTERN): Admit an optional argument.
2206 2001-04-09 Akim Demaille <akim@epita.fr>
2208 * comp-vars.am: Remove, merged into...
2210 * automake.in (&get_object_extension): Adjust.
2212 2001-04-09 Akim Demaille <akim@epita.fr>
2214 * remake.am: Merge into...
2215 * configure.am: ... here.
2216 * automake.in (&handle_configure): Adjust.
2218 2001-04-09 Akim Demaille <akim@epita.fr>
2220 * automake.in (&output_lex_build_rule): Output this...
2223 2001-04-09 Akim Demaille <akim@epita.fr>
2225 * automake.in (&condition_negate): New.
2226 (&variable_conditions_permutations): Use it.
2227 (&read_am_file, &file_contents): Use it on `else' clauses to
2229 (&output_yacc_build_rule): Output this...
2230 * yacc.am: New file.
2232 2001-04-09 Akim Demaille <akim@epita.fr>
2234 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2235 (&handle_dist): Don't.
2236 (&handle_clean): Don't handle config.status here, let...
2237 * clean.am: ... do it.
2238 * distdir.am: Adjust.
2240 2001-04-09 Akim Demaille <akim@epita.fr>
2242 * automake.in: Use strict vars and subs.
2243 Declare `%require_file_found'.
2244 (&handle_source_transform, &make_paragraphs): Declare my variables.
2246 2001-04-09 Akim Demaille <akim@epita.fr>
2248 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2249 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2250 * java.am (_am_installdirs): Be sure to set it.
2252 2001-04-09 Akim Demaille <akim@epita.fr>
2254 * automake.in (&make_condition): Return '#' when FALSE.
2255 (&conditional_string): Return FALSE, not '#' in the corresponding
2257 (&file_contents_internal): Adjust.
2258 (&check_variable_defined_unconditional): Dump the guilty variable.
2260 2001-04-09 Akim Demaille <akim@epita.fr>
2262 * distdir.am: Use and abuse of if/endif.
2263 * scripts.am: Using if/endif with variables is fine.
2265 2001-04-09 Akim Demaille <akim@epita.fr>
2267 * automake.in (&make_paragraphs): Extract from &file_contents.
2268 Make it more robust than the previous RE based scheme.
2269 (&file_contents): Use it.
2271 2001-04-09 Akim Demaille <akim@epita.fr>
2273 * automake.in (&make_paragraphs): Extract from &file_contents.
2274 Make it more robust than the previous RE based scheme.
2275 (&file_contents): Use it.
2277 2001-04-09 Akim Demaille <akim@epita.fr>
2279 * tests/yacc2.test: Don't define several times a variable, as
2282 2001-04-09 Akim Demaille <akim@epita.fr>
2284 * automake.in (&handle_source_transform): Fix pr72: don't define
2285 $linker if there are no @files.
2287 2001-04-09 Akim Demaille <akim@epita.fr>
2289 Avoid reading twice header-vars.am as now macro_define
2292 * automake.in (&define_standard_variables): Don't output the
2294 (&read_main_am_file): Output first user variables, then Automake
2296 Don't call twice &define_standard_variables.
2297 Save variable comments in $am_vars.
2298 (&variable_output): New.
2299 (&file_contents_internal): New.
2300 Save variable comments in $am_vars.
2301 (&file_contents): Use it.
2303 2001-04-09 Akim Demaille <akim@epita.fr>
2305 * automake.in (¯o_define): The user is allowed to override
2306 a value if it was set by Automake, or if it was found in AC_SUBST.
2308 2001-04-09 Akim Demaille <akim@epita.fr>
2310 * automake.in (&handle_source_transform): Better locality of the
2312 Use `next' to skip nonexistent variables.
2314 2001-04-09 Akim Demaille <akim@epita.fr>
2316 * automake.in (&variable_dump): If a variable is undefined, say
2318 (&check_ambiguous_conditional): Give finer error messages.
2319 (¯o_define): Check that a `+=' variable is not set with `='.
2320 Check for ambiguous definitions each time you _set_ (even with `+=')
2322 (&read_main_am_file): Perform a deep copy of %conditional.
2324 2001-04-09 Akim Demaille <akim@epita.fr>
2326 * automake.in (&variable_defined): Some callers, e.g.,
2327 &am_primary_prefixes, really want to know if the variable is
2328 defined for any condition, not `TRUE' by default.
2329 (&am_primary_prefixes): Give a more precise error message.
2331 2001-04-09 Akim Demaille <akim@epita.fr>
2333 (&variable_conditions): Don't include `FALSE' in the result.
2335 2001-04-09 Akim Demaille <akim@epita.fr>
2337 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2338 (&variable_conditions): Don't include `FALSE' in the result.
2340 2001-04-09 Akim Demaille <akim@epita.fr>
2342 * tests/defs, tests/depend3.test: Remove useless code.
2344 2001-04-09 Akim Demaille <akim@epita.fr>
2346 * automake.in (&handle_source_transform): Use
2347 &variable_conditions, don't read $conditional{$var}.
2348 (&variable_conditions_sub): When the call is the top level call,
2349 generate all the permutations of the conditions.
2351 2001-04-09 Akim Demaille <akim@epita.fr>
2353 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2354 that it does not get noticed twice by automake, which now
2355 complains for multiple definitions.
2356 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2357 because we defined INSTALL.
2359 2001-04-09 Akim Demaille <akim@epita.fr>
2361 * automake.in (&generate_makefile) Use macro_define to define
2362 SOURCES and OBJECTS.
2363 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2364 this would make perl create $condition{VAR}, which we don't want.
2366 2001-04-09 Akim Demaille <akim@epita.fr>
2368 * automake.in (&variable_defined, &define_pretty_variable):
2369 Simplify code which used to handle the cases where not all
2370 variables were in %conditional.
2371 (&define_variable): Use &define_pretty_variable.
2372 (&variable_conditions_sub, &variable_value_as_list_worker)
2373 (&variable_value_as_list, &rule_define): Simplify syntax.
2374 (&read_main_am_file): Dump the guilty predefined variables.
2376 2001-04-09 Akim Demaille <akim@epita.fr>
2378 * automake.in (&variable_conditions_sub)
2379 (&variable_value_as_list_worker): Remove dead code which used to
2380 handle the cases where not all variables were in %conditional.
2382 2001-04-09 Akim Demaille <akim@epita.fr>
2384 * automake.in (&handle_source_transform, &read_main_am_file):
2385 Simplify loops which were split in two parts, conditional vs
2386 unconditional variables.
2388 2001-04-09 Akim Demaille <akim@epita.fr>
2390 Handle unconditional values of variables as conditioned by
2393 * automake.in (%contents): Remove.
2394 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2395 (&read_am_file, &variable_defined, &variable_conditions_sub)
2396 (&variable_value, &variable_value_as_list_worker)
2397 (&variable_value_as_list, &define_pretty_variable)
2398 (&read_main_am_file): Use
2399 $conditional, not %contents.
2400 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2401 (&variable_conditionally_defined): New.
2402 (&handle_dist): Use it.
2403 (&check_ambiguous_conditional): When multiply defined, specify
2404 under which condition.
2405 (¯o_define): Use it.
2406 (&variable_delete): New.
2407 (&read_am_file): Use it.
2408 (&am_install_var): Simplify, as all the variables are in
2411 2001-04-07 Tom Tromey <tromey@redhat.com>
2413 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2415 * tests/man.test: New file.
2417 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2419 * depcomp (gcc3): Invert test condition.
2421 2001-04-07 Tom Tromey <tromey@redhat.com>
2423 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2424 statement. Report from Larry Jones.
2426 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2428 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2430 2001-04-01 Tom Tromey <tromey@redhat.com>
2432 * java.am (.PHONY clean-am): Removed trailing ":".
2433 From Per Bothner. Fixes PR automake/139.
2435 2001-03-28 Akim Demaille <akim@epita.fr>
2437 * program.am: Fix a stupid typo: now *all* (not none) the programs
2439 Reported by Robert Boehne.
2441 2001-03-23 Akim Demaille <akim@epita.fr>
2443 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2446 2001-03-23 Akim Demaille <akim@epita.fr>
2448 * automake.in (&variable_conditionally_defined): Rename as...
2449 (&check_variable_unconditionally_defined): this.
2450 (&variable_dump): Fix the output.
2451 (&variable_defined, ¯o_define): Since conditions are
2452 canonicalized, don't use a loop to look for a condition: read the
2454 (¯o_define, &rule_define, &read_am_file, &file_contents):
2455 Rename $cond_string as $cond.
2456 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2457 discovered via AC_SUBST, they now trigger a `defined twice' error.
2459 2001-03-23 Akim Demaille <akim@epita.fr>
2461 * automake.in (&handle_footer, &handle_installdirs)
2462 (&read_main_am_file): Don't read %contents directly, use
2465 2001-03-23 Akim Demaille <akim@epita.fr>
2467 * automake.in (&read_am_file): Define the variables in a single
2469 Factor the $saw_bk code.
2471 2001-03-23 Akim Demaille <akim@epita.fr>
2473 * automake.in (&read_am_file): Keep $cond_string up to date.
2475 2001-03-23 Akim Demaille <akim@epita.fr>
2477 * automake.in (&define_variable): Use ¯o_define.
2479 2001-03-23 Akim Demaille <akim@epita.fr>
2481 * automake.in (¯o_define): Don't lose the location if we
2482 redefine a variable.
2483 Don't push all the variables in @var_list, let...
2484 (&read_am_file, &file_contents): ... do it.
2485 (&define_pretty_variable): Use macro_define.
2486 (&am_install_var): Delete the value of variables being redefined
2487 to pacify ¯o_define which checks that variables are not
2490 2001-03-23 Akim Demaille <akim@epita.fr>
2492 * automake.in (&conditional_dump): Rename as...
2493 (&variables_dump): this. Use...
2494 (&variable_dump): this new sub.
2496 2001-03-23 Akim Demaille <akim@epita.fr>
2498 * automake.in (&file_contents): Maintain $cond_string sync with
2500 Output rules only if not under `FALSE'.
2501 Define variables under $cond_string.
2502 * scripts.am: For the time being if/endif does not work properly
2505 2001-03-23 Akim Demaille <akim@epita.fr>
2507 * automake.in (IF_PATTERN): Unobfuscate the parens.
2508 (ENDIF_PATTERN): Allow a condition to be specified.
2509 (&file_contents): Use a @cond_stack.
2510 (&transform): At least for an easy transition, also transform
2511 %?FOO% and %!FOO%, as suggested by Lars.
2512 * scripts.am: First test bed for static if/endif use.
2514 2001-03-23 Akim Demaille <akim@epita.fr>
2516 * automake.in (&file_contents): Use rule_define.
2518 2001-03-23 Akim Demaille <akim@epita.fr>
2520 * automake.in (¯o_define): Don't rely on $1.
2521 Initialize the variable.
2522 Set its Automakism only if not defined or if given to the user.
2523 When concatenating values, insert a separator only if the value
2525 (&read_am_file): When dumping the @var_list, skip Automake
2527 (&file_contents): Use macro_define.
2529 2001-03-23 Akim Demaille <akim@epita.fr>
2531 * automake.in (&rule_define): Extract from...
2532 (&read_am_file): here.
2534 2001-03-23 Akim Demaille <akim@epita.fr>
2536 * automake.in (¯o_define, &read_am_file): More work for the
2537 former from the latter. Reorganize the latter.
2539 2001-03-23 Akim Demaille <akim@epita.fr>
2541 * automake.in (¯o_define): Extract from...
2542 (&read_am_file): here.
2544 2001-03-23 Akim Demaille <akim@epita.fr>
2546 * automake.in (%am_var_defs): Replace with...
2548 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2549 (&file_contents, am_primary_&prefixes): Adjust.
2550 (&variable_defined, &define_variable): The actual semantics is
2552 (&read_main_am_file): Assert the var is user defined when
2553 outputting @var_list.
2555 2001-03-23 Akim Demaille <akim@epita.fr>
2557 * automake.in (read_am_file): TRUE and FALSE are predefined
2559 (&by_condition): Adjust.
2560 (&conditional_string): Recognize `TRUE' and `FALSE'.
2561 (&make_condition): Use it.
2562 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2563 * automake.texi (Conditionals): Adjust.
2564 * tests/cond9.test: s/FALSE/WRONG/.
2566 2001-03-12 Pavel Roskin <proski@gnu.org>
2568 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2571 2001-03-12 Akim Demaille <akim@epita.fr>
2573 * automake.in (&variable_conditions_permutations): Separate the
2575 * tests/cond3.test: Improve the sed expression.
2577 2001-03-09 Pavel Roskin <proski@gnu.org>
2579 * Makefile.am (maintainer-check): Scan all *.am files and tests
2580 for invocations of `rm' without `-f'.
2581 * tests/mclean.test: Adjusted to prevent triggering the above
2584 2001-03-09 Tom Tromey <tromey@redhat.com>
2586 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2587 maintainer-check failure.
2589 2001-03-09 Akim Demaille <akim@epita.fr>
2591 * tests/cond3.test: Strengthen.
2593 2001-03-09 Akim Demaille <akim@epita.fr>
2595 * automake.in (&conditional_string): Produce a unique string
2596 characterizing a condition stack.
2597 (&conditional_same): Remove, comparing two strings is now enough.
2598 (&variable_defined): Adjust.
2599 (&read_am_file): Use conditional_string.
2601 2001-03-08 Akim Demaille <akim@epita.fr>
2603 * automake.in: Use -w.
2604 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2605 (&parse_arguments): Support --Werror and --Wno-error as a
2606 temporary hack until --warning/-W is properly implemented.
2607 (&handle_single_transform_list): Prototype.
2608 Be sure to define $directory.
2609 Use `exists' instead of testing the value of a maybe undefined
2611 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2612 (&handle_factored_dependencies): Use defined values.
2613 (&scan_one_autoconf_file): Save $_.
2614 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2615 Run automake with --Wno-error.
2617 2001-03-07 Akim Demaille <akim@epita.fr>
2619 * automake.in (&handle_all): Use an array instead of a scalar for
2621 Get rid of all-redirect: let `all' be that target.
2623 2001-03-07 Akim Demaille <akim@epita.fr>
2625 * automake.in (&handle_merge_targets): Ventilate its non `all'
2626 related content into...
2627 (&generate_makefile): here.
2628 (&handle_merge_targets): Rename as...
2629 (&handle_all): this.
2630 Remove a useless `if': `@all' is obviously not empty, since it
2631 contains at least the `basename ($makefile)' which has just been
2634 2001-03-07 Akim Demaille <akim@epita.fr>
2636 * automake.in, aclocal.in: Backquote is inert in double quotes.
2638 2001-03-06 Akim Demaille <akim@epita.fr>
2640 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2643 2001-03-06 Pavel Roskin <proski@gnu.org>
2645 * java.am: Use `rm -f' instead of `rm'.
2647 2001-03-06 Akim Demaille <akim@epita.fr>
2649 * automake.in (&push_dist_common): Simplify.
2651 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2653 * ltlib.am: Replaced spaces with tab.
2655 2001-03-06 Pavel Roskin <proski@gnu.org>
2657 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2660 2001-03-05 Pavel Roskin <proski@gnu.org>
2662 * header.am, scripts.am: Use ?INSTALL? in the install and
2665 2001-03-05 Pavel Roskin <proski@gnu.org>
2667 * tests/copy.test: Never use `rm' without `-f' - it may ask
2668 questions, notably for read-only files during `make distcheck'.
2669 * tests/insh.test: Likewise.
2670 * tests/installsh.test: Likewise.
2671 * tests/symlink.test: Likewise.
2672 * tests/symlink2.test: Likewise.
2673 * tests/symlink3.test: Likewise.
2675 2001-03-05 Pavel Roskin <proski@gnu.org>
2677 * noinstdir.test: New test.
2678 * tests/Makefile.am (TESTS): Add noinstdir.test.
2679 (XFAIL_TESTS): Likewise.
2681 2001-03-05 Akim Demaille <akim@epita.fr>
2683 * automake.in (&handle_options): Change the RE so that the third
2684 part of the versions always exist.
2685 (&file_contents): Don't pass uninitialized values to &transform.
2687 2001-03-05 Akim Demaille <akim@epita.fr>
2689 * automake.in (&file_contents): Require a hash as second argument.
2692 2001-03-05 Akim Demaille <akim@epita.fr>
2694 Always use hashes with &file_contents.
2696 * automake.in (&handle_texinfo): texibuild.am does not need
2698 texinfos.am wants only TEXICLEANS.
2699 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2701 * texinfos.am: Adjust.
2703 2001-03-05 Akim Demaille <akim@epita.fr>
2705 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2706 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2707 (&am_install_var): Forget about `-clean'.
2708 Transform ?INSTALL?.
2709 Always output the *.am file.
2710 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2711 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2712 Remove, merged into the corresponding *.am file.
2713 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2716 2001-03-05 Pavel Roskin <proski@gnu.org>
2718 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2720 2001-03-05 Akim Demaille <akim@epita.fr>
2722 If OBJEXT and EXEEXT are not set, provide a default value, and use
2723 them unconditionally.
2725 * automake.in (&generate_makefile): Provide default values for
2727 (&get_object_extension, &finish_languages)
2728 (&handle_single_transform_list, &handle_programs, &add_depend2)
2729 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2730 them, they are defined.
2731 * compile.am, depend2.am, program.am, progs.am: Likewise.
2732 * remake-hdr.am: Fix a typo.
2733 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2734 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2735 * tests/suffix2.test: Adjust.
2737 2001-03-05 Akim Demaille <akim@epita.fr>
2739 * automake.in (&file_contents): Map MAINTAINER-MODE to
2740 @MAINTAINER_MODE_TRUE@ or nothing.
2741 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2744 2001-03-05 Akim Demaille <akim@epita.fr>
2746 * automake.in (&do_one_merge_target): Remove, was only called from...
2747 (&handle_merge_targets): here for `all'.
2750 2001-03-05 Akim Demaille <akim@epita.fr>
2752 Make the installation/uninstallation of Info pages follow the
2753 regular am/recursive scheme.
2755 * automake.in (%required_targets, %dependencies): Add
2757 (%dependencies): Add install-info, install-info-am, and
2759 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2760 reversed BTW. Does anybody use the option `no-installinfo'?
2761 (&handle_merge_targets): Let the handling of info related targets
2763 (&handle_factored_dependencies): this.
2764 * subdirs.am: Use ?INSTALL-INFO?.
2765 * texinfos.am: Define the install-info, uninstall-info and
2766 uninstall-info-am targets.
2768 2001-03-05 Akim Demaille <akim@epita.fr>
2770 * automake.in (%required_targets, %dependencies): Add dvi, info,
2772 (@info, @dvi): Remove.
2773 (&handle_texinfo, &handle_merge_targets): Adjust.
2774 (&handle_factored_dependencies): Required targets are phony.
2775 * texinfos.am: Build info, dvi, and the corresponding -am or
2778 2001-03-05 Akim Demaille <akim@epita.fr>
2780 * automake.in (&am_install_var): Remove $cygxform, unused.
2782 2001-03-05 Akim Demaille <akim@epita.fr>
2784 * automake.in (&file_contents): Transform LIBTOOL.
2785 (&am_install_var): Remove $ltxform.
2786 * ltlib.am, progs.am: Adjust.
2788 2001-03-05 Akim Demaille <akim@epita.fr>
2790 * automake.in: Require AC_PROG_INSTALL in...
2791 (&scan_autoconf_files): here.
2793 2001-03-05 Akim Demaille <akim@epita.fr>
2795 * configure.am: New file.
2796 * automake.in (&file_contents): Transform CONFIGURE-AC.
2797 (&handle_texinfo, &handle_configure): Don't transform
2799 (&handle_configure): Use `configure.am'.
2800 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2801 MAINTAINER-MODE and CONFIGURE-AC.
2803 2001-03-05 Akim Demaille <akim@epita.fr>
2805 * automake.in (&pretty_print_internal): Don't output useless
2807 (define_pretty_variable): Don't issue the space after the `=' sign
2808 to avoid trailing spaces in Makefile.ins.
2810 2001-03-05 Akim Demaille <akim@epita.fr>
2812 * automake.in (&generate_makefile): Invoke &initialize_per_input
2813 *before* setting $am_file_name and $in_file_name.
2815 2001-03-05 Akim Demaille <akim@epita.fr>
2817 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2818 Globals, initialized...
2819 (&initialize_per_input): here.
2821 2001-03-05 Akim Demaille <akim@epita.fr>
2823 * automake.in ($am_relative_dir): Global.
2824 (&initialize_per_input): Init it.
2825 (%make_list, @make_input_list): My them from
2826 (&scan_autoconf_files): here.
2827 (&require_file_internal): Mying changes.
2829 2001-03-05 Akim Demaille <akim@epita.fr>
2831 * automake.in (%am_vars, @var_list, %def_type): Globals.
2832 (&initialize_per_input): Initialize them.
2833 (&read_main_am_file): Don't local them.
2834 (&get_object_extension): $objext is private.
2835 (&handle_single_transform_list): $lang is.
2836 (&handle_ltlibraries): $libname_rx is.
2837 (&scan_autoconf_config_files): How about actually paying attention
2838 to your arguments, instead of working on $_? (this is no Perl
2839 variable, it's a Perl variable followed by a question mark).
2840 (&file_contents): $contents and $separator are private.
2841 (&am_install_var): Declare @condvals, not $condvals.
2844 2001-03-05 Akim Demaille <akim@epita.fr>
2846 * automake.in (&initialize_per_input): Move to the top.
2847 Precede with the `my' list of its variables.
2849 2001-03-05 Akim Demaille <akim@epita.fr>
2851 * automake.in ($am_file): Use vars.
2852 ($am_file_name, $in_file_name): Private to &generate_makefile.
2854 2001-03-05 Akim Demaille <akim@epita.fr>
2856 * automake.in: Preparation for `use strict': Move the
2857 initialization of the constants to the top, from...
2858 (&initialize_global_constants): here.
2860 2001-03-05 Akim Demaille <akim@epita.fr>
2862 * automake.in (&handle_single_transform_list, &add_depend2): Let
2863 $lang_specific_files{$lang} be a list instead of a string.
2865 2001-03-05 Akim Demaille <akim@epita.fr>
2867 Let's make it run ten times faster...
2869 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2871 (&file_contents): Let `$command' remove the Automake commands, and
2872 normalize the series of `\n'.
2873 Slurp the file and apply $command in a single step.
2874 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2875 is already normalized to be handled by &transform.
2877 2001-03-05 Tom Tromey <tromey@redhat.com>
2879 * automake.in (register_language): Add entry for `-pure'.
2880 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2881 (finish_languages): Use `-pure' field of language map.
2883 2001-03-03 Tom Tromey <tromey@redhat.com>
2885 * tests/yaccvpath.test: No need to remove dummy files.
2886 * tests/subobj3.test: No need to remove dummy files.
2887 * tests/pr9.test: No need to remove dummy files.
2888 * tests/pr87.test: No need to remove dummy files.
2889 * tests/pr19.test: No need to remove dummy files.
2890 * tests/install2.test: No need to remove dummy files.
2891 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2894 2001-02-27 Pavel Roskin <proski@gnu.org>
2896 * tests/yaccvpath.test: Add a delay to make parse.c really out
2897 of date. Detect the problem earlier, after `make distdir'. Drop
2898 dependency on flex. Always use the `-y' flag for bison. Comment
2900 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2902 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2904 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2906 2001-02-28 Akim Demaille <akim@epita.fr>
2908 * automake.in (&add_depend2): Transform `GENERIC'.
2909 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2910 addition was broken by the `@ -> %' patch.
2911 * depend2.am: Adjust to use ?GENERIC?.
2913 2001-02-28 Akim Demaille <akim@epita.fr>
2915 * Makefile.am (maintainer-check): `undef $/' is OK.
2917 2001-02-28 Akim Demaille <akim@epita.fr>
2919 * automake.in (&handle_configure): Fortunately, $top_reldir,
2920 the definition of which was highly suspicious, was unused.
2922 2001-02-27 Akim Demaille <akim@epita.fr>
2924 * automake.in (%exec_dir_p): Move to the top so that it is visible
2927 2001-02-27 Pavel Roskin <proski@gnu.org>
2929 * tests/yaccvpath.test: Prevent automake from looking into ..
2930 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2932 2001-02-27 Akim Demaille <akim@epita.fr>
2934 * automake.in (%exec_dir_p): Pulled out from...
2935 (&am_primary_prefixes): here.
2937 2001-02-27 Akim Demaille <akim@epita.fr>
2939 * automake.in (&usage): Display $0, not $me.
2941 2001-02-27 Akim Demaille <akim@epita.fr>
2943 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2944 * automake.in (&handle_clean): Don't escape what's given to
2947 2001-02-27 Akim Demaille <akim@epita.fr>
2949 Distinguish automake substitutions from config.status
2952 * automake.in (&add_depend2): Transform AMDEP.
2953 (&handle_clean): Transform MCFILES and MFILES.
2954 (&file_contents): Transform MAINTAINER_MODE.
2955 (&transform, &am_install_var): Use `%', not `@'.
2956 Adjust all the *.am files.
2957 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2958 * depend2.am: Display the double dependency on both ?AMDEP? and
2961 2001-02-27 Tom Tromey <tromey@redhat.com>
2963 * distdir.am (distcheck): Fixed new code.
2965 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2966 Only configure once.
2968 * distdir.am (distcheck): Print error message if distclean failed
2971 2001-02-27 Pavel Roskin <proski@gnu.org>
2973 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2975 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2977 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2978 * tests/yaccvpath.test: New file.
2980 2001-02-26 Akim Demaille <akim@epita.fr>
2982 * automake.in (&am_install_var): Recognize whether predefined
2983 directories are `data' or `exec'.
2984 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2986 * tests/instdata2.test: Update.
2988 2001-02-26 Akim Demaille <akim@epita.fr>
2990 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2991 necessarily in infodir.
2993 2001-02-26 Akim Demaille <akim@epita.fr>
2995 * automake.in ($am_file): Be `local', as my'd variables used in
2996 `foreach' loops are always private to the loop.
2998 2001-02-26 Pavel Roskin <proski@gnu.org>
3000 * Makefile.am: Add install.am.
3002 2001-02-26 Akim Demaille <akim@epita.fr>
3004 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3005 routines, otherwise the elements to compare are passed in @_
3006 instead of $a and $b.
3008 2001-02-26 Akim Demaille <akim@epita.fr>
3010 * automake.in (%required_targets): `installcheck-am' is needed.
3012 2001-02-26 Akim Demaille <akim@epita.fr>
3014 * automake.in (&transform_cond): Merge into...
3018 2001-02-26 Akim Demaille <akim@epita.fr>
3020 * automake.in (&handle_dist): Use &transform instead of dedicated
3022 But be sure to always do it.
3023 * distdir.am: Adjust.
3025 2001-02-26 Akim Demaille <akim@epita.fr>
3027 * automake.in: Use File::Basename.
3028 (&dirname, &basename): Remove.
3030 2001-02-26 Akim Demaille <akim@epita.fr>
3032 * automake.in ($me): New.
3034 (&usage): Display your full name.
3036 2001-02-26 Akim Demaille <akim@epita.fr>
3038 * automake.texi (Invoking Automake): Remove dead options.
3040 2001-02-26 Akim Demaille <akim@epita.fr>
3042 * automake.in (&scan_texinfo_file): Also compute the list of files
3044 Handle local errors.
3045 (&handle_texinfo): Use it.
3047 2001-02-26 Akim Demaille <akim@epita.fr>
3049 * automake.in: Don't pass arguments to...
3050 (&parse_arguments): Work on @ARGV.
3052 Add support for `-f'.
3056 2001-02-26 Akim Demaille <akim@epita.fr>
3058 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3059 handle installcheck and installcheck-am.
3060 * install.am: Do it.
3062 2001-02-26 Akim Demaille <akim@epita.fr>
3064 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3065 handle install and install-am.
3066 * install.am: Do it.
3068 2001-02-26 Akim Demaille <akim@epita.fr>
3070 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3071 work on targets handled by %dependencies.
3072 (&handle_factored_dependencies): Do it.
3073 * install.am: Install install-exec, install-data and uninstall's
3076 2001-02-26 Akim Demaille <akim@epita.fr>
3078 * automake.in (&handle_merge_targets): Move `install-strip' from
3080 * install.am: to here.
3082 2001-02-26 Akim Demaille <akim@epita.fr>
3084 * automake.in (@installdirs): Remove.
3085 (&file_contents): Be able to grow Automake macros with `+='.
3086 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3087 files define _am_installdirs.
3088 (&handle_installdirs): Remove the code, just output `install.am'.
3090 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3091 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3093 2001-02-26 Akim Demaille <akim@epita.fr>
3095 * tests/instdata2.test (libexec_DATA): Exercise more
3098 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3100 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3102 2001-02-25 Tom Tromey <tromey@redhat.com>
3104 * tests/instdata2.test: Added `sbin_DATA' check.
3106 * tests/Makefile.am (TESTS): Added subdircond.test.
3107 * tests/subdircond.test: New file.
3108 * automake.in (handle_gettext): Don't fail if SUBDIRS
3109 conditionally defined.
3111 * automake.in: Use IO::File.
3112 (generate_makefile): Use IO::File.
3113 (scan_texinfo_file): Likewise.
3114 (handle_aclocal_m4): Likewise.
3115 (scan_autoconf_traces): Likewise.
3116 (scan_one_autoconf_file): Likewise.
3117 (read_am_file): Likewise.
3118 (file_contents): Likewise.
3121 2001-02-25 Akim Demaille <akim@epita.fr>
3123 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3125 2001-02-25 Akim Demaille <akim@epita.fr>
3127 * automake.in (&transform): Also call &transform_cond on your
3129 (&handle_dist): Adjust.
3130 (&handle_factored_dependencies): Uniq dependencies.
3132 2001-02-25 Akim Demaille <akim@epita.fr>
3134 * automake.in (&handle_gettext): Simplify redundant `if'.
3135 Used &variable_value, don't read %contents directly.
3137 2001-02-25 Akim Demaille <akim@epita.fr>
3139 * automake.in ($install_recursive): Remove, replaced with calls to
3140 `&variable_defined ('SUBDIRS')'.
3141 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3142 (&file_contents): now does.
3144 2001-02-25 Akim Demaille <akim@epita.fr>
3146 * automake.in (&handle_man_pages): $found is dead.
3148 2001-02-25 Akim Demaille <akim@epita.fr>
3150 Internally just store the conditionals as space separated lists of
3151 CONDITIONS (instead of @CONDITIONS@).
3153 * automake.in (&conditional_true_when, &variable_conditions_sub):
3154 Split conditions at spaces.
3155 (&handle_dependencies, &variable_conditions_permutations): Don't
3156 put @ around conditions.
3157 (&variable_conditions_cmp): There are no @ to strip.
3158 (&make_condition): New.
3159 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3161 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3162 Join @conditional_stack with spaces.
3163 (&read_main_am_file): Adjust the output of variables.
3164 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3165 true' and no longer `@TEST@TRUE = @TEST@true'.
3166 (&variable_conditions_cmp): Rename as...
3167 (&by_condition): this.
3168 Sort in a human pleasant order.
3169 Use it everywhere a human can see conditions.
3170 (&variable_conditions_reduce): Don't sort conditions, that's
3172 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3174 2001-02-25 Akim Demaille <akim@epita.fr>
3176 * automake.in: `my' the globals.
3178 2001-02-25 Akim Demaille <akim@epita.fr>
3180 * automake.in (&initialize_per_input): %targets_conditionals is
3182 (&read_am_file): When slurping a rule, set the target related
3183 variable, and no variable related variable.
3184 (&file_contents): Likewise.
3185 * tests/vartar.test, tests/ctarget1.test: New.
3187 2001-02-25 Akim Demaille <akim@epita.fr>
3189 * automake.in (&variable_defined, &variable_value_as_list_worker):
3190 If $VAR is effectively a variable, don't die if it's also a
3192 Plus some formatting changes.
3194 2001-02-25 Akim Demaille <akim@epita.fr>
3196 * automake.in: Mying changes.
3197 * Makefile.am (maintainer-check): Check the stability of the
3198 number of uses of `local'.
3200 2001-02-25 Akim Demaille <akim@epita.fr>
3202 * automake.in: Mying changes.
3204 2001-02-25 Akim Demaille <akim@epita.fr>
3206 * automake.in: Mying changes.
3208 2001-02-25 Akim Demaille <akim@epita.fr>
3210 * automake.in: Mying changes.
3211 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3212 transform CONFIG into $config, not $xform.
3214 2001-02-25 Akim Demaille <akim@epita.fr>
3216 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3217 Don't deal with install-data-am, install-exec-am and unstall-am.
3218 (&initialize_per_input): Add them to %dependencies.
3219 Remove %exec_dir_p since the *.am files are now in charge of it.
3220 Remove @uninstall, @install_data, @install_exec.
3221 (&handle_merge_targets): Adjust to these removals.
3222 (&file_contents): Also &transform_cond for --no-installman and
3224 (&do_one_merge_target): Add some magic to install hooks on
3225 %dependencies' targets.
3226 (%required_targets): New.
3227 (&handle_factored_dependencies): Output required targets.
3228 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3229 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3230 * texinfos.am: Declare your dependencies on install-data-am,
3231 install-exec-am and uninstall-am.
3232 * tests/instdata2.test (incldata_HEADERS): New test.
3234 2001-02-24 Tom Tromey <tromey@redhat.com>
3236 * Makefile.am (amfiles): Added texibuild.am.
3237 * texibuild.am: New file.
3238 * tests/Makefile.am (TESTS): Added texinfo9.test.
3239 * tests/texinfo9.test: New file.
3240 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3241 error if suffix unrecognized. Removed extraneous newline.
3243 2001-02-23 Akim Demaille <akim@epita.fr>
3245 * automake.in (&am_install_var): Don't hook on the clean targets
3247 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3248 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3251 2001-02-23 Akim Demaille <akim@epita.fr>
3253 * automake.in: Promote local `my' over `local'.
3255 2001-02-23 Akim Demaille <akim@epita.fr>
3257 * automake.in: Formatting and mying changes.
3259 2001-02-23 Akim Demaille <akim@epita.fr>
3261 * automake.in: Formatting and mying changes.
3263 2001-02-23 Akim Demaille <akim@epita.fr>
3265 * automake.in (&handle_man_pages): Let install-man and
3266 uninstall-man be handled by the dependency tracker.
3267 (&initialize_per_input): Let %dependencies track them.
3268 * mans.am: Add the needed hooks with the proper dependencies.
3270 2001-02-22 Pavel Roskin <proski@gnu.org>
3272 * tests/target-cflags.test: Don't use subshell to configure in
3273 subdirectory. Typo fix - run `./foo', not `/foo'.
3275 2001-02-22 Akim Demaille <akim@epita.fr>
3277 * automake.in: Formatting and mying changes.
3279 2001-02-21 Tom Tromey <tromey@redhat.com>
3281 * automake.in (handle_dist): Introduce new variable to avoid extra
3282 keys in %dist_dirs. Fixes distdir.test.
3284 * automake.in (handle_texinfo): Only remove suffixes we can
3287 * tests/distdir.test: Check to make sure directory isn't made in
3290 * automake.in (handle_dist): Do nothing in Cygnus mode.
3292 2001-02-21 Pavel Roskin <proski@gnu.org>
3294 * header-vars.am: Remove tabs before variable definitions.
3296 2001-02-21 Akim Demaille <akim@epita.fr>
3298 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3301 2001-02-21 Akim Demaille <akim@epita.fr>
3303 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3304 numeric value as required by Perl 5.6.
3306 2001-02-21 Akim Demaille <akim@epita.fr>
3308 * dist-vars.am: Remove, merge into...
3310 * automake.in (dirname, basename, backname): Move to the top of
3311 the file so that prototypes are checked,
3312 Use them without `&'.
3313 (&handle_dist): Adjust.
3315 2001-02-21 Akim Demaille <akim@epita.fr>
3317 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3318 Use a uniform naming scheme.
3319 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3320 (&read_am_file): Fix conditional definition of backslash continued
3323 2001-02-21 Akim Demaille <akim@epita.fr>
3325 Change the handling of conditionals: instead of using an ad-hoc
3326 encoding to store a hash in a string, use hashes.
3328 * automake.in (&conditional_dump): New.
3329 (&check_ambiguous_conditional, &variable_defined)
3330 (&variable_conditions_sub, &variable_value_as_list_worker)
3331 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3332 handle `$conditional{$vars}' as a hash instead of a plain string.
3334 2001-02-21 Akim Demaille <akim@epita.fr>
3336 * automake.in (&conditional_true_when): Modernize, simplify.
3337 Warning: `$comp' is now private (my), while it used to be
3338 `inherited' from a `local' elsewhere in the code. AFAICT it was
3339 wrong, but some dirty side effect might show up.
3340 (&conditionals_true_when): New.
3341 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3343 2001-02-21 Akim Demaille <akim@epita.fr>
3345 * automake.in ($top_builddir): Remove, used in one place.
3346 (&define_standard_variables): Adjust.
3347 Move the definition of triplet variables into...
3348 * header-vars.am: here.
3350 2001-02-21 Akim Demaille <akim@epita.fr>
3352 * automake.in (&initialize_global_constants): Don't define $USAGE.
3353 (&usage): Handle the former content of $USAGE.
3354 Don't pretend autoconf cares about Makefile.in.
3355 Classify the options.
3356 (&handle_tests): Formatting and mying changes.
3358 2001-02-21 Akim Demaille <akim@epita.fr>
3360 * automake.in (&handle_tests_dejagnu): Move the definition of a
3361 default `site.exp' into...
3362 * dejagnu.am (site.exp): here.
3363 Use DOS compliant file names.
3365 2001-02-21 Akim Demaille <akim@epita.fr>
3367 * automake.in (&dist_cmp): New.
3368 (&handle_dist): Use it.
3369 Promote `my' over `local'.
3371 2001-02-21 Akim Demaille <akim@epita.fr>
3373 * dist.am: Remove, merge into...
3374 * distdir.am: here. Use the neat sed snippet for banners.
3375 BTW, distcheck is phony.
3376 * automake.in (&handle_dist_worker): Remove, merge into...
3377 (&handle_dist): this.
3378 (&file_contents): Strip leading new lines.
3379 Be sure to end comments with new lines.
3381 2001-02-21 Akim Demaille <akim@epita.fr>
3383 * distdir.am (GZIP_ENV): Define.
3384 * automake.in (&handle_dist): Don't.
3386 (&handle_dist_worker, &am_install_var): Use it.
3388 2001-02-21 Akim Demaille <akim@epita.fr>
3390 * distdir.am (distdir): Handle the DIST-TARGETS.
3391 * automake.in (&handle_dist_worker): Don't.
3393 2001-02-21 Akim Demaille <akim@epita.fr>
3395 * automake.in (&file_contents): Transform the global options (such
3397 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3399 2001-02-21 Akim Demaille <akim@epita.fr>
3401 * distdir.am (distdir): Be sure to have permissive rights on its
3403 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3405 And BTW, all these guys are phony.
3406 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3407 output distributions.
3408 (&handle_dist): As its name doesn't indicate, don't.
3409 (&initialize_global_constants): Don't define variables which
3410 content is now handled by distdir.am.
3411 But register `dist-all' as a factored target.
3412 (&handle_factored_dependencies): Don't output empty targets.
3414 2001-02-20 Tom Tromey <tromey@redhat.com>
3416 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3419 2001-02-18 Tom Tromey <tromey@redhat.com>
3421 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3422 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3423 (AM_PROG_STRIP): Commented out.
3425 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3427 * depcomp (gcc3): Protect against the compiler deleting
3428 the dependency output file.
3430 2001-02-17 Tom Tromey <tromey@redhat.com>
3432 * automake.in (handle_merge_targets): Use double quotes around
3433 setting of INSTALL_STRIP_PROGRAM.
3434 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3435 to absolute path at runtime.
3436 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3438 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3440 * m4/strip.m4: New file.
3441 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3442 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3443 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3444 * automake.in (handle_merge_targets): In the install-strip rule,
3445 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3446 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3447 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3448 don't use INSTALL_STRIP_FLAG any longer.
3450 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3452 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3455 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3457 * automake.in (unquote_m4_arg): New function.
3458 (scan_one_configure_file): Call unquote_m4_arg on
3459 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3462 2001-02-15 Tom Tromey <tromey@redhat.com>
3464 * config.guess, config.sub: New versions from FSF.
3466 * Makefile.am (WGET): New macro.
3467 (FETCHFILES): New macro.
3468 (fetch): New target.
3470 * tests/subobj3.test: Exit with status 77 if gcc not found.
3471 * tests/pr9.test: Exit with status 77 if gzip not found.
3472 * tests/pr87.test: Exit with status 77 if gcc not found.
3473 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3474 * tests/install2.test: Exit with status 77 if gzip not found.
3475 * tests/exsource.test: Exit with status 77 if GNU make not found.
3476 * tests/ansi3.test: Exit with status 77 if gcc not found.
3478 * tests/target-cflags.test: Require GNU make. Exit with status 77
3479 if gcc or make not found. Fixes PR automake/121.
3481 * configure.in: Require Perl 5.005.
3482 * automake.in: Require 5.005.
3484 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3485 Fixes PR automake/122.
3487 2001-02-14 Tom Tromey <tromey@redhat.com>
3489 * automake.in (add_depend2): Only emit a given object rule once.
3490 Fixes specflags6.test.
3492 2001-02-14 Richard Boulton <richard@tartarus.org>
3494 * tests/specflags6.test: New file.
3496 2001-02-14 Tom Tromey <tromey@redhat.com>
3498 * automake.texi (A Shared Library): Mention -module.
3500 2001-02-13 Tom Tromey <tromey@redhat.com>
3502 * automake.in (do_one_merge_target): Always register $name and
3505 * automake.in (do_one_merge_target): Register `all' as phony
3508 * configure.in: Updated to 1.4e for cvs.
3510 2001-02-12 Tom Tromey <tromey@redhat.com>
3512 * configure.in: Updated to 1.4d and released.
3514 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3515 names through autoconf.
3517 Fix for subdirbuiltsources.test:
3518 * automake.in (initialize_per_input): [all_target] Initialize to
3520 (handle_merge_targets): Use all-redirect target to handle built
3522 (do_one_merge_target): Don't generate all-redirect rule.
3524 2001-02-11 Peter Muir <iyhi@yahoo.com>
3526 * tests/subdirbuiltsources.test: New file.
3527 * tests/Makefile.am (TESTS): Added new file.
3529 2001-02-10 Tom Tromey <tromey@redhat.com>
3531 * tests/condlib.test: New file.
3532 * tests/Makefile.am (TESTS): Added new file.
3534 2001-02-10 Lars J. Aas <larsa@sim.no>
3536 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3537 (&canonicalize): New. Includes '@' in canonical range.
3538 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3539 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3541 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3543 * automake.in (handle_configure): Revert part of
3544 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3545 set CONFIG_COMMANDS explicitly.
3547 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3549 * depcomp (gcc3): Propagate exit code.
3551 2001-02-09 Lars J. Aas <larsa@sim.no>
3553 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3555 2001-02-09 Tom Tromey <tromey@redhat.com>
3557 Clean up maintainer-check warnings:
3558 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3560 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3562 2001-02-09 Akim Demaille <akim@epita.fr>
3564 * automake.in (&file_contents): Remove a dead branch.
3566 2001-02-09 Akim Demaille <akim@epita.fr>
3568 * automake.in (&transform): Use `my', not `local'.
3569 (&transform_cond): New.
3570 (&get_object_extension, &handle_texinfo, &handle_tags)
3571 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3572 (&handle_tests_dejagnu): Use it.
3573 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3574 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3576 2001-02-09 Akim Demaille <akim@epita.fr>
3578 * automake.in: Various formatting changes, and modernization of
3581 (&handle_configure, define_standard_variables): Use it.
3583 2001-02-08 Tom Tromey <tromey@redhat.com>
3585 * automake.in (file_contents): Only add $actions if any are
3586 found. Fixes new failure in pr87.test.
3588 2001-02-08 Pavel Roskin <proski@gnu.org>
3590 * tests/pr87.test: Check foo/Makfile.in after it is created.
3592 2001-02-08 Tom Tromey <tromey@redhat.com>
3594 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3595 Report from Lars J. Aas.
3597 2001-02-07 Lars J. Aas <larsa@sim.no>
3599 * lisp.am (install-@DIR@LISP): Removed extra space.
3600 * header.am (install-@DIR@HEADERS): Removed extra space.
3601 * data.am (install-@DIR@DATA): Removed extra space.
3603 2001-02-07 Tom Tromey <tromey@redhat.com>
3605 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3607 * automake.in (handle_dependencies): Use _am_include, not
3609 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3610 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3612 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3614 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3616 * automake.in (handle_configure): Handle case where output file is
3617 in subdir with no Makefile of its own. Fixes remake3.test,
3620 2001-02-06 Pavel Roskin <proski@gnu.org>
3622 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3624 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3625 * tests/exsource.test: Likewise.
3627 2001-02-06 Derek Price <derek.price@openavenue.com>
3629 * automake.in (handle_configure): Fix syntax error.
3631 2001-02-06 Akim Demaille <akim@epita.fr>
3633 * subdirs.am: This file is the exception: clean recursive targets
3634 are called by the clean targets, not the clean-am targets.
3635 Otherwise we have a circular dependency: clean -> clean-am ->
3636 clean-recursive -> clean.
3637 * automake.in (handle_clean): Bind `-local' targets to `-am'
3638 targets, not top targets.
3639 Don't declare -recursive dependencies of the clean targets:
3640 `subdirs.am' did it. Less hard coded knowledge, transfered
3644 2001-02-06 Akim Demaille <akim@epita.fr>
3646 Monstro unsplitable patch.
3648 The aim is to remove hard coded knowledge about clean targets from
3649 automake.in, leaving them in the *.am files.
3650 In addition to the mechanic needed to factor some dependencies, it
3651 appears some rules (most notably distclean and maintainer-clean)
3652 need factored actions. So first, be ready to catch factored
3655 * automake.in (&file_contents): For the time being, use an extended
3656 $RULE_PATTERN which is able to match any kind of rules, with or
3657 without dependency, with or without actions.
3658 Handle all the rules uniformly, storing in %actions the factored
3660 (&flatten, &target_cmp): New.
3661 (&handle_factored_dependencies): Output the %actions.
3662 No longer special case `clean'.
3663 Output the rules in alphabetical order, but keeping `.PHONY' last.
3665 Now we must not use &push_phony_cleaners, which is doing all sort
3666 of magic to push a bit of everything in all the clean targets.
3667 The biggest problem being that, making a Cartesian product, it
3668 requires many useless targets. The `*.am' file know better.
3669 But first, register the new factored rules.
3671 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3672 maintainer-clean, distclean and their `*-am' counterpart in
3674 Initialize %actions.
3675 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3676 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3677 (handle_emacs_lisp, handle_python): Don't play with
3678 &push_phony_cleaners nor &depend and `clean'.
3679 * texinfos.am, texi-vers.am, tags-clean.am:
3680 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3681 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3682 * clean-kr.am, clean-hdr.am: Do it.
3683 Whenever a target is empty, just remove it, it will no longer be
3686 There is still some magic about clean to hard code. But really,
3687 that's the end of &do_one_clean_target.
3689 * automake.in (&do_one_clean_target): Kaboom out.
3690 (&handle_clean): Rewrite the magic code.
3691 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3693 (&push_phony_cleaners): Kaboom too.
3695 2001-02-06 Akim Demaille <akim@epita.fr>
3697 * automake.in (do_one_clean_target): Don't hard code knowledge
3698 about libtool, and maintainer-clean.
3699 * clean.am, libtool.am: Handle these.
3701 2001-02-05 Akim Demaille <akim@epita.fr>
3703 * automake.in (handle_texinfo): No longer hard code the clean
3705 (texinfos.am): Include them.
3707 2001-02-05 Akim Demaille <akim@epita.fr>
3709 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3710 (maintainer-check): Don't be silent when you find a problem, and
3711 actually, even specify the locations.
3712 Also check that @_ is assigned to arrays.
3714 2001-02-05 Akim Demaille <akim@epita.fr>
3716 * m4/regex.m4: Use AC_LIBSOURCES.
3717 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3720 2001-02-04 Tom Tromey <tromey@redhat.com>
3722 * m4/Makefile.am (m4data_DATA): Added make.m4.
3723 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3725 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3726 Copy depcomp to subdir.
3727 * m4/make.m4: New file.
3729 2001-02-04 Pavel Roskin <proski@gnu.org>
3731 * automake.in (handle_dist_worker): Remove a line that is now
3734 2001-02-04 Kevin Ryde <user42@zip.com.au>
3736 * automake.in (handle_configure): Call config.status with empty
3737 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3739 2001-02-04 Tom Tromey <tromey@redhat.com>
3741 * depcomp (ddashmd): Removed case.
3742 (sgi): Handle failure exit correctly
3743 (aix): Likewise. Also, add dummy `.h' targets.
3745 2001-02-04 Akim Demaille <akim@epita.fr>
3747 * distdir.am (distdir): New file, extracted from...
3748 * automake.in (handle_dist_worker): here.
3751 2001-02-04 Akim Demaille <akim@epita.fr>
3753 * automake.in (@clean): Remove, replaced by...
3754 ($dependencies{'clean'}): this.
3755 Use `&depend' instead of push'ing into @clean.
3756 (handle_factored_dependencies): For the time being, skip 'clean'.
3757 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3758 always `clean', and `@clean'.
3760 2001-02-04 Akim Demaille <akim@epita.fr>
3762 * automake.in (%dependencies): Don't be initialize globally for
3763 all the files, but in...
3764 (&initialize_per_input): here.
3766 (@phony): Replace all occurrences with the corresponding &depend
3769 2001-02-03 Tom Tromey <tromey@redhat.com>
3771 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3772 * header-vars.am (INSTALL_HEADER): New macro.
3774 * automake.texi (Rebuilding): New node.
3778 Copyright 2001 Free Software Foundation, Inc.
3780 This file is part of GNU Automake.
3782 GNU Automake is free software; you can redistribute it and/or modify
3783 it under the terms of the GNU General Public License as published by
3784 the Free Software Foundation; either version 2, or (at your option)
3787 GNU Automake is distributed in the hope that it will be useful,
3788 but WITHOUT ANY WARRANTY; without even the implied warranty of
3789 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3790 GNU General Public License for more details.
3792 You should have received a copy of the GNU General Public License
3793 along with autoconf; see the file COPYING. If not, write to
3794 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3795 Boston, MA 02111-1307, USA.