1 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * automake.in (create, keyed_aclocal_warning): Delete, unused.
5 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
7 * automake.in (ac_macro_for_var): Add YACC.
9 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
11 Handle multiple suffix rules with the same input extension.
14 * automake.in (suffix_rules_default): New variable.
15 (suffix_rules): Redefine as a hash of hashes of pairs.
16 (initialize_per_input): Setup suffix_rules_default from
17 suffix_rules on first call, an override suffix_rules
18 with suffix_rules_default on following calls.
19 (struct) <output_extensions>: New attribute.
20 (register_language): Set the default for output_extensions.
21 Call register_suffix_rule for each suffix.
22 (derive_suffix, handle_languages): Adjust to the new definition
24 (register_suffix_rule): New function.
25 (rule_define): Call register_suffix_rule.
26 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
28 * tests/Makefile.am (TESTS): Add them.
30 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
32 * automake.in (am_macro_for_var, ac_macro_for_var,
33 required_variables): New variables.
34 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
35 pythondir_location): Remove.
36 (initialize_per_input): Clear %required_variables.
37 (require_variables, require_variables_for_macro): New functions.
38 (handle_languages): Call &require_variables for $lang->config_vars.
39 (handle_compile): Call &require_variables_for_macro for the
40 ANSI2KNR and U variables.
41 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
42 (handle_python): Call &require_variables for PYTHON. Don't
43 explicitly allow `python' as a prefix for PYTHON.
44 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
45 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
46 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
47 AMDEPBACKSLASH here...
48 (define_configure_variable): ... do this here.
49 (am_primary_prefixes): Probe the existence of ${X}dir using
50 &require_variables_for_macro. If a standard prefix is not
51 legitimate, say so. Ignore all configure variables.
52 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
53 tests/lisp2.test, tests/python2.test: New files
54 * tests/Makefile.am (TESTS): Add them.
55 * tests/asm.test: Grep stderr.
56 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
57 * tests/python.test: Make sure py-compile is installed.
59 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
61 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
62 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
63 Adjust all occurrences.
65 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
67 * aclocal.in: Add local variables so that Emacs setups GNU style
68 for perl-mode and cperl-mode.
69 * automake.in: Likewise.
70 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
71 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
72 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
75 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
77 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
78 * lib/config.sub, lib/install-sh: New upstream versions.
80 2002-06-26 Paul Eggert <eggert@twinsun.com>
82 * Makefile.am (maintainer-check): Don't assume that egrep exists;
83 this fixes a portability bug introduced in the 2002-06-08 fix for
86 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
88 * automake.in (required_targets): Add ps and ps-am.
89 (initialize_per_input): Reset them.
90 (handle_texinfo_helper): Fill @pss_list, and define the
92 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
93 (ps, ps-am): New targets.
94 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
95 `make ps' and `make pdf'.
96 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
97 (Extending): The `ps' and `pdf' targets support a `-local' version.
99 2002-06-26 Art Haas <ahaas@neosoft.com>
101 * automake.texi: s/.../@dots{}/.
103 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
105 * configure.in: Check that ln works, fall back to `cp -p'.
106 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
107 Reported by Andreas Buening.
109 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
111 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
112 (lang_lex_target_hook): New function.
113 * tests/lex3.c: Complete to check that maintainer-clean erases
115 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
117 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
119 * automake.in (lang_yacc_target_hook): Add $output to
120 @maintainer_clean_files. This was lost on 2001-06-23.
121 * tests/yacc7.test, tests/yacc4.test: Complete to check
122 that maintainer-clean erases YACC's output files,
123 respectively with and without `-d'.
124 Reported by Flavien Astraud.
126 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
128 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
129 traced from configure.ac.
131 * automake.in (macro_define): Don't accept to override an AC_SUBST
132 or Automake variable in a new condition.
133 * tests/cond23.test, tests/cond24.test: New file.
134 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
135 Reported by Patrik Weiskirchre.
137 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
139 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
140 tests/pr300-ltlib.test, tests/pr300-prog.test,
141 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
142 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
145 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
147 * tests/libtool2.test: Use required=libtoolize.
148 * tests/install2.test: Use required=gzip.
150 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
152 * tests/defs (required): Handle bison; set YACC automatically.
153 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
154 tests/yaccvpath.test: Require bison. Don't set YACC.
156 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
158 * tests/defs (required): Handle `gcc' and `g++'; automatically
159 export CC and CXX when they are required.
160 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
161 tests/cond4.test, tests/cond16.test, tests/cond18.test,
162 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
163 tests/lex3.test, tests/pr87.test, tests/pr220.test,
164 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
165 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
167 * tests/subobj9.test: Require g++.
169 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
171 * tests/defs (required): Handle `GNUmake'.
172 (needs_gnu_make): Don't define anymore.
173 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
174 tests/dollar.test, tests/exsource.test, tests/extra6.test,
175 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
176 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
177 tests/yaccvpath.test: Use `required=GNUmake' instead of
180 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
182 * automake.in (process_option_list): Recognize std-options.
183 (handle_options): Enable std-options in gnits strictness.
184 (am_install_var): If std-options, enable CK-OPTS section.
185 * lib/am/scripts.am (installcheck-am): New target.
186 * lib/am/progs.am (installcheck-am): New target.
187 * tests/gnits2.test: New file.
188 * tests/Makefile.am (TESTS): Add gnits2.test.
189 * automake.texi (Gnits, Options): Document std-options.
191 2002-06-17 Kevin Ryde <user42@zip.com.au>
193 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
194 as generated by recent texinfo.tex.
196 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
198 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
199 (_AM_CONFIG_HEADERS): ... this.
200 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
201 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
203 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
204 instead of AM_CONFIG_HEADER.
205 * tests/autoheader2.test: New file.
206 * tests/Makefile.am (TESTS): Add autoheader2.test.
207 Suggested by Raja R Harinath.
209 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
211 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
212 of m4_rename so that AC_CONFIG_HEADER is never undefined and
213 therefore still traced after the redefinition.
214 * tests/defs (AUTOHEADER): Define.
215 * tests/autoheader.test: New file.
216 * tests/Makefile.am (TESTS): Add autoheader.test.
217 Reported by Braden McDaniel.
219 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
221 * automake.in (check_gnu_standards): In --gnu mode, accept
222 one of COPTING, COPYING.LESSER, or COPYING.LIB.
223 (common_files): Add COPYING.LESSER.
224 * automake.texi (Gnits): Document this.
226 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
228 * automake.in (required_targets): Add the pdf and pdf-am targets.
229 (initialize_per_input): Likewise.
230 (scan_texinfo_file): Add pdf to @clean_suffixes.
231 (handle_texinfo_helper): Output the .pdf dependencies, and define
233 * lib/am/texinfos.am (TEXI2PDF): New variable.
234 (pdf, pdf-am): New targets.
235 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
236 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
238 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
240 Fix pr307.test failure with gcc 3.x.
241 * lib/depcomp (dashmstdout): Strip the call to libtool, and
242 replace `-o $object' by `-o /dev/null' before running "$@"
243 to generate dependencies.
244 (cpp): Strip the call to libtool as well as `-o $object'.
246 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
249 $base.lo.d, when libtool is used.
250 Reported by Nicolas Joly.
252 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
254 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
255 is no file to compile.
256 * tests/java2.test: New file.
257 * tests/Makefile.am (TESTS): Add java2.test.
258 Reported by Braden N. McDaniel.
260 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
262 * tests/maintclean.test: Don't check for autom4te.cache if
263 it's not created by Autoconf.
264 Reported by Bernd Jendrissek.
266 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
268 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
270 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
272 * lib/am/header-vars.am (transform): Define.
273 Was removed by mistake on 2002-04-13.
274 * tests/transform.test: New file.
275 * tests/Makefile.am (TESTS): Add transform.test.
276 Reported by Nicolas Joly.
278 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
280 * tests/dollar.test: Require GNU make.
281 * tests/maintclean.test: Don't use `export YACC=false'. Pass
282 YACC=false to configure instead.
284 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
286 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
287 INSTALL: New upstream versions.
289 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
291 * tests/sinclude.test: Check for m4_include too.
293 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * tests/sinclude.test: Rename the package as amsinclude;
296 am__sinclude still trigers the sinclude macro once it has been
297 converted to am--sinclude.
298 Reported by Nicolas Joly.
300 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
302 * automake.texi (API versioning): Typo.
304 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
306 * THANKS (Nicolas Joly): Remove duplicate.
308 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
310 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
311 * tests/yacc7.test: Use rm -f.
313 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
315 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
316 * tests/subpkg.test: New file.
317 * tests/Makefile.am (TESTS): Add subpkg.test.
319 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
322 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
323 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
324 * lib/am/scripts.am (install-%DIR%SCRIPTS,
325 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
327 (?%DIR%SCRIPT_INSTALL): New variable.
328 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
329 Reported by Eric Siegerman.
331 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
333 * automake.in (lang_yacc_target_hook): Add rule to recover from
334 the removal of $header.
335 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
336 output by lang_yacc_target_hook).
337 * tests/yacc7.test: Try to recreate foo.h after its removal.
338 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
340 Reported by Bernd Jendrissek.
342 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
345 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
346 suggest `list='$(FILES)'; for f in $$list' instead.
347 * lib/am/distdir.am (distdir): Adjust `for' usage.
348 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
349 * tests/dollar.test: New file.
350 * tests/Makefile.am (TESTS): Add dollar.test.
351 Reported by Eric Siegerman and Philip Fong.
353 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
355 For PR automake/47 (fixed a long time ago):
356 * tests/yacc7.test: Also check that parser sources are distributed.
358 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
360 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
362 (maintainer-clean): Delete autom4te.cache and
363 $(am__CONFIG_DISTCLEAN_FILES).
364 * tests/maintclean.test: New file.
365 * tests/Makefile.am (TESTS): Add maintclean.test.
367 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
369 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
372 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
374 * Makefile.am (maintainer-check): Check for egrep and fgrep.
376 * test/cond22.test: Set SHELL when calling $MAKE -e.
378 2002-05-31 Richard Boulton <richard@tartarus.org>
381 * automake.in (define_objects_from_sources): Calculate the result in
382 all conditions before passing this to subobjname to pick a name to
384 (subobjname): Expect a list of condition/value pairs as input.
385 Combine this list and use it as the key to determine the variable name.
386 * test/cond22.test: New file.
387 * tests/Makefile.am (TESTS): Add cond22.test
389 2002-05-30 Paul Eggert <eggert@twinsun.com>
391 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
392 instead, use shell pattern matching.
394 2002-05-29 Paul Eggert <eggert@twinsun.com>
396 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
397 longer requires them.
399 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
400 of egrep and fgrep. Omit unnecessary -E and -F.
401 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
402 * lib/am/distdir.am (distdir): fgrep -> grep -F.
403 Use $(), not ${}, for Make variables.
404 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
406 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
407 * tests/defs: Set FGREP and EGREP.
409 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
410 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
411 tests/cond21.test, tests/condlib.test, tests/confh4.test,
412 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
413 tests/depend4.test, tests/discover.test, tests/distname.test,
414 tests/dup3.test, tests/empty4.test, tests/fo.test,
415 tests/implicit.test, tests/insh2.test, tests/interp.test,
416 tests/lex.test, tests/lex3.test, tests/lex4.test,
417 tests/libobj5.test, tests/libobj7.test, tests/make.test,
418 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
419 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
420 tests/pr2.test, tests/pr9.test, tests/seenc.test,
421 tests/specflags.test, tests/specflags3.test,
422 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
423 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
424 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
425 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
427 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
430 * m4/depend.m4: Missing comma.
431 * tests/gcj4.test: New file.
432 * tests/Makefile.am (TESTS): Add gcj4.test.
433 Reported by David Pashley.
435 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
437 * tests/defs (configure.in): Don't double-quote $me.
438 * tests/sinclude.test: Overwrite configure.in and use
439 `am__sinclude' instead of `sinclude' as package name.
440 Excercise `m4_sinclude' instead of `sinclude'.
442 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
444 * automake.in (conditional_implies_one_of): Rename as ...
445 (conditional_implies_any): ... this.
446 * tests/pluseq9.test: Exercise another case with the new
448 Suggested by Raja R Harinath.
450 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
452 * tests/defs (configure.in): Quote macro arguments.
453 Reported by Nicolas Joly.
455 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
457 * lib/am/header-vars.am (build_triplet, host_triplet,
458 target_triplet): Define. Were removed by mistake on 2002-04-13.
460 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
463 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
464 * tests/destdir.test: New file.
465 * tests/Makefile.am (TESTS): Add destdir.test.
467 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
469 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
470 (conditional_is_redundant): Simplify.
471 (conditional_implies_one_of,
472 variable_not_always_defined_in_cond): New functions
473 (macro_define): Reject appends if the variable is not defined in
474 all conditions where `+=' applies.
475 (invert_conditions): Rewrite. Before this patch,
476 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
477 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
478 wrong (these conditions implies "A_FALSE"). Now it outputs (),
479 which just means the input conditions cover all cases.
480 (variable_conditions_permutations): Never output FALSE conditions.
481 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
482 in the CHECK_FALSE condition to fix the test.
483 * tests/pluseq5.test: Actually check the diagnostic.
484 * tests/pluseq9.test: New file.
485 * tests/Makefile.am (TESTS): Add pluseq9.test.
487 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
489 Fix for PR automake/322:
490 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
491 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
492 Handle comments continued by backslashes.
493 * tests/comment6.test: New file.
494 * tests/Makefile.am (TESTS): Add comment6.test.
495 Reported by Braden N. McDaniel.
497 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
498 Alexandre Duret-Lutz <duret_g@epita.fr>
500 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
501 both `program$(EXEEXT)' and `program'; needed under Cygwin.
502 * tests/libtool3.test: New file.
503 * tests/Makefile.am (TESTS): Add libtool3.test.
505 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
509 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
511 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
513 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
515 Erase stamps from the Makefile that generates them.
517 * automake.in (handle_configure): Append each used stamp to
518 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
519 file is not used anymore.
520 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
522 * tests/subdir6.test: New file.
523 * tests/Makefile.am (TESTS): Add it.
525 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
527 Fix for condd.test (conditional `+='):
528 * automake.in (%appendvar): New.
529 (initialize_per_input): Clear it.
530 (macro_define): Handle += for variable defined in another condition.
531 * automake.texi (Conditional Sources): Use conditional += in
533 (General Operation, Conditionals): Remove note about broken +=.
534 * tests/cond21.test: New file.
535 * tests/condd.test: Also test conditional append to a _SOURCE
536 variable. Create missing directories.
537 * tests/Makefile.am (TESTS): Add cond21.test.
538 (XFAILS): Remove condd.test.
540 2002-05-05 Tom Tromey <tromey@redhat.com>
542 * automake.texi (Program and Library Variables): Mention _LFLAGS.
544 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
546 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
547 files. Fix subobj9.test on OSF and IRIX.
548 Reported by Nelson H. F. Beebe.
550 2002-04-26 Tom Tromey <tromey@redhat.com>
552 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
553 For Debian bug 144221.
555 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
557 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
559 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
561 * automake.in (subobjname): Use the length of %subobjvar
562 instead of $subobjnamenum.
563 (subobjnamenum): Remove.
565 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
568 * lib/depcomp: Never compute dependencies in the background, this
569 can cause races with libtool. Compute the dependencies after
570 the actual compilation. Don't make libtool silent now that
571 it's run in the foreground.
572 * tests/pr307.test: New file.
573 * tests/Makefile.am (TESTS): Add pr307.test.
574 Reported by Laurent Morichetti.
576 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
578 * lib/am/check.am: Show skipped tests. Display the
579 $(PACKAGE_BUGREPORT) address on failure.
581 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
584 * automake.in (subobjname): Rewrite to generate variable name
585 unique for each content.
586 (%substnums): Remove.
587 (%subobjvar): New hash.
588 (initialize_per_input): Clear %subobjvar.
589 (define_objects_from_sources): Return the name of the variable
590 defined, in addition to the linker. Call subobjname only once
591 the content of the variable to define is known.
592 (handle_source_transform): Adjust call to define_objects_from_sources.
593 * tests/specflags8.test: Mention PR 315.
594 * tests/subobjname.test: New file.
595 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
596 (TESTS): Add subobjname.test.
598 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
600 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
601 the whole file for 'generated by automake', not only the
602 first line. This accounts for post-processed Makefile.in's.
603 * tests/postproc.test: New file.
604 * tests/Makefile.am (TESTS): Add postproc.test.
606 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
608 For PR automake/151 and PR automake/314:
609 * automake.texi (A Program): Split into
610 (Program Sources, Linking, Conditional Sources, Conditional
611 Programs): ... these subsections; moving the Linking node
612 before the Conditional discussions.
613 (Conditional Sources): More details. Notably, mention
615 (Conditionals): Adjust reference to Conditional Programs.
617 2002-04-19 Paul Eggert <eggert@twinsun.com>
619 Fix some bugs when using "$@" when there might be zero positional
620 arguments in cases where this matters. Zsh doesn't support
621 the workaround ${1+"$@"} that has been used by Automake since
622 the Mon Dec 4 11:55:36 1995 change.
624 * aclocal.in: Use 'case' statement to work around problem.
625 * automake.in: Likewise.
626 * lib/ylwrap: Likewise.
627 * lib/missing: No need for workaround, as the command is never
628 invoked with zero arguments.
629 * tests/ccnoco.test: Likewise.
630 * missing: Update from lib/missing.
632 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
634 * automake.in (initialize_per_input): Clear %require_file_found.
635 (%require_file_found): Group the declaration with the other
636 variables initialized by initialize_per_input.
637 * tests/required.test: New file.
638 * tests/Makefile.am (TESTS): Add it.
639 Reported by Marius Vollmer.
641 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
643 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
644 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
645 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
646 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
647 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
649 * tests/confh5.test: New file.
650 * tests/Makefile.am (TESTS): Add confh5.test.
651 * automake.texi (Optional, Public macros): Update descriptions
652 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
654 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
656 * tests/man2.test: New file.
657 * tests/Makefile.am (TESTS): Add man2.test.
658 * lib/am/mans.am (install-man%SECTION%): Change the extension
659 of the man pages being installed, as documented.
661 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
663 Enable traces; wipe out the old configure.in parser.
665 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
666 'autoconf'. Honnor the $filename argument.
667 (scan_autoconf_files): Don't call scan_one_autoconf_file.
668 Always call scan_autoconf_traces.
669 (scan_one_autoconf_file): Remove, with it associated regexes.
670 (obsolete, obsolete_rx): Remove.
671 (register_language, handle_languages): Remove the 'define_flag'
672 support. Remove it from the struct and language definitions too.
673 (unquote_m4_arg): Remove.
674 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
675 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
676 are now generated automatically.
677 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
679 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
681 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
683 * tests/version6.test: New file.
684 * tests/Makefile.am (TESTS): Add tests/version6.test.
685 * automake.in (version_check): Return 0 on equality.
687 2002-04-13 Andreas Schwab <schwab@suse.de>
689 * THANKS: Update my mail address.
691 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
693 * tests/discover.test: Use a full configure.in that calls AC_INIT.
694 Use AC_LIBOBJ. Grep the error message.
695 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
696 Grep the error message. Require libtool.
697 * tests/ldflags.test: Don't use LIBOBJS.
698 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
699 error messages for CC and CXX.
701 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
703 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
705 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
706 * tests/ext.test: Enable dependencies for OBJC.
707 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
708 Delete. They tests for different flavors of $LIBOBJS assignments
709 that wont be supported anymore.
710 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
711 * tests/obsolete.test: Don't test Automake.
712 * tests/suffix5.test: Require libtool.
713 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
716 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
718 * configure.in (APIVERSION): Fix definition.
720 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
722 * NEWS: Catch up with changes since 1.6.
724 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
726 * tests/yacc8.test: Don't assume GNU make, run config.status
727 to regenerate the Makefile.
729 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
731 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
732 always followed by a SHELL setting.
733 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
734 SHELL when calling `$MAKE -e'.
736 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
738 * tests/subobj9.test: Use configure.in, not configure.ac,
739 otherwise this fails with old libtool versions.
741 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
743 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
746 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
748 * ChangeLog.2001: New file, extracted from ChangeLog.
749 * Makefile.am (EXTRA_DIST): Add it.
751 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
753 * automake.texi (Canonicalization): The sources for libmumble++.a
754 go into libmumble___a_SOURCES.
756 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
758 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
759 test suite. Suggest `sleep 2' instead.
760 * tests/confsub.test: Use `sleep 2'.
762 2002-04-04 Paul Eggert <eggert@twinsun.com>
765 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
766 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
767 MAKEFLAGS contains '$(...)'.
769 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
771 * tests/specflags8.test: Typo.
773 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
775 * tests/specflags6.test: Run aclocal.
776 * tests/Makefile.am (TESTS): Add specflags6.test.
778 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
780 * tests/specflags7.test, tests/specflags8.test: New files.
781 * tests/Makefile.am (TESTS): Add them.
782 (XFAIL_TESTS): Add specflags8.test.
784 2002-03-29 Tom Tromey <tromey@redhat.com>
786 * automake.in (check_typos): Examine AM_LDFLAGS.
787 Fixes PR automake/311.
790 * lib/am/libtool.am (clean-libtool): Use LTRMS.
791 * automake.in (handle_single_transform_list): When processing a
792 libtool object, clean the ordinary object and register the
794 (libtool_clean_directories): New global.
795 (initialize_per_input): Initialize it.
796 (generate_makefile): Call handle_libtool later.
797 (handle_libtool): Handle libtool_clean_directories.
798 * tests/subobj9.test: New file.
799 * tests/Makefile.am (TESTS): Added subobj9.test.
801 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
803 * tests/extra6.test, tests/subdir5.test: Require GNU make.
805 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
807 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
809 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
811 * tests/extra7.test: New file.
812 * tests/Makefile.am: Add it.
813 * lib/am/distdir.an (distdir): When a distribuable directory
814 exists both in `.' and $(srcdir), merge both directories. This
815 works around a failure of extra6.test on Tru64 reported by
818 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
820 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
822 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
824 * Makefile.am (maintainer-check): Catch occurrences of
825 `$MAKE foo=bar' in the testsuite. Suggest using
826 `foo=bar $MAKE -e' instead.
827 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
828 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
829 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
830 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
832 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
834 Fix for PR automake/310:
835 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
836 so it never appears as a plain word.
838 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
840 * lib/depcomp (tru64): Correctly compute `base'.
842 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
844 * tests/pr211.test: s/requires/required/, otherwise the test fails
845 if libtool is not installed.
847 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
849 * tests/dirname.test: Don't use $SHELL when calling ./configure.
851 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
853 * tests/dirname.test: Use --quiet to fix failure on installations
855 Reported by Nicolas Joly.
857 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
859 * Makefile.am (maintainer-check): Check for misuses of make,
860 autoconf, automake, aclocal, and perl in the testsuite. Suggest
861 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
862 * tests/confsub.test: Use $AUTOCONF and $MAKE.
863 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
864 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
865 tests/pr224.test, tests/pr287.test, tests/strip.test,
866 tests/yacc8.test: Use $MAKE.
868 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
870 Add support for two-dot versions.
872 * tests/version5.test: New file.
873 * tests/Makefile.am (TESTS): Add it.
874 * automake.in (version_split, version_compare): New functions.
875 (version_check): Rewrite using version_split and version_compare.
876 (process_option_list): Adjust regex.
878 2002-03-18 Richard Boulton <richard@tartarus.org>
880 Fix for PR automake/306:
881 * automake.texi (Generalities): Document +=.
882 (Conditionals): Document limitations of += with conditionals.
884 2002-03-17 Tom Tromey <tromey@redhat.com>
886 Fix for PR automake/295:
887 * automake.texi (Invoking Automake): Deprecate --output-dir.
888 * automake.in (usage): Don't document --output-dir.
889 (output_directory): Don't initialize.
890 (parse_arguments): Deprecate --output-dir.
892 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
893 Fixes PR automake/304.
895 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
897 * tests/dirforbid.test: Workaround for NetBSD sh bug.
898 Fixes PR automake/305.
900 2002-03-11 Richard Boulton <richard@tartarus.org>
902 * automake.in (check_typos): Allow variables with reserved
903 suffices (such as _LDFLAGS) and prefixes which aren't
904 recognised if the variable is defined in configure.ac.
907 2002-03-11 Richard Boulton <richard@tartarus.org>
909 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
910 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
911 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
913 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
915 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
918 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
920 Fix for PR automake/303:
921 * automake.in (version_check): Move the error message ...
922 (process_option_list): ... here, so we can distinguish between
923 global and local options.
925 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
927 * tests/pr300-lib.test, tests/pr300-ltlib.test,
928 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
929 Autoconf doesn't complain about Makefile being output twice.
931 2002-03-06 Tom Tromey <tromey@redhat.com>
933 * configure.in: Upped version to 1.6a.
935 2002-03-05 Tom Tromey <tromey@redhat.com>
937 * configure.in: Released 1.6.
939 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
941 Fix for PR automake/300:
942 * tests/pr300-lib.test, tests/pr300-ltlib.test,
943 tests/pr300-prog.test: New files.
944 * tests/Makefile.am (TESTS): Add them.
945 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
946 compute the directory.
947 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
948 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
949 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
950 (uninstall-%DIR%LIBRARIES): Honor nobase_.
951 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
952 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
953 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
954 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
955 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
956 (uninstall-%DIR%PROGRAMS): Honor nobase_.
957 See also the fix for nobase.test on 2001-11-09.
959 2002-03-05 Tom Tromey <tromey@redhat.com>
961 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
963 2002-03-05 Pavel Roskin <proski@gnu.org>
965 * tests/yacc8.test: Add a command between "test" and "cd" to
966 work around a bug in bash-2.05.
968 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
970 Fix for PR automake/294:
971 * tests/dirforbid.test: New file.
972 * tests/Makefile.am (TESTS): Add it.
973 * automake.in (standard_prefix): New hash.
974 (am_primary_prefixes): Forbid standard_prefixes which are not
976 * automake.texi (Uniform): Remove FIXME.
978 2002-03-05 Jim Meyering <meyering@lucent.com>
980 * automake.in (@common_files): Add config.rpath.
982 2002-03-05 Kevin Ryde <user42@zip.com.au>
985 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
986 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
989 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
991 * automake.in (scan_one_autoconf_file): Declare
992 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
993 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
994 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
995 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
996 of s/// in the sed invocation, to support filenames containing
998 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
999 * tests/lex5.test, tests/yacc8.test: New files.
1000 * tests/Makefile.am (TESTS): Add them.
1002 2002-02-23 Per Bothner <per@bothner.com>
1004 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1007 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1009 * tests/make.test: Revert the grep logic to work around a bug
1010 in NetBSD sh (see NetBSD Problem Report #11542).
1011 Reported by Patrick Welche.
1013 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
1015 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1016 to try and prevent a non-lisp emacs from starting in interactive
1018 * automake.texi: Document this change.
1020 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1022 * automake.texi (Macros): Split into ...
1023 (Public Macros, Private Macros): ... these.
1025 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1027 * tests/insthook.test: Use sed instead of "tail +X".
1029 2002-02-18 Paul Eggert <eggert@twinsun.com>
1031 * lib/depcomp: Don't use "tail +3"; it's not portable to
1032 POSIX 1003.1-2001 hosts.
1034 2002-02-18 Jim Meyering <meyering@lucent.com>
1036 * tests/cond12.test: Use sed 1q, not `head -n 1'.
1037 The latter is not portable to some old systems.
1038 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1039 Use `sed 1q' instead.
1040 * tests/insthook.test: Likewise.
1042 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1044 * automake.in (handle_lib_objects_cond): Tell the user to put
1045 global linker flags in AM_LDFLAGS, not LDFLAGS.
1047 * automake.texi (General Operation): AC_SUBST'ed variables
1048 override Automake's variables.
1049 (Uniform): More words and @refs.
1050 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1051 (etags): More explanations about the first example.
1052 (Invoking Automake): Mention autoreconf. More @refs.
1053 (Requirements): Mention AC_CONFIG_FILES.
1054 (Optional): AC_CHECK_TOOL will no longer install config.sub and
1055 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1056 (Invoking aclocal): aclocal no longer warn about duplicates.
1057 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1058 (Extending aclocal): Suggest using the output of
1059 `aclocal --print-ac-dir` to install third-party macros.
1060 (Alternative): Specify ordering of dist_, nodist_, and nobase_
1062 (A Program): Mention scripts. The global LDADD variable is not
1063 meant to hold link flags, suggest using AM_LDFLAGS instead.
1064 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1065 _LIBADD and _LDADD are subject to the same restriction wrt to
1067 (Program and Library Variables) <maude_DEPENDECIES>: Is also
1068 derived from maude_LIBADD.
1069 (Program variables): Define AM_LDFLAGS.
1070 (Dependencies): Passing the no-dependencies option to
1071 AM_INIT_AUTOMAKE is prefered.
1072 (Scripts): Explain why automake is magically cleaned.
1073 Mention noinst_SCRIPTS and check_SCRIPTS.
1074 (Data): Use dist_ in Automake's example.
1075 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1076 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1078 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1080 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1081 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
1082 of asking the maintainer to do it manually.
1083 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1084 Automake/XFile.pm: New upstream versions.
1086 2002-02-02 Tom Tromey <tromey@redhat.com>
1088 * automake.texi (Macros): Warn about upgrading.
1090 2002-02-01 Tom Tromey <tromey@redhat.com>
1092 Change per GNU coding standards:
1093 * aclocal.in (parse_arguments): Only mention most recent year in
1095 * automake.in (version): Only mention most recent year.
1097 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1099 * automake.texi (API versioning): New Node.
1100 (Extending): Use $(DESTDIR) in examples.
1102 2002-01-28 Akim Demaille <akim@epita.fr>
1104 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1105 Respect the --help layout.
1107 2002-01-27 Tom Tromey <tromey@redhat.com>
1109 * configure.in: Bumped to 1.5e.
1111 * lib/am/yacc.am: Use `rm -f'.
1113 * configure.in: Released 1.5d.
1115 * lib/config.guess: New version from FSF.
1117 * Makefile.am (uninstall-hook): New target.
1119 2002-01-24 Akim Demaille <akim@epita.fr>
1121 * lib/install-sh: Update, from Autoconf.
1123 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1125 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1126 as AC_CANONICAL_HOST (the former does not require the latter since
1128 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1129 * automake.texi (Requirements): Do not require STRIP to be
1130 defined by the user.
1132 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1134 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1135 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1136 * tests/pr224.test: Make sure .deps subdirectories are
1137 erased by distclean.
1139 2002-01-22 Tom Tromey <tromey@redhat.com>
1141 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1142 no-dependencies option is set.
1143 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1144 no-dependencies option is set. Don't call AM_DEP_TRACK or
1147 2002-01-22 Pavel Roskin <proski@gnu.org>
1149 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1152 2002-01-22 Akim Demaille <akim@epita.fr>
1154 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1157 2002-01-21 Tom Tromey <tromey@redhat.com>
1159 * Makefile.am (fetch): Don't fetch ansi2knr.
1161 * automake.texi (Macros): Updated for new variable names.
1162 (Program and Library Variables): Likewise.
1163 (Assembly Support): Likewise.
1164 * m4/as.m4: Use CCAS and CCASFLAGS.
1165 * automake.in (asm): Use CCAS and CCASFLAGS.
1167 2002-01-21 Akim Demaille <akim@epita.fr>
1169 * automake.in (&parse_arguments): Use a more GNUish error message
1172 2002-01-20 Tom Tromey <tromey@redhat.com>
1174 Fix for PR automake/231:
1175 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1176 * m4/depend.m4: Document `GCJ'.
1178 For PR automake/224:
1179 * tests/Makefile.am (TESTS): Added pr224.test.
1180 * tests/pr224.test: New file.
1181 * lib/depcomp: Fixed computation of depfile.
1182 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1183 * automake.in (handle_single_transform_list): Only reject `..'
1184 component for Java. Put dependencies in directory near object.
1185 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
1187 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1189 * tests/defs: Export AUTOMAKE and ACLOCAL.
1191 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1193 Fix for PR automake/204:
1194 * tests/pr204.test: New file.
1195 * tests/Makefile.am (TESTS): Add it.
1196 * automake.in (handle_single_transform_list): Don't distribute
1197 sources derived from non-distributed sources.
1199 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1201 Fix for PR automake/229:
1202 * tests/pr229.test: New file.
1203 * tests/Makefile.am (TESTS): Add it.
1204 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
1205 AC_EMXOS2, and AC_MINGW32.
1207 2002-01-18 Tom Tromey <tromey@redhat.com>
1209 * tests/cond7.test: Fix test bug exposed by copyright update.
1211 For PR automake/288:
1212 * automake.in (lang_c_rewrite): Don't prepend directory to base if
1213 directory is `.'. Also, properly compute de_ansi_files entry in
1215 * tests/Makefile.am (TESTS): Added ansi7.test.
1216 * tests/ansi7.test: New file.
1218 * aclocal.in (parse_arguments): Added 2002.
1219 (write_aclocal): Likewise.
1220 (parse_arguments): Updated my email address.
1221 * automake.in (gen_copyright): Added 2002.
1222 (version): Likewise. Also, changed my email address.
1224 * configure.in (APIVERSION): Refined definition.
1226 2002-01-18 Tom Tromey <tromey@redhat.com>
1229 * lib/missing: Accept versioned aclocal.
1230 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
1232 2002-01-17 Pavel Roskin <proski@gnu.org>
1234 * m4/Makefile.am (m4datadir): Use APIVERSION.
1236 2002-01-16 Tom Tromey <tromey@redhat.com>
1238 * Makefile.am (install-exec-hook): Use APIVERSION.
1239 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
1240 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
1242 * automake.in (perllibdir): Use APIVERSION.
1244 * aclocal.in (perllibdir): Use APIVERSION.
1245 (APIVERSION): New global.
1246 (parse_arguments): Use APIVERSION.
1247 * configure.in (APIVERSION): New subst.
1248 (pkgvdatadir): Use APIVERSION.
1250 2002-01-15 Tom Tromey <tromey@redhat.com>
1253 * lib/missing: Match against `automake*' to pick up versioned
1255 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
1256 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
1258 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
1259 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
1261 (scriptdir): Use pkgvdatadir.
1262 (installcheck-local): Likewise.
1263 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
1264 * automake.in (perllibdir): Added VERSION.
1266 * aclocal.in (parse_arguments): Search versioned directory. Don't
1267 push unversioned directory unless it exists.
1268 (perllibdir): Added VERSION.
1269 (default_acdir): New global.
1270 * m4/Makefile.am (m4datadir): Added $(VERSION).
1271 * Makefile.am (install-exec-hook): New target.
1272 * configure.in (ACLOCAL): Search build directory.
1273 (pkgvdatadir): New subst.
1275 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1277 * lib/config.sub, lib/config.guess: New versions from FSF.
1279 2002-01-13 Tom Tromey <tromey@redhat.com>
1281 For PR automake/288:
1282 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
1284 (lang_c_finish): Likewise. Also, use directory information from
1287 2002-01-13 Kevin Ryde <user42@zip.com.au>
1289 For PR automake/288:
1290 * tests/Makefile.am (TESTS): Added ansi6.test.
1291 * tests/ansi6.test: New file.
1293 2002-01-13 Tom Tromey <tromey@redhat.com>
1295 For PR automake/287:
1296 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
1298 * tests/Makefile.am (TESTS): Added pr287.test.
1299 * tests/pr287.test: New file.
1301 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1303 * lib/am/distdir.am (distdir): Handle subdirectories.
1304 * tests/extra6.test: New file.
1305 * tests/Makefile.am (TESTS): Add it.
1307 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1309 * tests/extra2.test: Run $ACLOCAL.
1311 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1313 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
1314 AM_INIT_AUTOMAKE arguments when using the old-style call.
1315 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
1316 Suggested by Pavel Roskin.
1318 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1320 * test/nodefine.test, test/nodefine2.test: Check that no-define
1321 works, not the contrary...
1322 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
1323 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
1326 2002-01-12 Jim Meyering <meyering@lucent.com>
1328 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
1329 * tests/libobj11.test: New file.
1330 * tests/Makefile.am (TESTS): Add libobj11.test.
1332 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
1334 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1336 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1338 * automake.in (file_contents_internal): Introduce two variables,
1339 $is_rule and $discard_rules to track rules spanning across multiple
1340 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
1341 where only the first paragraph of such a multi-paragraph rule was
1342 discarded; but it leaves many similar latent bugs (see the FIXMEs).
1344 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1346 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1347 * tests/error.test: Use some macro names which are not defined by
1350 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1352 * automake.texi (Complete, Macros, Options): Document the new style
1353 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
1354 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1355 AC_INIT if they are available there. Support a new call form
1356 where the only argument is an optional space-separated list of
1358 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1359 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1360 _AM_IF_OPTION): New functions.
1361 * automake.in (AC_INIT_PATTERN): New variable.
1362 (global_options_line): Remove, use $seen_init_automake instead.
1363 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1364 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
1365 Remove the AM_AUTOMAKE_OPTIONS handling.
1366 * configure.in: Modernize.
1367 * tests/defs (configure.in): Modernize. One third of the tests
1368 still overwrite the default configure.in and use an old
1369 AM_INIT_AUTOMAKE call, so that makes testing for both.
1370 * tests/nodefine.test, tests/nodefine2.test: New files.
1371 * tests/Makefile.am (TESTS): Add them.
1373 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
1375 * automake.in (define_configure_variable): Propagate line numbers.
1377 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1379 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1381 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1383 * configure.in: Run the Autoconf test in a subdirectory, then
1384 erase this directory.
1386 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1388 * configure.in (AUTOMAKE): Create m4/amversion.m4.
1389 * m4/amversion.in: New file.
1390 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1391 (dist_m4data_DATA): ... this.
1392 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1393 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1394 AM_SET_CURRENT_AUTOMAKE_VERSION.
1395 * automake.in (seen_automake_version): New variable.
1396 (scan_autoconf_traces, scan_one_autoconf_file,
1397 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1398 when the version used in aclocal.m4 differs from Automake's.
1399 * tests/defs (ACLOCAL): Look in ../m4 too.
1400 * tests/installsh.test (ACLOCAL): Likewise.
1401 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1403 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
1405 * automake.in (handle_languages): Emit an automake
1406 internal variable 'am__depfiles_maybe'.
1407 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1409 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1412 2002-01-06 Tom Tromey <tromey@redhat.com>
1414 * automake.texi (Tags): Document new variables.
1415 * lib/am/tags.am (ETAGS): New macro.
1416 (ETAGSFLAGS): Likewise.
1419 2002-01-04 Tom Tromey <tromey@redhat.com>
1421 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
1423 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1425 * automake.in (read_am_file): Thinko in "comment following
1426 trailing backslash" detection.
1427 * tests/comment5.test: Test for this too.
1429 2002-01-02 Tom Tromey <tromey@redhat.com>
1431 * automake.texi (Extending): Added index for uninstall-hook.
1433 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1435 Fix for PR automake/278:
1436 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1437 with versions such as '2.2c1'. Also, use `int' instead of the
1438 obsoleted `string.atoi'.
1439 Reported by Enrico Scholz.
1441 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1443 Fix for PR automake/280:
1444 * automake.in (read_am_file): Warn about trailing backslashes
1446 * tests/comment5.test: New file.
1447 * tests/Makefile.am (TESTS): Add comment5.test.
1448 Reported by Enrico Scholz.
1450 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1452 * tests/comment4.test: New file.
1453 * tests/Makefile.am (TESTS): Add comment4.test.
1455 Fix for comment4.test:
1456 * automake.in (read_am_file): Output leading comments only when
1457 encountering white lines.
1459 2002-01-01 Tom Tromey <tromey@redhat.com>
1461 For PR automake/234:
1462 * tests/Makefile.am (TESTS): Added strip.test.
1463 * tests/strip.test: New file.
1465 * automake.texi (Extending): Mention uninstall-hook.
1466 (Install): Likewise.
1467 * automake.in (handle_factored_dependencies): Allow
1470 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1472 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1473 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1474 This fixes a bug introduced on 2001-01-28.
1475 Reported by Jared Davis.
1479 Copyright (C) 2002 Free Software Foundation, Inc.
1481 This file is part of GNU Automake.
1483 GNU Automake is free software; you can redistribute it and/or modify
1484 it under the terms of the GNU General Public License as published by
1485 the Free Software Foundation; either version 2, or (at your option)
1488 GNU Automake is distributed in the hope that it will be useful,
1489 but WITHOUT ANY WARRANTY; without even the implied warranty of
1490 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1491 GNU General Public License for more details.
1493 You should have received a copy of the GNU General Public License
1494 along with autoconf; see the file COPYING. If not, write to
1495 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1496 Boston, MA 02111-1307, USA.