1 2002-11-09 Jim Meyering <jim@meyering.net>
3 Make install-sh work even when names contain spaces or
4 certain (but not all) shell metachars.
6 * lib/install-sh: Remove lots of unnecessary quoting.
7 Add double quotes where necessary.
8 Write diagnostics to stderr, not stdout.
9 Normalize spacing in diagnostics: use one space (not two,
10 and not a TAB) after the leading `install:'.
11 Remove trailing white space.
12 Remove unnecessary curly braces.
13 If removing the destination fails, also try to move it aside.
14 Use `trap' more portably.
15 * tests/installsh2.test: New file, to test for the above fix.
16 * tests/Makefile.am (TESTS): Add installsh2.test.
18 * automake.texi: Fix some typos and a grammar nit.
20 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
22 * automake.in (switch_warning): Subject Perl warnings to -Werror.
24 * automake.texi (Extending): Complete unterminated sentence.
25 Reported by Mike Castle.
27 2002-11-06 Akim Demaille <akim@epita.fr>
29 * automake.in (&conditional_ambiguous_p): Don't forget to ->string
32 2002-10-31 Alexandre Duret-Lutz <adl@gnu.org>
34 * automake.texi (Dist): Fix the distcleancheck_listfiles example.
35 Reported by Karl Berry.
37 2002-10-31 Akim Demaille <akim@epita.fr>
39 * tests/location.test (Makefile.am): Strengthen.
40 * lib/Automake/Channels.pm (_print_message): Be sure to flush
41 $partial when the message is output.
42 Thanks to Alexandre Duret-Lutz.
44 2002-10-31 Akim Demaille <akim@epita.fr>
46 * automake.in (&read_am_file): Use $last_where to register the
47 _first_ line of a variable definition as location instead of the
49 (&conditional_ambiguous_p): Don't forget to ->string the
51 (&rule_define): Likewise.
52 * tests/location.test: Adjust to exercise this.
54 2002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
56 * tests/defs.in: Add explicit stanza for python -V.
58 2002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
60 * tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
61 of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09,
62 and reveals a bug in my patch of 2002-10-15.
63 * automake.in (handle_single_transform_list): Strip directory name
64 from $full_ansi if subdir-objects is not set.
66 * lib/texinfo.tex: New version from Texinfo 4.2b.
68 2002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
70 * automake.in (handle_single_transform_list) <full_ansi>: New variable.
71 Use this to record correct dependencies about deansifiable files which
72 are using per-program flags or are in a subdirectory.
73 * tests/ansi9.test: New file.
74 * tests/Makefile.am (TESTS): Add ansi9.test.
75 Reported by Paul D. Smith
77 2002-10-12 Alexandre Duret-Lutz <adl@gnu.org>
79 * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
80 quoted, accept any character but `]'. This makes it possible
81 to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
82 (scan_m4_files): Quote $key in the regex. Don't define $expr, it's
84 (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
86 * tests/aclocal2.test: New file.
87 * tests/Makefile.am (TESTS): Add aclocal2.test.
88 Reported by Tamara L. Dahlgren and Tom Epperly.
90 2002-10-11 Alexandre Duret-Lutz <adl@gnu.org>
92 For Debian Bug#153697:
93 * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
95 Suggested by Andrew Suffield.
97 2002-10-10 Alexandre Duret-Lutz <adl@gnu.org>
100 * lib/am/python.am: Lookup python files in build directory or
102 From Mathias Doreille.
103 * tests/python3.test: New file.
104 * tests/Makefile.am (TESTS): Add python3.test.
105 * tests/defs: Handle `required=python'.
108 * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
110 Suggested by Thien-Thi Nguyen.
111 * lib/am/configure.am ($(srcdir)/configure): Depends on
113 * automake.in (@configure_deps): New array.
114 (scan_autoconf_traces): Scan for m4_include and m4_sinclude,
115 and fill @configure_deps.
116 (handle_configure): Substitute %CONFIGURE_DEPS%.
117 Distribute @configure_deps.
118 * tests/version7.texi: New file.
119 * tests/vtexi.test: Adjust.
120 * tests/Makefile.am (TESTS): Add version7.test.
121 * automake.texi (Dist): Mention that m4_include'd files
124 2002-10-09 Akim Demaille <akim@epita.fr>
126 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty:
127 the content of this macro was merged in AC_PROG_CC.
128 * m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES.
129 * tests/depacl.test: Remove, it exercizes aclocal in a way that was
130 exercized by all the other tests since the test suite really uses
132 * tests/Makefile.am (TESTS): Remove depacl.test.
134 2002-10-08 Paul Eggert <eggert@twinsun.com>
136 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
137 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
138 input", not "makeinfo input -o output", as the latter fails if
140 * lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
141 * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
143 2002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
145 * automake.in (file_contents_internal): Fix the relationship
146 regex flags, don't use `m'.
148 For Debian Bug#162583:
149 * automake.in (file_contents_internal): Simplify regex to
150 separate relationship from actions in rules.
151 Reported by Sam Hocevar.
153 * lib/Automake/Conditional.pm (has): Simplify.
155 2002-10-07 Alexandre Duret-Lutz <adl@gnu.org>
157 * lib/Automake/Conditional.pm: New file.
158 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm.
159 * automake.in: Use Automake::Conditional.
160 (TRUE, FALSE): New constants.
161 (%var_value, %var_location, %var_comment, %var_type, %var_owner,
162 %targets, %target_source, %target_name, %target_owner): Tie to
163 Tie::RefHash::Nestable.
164 (generate_makefile, process_option_list, handle_options,
165 handle_languages, handle_source_transform, handle_compile,
166 handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs,
167 scan_aclocal_m4, handle_emacs_lisp, handle_python,
168 scan_autoconf_files, variable_assert, define_variable,
169 define_pretty_variable, define_configure_variable, am_install_var,
170 push_dist_common): Use TRUE.
171 (define_objects_from_sources): Fix return value on
172 "recursively-defined" errors.
173 (conditional_string, conditional_true_when, conditional_is_redundant,
174 conditional_implies_any, make_conditions): Remove these functions,
175 obsoleted by Conditional.pm.
176 (cond_stack_if, cond_stack_else, cond_stack_endif): Return
177 an Automake::Conditional instance.
178 (by_condition, conditional_ambiguous_p,
179 variable_not_always_defined_in_cond, macro_define,
180 variable_conditions_recursive, variable_conditions_recursive_sub,
181 variable_conditions_reduce, invert_conditions,
182 variable_conditions_permutations,
183 check_variable_defined_unconditionally, variable_value_as_list,
184 variable_output, variable_pretty_output, rule_define,
185 read_am_file, file_contents_internal, require_variables): Adjust
186 to use Automake::Conditional objects.
187 (handle_footer): Get $(SUFFIXES) in 'all' conditions.
188 * tests/cond12.test: Adjust to use Automake::Conditional objects.
190 2002-10-01 Alexandre Duret-Lutz <adl@gnu.org>
192 * automake.in (handle_source_transform): If foo_SOURCES is defined
193 conditionally, create and use am__foo_SOURCES_DIST for distribution.
194 * tests/condd.test: Extend to check distributed files.
195 * tests/substref.test: Make sure we don't use such a variable when
197 Reported by Marcus Brinkmann.
199 2002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU>
201 * tests/defs.in: Run $MAKE --version -v.
202 * tests/dollar.test: Abort on ./defs failure.
203 * tests/lex5.test: Require GNUmake, not make.
205 2002-09-30 Kevin Ryde <user42@zip.com.au>
207 * m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual
208 values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so
209 configure tests can use them. Use AC_ARG_VAR instead of AC_SUBST.
211 2002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr>
213 * automake.in (require_variables): The fix introduced in 2002-09-19
214 is imcomplete. Rewrite the conditional variable definition check
215 using &variable_not_always_defined_in_cond.
216 * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
217 * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
219 Reported by Juergen Keil.
221 * automake.in (INTERNAL): Redefine as an empty location,
222 so that internal locations get displayed as `automake:'.
224 * lib/am/distdir.am (distdir): Create $dc_destdir right before
226 Reported by Akim Demaille.
228 Fix for PR automake/366:
229 * automake.in (handle_dist): Strip $(srcdir) and replace
230 $(top_srcdir) when computing DIST_COMMON directories.
231 * tests/include2.test: Use an obsolute $(srcdir), and check
232 for spurious directories in $(distdir)/sub.
233 * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
234 Reported by Kevin Ryde.
236 2002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr>
238 * lib/Automake/Channels.pm (%_default_options): Add 'partial'.
239 (_format_message): Rename as ...
240 (_format_sub_message): ... this.
241 (_format_message): New function, extracted from ...
242 (_print_message): ... here. Honor the 'partial' option.
243 ($partial): New variable.
244 * automake.in (handle_ltlibraries, check_ambiguous_conditional,
245 rule_define): Mark partial messages.
247 * automake.in (handle_ltlibraries): Record library locations in
248 %liblocations, and print the previous declaration on error.
249 * tests/libtool6.test: Check that the locations of the two
250 definitions are shown.
252 For PR automake/360: Propagate more locations.
253 * automake.in (handle_programs): Adjust usage of am_install_var's
254 return value. Pass on locations as context to file_contents.
255 (handle_libraries, handle_ltlibraries): Likewise. Use locations
256 in the 'not a standard library name' diagnostic.
257 (handle_emacs_lisp, handle_python): Adjust usage of am_install_var's
258 return value. Pass on locations to require_variables and
260 (check_ambiguous_conditional): Strip trailing dot in message.
261 (value_to_list): Add the $WHERE and $LOC_WANTED arguments.
262 (variable_value_as_list_recursive_worker): Add the $LOC_WANTED
263 argument. Adjust calls to value_to_list.
264 (variable_value_as_list_recursive): Call
265 variable_value_as_list_recursive_worker with $LOC_WANTED = 0.
266 (variable_loc_and_value_as_list_recursive): New function,
267 variable_value_as_list_recursive_worker with $LOC_WANTED = 1.
268 (am_install_var): Use variable_loc_and_value_as_list_recursive,
269 and return a list of [$location, $value] pairs.
270 (rule_define): Use better locations in EXEEXT diagnostic.
271 (handle_source_transform, define_objects_from_sources): Add and use
272 a $WHERE argument. Adjust callers.
273 * tests/stdlib.test: Grep the location in error message.
274 * tests/location.test: New file.
275 * tests/Makefile.am (TESTS): Add location.test.
277 * tests/exeext3.test: New file.
278 * tests/Makefile.am (TESTS): Add exeext3.test.
279 * automake.in (%target_name): New hash.
280 (initialize_per_input): Reset %target_name.
281 (rule_define): Fill %target_name, and use it to detect targets
282 which have been registered with key X but really are X$(EXEEXT).
284 2002-09-28 Alexandre Duret-Lutz <duret_g@epita.fr>
287 * lib/Automake/Location.pm: New file.
288 * lib/Automake/Channels.pm (_print_message): Display contexts
289 when given an Automake::Location.
290 (msg): Clone the location.
291 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm.
292 * tests/comment5.test: Make sure we display `included from' stacks.
293 * automake.in: Use Automake::Location.
294 (INTERNAL): New constant.
295 (file_contents, file_contents_internal, define_variable,
296 define_pretty_variable, read_am_file): Take $WHERE as argument.
298 (scan_autoconf_traces) <$where>: Define as a Location, and use
300 (macro_define, rule_define): Make sure $WHERE is a location.
301 Clone it before updating $var_location or $targets.
303 2002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr>
305 * lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
306 Suggested by Bruno Haible.
308 * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
309 Autoconf. Automake now has the master copy of install-sh and
312 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
314 * configure.in: Bump version to 1.7a.
316 * NEWS, configure.ac: Version 1.7.
318 2002-09-25 Art Haas <ahaas@neosoft.com>
320 * automake.texi (Optional, Options, Distributing, ANSI,
321 API versioning): Spelling fixes and Texi tweaks.
323 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
325 * configure.in: Check for 'tex'.
326 * tests/defs.in: Handle required=tex using configure's result.
327 Reported by Patrick Welche.
329 * Makefile.am (mdate-sh): Remove.
331 Suggested by Akim Demaille.
333 2002-09-25 Tom Tromey <tromey@redhat.com>
335 * NEWS: Mention distuninstallcheck.
336 * automake.texi (Dist): Document new macro and target.
337 * lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
338 (distuninstallcheck): New target.
339 (distcheck): Use distuninstallcheck.
341 2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
343 * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
344 AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
346 * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
349 2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
351 * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
352 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
353 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
355 2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
357 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
360 2002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr>
362 * automake.in (handle_single_transform_list): Revert the change
363 from 2002-09-22. We need to erase .libs/ in the object directory
364 in addition to the library directory.
366 * tests/target-cflags.test: Build in `build/', not `obj/' because
367 `obj/' is special to BSD make.
369 * automake.in (read_am_file): Prefix included files with
370 $(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
371 subdircond2.test, and subdircond3.test on OSF1.
373 * tests/defs.in (SHELL): Set it.
375 * lib/am/distdir.am (distcleancheck): Mention `in build directory'
378 2002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
381 * automake.in (handle_ltlibraries): Allow a library to be installed
382 many times in the same directory.
383 * tests/libtool5.test, tests/libtool6.test: New files.
384 * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
386 2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
388 * automake.in (handle_ltlibraries): Fill $libtool_clean_directories
389 here, with directories where .la files are built...
390 (handle_single_transform_list): ... not here with directories
391 where .lo files are built.
392 * tests/libtool3.test: Build a library in a subdirectory to
394 Reported by Peter Gavin.
396 * tests/cond5.test: Give more time to automake.
397 Reported by Art Haas.
399 * configure.in: Really check for Autoconf 2.54.
401 * automake.texi (Yacc and Lex): ylwrap is used only when there is
402 more than one yacc or lex source file in a directory.
404 * automake.in (macro_define): Update a variable's location each
405 time its owner is updated.
406 * tests/gnuwarn.test: Append to CFLAGS to check for this.
407 Reported by Harlan Stenn.
409 2002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr>
411 * configure.in: Bump version to 1.6g.
413 * configure.in, NEWS: Bump version to 1.6f.
415 * Makefile.am (INSTALL): New rules.
417 2002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de>
420 * m4/cond.m4: Fix AC_MSG_ERROR quoting.
422 2002-09-19 Pavel Roskin <proski@gnu.org>
424 * tests/warnopts.test: Fix random failures by removing Autoconf
425 cache directory when configure.in changes. Use the code and the
426 comment from tests/asm.test.
428 2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
430 * automake.texi (Program and Library Variables) <maude_LIBADD>:
431 Don't mention _LDADD for Libtool libraries.
432 Reported by Schleicher Ralph.
435 * tests/suffix8.test: More explicit dependencies.
436 Reported by Paul Eggert.
438 * automake.in (rule_define): Don't diagnose duplicate user rules.
439 * tests/phony.test, tests/percent2.test: New files.
440 * tests/Makefile.am (TESTS): Add them.
441 Reported by Ralf Corsepius.
443 * automake.in (require_variables): Search variable definitions
444 in any condition implied by $cond.
445 * tests/cond25.test: New file.
446 * tests/Makefile.am (TESTS): Add cond25.test.
447 Reported by Pavel Roskin.
449 * tests/subobj9.test: Skip this test on configure errors.
450 Reported by Paul Eggert.
452 2002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr>
454 * configure.in: Bump version to 1.6e.
456 * configure.in, NEWS: Bump version to 1.6d.
457 * tests/libobj12.test, tests/libobj12b.test: Include ./defs,
459 * tests/suffix8.test: Typo.
461 * automake.in (check_ambiguous_conditional, rule_define): Issue
462 syntactic warnings, not errors.
463 (macro_define): Don't adjust the owner of a variable which is being
464 appended in a condition different from its definition.
465 (variable_output, variable_pretty_output): Make sure the
466 requested condition exists.
468 For PR automake/353: fill %var_location, %var_comment,
469 %var_type, %var_owner for each condition.
470 * automake.in (msg_cond_var): New function.
472 (generate_makefile, process_option_list, handle_languages,
473 handle_lib_objects_cond, handle_compile, handle_libtool,
474 handle_ltlibraries, handle_texinfo_helper, handle_tests,
475 handle_emacs_lisp, handle_python, macro_define, macro_delete,
476 macro_dump, variable_assert, variable_output,
477 variable_pretty_output, read_am_file, read_main_am_file,
478 file_contents_internal, am_primary_prefixes,
479 require_variables_for_macro): Adjust accesses to %var_location,
480 %var_comment, %var_type, %var_owner.
481 (append_comments, require_file_with_macro,
482 require_conf_file_with_macro, require_variables): Add the
484 * tests/comment7.test: New file.
485 * tests/Makefile.am (TESTS): Add comment7.test.
487 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
490 * automake.in (check_ambiguous_conditional): Display locations for
491 the two definitions of the ambiguous variable. Show the macro_dump
492 output in --verbose only. Accept $where as a third argument,
493 (macro_define): Pass $where.
495 * automake.in (handle_programs): Ooops. Really add LDADD
496 objects into _DEPENDENCIES.
497 * tests/libobj12.test: Check for it.
499 2002-09-17 Assar Westerlund <assar@kth.se>
500 Alexandre Duret-Lutz <duret_g@epita.fr>
502 * automake.in (handle_programs, handle_libraries,
503 handle_ltlibraries): Maintain $seen_libobjs on a
504 per-program/per-library basis, instead of globally to each
506 * tests/libobj12.test, tests/libobj12b.test: New files.
507 * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
509 2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
511 * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
514 * lib/config.guess, lib/config.sub, lib/INSTALL,
515 lib/Automate/Struct.pm: New upstream version.
516 * Makefile.am (mdate-sh): New rule.
517 (FETCHFILES): Add Automate/Struct.pm.
518 (fetch): Get Automate/Struct.pm.
519 (AUTOMAKESOURCES, CLEANFILES): New macros.
520 (EXTRA_DIST, TAGS_FILES): Use them.
521 * install-sh, mkinstalldirs, missing: Delete.
523 * automake.in: Rename the 'unused' channel to 'syntax'.
524 (variable_defined): Issue a warning instead of an error
525 for variable-is-a-target conditions.
526 * automake.texi (Invoking Automake): Rename the 'unused'
528 * tests/warnopts.test: Likewise.
530 * tests/suffix8.test: Add explicit dependencies.
531 * tests/texinfo13.test, tests/texinfo16.test: Require tex.
533 2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
535 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
537 * automake.in (variable_defined): Thinko in $cond handling.
539 2002-09-15 Paul Eggert <eggert@twinsun.com>
541 * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
544 * Makefile.am (maintainer-check): Don't use egrep.
546 2002-09-15 Tom Tromey <tromey@redhat.com>
548 * tests/subdircond3.test: Pass flags to make in environment.
549 * tests/subdircond2.test: Pass flags to make in environment.
550 * Makefile.am (maintainer-check): Add a new check for @...@
551 substitutions. Updated correct number of diffs between source and
554 * configure.in (aclocal, automake): Don't create.
555 * automake.in ($prefix): Don't define.
556 * aclocal.in ($prefix): Don't define.
557 * Makefile.am (do_subst): New macro.
558 (automake): New target.
561 2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
563 * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
565 2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
567 * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
570 2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
572 * automake.texi (Building ctags and etags): Rename and adjust as ...
573 (Building true and false): ... this.
574 * tests/targetclash.test: New file.
575 * tests/specflags7.test, tests/specflags8.test: Adjust to build
577 * tests/Makefile.am (TESTS): Add targetclash.test.
579 Diagnose target clashes, for PR automake/344:
580 * automake.in (%targets): Record conditionals for definitions.
581 (%target_conditional): Remove (obsoleted by %targets).
582 (%target_source, %target_owner): New hashes.
583 (TARGET_AUTOMAKE, TARGET_USER): New constants.
584 (initialize_per_input): Adjust to reset new variables.
585 (err_cond_target, msg_cond_target): New functions.
586 (msg_target): Adjust usage of %targets.
587 (conditional_ambiguous_p): Take a list of conditional to check
588 as a third parameter, so this can be used for other things that
590 (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
591 (variable_defined): Restrict the target-with-same-name check
593 (rule_define): Add the $SOURCE argument, and take $OWNER instead
594 of $IS_AM. Diagnose target clashes (including ambugious
595 conditionals). Return a list of conditions where the rule should
596 be defined instead of a boolean. Fill %target_source and
598 (target_define): Use `exists', not `defined'.
599 (read_am_file): Adjust the call to rule_define.
600 (file_contents_internal): Add more FIXMEs. Simplify my moving
601 and documenting the "define rules in undefined conditions" to
603 * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
606 2002-09-12 Akim Demaille <akim@epita.fr>
608 * aclocal.in: Prototype all the functions.
609 Add `(C)' to Copyrights.
610 (&add_file): Strip the comments before checking for `AC_REQUIRE'.
611 Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
613 2002-09-11 Akim Demaille <akim@epita.fr>
615 * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
616 it was already supported when --pdf support was added.
618 2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
620 * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
621 (msg): Die with backtrace if requested.
622 * automake.in: Enable `backtrace' on the `automake' channel.
624 * automake.in (process_option_list): Mention `Automake' in
625 version-mismatch error.
626 Suggested by Akim Demaille.
628 * tests/Makefile.am ($(TESTS)): Replace by ...
629 (check_SCRIPTS): ... this.
630 Suggested by Raja R Harinath.
632 2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
634 * tests/Makefile.am ($(TESTS)): New, depends on defs.
635 (BUILT_SOURCES): Remove (useless because of PR/359).
637 * m4/init.m4: Execute cygpath in a sub-shell.
639 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
641 * automake.in (macro_define): Warn about `:=' assignments.
642 * tests/colneq.test: Check for this warning.
644 * automake.texi (Include): Fragments are always distributed.
647 2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
649 Fix for automake/334:
650 * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
651 * m4/init.m4: New make variable CYGPATH_W.
653 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
655 * configure.in: Check for EGREP and FGREP. Create tests/defs.
656 * tests/defs: Rename as ...
657 * tests/defs.in: ... this. Add copyright notice. Use configure's
658 values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
659 * tests/Makefile.am (EXTRA_DIST): Remove defs.
660 (BUILT_SOURCES): New.
661 * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
662 tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
663 tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
664 tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
665 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
666 tests/all.test, tests/alpha.test, tests/amassign.test,
667 tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
668 tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
669 tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
670 tests/ar.test, tests/asm.test, tests/autoheader.test,
671 tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
672 tests/backsl.test, tests/backsl2.test, tests/badline.test,
673 tests/badopt.test, tests/badprog.test, tests/block.test,
674 tests/canon.test, tests/canon2.test, tests/canon3.test,
675 tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
676 tests/check.test, tests/checkall.test, tests/clean.test,
677 tests/colneq.test, tests/colneq2.test, tests/colon.test,
678 tests/colon2.test, tests/colon3.test, tests/colon4.test,
679 tests/colon5.test, tests/colon6.test, tests/colon7.test,
680 tests/comment.test, tests/comment2.test, tests/comment3.test,
681 tests/comment4.test, tests/comment5.test, tests/comment6.test,
682 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
683 tests/cond11.test, tests/cond12.test, tests/cond13.test,
684 tests/cond14.test, tests/cond15.test, tests/cond16.test,
685 tests/cond17.test, tests/cond18.test, tests/cond19.test,
686 tests/cond2.test, tests/cond20.test, tests/cond21.test,
687 tests/cond22.test, tests/cond23.test, tests/cond24.test,
688 tests/cond3.test, tests/cond4.test, tests/cond5.test,
689 tests/cond6.test, tests/cond7.test, tests/cond8.test,
690 tests/cond9.test, tests/condd.test, tests/condincl.test,
691 tests/condincl2.test, tests/condlib.test, tests/condman.test,
692 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
693 tests/confdist.test, tests/confh.test, tests/confh4.test,
694 tests/config.test, tests/confincl.test, tests/confsub.test,
695 tests/confvar.test, tests/confvar2.test, tests/copy.test,
696 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
697 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
698 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
699 tests/cygwin32.test, tests/dash.test, tests/defun.test,
700 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
701 tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
702 tests/depcomp2.test, tests/depdist.test, tests/depend.test,
703 tests/depend2.test, tests/depend3.test, tests/depend4.test,
704 tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
705 tests/discover.test, tests/distcommon.test,
706 tests/distcommon2.test, tests/distcommon3.test,
707 tests/distdir.test, tests/distname.test, tests/dollar.test,
708 tests/double.test, tests/dup2.test, tests/dup3.test,
709 tests/else.test, tests/empty.test, tests/empty2.test,
710 tests/empty3.test, tests/empty4.test, tests/error.test,
711 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
712 tests/exeext2.test, tests/exsource.test, tests/ext.test,
713 tests/ext2.test, tests/extra.test, tests/extra2.test,
714 tests/extra3.test, tests/extra4.test, tests/extra5.test,
715 tests/extra6.test, tests/extra7.test, tests/flibs.test,
716 tests/fnoc.test, tests/fo.test, tests/fonly.test,
717 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
718 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
719 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
720 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
721 tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
722 tests/implicit.test, tests/include.test, tests/include2.test,
723 tests/info.test, tests/insh.test, tests/insh2.test,
724 tests/install.test, tests/install2.test, tests/installdir.test,
725 tests/installsh.test, tests/instdata.test, tests/instdata2.test,
726 tests/instexec.test, tests/insthook.test, tests/instman.test,
727 tests/instman2.test, tests/interp.test, tests/interp2.test,
728 tests/java.test, tests/java2.test, tests/javaprim.test,
729 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
730 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
731 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
732 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
733 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
734 tests/library.test, tests/library2.test, tests/libtool.test,
735 tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
736 tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
737 tests/link_f_c_cxx.test, tests/link_f_cxx.test,
738 tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
739 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
740 tests/maintclean.test, tests/make.test, tests/makevars.test,
741 tests/man.test, tests/man2.test, tests/mclean.test,
742 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
743 tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
744 tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
745 tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
746 tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
747 tests/nolink.test, tests/nostdinc.test, tests/number.test,
748 tests/obsolete.test, tests/order.test, tests/outdir.test,
749 tests/output.test, tests/output2.test, tests/output3.test,
750 tests/output4.test, tests/output5.test, tests/package.test,
751 tests/parse.test, tests/percent.test, tests/pluseq.test,
752 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
753 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
754 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
755 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
756 tests/pr211.test, tests/pr220.test, tests/pr224.test,
757 tests/pr229.test, tests/pr243.test, tests/pr266.test,
758 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
759 tests/pr300-lib.test, tests/pr300-ltlib.test,
760 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
761 tests/pr87.test, tests/pr9.test, tests/prefix.test,
762 tests/primary.test, tests/primary2.test, tests/proginst.test,
763 tests/python.test, tests/python2.test, tests/ranlib.test,
764 tests/recurs.test, tests/recurs2.test, tests/remake.test,
765 tests/remake2.test, tests/remake3.test, tests/req.test,
766 tests/required.test, tests/required2.test, tests/rulepat.test,
767 tests/scripts.test, tests/seenc.test, tests/sinclude.test,
768 tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
769 tests/specflags.test, tests/specflags2.test,
770 tests/specflags3.test, tests/specflags6.test,
771 tests/specflags7.test, tests/specflags8.test,
772 tests/specflags9.test, tests/spell.test, tests/spell2.test,
773 tests/spell3.test, tests/spelling.test, tests/stamph.test,
774 tests/stamph2.test, tests/stdlib.test, tests/strip.test,
775 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
776 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
777 tests/subdir7.test, tests/subdirbuiltsources.test,
778 tests/subdircond.test, tests/subdircond2.test,
779 tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
780 tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
781 tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
782 tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
783 tests/subst.test, tests/substref.test, tests/substtarg.test,
784 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
785 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
786 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
787 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
788 tests/symlink3.test, tests/syntax.test, tests/tags.test,
789 tests/tagsub.test, tests/target-cflags.test, tests/target.test,
790 tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
791 tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
792 tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
793 tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
794 tests/transform.test, tests/unused.test, tests/vars.test,
795 tests/vars2.test, tests/vars3.test, tests/vartar.test,
796 tests/version.test, tests/version2.test, tests/version3.test,
797 tests/version4.test, tests/version5.test, tests/version6.test,
798 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
799 tests/warnopts.test, tests/werror.test, tests/whoami.test,
800 tests/xsource.test, tests/yacc.test, tests/yacc2.test,
801 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
802 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
803 tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
804 Source ./defs instead of $srcdir/defs.
806 2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
808 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
809 distributed files, to workaround Sun make VPATH munging.
810 This fixes subdircond2.test, subdircond3.test, and subpkg.test
812 * tests/extra6.test, tests/lex3.test, tests/pr87.test,
813 tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
814 tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
815 Don't require GNU make.
817 * lib/am/distdir.am (distcheck): Add missing `;'.
819 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
820 Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
821 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
823 2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
826 * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
827 Don't use `-o' unless necessary.
829 2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
832 * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
834 (output_texinfo_build_rules): Define %DIRSTAMP% when processing
835 texibuild.am. Return $dirstamp and a list of files to clean.
836 (handle_texinfo_helper): Process texi-vers.am after the call to
837 output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
838 * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
839 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
840 (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
841 * tests/texinfo13.test: New file.
842 * tests/Makefile.am (TESTS): Add texinfo13.test.
843 * lib/am/texinfos.am (install-info-am, dist-info): Looks for
844 info files in build or source directory.
845 This completes the change from 2002-07-30 (for PR automake/168).
847 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
849 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
850 (maintainer_clean_files): Replace by ...
851 (clean_files): ... this new variable.
852 (initialize_per_input, lang_yacc_target_hook,
853 lang_lex_target_hook): Use %clean_files instead of
854 @maintainer_clean_files.
855 (handle_clean): Rewrite, using %clean_files.
856 (require_build_directory_maybe): Use %clean_files instead
857 of %compile_clean_files. This allows using
858 &require_build_directory_maybe for non-compiling targets.
859 * lib/am/clean.am (mostlyclean-generic, clean-generic,
860 distclean-generic, maintainer-clean-generic): Rewrite using
861 %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
862 %MAINTAINER_CLEAN_RMS%.
864 For Debian Bug#157778:
865 * m4/python.m4: Fix output of `python' in checking messages
866 when no version of Python is required.
868 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
870 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
871 was generated by gcc -MF.
873 2002-08-23 Pavel Roskin <proski@gnu.org>
875 * lib/am/progs.am: Exit in case of install failure, otherwise
876 it is ignored on Cygwin because of the surrounding "for" loop.
878 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * automake.texi (Top level): More words about conditional
881 subdirectories. Don't mention AC_PROG_MAKE_SET.
882 * tests/subdircond2.test, tests/subdircond3.test: New files.
883 * tests/Makefile.am (TESTS): Add them.
886 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
887 (scan_variable_expansions, check_variable_expansions): New functions.
888 (macro_define): Call check_variable_expansions.
889 (read_am_file): Likewise, when outputing rules.
890 (variable_conditions_recursive_sub): Simplify using
891 scan_variable_expansions.
892 * tests/vars3.test: New file.
893 * tests/Makefile.am (TESTS): Add vars3.test.
894 * tests/colneq.test: Use -Wno-portability.
896 * lib/Automake/Channels.pm (buffering, backlog): New variables.
897 (buffer_messages, flush_messages): New functions.
898 (@EXPORT): Add buffer_messages and flush_messages.
899 * automake.in (generate_makefile): Call buffer_messages and
900 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
903 * automake.in (read_am_file): Fix computation of path to
904 included file when $(top_srcdir) is not used.
905 * tests/include2.test: Augment.
907 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
909 * automake.in (set_strictness): Never enable 'portability'
911 (usage): Adjust `-Wportability' doc.
912 * automake.texi (Invoking Automake): Likewise.
913 Suggested by Ralf Corsepius.
915 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
917 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
918 so_location files in current directory.
920 Fix for PR automake/346:
921 * automake.texi (Optional): Supress the documentation for
922 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
923 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
924 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
925 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
926 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
927 documentation of AC_LIBSOURCE and AC_SUBST to explain this
928 applies to any macro that calls them.
930 2002-08-19 Tom Tromey <tromey@redhat.com>
933 * tests/Makefile.am (TESTS): Added include2.test.
934 * tests/include2.test: New file.
935 * tests/include.test: Check to make sure include file is
937 * automake.in (read_am_file): Distribute included files.
939 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
941 Fix for PR automake/345:
942 * tests/defs: Add support for required=non-root, stolen
943 from fileutils' test suite.
944 * tests/destdir.test: Use required=non-root.
946 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
948 2002-08-17 Tom Tromey <tromey@redhat.com>
951 * automake.in (rule_define): Given portability warning if "%" seen
953 (TARGET_PATTERN): Added `%'.
954 * tests/Makefile.am (TESTS): Added percent.test.
955 * tests/percent.test: New file.
957 2002-08-15 Art Haas <ahaas@neosoft.com>
959 * lib/am/depend2.am: Use correct name for dependency file in
960 libtool fastdep case.
962 2002-08-14 Art Haas <ahaas@neosoft.com>
964 * lib/am/depend2.am: Added missing `;'.
966 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
968 * automake.texi (Python): Fix wording.
970 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
971 and was fixed by the change on variable_conditions_permutations
972 and invert_conditions on 2002-05-16.
973 * tests/Makefile.am (TESTS): Add ext2.test.
974 Reported by Ladislav Strojil.
976 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
978 * aclocal.in (parse_arguments): Add `dirlist' paths add the
979 very end of the search path, after aclocal-APIVERSION/ and
981 * automake.texi (Macro search path): Adjust to reflect the
983 * tests/dirlist.test: Check for this.
985 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
987 * aclocal.in (parse_arguments): Add support for extending
988 default macro search path, using a `dirlist' file within
989 the aclocal directory.
990 * automake.texi (Invoking aclocal): Move option descriptions into ...
991 (aclocal options): ... this new node.
992 (Macro search path): New node.
993 * tests/dirlist.test: New file.
994 * tests/Makefile.am (TESTS): Add dirlist.test.
995 * m4/dirlist: New file.
996 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
997 * tests/defs: Honor any installed dirlist when searching for
998 libtool.m4 and gettext.m4.
1000 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1002 Build info files in builddir instead of srcdir (for PR automake/168),
1003 and prepare support for info files in subdirecties.
1004 * automake.in (output_texinfo_build_rules): New function.
1005 (handle_texinfo_helper): Use output_texinfo_build_rules, and
1006 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
1007 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
1008 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
1010 * lib/am/texibuild.am: Rewrite to output files in the current
1011 directory, not $(srcdir). Also, support both generic and
1012 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
1013 texi2dvi (for PR automake/339).
1014 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
1015 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
1016 * tests/texinfo16.test: New file.
1017 * tests/Makefile.am (TESTS): Add texinfo16.test.
1019 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
1021 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
1022 in the aclocal.m4 header.
1024 * configure.in: Require Autoconf 2.53b.
1026 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1028 * configure.in: Bump version to 1.6c.
1030 * configure.in: Bump version to 1.6b.
1031 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
1033 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
1034 since this file is processed by config.status.
1036 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1038 * automake.in (read_am_file): Escaped newlines in comments are not
1039 portable. If a comment line doesn't start with a `#', add it.
1040 * tests/comment6.test: Ensure this is done.
1042 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1044 Fix failures reported by Patrick Welche on NetBSD.
1045 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
1046 status of `make -k'.
1047 * tests/obsolete.test: Source obs.1 and obs.2 from current
1050 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
1052 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1055 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1057 * tests/required2.test: New file.
1058 * tests/Makefile.am (TESTS): Add required2.test.
1059 * automake.in (initialize_per_input): Remove %require_file_found
1060 setting. This reverts my change of 2002-04-19.
1061 (require_file_internal): Use the full name of a file as a
1062 key in %require_file_found, not only the basename.
1063 Reported by Andrew Suffield.
1065 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1067 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
1068 * tests/subdir7.test: New file.
1069 * tests/Makefile.am (TESTS): Add subdir7.test.
1071 * lib/mkinstalldirs: Remove Id keyword.
1073 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
1074 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1075 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1076 * automake.texi (Options) <std-options>: Document
1077 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
1078 (Gnits): Reference std-options.
1079 * tests/gnits3.test: New file.
1080 * tests/Makefile.am (TESTS): Add gnits3.test.
1081 Suggested by Jim Meyering.
1083 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1085 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
1086 Replace the sed script by calls to grep, easier to debug.
1087 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
1089 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
1091 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
1092 Always strip the directory part before applying $(transform),
1093 even for nobase_ targets.
1094 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
1096 * tests/nobase.test: Use --program-prefix while testing nobase
1099 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1101 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
1102 * tests/Makefile.am (TESTS): Remove dirname.test.
1104 * m4/init.m4: Require Autoconf 2.53b.
1105 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
1106 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
1107 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
1108 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
1109 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
1110 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
1111 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
1112 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
1114 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
1115 AU_DEFUNed in m4/obsolete.m4.
1116 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
1117 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
1118 and obsolete.m4. Remove termios.m4 and winsz.m4.
1119 * aclocal.in (obsolete, obsolete_rx): Remove.
1120 (scan_configure): Don't grep for obsolete macros.
1121 * tests/defs (AUTOUPDATE): Define.
1122 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
1123 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
1126 Fix for PR automake/338:
1127 * automake.in (seen_gettext_external): New variable.
1128 (handle_gettext): Conditionalize the intl/ check on
1129 $seen_gettext_external. Fix grep usage.
1130 (scan_autoconf_traces): Set $seen_gettext_external if
1131 `external' is passed to AM_GNU_GETTEXT.
1132 * tests/gettext.test, tests/gettext2.test: New files.
1133 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
1135 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1136 Akim Demaille <akim@epita.fr>
1138 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
1139 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
1140 (AM_CONFIG_HEADER): ... this new definition for compatibility.
1141 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
1142 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
1143 * tests/confh5.tests: Delete.
1144 * tests/Makefile.am (TESTS): Remove confh5.tests.
1146 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1148 * automake.in (handle_single_transform_list): Typo.
1150 * lib/Automake/Channels.pm (dup_channel_setup,
1151 drop_channel_setup): New functions.
1152 (@EXPORT): Add them.
1153 * automake.in (generate_makefile): Call dup_channel_setup and
1155 (process_option_list): Recognize --warnings and -W options.
1156 * automake.texi (Options): Document them.
1157 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
1159 * tests/warnopts.test: New file.
1160 * tests/Makefile.am (TESTS): Add warnopts.test.
1162 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1164 * automake.in: Register warning channel `gnu'.
1165 (set_strictness): Turn on `gnu' in --gnu and --gnits.
1166 (usage): Mention the `gnu' category.
1167 (%var_is_am): Replace by ...
1168 (%var_owner): ... this, which uses ...
1169 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
1170 Adjust all uses of %var_is_am.
1171 (handle_languages): Warn about user variables being overriden.
1172 (require_variables): Also check %configure_vars for the existence
1173 of a required variable.
1174 * automake.texi (Invoking Automake): Document -Wgnu.
1175 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
1177 * tests/gnuwarn.test: New file.
1178 * tests/Makefile.am (TESTS): Add gnuwarn.test.
1180 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1182 Fix for PR automake/337:
1183 * automake.in: Redefine the `flags' attribute of each language
1184 as a list. List CPPFLAGS in `flags' when it is used.
1185 (register_language): Set the default value of 'flags'.
1186 (handle_single_transform_list): Adjust to treat `flags' as a list.
1187 (handle_languages): Likewise. Don't bother defining the
1188 configure variable for `c', this is always done since we trace
1190 * automake.texi (etags): Use per-executable _CPPFLAGS.
1191 (Program and Library Variables): Mention maude_CPPFLAGS.
1192 (Program variables): Likewise.
1193 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
1194 * tests/specflags9.test: New file.
1195 * tests/Makefile.am (TESTS): Add specflag9.test.
1197 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1199 * automake.texi: Use `variable' instead of `macro' everywhere it
1200 designates a Makefile variable.
1201 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
1202 `flags', not `macros'. `Macro' means something else in Texinfo.
1203 Also show how to use these flags.
1204 * automake.in (file_contents_internal): s/macro/variable/ in
1207 * automake.in (parse_arguments): Call Getopt twice: once to catch
1208 --help or --verbose, and once to process the other arguments.
1209 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
1210 should always be 0 because of the change to parse_arguments).
1211 * tests/Makefile.am (TESTS): Add getopt.test.
1212 * tests/getopt.test: New file.
1214 2002-07-09 Tom Tromey <tromey@redhat.com>
1216 For PR automake/286:
1217 * automake.texi (Tags): Document ctags.
1218 * automake.in (handle_tags): Handle ctags.
1219 * lib/am/tags.am (CTAGS): New macro.
1220 (CTAGSFLAGS): Likewise.
1221 (ctags): New target.
1222 (distclean-tags): Remove `tags'.
1224 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
1226 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
1227 before passing to cygpath. Partial fix for PR automake/334.
1229 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1231 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
1232 instead of INCLUDES.
1233 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
1235 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1237 * automake.in (usage, version): Honor $exit_code.
1238 (parse_arguments): Use fatal.
1240 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1242 * automake.texi (Invoking Automake): Document WARNINGS.
1243 * automake.in (switch_warning, parse_WARNINGS): New function.
1244 (setup_warnings): Rename to ...
1245 (parse_warnings): ... this. Move most of the code to switch_warning.
1246 Accept a comma separated list of categories.
1247 * tests/vars2.test: Use a comma separated list of warning categories.
1249 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1251 * NEWS (New in 1.6): Mention that libtoolize is no longer run
1254 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1256 Fix for PR automake/291:
1257 * automake.in (macro_define): Catch variable names starting
1259 (handle_installdirs): Rename _am_installdirs to am__installdirs.
1260 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
1261 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
1262 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
1263 lib/am/texinfos.am: Likewise.
1264 * tests/canon5.test: Use -Wno-portability.
1265 * tests/vars2.test: New file.
1266 * tests/Makefile.am (TESTS): Add vars2.test.
1268 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1270 * tests/defs (AUTOMAKE): Add -Wall.
1271 * tests/outdir.test: Use -Wno-obsolete.
1273 2002-07-07 Tom Tromey <tromey@redhat.com>
1275 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
1277 * automake.in (handle_languages): Compute FASTDEP.
1278 * lib/am/depend2.am: Added %FASTDEP% mode.
1280 2002-07-07 Tom Tromey <tromey@redhat.com>
1282 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
1283 now. Fixes PR automake/332.
1285 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1287 * tests/nobase.test (test-install-exec): Move all the `test -f'
1288 tests in the Makefile so we can use $(EXEEXT) on programs.
1289 Reported by Charles Wilson.
1291 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1293 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
1294 * tests/confh5.test: Make sure that Autoconf complains if
1295 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
1298 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1300 * lib/Automake/Channels.pm: New file.
1301 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
1302 * automake.in: Use Automake::Channels and register some channels
1303 for errors and warnings.
1304 ($exit_status): Remove, replaced by Channels::$exit_code.
1305 (%required_variables): Remove, Channels will filter-out duplicates
1307 (initialize_per_input): Call reset_local_duplicates.
1308 (prog_error): Adjust to all `msg'.
1309 (setup_warnings): New functions.
1310 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
1311 call setup_warnings.
1312 (usage): Update usage text accordingly.
1313 (macro_dump, macros_dump): Return the dump as a string instead
1315 (am_install_var) <$warned_about_extra>: Remove, Channels will
1316 filter-out duplicates itself.
1317 (set_strictness): Turn on/off channels for each stricness.
1318 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
1319 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
1320 New functions, to replace ...
1321 (print_error, am_error, file_error, macro_error, target_error,
1322 conf_error, file_warning): ... these functions. Remove them.
1323 Update all the code to use the new functions. The rough
1327 macro_error -> err_var
1328 target_error -> err_target
1329 conf_error -> err_ac
1331 macro_error if defined -> reject_var
1332 target_error if defined -> reject_target
1334 * automake.texi (Invoking Automake): Document -W and --warnings.
1335 Remove the documentation for --Werror and --Wno-error.
1336 * tests/defs: Use -Werror, no --Werror.
1337 * tests/exeext2.test: Test that the error message
1338 is enabled with -Wobsolete.
1339 * tests/output5.test: Rewrite to test that Automake complains
1340 when there is no Makefile specified. (The original test was
1341 succeeding for the wrong reason.)
1342 * tests/seenc.test: Don't use --Wno-error, there is no reason now
1343 that -Werror doesn't stop after the first error.
1344 * tests/subobj.test: Use --add-missing, and check that
1345 `compile' is installed and that Automake says so.
1346 * tests/subobj2.test: Don't create `compile'.
1348 2002-07-05 Tom Tromey <tromey@redhat.com>
1350 * automake.texi (Java Support): Mention --main and _LDFLAGS.
1351 For PR automake/324.
1353 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1355 * tests/asm.test: Erase Autom4te's cache between each test.
1357 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
1359 * automake.in (am_macro_for_var): Add LIBTOOL.
1360 (ac_macro_for_var): Add RANLIB.
1361 (seen_libtool): Remove.
1362 (handle_libtool, lang_c_finish, define_compiler_variable,
1363 make_paragraphs): Use
1364 variable_defined ('LIBTOOL') instead of $seen_libtool.
1365 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
1366 already done in make_paragraphs.
1367 (handle_libraries): Simplify by requiring RANLIB with
1368 &require_variables_for_macro.
1369 (handle_ltlibraries): Simplify by requiring LIBTOOL with
1370 &require_variables_for_macro.
1371 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
1373 * tests/libtool4.test, tests/library2.test: New files.
1374 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
1376 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1378 * automake.in (create, keyed_aclocal_warning): Delete, unused.
1380 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1382 * automake.in (ac_macro_for_var): Add YACC.
1384 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1386 Handle multiple suffix rules with the same input extension.
1389 * automake.in (suffix_rules_default): New variable.
1390 (suffix_rules): Redefine as a hash of hashes of pairs.
1391 (initialize_per_input): Setup suffix_rules_default from
1392 suffix_rules on first call, an override suffix_rules
1393 with suffix_rules_default on following calls.
1394 (struct) <output_extensions>: New attribute.
1395 (register_language): Set the default for output_extensions.
1396 Call register_suffix_rule for each suffix.
1397 (derive_suffix, handle_languages): Adjust to the new definition
1399 (register_suffix_rule): New function.
1400 (rule_define): Call register_suffix_rule.
1401 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
1403 * tests/Makefile.am (TESTS): Add them.
1405 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1407 * automake.in (am_macro_for_var, ac_macro_for_var,
1408 required_variables): New variables.
1409 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
1410 pythondir_location): Remove.
1411 (initialize_per_input): Clear %required_variables.
1412 (require_variables, require_variables_for_macro): New functions.
1413 (handle_languages): Call &require_variables for $lang->config_vars.
1414 (handle_compile): Call &require_variables_for_macro for the
1415 ANSI2KNR and U variables.
1416 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
1417 (handle_python): Call &require_variables for PYTHON. Don't
1418 explicitly allow `python' as a prefix for PYTHON.
1419 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
1420 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
1421 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
1422 AMDEPBACKSLASH here...
1423 (define_configure_variable): ... do this here.
1424 (am_primary_prefixes): Probe the existence of ${X}dir using
1425 &require_variables_for_macro. If a standard prefix is not
1426 legitimate, say so. Ignore all configure variables.
1427 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
1428 tests/lisp2.test, tests/python2.test: New files
1429 * tests/Makefile.am (TESTS): Add them.
1430 * tests/asm.test: Grep stderr.
1431 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
1432 * tests/python.test: Make sure py-compile is installed.
1434 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1436 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
1437 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
1438 Adjust all occurrences.
1440 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1442 * aclocal.in: Add local variables so that Emacs setups GNU style
1443 for perl-mode and cperl-mode.
1444 * automake.in: Likewise.
1445 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
1446 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
1447 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
1450 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1452 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
1453 * lib/config.sub, lib/install-sh: New upstream versions.
1455 2002-06-26 Paul Eggert <eggert@twinsun.com>
1457 * Makefile.am (maintainer-check): Don't assume that egrep exists;
1458 this fixes a portability bug introduced in the 2002-06-08 fix for
1461 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1463 * automake.in (required_targets): Add ps and ps-am.
1464 (initialize_per_input): Reset them.
1465 (handle_texinfo_helper): Fill @pss_list, and define the
1467 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
1468 (ps, ps-am): New targets.
1469 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
1470 `make ps' and `make pdf'.
1471 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
1472 (Extending): The `ps' and `pdf' targets support a `-local' version.
1474 2002-06-26 Art Haas <ahaas@neosoft.com>
1476 * automake.texi: s/.../@dots{}/.
1478 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1480 * configure.in: Check that ln works, fall back to `cp -p'.
1481 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
1482 Reported by Andreas Buening.
1484 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1486 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
1487 (lang_lex_target_hook): New function.
1488 * tests/lex3.c: Complete to check that maintainer-clean erases
1490 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
1492 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1494 * automake.in (lang_yacc_target_hook): Add $output to
1495 @maintainer_clean_files. This was lost on 2001-06-23.
1496 * tests/yacc7.test, tests/yacc4.test: Complete to check
1497 that maintainer-clean erases YACC's output files,
1498 respectively with and without `-d'.
1499 Reported by Flavien Astraud.
1501 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1503 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
1504 traced from configure.ac.
1506 * automake.in (macro_define): Don't accept to override an AC_SUBST
1507 or Automake variable in a new condition.
1508 * tests/cond23.test, tests/cond24.test: New file.
1509 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
1510 Reported by Patrik Weiskirchre.
1512 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1514 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
1515 tests/pr300-ltlib.test, tests/pr300-prog.test,
1516 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
1517 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
1520 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1522 * tests/libtool2.test: Use required=libtoolize.
1523 * tests/install2.test: Use required=gzip.
1525 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1527 * tests/defs (required): Handle bison; set YACC automatically.
1528 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
1529 tests/yaccvpath.test: Require bison. Don't set YACC.
1531 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1533 * tests/defs (required): Handle `gcc' and `g++'; automatically
1534 export CC and CXX when they are required.
1535 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1536 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1537 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1538 tests/lex3.test, tests/pr87.test, tests/pr220.test,
1539 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
1540 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
1542 * tests/subobj9.test: Require g++.
1544 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1546 * tests/defs (required): Handle `GNUmake'.
1547 (needs_gnu_make): Don't define anymore.
1548 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
1549 tests/dollar.test, tests/exsource.test, tests/extra6.test,
1550 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
1551 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
1552 tests/yaccvpath.test: Use `required=GNUmake' instead of
1555 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
1557 * automake.in (process_option_list): Recognize std-options.
1558 (handle_options): Enable std-options in gnits strictness.
1559 (am_install_var): If std-options, enable CK-OPTS section.
1560 * lib/am/scripts.am (installcheck-am): New target.
1561 * lib/am/progs.am (installcheck-am): New target.
1562 * tests/gnits2.test: New file.
1563 * tests/Makefile.am (TESTS): Add gnits2.test.
1564 * automake.texi (Gnits, Options): Document std-options.
1566 2002-06-17 Kevin Ryde <user42@zip.com.au>
1568 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
1569 as generated by recent texinfo.tex.
1571 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1573 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
1574 (_AM_CONFIG_HEADERS): ... this.
1575 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
1576 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
1578 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
1579 instead of AM_CONFIG_HEADER.
1580 * tests/autoheader2.test: New file.
1581 * tests/Makefile.am (TESTS): Add autoheader2.test.
1582 Suggested by Raja R Harinath.
1584 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1586 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
1587 of m4_rename so that AC_CONFIG_HEADER is never undefined and
1588 therefore still traced after the redefinition.
1589 * tests/defs (AUTOHEADER): Define.
1590 * tests/autoheader.test: New file.
1591 * tests/Makefile.am (TESTS): Add autoheader.test.
1592 Reported by Braden McDaniel.
1594 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1596 * automake.in (check_gnu_standards): In --gnu mode, accept
1597 one of COPTING, COPYING.LESSER, or COPYING.LIB.
1598 (common_files): Add COPYING.LESSER.
1599 * automake.texi (Gnits): Document this.
1601 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1603 * automake.in (required_targets): Add the pdf and pdf-am targets.
1604 (initialize_per_input): Likewise.
1605 (scan_texinfo_file): Add pdf to @clean_suffixes.
1606 (handle_texinfo_helper): Output the .pdf dependencies, and define
1608 * lib/am/texinfos.am (TEXI2PDF): New variable.
1609 (pdf, pdf-am): New targets.
1610 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
1611 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
1613 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1615 Fix pr307.test failure with gcc 3.x.
1616 * lib/depcomp (dashmstdout): Strip the call to libtool, and
1617 replace `-o $object' by `-o /dev/null' before running "$@"
1618 to generate dependencies.
1619 (cpp): Strip the call to libtool as well as `-o $object'.
1621 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1623 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
1624 $base.lo.d, when libtool is used.
1625 Reported by Nicolas Joly.
1627 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1629 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
1630 is no file to compile.
1631 * tests/java2.test: New file.
1632 * tests/Makefile.am (TESTS): Add java2.test.
1633 Reported by Braden N. McDaniel.
1635 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1637 * tests/maintclean.test: Don't check for autom4te.cache if
1638 it's not created by Autoconf.
1639 Reported by Bernd Jendrissek.
1641 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1643 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
1645 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1647 * lib/am/header-vars.am (transform): Define.
1648 Was removed by mistake on 2002-04-13.
1649 * tests/transform.test: New file.
1650 * tests/Makefile.am (TESTS): Add transform.test.
1651 Reported by Nicolas Joly.
1653 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1655 * tests/dollar.test: Require GNU make.
1656 * tests/maintclean.test: Don't use `export YACC=false'. Pass
1657 YACC=false to configure instead.
1659 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1661 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
1662 INSTALL: New upstream versions.
1664 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1666 * tests/sinclude.test: Check for m4_include too.
1668 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1670 * tests/sinclude.test: Rename the package as amsinclude;
1671 am__sinclude still trigers the sinclude macro once it has been
1672 converted to am--sinclude.
1673 Reported by Nicolas Joly.
1675 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1677 * automake.texi (API versioning): Typo.
1679 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
1681 * THANKS (Nicolas Joly): Remove duplicate.
1683 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1685 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
1686 * tests/yacc7.test: Use rm -f.
1688 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1690 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
1691 * tests/subpkg.test: New file.
1692 * tests/Makefile.am (TESTS): Add subpkg.test.
1694 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1696 For PR automake/318:
1697 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
1698 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
1699 * lib/am/scripts.am (install-%DIR%SCRIPTS,
1700 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
1702 (?%DIR%SCRIPT_INSTALL): New variable.
1703 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
1704 Reported by Eric Siegerman.
1706 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1708 * automake.in (lang_yacc_target_hook): Add rule to recover from
1709 the removal of $header.
1710 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
1711 output by lang_yacc_target_hook).
1712 * tests/yacc7.test: Try to recreate foo.h after its removal.
1713 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
1715 Reported by Bernd Jendrissek.
1717 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1719 For PR automake/317:
1720 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
1721 suggest `list='$(FILES)'; for f in $$list' instead.
1722 * lib/am/distdir.am (distdir): Adjust `for' usage.
1723 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
1724 * tests/dollar.test: New file.
1725 * tests/Makefile.am (TESTS): Add dollar.test.
1726 Reported by Eric Siegerman and Philip Fong.
1728 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1730 For PR automake/47 (fixed a long time ago):
1731 * tests/yacc7.test: Also check that parser sources are distributed.
1733 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1735 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
1736 (distclean): Use it.
1737 (maintainer-clean): Delete autom4te.cache and
1738 $(am__CONFIG_DISTCLEAN_FILES).
1739 * tests/maintclean.test: New file.
1740 * tests/Makefile.am (TESTS): Add maintclean.test.
1742 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
1744 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
1747 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1749 * Makefile.am (maintainer-check): Check for egrep and fgrep.
1751 * test/cond22.test: Set SHELL when calling $MAKE -e.
1753 2002-05-31 Richard Boulton <richard@tartarus.org>
1755 Fix PR automake/326:
1756 * automake.in (define_objects_from_sources): Calculate the result in
1757 all conditions before passing this to subobjname to pick a name to
1758 store the result in.
1759 (subobjname): Expect a list of condition/value pairs as input.
1760 Combine this list and use it as the key to determine the variable name.
1761 * test/cond22.test: New file.
1762 * tests/Makefile.am (TESTS): Add cond22.test
1764 2002-05-30 Paul Eggert <eggert@twinsun.com>
1766 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
1767 instead, use shell pattern matching.
1769 2002-05-29 Paul Eggert <eggert@twinsun.com>
1771 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
1772 longer requires them.
1774 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
1775 of egrep and fgrep. Omit unnecessary -E and -F.
1776 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
1777 * lib/am/distdir.am (distdir): fgrep -> grep -F.
1778 Use $(), not ${}, for Make variables.
1779 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
1781 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
1782 * tests/defs: Set FGREP and EGREP.
1784 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
1785 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
1786 tests/cond21.test, tests/condlib.test, tests/confh4.test,
1787 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
1788 tests/depend4.test, tests/discover.test, tests/distname.test,
1789 tests/dup3.test, tests/empty4.test, tests/fo.test,
1790 tests/implicit.test, tests/insh2.test, tests/interp.test,
1791 tests/lex.test, tests/lex3.test, tests/lex4.test,
1792 tests/libobj5.test, tests/libobj7.test, tests/make.test,
1793 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
1794 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
1795 tests/pr2.test, tests/pr9.test, tests/seenc.test,
1796 tests/specflags.test, tests/specflags3.test,
1797 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
1798 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
1799 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
1800 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
1802 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1804 For PR automake/323:
1805 * m4/depend.m4: Missing comma.
1806 * tests/gcj4.test: New file.
1807 * tests/Makefile.am (TESTS): Add gcj4.test.
1808 Reported by David Pashley.
1810 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1812 * tests/defs (configure.in): Don't double-quote $me.
1813 * tests/sinclude.test: Overwrite configure.in and use
1814 `am__sinclude' instead of `sinclude' as package name.
1815 Excercise `m4_sinclude' instead of `sinclude'.
1817 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1819 * automake.in (conditional_implies_one_of): Rename as ...
1820 (conditional_implies_any): ... this.
1821 * tests/pluseq9.test: Exercise another case with the new
1823 Suggested by Raja R Harinath.
1825 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1827 * tests/defs (configure.in): Quote macro arguments.
1828 Reported by Nicolas Joly.
1830 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1832 * lib/am/header-vars.am (build_triplet, host_triplet,
1833 target_triplet): Define. Were removed by mistake on 2002-04-13.
1835 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1837 For PR automake/186:
1838 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
1839 * tests/destdir.test: New file.
1840 * tests/Makefile.am (TESTS): Add destdir.test.
1842 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1844 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
1845 (conditional_is_redundant): Simplify.
1846 (conditional_implies_one_of,
1847 variable_not_always_defined_in_cond): New functions
1848 (macro_define): Reject appends if the variable is not defined in
1849 all conditions where `+=' applies.
1850 (invert_conditions): Rewrite. Before this patch,
1851 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
1852 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
1853 wrong (these conditions implies "A_FALSE"). Now it outputs (),
1854 which just means the input conditions cover all cases.
1855 (variable_conditions_permutations): Never output FALSE conditions.
1856 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
1857 in the CHECK_FALSE condition to fix the test.
1858 * tests/pluseq5.test: Actually check the diagnostic.
1859 * tests/pluseq9.test: New file.
1860 * tests/Makefile.am (TESTS): Add pluseq9.test.
1862 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1864 Fix for PR automake/322:
1865 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
1866 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
1867 Handle comments continued by backslashes.
1868 * tests/comment6.test: New file.
1869 * tests/Makefile.am (TESTS): Add comment6.test.
1870 Reported by Braden N. McDaniel.
1872 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
1873 Alexandre Duret-Lutz <duret_g@epita.fr>
1875 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
1876 both `program$(EXEEXT)' and `program'; needed under Cygwin.
1877 * tests/libtool3.test: New file.
1878 * tests/Makefile.am (TESTS): Add libtool3.test.
1880 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1884 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1886 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
1888 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1890 Erase stamps from the Makefile that generates them.
1892 * automake.in (handle_configure): Append each used stamp to
1893 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
1894 file is not used anymore.
1895 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
1897 * tests/subdir6.test: New file.
1898 * tests/Makefile.am (TESTS): Add it.
1900 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1902 Fix for condd.test (conditional `+='):
1903 * automake.in (%appendvar): New.
1904 (initialize_per_input): Clear it.
1905 (macro_define): Handle += for variable defined in another condition.
1906 * automake.texi (Conditional Sources): Use conditional += in
1908 (General Operation, Conditionals): Remove note about broken +=.
1909 * tests/cond21.test: New file.
1910 * tests/condd.test: Also test conditional append to a _SOURCE
1911 variable. Create missing directories.
1912 * tests/Makefile.am (TESTS): Add cond21.test.
1913 (XFAILS): Remove condd.test.
1915 2002-05-05 Tom Tromey <tromey@redhat.com>
1917 * automake.texi (Program and Library Variables): Mention _LFLAGS.
1919 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1921 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
1922 files. Fix subobj9.test on OSF and IRIX.
1923 Reported by Nelson H. F. Beebe.
1925 2002-04-26 Tom Tromey <tromey@redhat.com>
1927 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
1928 For Debian bug 144221.
1930 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1932 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
1934 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1936 * automake.in (subobjname): Use the length of %subobjvar
1937 instead of $subobjnamenum.
1938 (subobjnamenum): Remove.
1940 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1942 For PR automake/307:
1943 * lib/depcomp: Never compute dependencies in the background, this
1944 can cause races with libtool. Compute the dependencies after
1945 the actual compilation. Don't make libtool silent now that
1946 it's run in the foreground.
1947 * tests/pr307.test: New file.
1948 * tests/Makefile.am (TESTS): Add pr307.test.
1949 Reported by Laurent Morichetti.
1951 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1953 * lib/am/check.am: Show skipped tests. Display the
1954 $(PACKAGE_BUGREPORT) address on failure.
1956 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1958 Fix PR automake/315:
1959 * automake.in (subobjname): Rewrite to generate variable name
1960 unique for each content.
1961 (%substnums): Remove.
1962 (%subobjvar): New hash.
1963 (initialize_per_input): Clear %subobjvar.
1964 (define_objects_from_sources): Return the name of the variable
1965 defined, in addition to the linker. Call subobjname only once
1966 the content of the variable to define is known.
1967 (handle_source_transform): Adjust call to define_objects_from_sources.
1968 * tests/specflags8.test: Mention PR 315.
1969 * tests/subobjname.test: New file.
1970 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
1971 (TESTS): Add subobjname.test.
1973 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1975 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
1976 the whole file for 'generated by automake', not only the
1977 first line. This accounts for post-processed Makefile.in's.
1978 * tests/postproc.test: New file.
1979 * tests/Makefile.am (TESTS): Add postproc.test.
1981 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1983 For PR automake/151 and PR automake/314:
1984 * automake.texi (A Program): Split into
1985 (Program Sources, Linking, Conditional Sources, Conditional
1986 Programs): ... these subsections; moving the Linking node
1987 before the Conditional discussions.
1988 (Conditional Sources): More details. Notably, mention
1990 (Conditionals): Adjust reference to Conditional Programs.
1992 2002-04-19 Paul Eggert <eggert@twinsun.com>
1994 Fix some bugs when using "$@" when there might be zero positional
1995 arguments in cases where this matters. Zsh doesn't support
1996 the workaround ${1+"$@"} that has been used by Automake since
1997 the Mon Dec 4 11:55:36 1995 change.
1999 * aclocal.in: Use 'case' statement to work around problem.
2000 * automake.in: Likewise.
2001 * lib/ylwrap: Likewise.
2002 * lib/missing: No need for workaround, as the command is never
2003 invoked with zero arguments.
2004 * tests/ccnoco.test: Likewise.
2005 * missing: Update from lib/missing.
2007 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2009 * automake.in (initialize_per_input): Clear %require_file_found.
2010 (%require_file_found): Group the declaration with the other
2011 variables initialized by initialize_per_input.
2012 * tests/required.test: New file.
2013 * tests/Makefile.am (TESTS): Add it.
2014 Reported by Marius Vollmer.
2016 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2018 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
2019 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
2020 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
2021 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
2022 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
2024 * tests/confh5.test: New file.
2025 * tests/Makefile.am (TESTS): Add confh5.test.
2026 * automake.texi (Optional, Public macros): Update descriptions
2027 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
2029 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2031 * tests/man2.test: New file.
2032 * tests/Makefile.am (TESTS): Add man2.test.
2033 * lib/am/mans.am (install-man%SECTION%): Change the extension
2034 of the man pages being installed, as documented.
2036 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2038 Enable traces; wipe out the old configure.in parser.
2040 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
2041 'autoconf'. Honnor the $filename argument.
2042 (scan_autoconf_files): Don't call scan_one_autoconf_file.
2043 Always call scan_autoconf_traces.
2044 (scan_one_autoconf_file): Remove, with it associated regexes.
2045 (obsolete, obsolete_rx): Remove.
2046 (register_language, handle_languages): Remove the 'define_flag'
2047 support. Remove it from the struct and language definitions too.
2048 (unquote_m4_arg): Remove.
2049 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
2050 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
2051 are now generated automatically.
2052 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
2054 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
2056 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2058 * tests/version6.test: New file.
2059 * tests/Makefile.am (TESTS): Add tests/version6.test.
2060 * automake.in (version_check): Return 0 on equality.
2062 2002-04-13 Andreas Schwab <schwab@suse.de>
2064 * THANKS: Update my mail address.
2066 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2068 * tests/discover.test: Use a full configure.in that calls AC_INIT.
2069 Use AC_LIBOBJ. Grep the error message.
2070 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
2071 Grep the error message. Require libtool.
2072 * tests/ldflags.test: Don't use LIBOBJS.
2073 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
2074 error messages for CC and CXX.
2076 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2078 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
2080 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
2081 * tests/ext.test: Enable dependencies for OBJC.
2082 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
2083 Delete. They tests for different flavors of $LIBOBJS assignments
2084 that wont be supported anymore.
2085 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
2086 * tests/obsolete.test: Don't test Automake.
2087 * tests/suffix5.test: Require libtool.
2088 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
2091 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2093 * configure.in (APIVERSION): Fix definition.
2095 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2097 * NEWS: Catch up with changes since 1.6.
2099 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2101 * tests/yacc8.test: Don't assume GNU make, run config.status
2102 to regenerate the Makefile.
2104 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2106 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
2107 always followed by a SHELL setting.
2108 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
2109 SHELL when calling `$MAKE -e'.
2111 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2113 * tests/subobj9.test: Use configure.in, not configure.ac,
2114 otherwise this fails with old libtool versions.
2116 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2118 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2121 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2123 * ChangeLog.2001: New file, extracted from ChangeLog.
2124 * Makefile.am (EXTRA_DIST): Add it.
2126 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2128 * automake.texi (Canonicalization): The sources for libmumble++.a
2129 go into libmumble___a_SOURCES.
2131 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2133 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
2134 test suite. Suggest `sleep 2' instead.
2135 * tests/confsub.test: Use `sleep 2'.
2137 2002-04-04 Paul Eggert <eggert@twinsun.com>
2139 * lib/am/subdirs.am:
2140 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
2141 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
2142 MAKEFLAGS contains '$(...)'.
2144 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2146 * tests/specflags8.test: Typo.
2148 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2150 * tests/specflags6.test: Run aclocal.
2151 * tests/Makefile.am (TESTS): Add specflags6.test.
2153 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2155 * tests/specflags7.test, tests/specflags8.test: New files.
2156 * tests/Makefile.am (TESTS): Add them.
2157 (XFAIL_TESTS): Add specflags8.test.
2159 2002-03-29 Tom Tromey <tromey@redhat.com>
2161 * automake.in (check_typos): Examine AM_LDFLAGS.
2162 Fixes PR automake/311.
2164 For PR automake/312:
2165 * lib/am/libtool.am (clean-libtool): Use LTRMS.
2166 * automake.in (handle_single_transform_list): When processing a
2167 libtool object, clean the ordinary object and register the
2169 (libtool_clean_directories): New global.
2170 (initialize_per_input): Initialize it.
2171 (generate_makefile): Call handle_libtool later.
2172 (handle_libtool): Handle libtool_clean_directories.
2173 * tests/subobj9.test: New file.
2174 * tests/Makefile.am (TESTS): Added subobj9.test.
2176 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2178 * tests/extra6.test, tests/subdir5.test: Require GNU make.
2180 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2182 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
2184 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2186 * tests/extra7.test: New file.
2187 * tests/Makefile.am: Add it.
2188 * lib/am/distdir.an (distdir): When a distribuable directory
2189 exists both in `.' and $(srcdir), merge both directories. This
2190 works around a failure of extra6.test on Tru64 reported by
2193 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2195 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
2197 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2199 * Makefile.am (maintainer-check): Catch occurrences of
2200 `$MAKE foo=bar' in the testsuite. Suggest using
2201 `foo=bar $MAKE -e' instead.
2202 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
2203 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
2204 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
2205 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
2207 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2209 Fix for PR automake/310:
2210 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
2211 so it never appears as a plain word.
2213 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
2215 * lib/depcomp (tru64): Correctly compute `base'.
2217 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2219 * tests/pr211.test: s/requires/required/, otherwise the test fails
2220 if libtool is not installed.
2222 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2224 * tests/dirname.test: Don't use $SHELL when calling ./configure.
2226 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2228 * tests/dirname.test: Use --quiet to fix failure on installations
2229 using a site script.
2230 Reported by Nicolas Joly.
2232 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2234 * Makefile.am (maintainer-check): Check for misuses of make,
2235 autoconf, automake, aclocal, and perl in the testsuite. Suggest
2236 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
2237 * tests/confsub.test: Use $AUTOCONF and $MAKE.
2238 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
2239 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
2240 tests/pr224.test, tests/pr287.test, tests/strip.test,
2241 tests/yacc8.test: Use $MAKE.
2243 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2245 Add support for two-dot versions.
2247 * tests/version5.test: New file.
2248 * tests/Makefile.am (TESTS): Add it.
2249 * automake.in (version_split, version_compare): New functions.
2250 (version_check): Rewrite using version_split and version_compare.
2251 (process_option_list): Adjust regex.
2253 2002-03-18 Richard Boulton <richard@tartarus.org>
2255 Fix for PR automake/306:
2256 * automake.texi (Generalities): Document +=.
2257 (Conditionals): Document limitations of += with conditionals.
2259 2002-03-17 Tom Tromey <tromey@redhat.com>
2261 Fix for PR automake/295:
2262 * automake.texi (Invoking Automake): Deprecate --output-dir.
2263 * automake.in (usage): Don't document --output-dir.
2264 (output_directory): Don't initialize.
2265 (parse_arguments): Deprecate --output-dir.
2267 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
2268 Fixes PR automake/304.
2270 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2272 * tests/dirforbid.test: Workaround for NetBSD sh bug.
2273 Fixes PR automake/305.
2275 2002-03-11 Richard Boulton <richard@tartarus.org>
2277 * automake.in (check_typos): Allow variables with reserved
2278 suffices (such as _LDFLAGS) and prefixes which aren't
2279 recognised if the variable is defined in configure.ac.
2282 2002-03-11 Richard Boulton <richard@tartarus.org>
2284 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
2285 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
2286 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
2288 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
2290 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
2293 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2295 Fix for PR automake/303:
2296 * automake.in (version_check): Move the error message ...
2297 (process_option_list): ... here, so we can distinguish between
2298 global and local options.
2300 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2302 * tests/pr300-lib.test, tests/pr300-ltlib.test,
2303 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
2304 Autoconf doesn't complain about Makefile being output twice.
2306 2002-03-06 Tom Tromey <tromey@redhat.com>
2308 * configure.in: Upped version to 1.6a.
2310 2002-03-05 Tom Tromey <tromey@redhat.com>
2312 * configure.in: Released 1.6.
2314 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
2316 Fix for PR automake/300:
2317 * tests/pr300-lib.test, tests/pr300-ltlib.test,
2318 tests/pr300-prog.test: New files.
2319 * tests/Makefile.am (TESTS): Add them.
2320 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
2321 compute the directory.
2322 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
2323 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
2324 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
2325 (uninstall-%DIR%LIBRARIES): Honor nobase_.
2326 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
2327 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
2328 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
2329 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
2330 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
2331 (uninstall-%DIR%PROGRAMS): Honor nobase_.
2332 See also the fix for nobase.test on 2001-11-09.
2334 2002-03-05 Tom Tromey <tromey@redhat.com>
2336 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
2338 2002-03-05 Pavel Roskin <proski@gnu.org>
2340 * tests/yacc8.test: Add a command between "test" and "cd" to
2341 work around a bug in bash-2.05.
2343 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
2345 Fix for PR automake/294:
2346 * tests/dirforbid.test: New file.
2347 * tests/Makefile.am (TESTS): Add it.
2348 * automake.in (standard_prefix): New hash.
2349 (am_primary_prefixes): Forbid standard_prefixes which are not
2350 explicitely allowed.
2351 * automake.texi (Uniform): Remove FIXME.
2353 2002-03-05 Jim Meyering <meyering@lucent.com>
2355 * automake.in (@common_files): Add config.rpath.
2357 2002-03-05 Kevin Ryde <user42@zip.com.au>
2359 For PR automake/297:
2360 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
2361 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
2364 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2366 * automake.in (scan_one_autoconf_file): Declare
2367 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
2368 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
2369 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
2370 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
2371 of s/// in the sed invocation, to support filenames containing
2373 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
2374 * tests/lex5.test, tests/yacc8.test: New files.
2375 * tests/Makefile.am (TESTS): Add them.
2377 2002-02-23 Per Bothner <per@bothner.com>
2379 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
2382 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2384 * tests/make.test: Revert the grep logic to work around a bug
2385 in NetBSD sh (see NetBSD Problem Report #11542).
2386 Reported by Patrick Welche.
2388 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
2390 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
2391 to try and prevent a non-lisp emacs from starting in interactive
2393 * automake.texi: Document this change.
2395 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2397 * automake.texi (Macros): Split into ...
2398 (Public Macros, Private Macros): ... these.
2400 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2402 * tests/insthook.test: Use sed instead of "tail +X".
2404 2002-02-18 Paul Eggert <eggert@twinsun.com>
2406 * lib/depcomp: Don't use "tail +3"; it's not portable to
2407 POSIX 1003.1-2001 hosts.
2409 2002-02-18 Jim Meyering <meyering@lucent.com>
2411 * tests/cond12.test: Use sed 1q, not `head -n 1'.
2412 The latter is not portable to some old systems.
2413 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
2414 Use `sed 1q' instead.
2415 * tests/insthook.test: Likewise.
2417 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2419 * automake.in (handle_lib_objects_cond): Tell the user to put
2420 global linker flags in AM_LDFLAGS, not LDFLAGS.
2422 * automake.texi (General Operation): AC_SUBST'ed variables
2423 override Automake's variables.
2424 (Uniform): More words and @refs.
2425 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
2426 (etags): More explanations about the first example.
2427 (Invoking Automake): Mention autoreconf. More @refs.
2428 (Requirements): Mention AC_CONFIG_FILES.
2429 (Optional): AC_CHECK_TOOL will no longer install config.sub and
2430 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
2431 (Invoking aclocal): aclocal no longer warn about duplicates.
2432 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
2433 (Extending aclocal): Suggest using the output of
2434 `aclocal --print-ac-dir` to install third-party macros.
2435 (Alternative): Specify ordering of dist_, nodist_, and nobase_
2437 (A Program): Mention scripts. The global LDADD variable is not
2438 meant to hold link flags, suggest using AM_LDFLAGS instead.
2439 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
2440 _LIBADD and _LDADD are subject to the same restriction wrt to
2442 (Program and Library Variables) <maude_DEPENDECIES>: Is also
2443 derived from maude_LIBADD.
2444 (Program variables): Define AM_LDFLAGS.
2445 (Dependencies): Passing the no-dependencies option to
2446 AM_INIT_AUTOMAKE is prefered.
2447 (Scripts): Explain why automake is magically cleaned.
2448 Mention noinst_SCRIPTS and check_SCRIPTS.
2449 (Data): Use dist_ in Automake's example.
2450 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
2451 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
2453 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2455 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
2456 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
2457 of asking the maintainer to do it manually.
2458 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
2459 Automake/XFile.pm: New upstream versions.
2461 2002-02-02 Tom Tromey <tromey@redhat.com>
2463 * automake.texi (Macros): Warn about upgrading.
2465 2002-02-01 Tom Tromey <tromey@redhat.com>
2467 Change per GNU coding standards:
2468 * aclocal.in (parse_arguments): Only mention most recent year in
2470 * automake.in (version): Only mention most recent year.
2472 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
2474 * automake.texi (API versioning): New Node.
2475 (Extending): Use $(DESTDIR) in examples.
2477 2002-01-28 Akim Demaille <akim@epita.fr>
2479 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
2480 Respect the --help layout.
2482 2002-01-27 Tom Tromey <tromey@redhat.com>
2484 * configure.in: Bumped to 1.5e.
2486 * lib/am/yacc.am: Use `rm -f'.
2488 * configure.in: Released 1.5d.
2490 * lib/config.guess: New version from FSF.
2492 * Makefile.am (uninstall-hook): New target.
2494 2002-01-24 Akim Demaille <akim@epita.fr>
2496 * lib/install-sh: Update, from Autoconf.
2498 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2500 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
2501 as AC_CANONICAL_HOST (the former does not require the latter since
2503 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
2504 * automake.texi (Requirements): Do not require STRIP to be
2505 defined by the user.
2507 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2509 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
2510 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
2511 * tests/pr224.test: Make sure .deps subdirectories are
2512 erased by distclean.
2514 2002-01-22 Tom Tromey <tromey@redhat.com>
2516 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
2517 no-dependencies option is set.
2518 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
2519 no-dependencies option is set. Don't call AM_DEP_TRACK or
2522 2002-01-22 Pavel Roskin <proski@gnu.org>
2524 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
2527 2002-01-22 Akim Demaille <akim@epita.fr>
2529 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
2532 2002-01-21 Tom Tromey <tromey@redhat.com>
2534 * Makefile.am (fetch): Don't fetch ansi2knr.
2536 * automake.texi (Macros): Updated for new variable names.
2537 (Program and Library Variables): Likewise.
2538 (Assembly Support): Likewise.
2539 * m4/as.m4: Use CCAS and CCASFLAGS.
2540 * automake.in (asm): Use CCAS and CCASFLAGS.
2542 2002-01-21 Akim Demaille <akim@epita.fr>
2544 * automake.in (&parse_arguments): Use a more GNUish error message
2547 2002-01-20 Tom Tromey <tromey@redhat.com>
2549 Fix for PR automake/231:
2550 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
2551 * m4/depend.m4: Document `GCJ'.
2553 For PR automake/224:
2554 * tests/Makefile.am (TESTS): Added pr224.test.
2555 * tests/pr224.test: New file.
2556 * lib/depcomp: Fixed computation of depfile.
2557 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
2558 * automake.in (handle_single_transform_list): Only reject `..'
2559 component for Java. Put dependencies in directory near object.
2560 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
2562 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2564 * tests/defs: Export AUTOMAKE and ACLOCAL.
2566 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2568 Fix for PR automake/204:
2569 * tests/pr204.test: New file.
2570 * tests/Makefile.am (TESTS): Add it.
2571 * automake.in (handle_single_transform_list): Don't distribute
2572 sources derived from non-distributed sources.
2574 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2576 Fix for PR automake/229:
2577 * tests/pr229.test: New file.
2578 * tests/Makefile.am (TESTS): Add it.
2579 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
2580 AC_EMXOS2, and AC_MINGW32.
2582 2002-01-18 Tom Tromey <tromey@redhat.com>
2584 * tests/cond7.test: Fix test bug exposed by copyright update.
2586 For PR automake/288:
2587 * automake.in (lang_c_rewrite): Don't prepend directory to base if
2588 directory is `.'. Also, properly compute de_ansi_files entry in
2590 * tests/Makefile.am (TESTS): Added ansi7.test.
2591 * tests/ansi7.test: New file.
2593 * aclocal.in (parse_arguments): Added 2002.
2594 (write_aclocal): Likewise.
2595 (parse_arguments): Updated my email address.
2596 * automake.in (gen_copyright): Added 2002.
2597 (version): Likewise. Also, changed my email address.
2599 * configure.in (APIVERSION): Refined definition.
2601 2002-01-18 Tom Tromey <tromey@redhat.com>
2604 * lib/missing: Accept versioned aclocal.
2605 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
2607 2002-01-17 Pavel Roskin <proski@gnu.org>
2609 * m4/Makefile.am (m4datadir): Use APIVERSION.
2611 2002-01-16 Tom Tromey <tromey@redhat.com>
2613 * Makefile.am (install-exec-hook): Use APIVERSION.
2614 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
2615 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
2617 * automake.in (perllibdir): Use APIVERSION.
2619 * aclocal.in (perllibdir): Use APIVERSION.
2620 (APIVERSION): New global.
2621 (parse_arguments): Use APIVERSION.
2622 * configure.in (APIVERSION): New subst.
2623 (pkgvdatadir): Use APIVERSION.
2625 2002-01-15 Tom Tromey <tromey@redhat.com>
2628 * lib/missing: Match against `automake*' to pick up versioned
2630 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
2631 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
2633 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
2634 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
2636 (scriptdir): Use pkgvdatadir.
2637 (installcheck-local): Likewise.
2638 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
2639 * automake.in (perllibdir): Added VERSION.
2641 * aclocal.in (parse_arguments): Search versioned directory. Don't
2642 push unversioned directory unless it exists.
2643 (perllibdir): Added VERSION.
2644 (default_acdir): New global.
2645 * m4/Makefile.am (m4datadir): Added $(VERSION).
2646 * Makefile.am (install-exec-hook): New target.
2647 * configure.in (ACLOCAL): Search build directory.
2648 (pkgvdatadir): New subst.
2650 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
2652 * lib/config.sub, lib/config.guess: New versions from FSF.
2654 2002-01-13 Tom Tromey <tromey@redhat.com>
2656 For PR automake/288:
2657 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
2659 (lang_c_finish): Likewise. Also, use directory information from
2662 2002-01-13 Kevin Ryde <user42@zip.com.au>
2664 For PR automake/288:
2665 * tests/Makefile.am (TESTS): Added ansi6.test.
2666 * tests/ansi6.test: New file.
2668 2002-01-13 Tom Tromey <tromey@redhat.com>
2670 For PR automake/287:
2671 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
2673 * tests/Makefile.am (TESTS): Added pr287.test.
2674 * tests/pr287.test: New file.
2676 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2678 * lib/am/distdir.am (distdir): Handle subdirectories.
2679 * tests/extra6.test: New file.
2680 * tests/Makefile.am (TESTS): Add it.
2682 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2684 * tests/extra2.test: Run $ACLOCAL.
2686 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2688 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
2689 AM_INIT_AUTOMAKE arguments when using the old-style call.
2690 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
2691 Suggested by Pavel Roskin.
2693 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2695 * test/nodefine.test, test/nodefine2.test: Check that no-define
2696 works, not the contrary...
2697 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
2698 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
2701 2002-01-12 Jim Meyering <meyering@lucent.com>
2703 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
2704 * tests/libobj11.test: New file.
2705 * tests/Makefile.am (TESTS): Add libobj11.test.
2707 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
2709 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
2711 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2713 * automake.in (file_contents_internal): Introduce two variables,
2714 $is_rule and $discard_rules to track rules spanning across multiple
2715 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
2716 where only the first paragraph of such a multi-paragraph rule was
2717 discarded; but it leaves many similar latent bugs (see the FIXMEs).
2719 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2721 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
2722 * tests/error.test: Use some macro names which are not defined by
2725 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2727 * automake.texi (Complete, Macros, Options): Document the new style
2728 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
2729 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
2730 AC_INIT if they are available there. Support a new call form
2731 where the only argument is an optional space-separated list of
2733 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
2734 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
2735 _AM_IF_OPTION): New functions.
2736 * automake.in (AC_INIT_PATTERN): New variable.
2737 (global_options_line): Remove, use $seen_init_automake instead.
2738 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
2739 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
2740 Remove the AM_AUTOMAKE_OPTIONS handling.
2741 * configure.in: Modernize.
2742 * tests/defs (configure.in): Modernize. One third of the tests
2743 still overwrite the default configure.in and use an old
2744 AM_INIT_AUTOMAKE call, so that makes testing for both.
2745 * tests/nodefine.test, tests/nodefine2.test: New files.
2746 * tests/Makefile.am (TESTS): Add them.
2748 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
2750 * automake.in (define_configure_variable): Propagate line numbers.
2752 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2754 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
2756 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2758 * configure.in: Run the Autoconf test in a subdirectory, then
2759 erase this directory.
2761 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2763 * configure.in (AUTOMAKE): Create m4/amversion.m4.
2764 * m4/amversion.in: New file.
2765 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
2766 (dist_m4data_DATA): ... this.
2767 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
2768 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
2769 AM_SET_CURRENT_AUTOMAKE_VERSION.
2770 * automake.in (seen_automake_version): New variable.
2771 (scan_autoconf_traces, scan_one_autoconf_file,
2772 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
2773 when the version used in aclocal.m4 differs from Automake's.
2774 * tests/defs (ACLOCAL): Look in ../m4 too.
2775 * tests/installsh.test (ACLOCAL): Likewise.
2776 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
2778 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
2780 * automake.in (handle_languages): Emit an automake
2781 internal variable 'am__depfiles_maybe'.
2782 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
2784 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
2787 2002-01-06 Tom Tromey <tromey@redhat.com>
2789 * automake.texi (Tags): Document new variables.
2790 * lib/am/tags.am (ETAGS): New macro.
2791 (ETAGSFLAGS): Likewise.
2794 2002-01-04 Tom Tromey <tromey@redhat.com>
2796 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
2798 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2800 * automake.in (read_am_file): Thinko in "comment following
2801 trailing backslash" detection.
2802 * tests/comment5.test: Test for this too.
2804 2002-01-02 Tom Tromey <tromey@redhat.com>
2806 * automake.texi (Extending): Added index for uninstall-hook.
2808 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2810 Fix for PR automake/278:
2811 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
2812 with versions such as '2.2c1'. Also, use `int' instead of the
2813 obsoleted `string.atoi'.
2814 Reported by Enrico Scholz.
2816 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2818 Fix for PR automake/280:
2819 * automake.in (read_am_file): Warn about trailing backslashes
2821 * tests/comment5.test: New file.
2822 * tests/Makefile.am (TESTS): Add comment5.test.
2823 Reported by Enrico Scholz.
2825 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2827 * tests/comment4.test: New file.
2828 * tests/Makefile.am (TESTS): Add comment4.test.
2830 Fix for comment4.test:
2831 * automake.in (read_am_file): Output leading comments only when
2832 encountering white lines.
2834 2002-01-01 Tom Tromey <tromey@redhat.com>
2836 For PR automake/234:
2837 * tests/Makefile.am (TESTS): Added strip.test.
2838 * tests/strip.test: New file.
2840 * automake.texi (Extending): Mention uninstall-hook.
2841 (Install): Likewise.
2842 * automake.in (handle_factored_dependencies): Allow
2845 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2847 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
2848 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
2849 This fixes a bug introduced on 2001-01-28.
2850 Reported by Jared Davis.
2854 Copyright (C) 2002 Free Software Foundation, Inc.
2856 This file is part of GNU Automake.
2858 GNU Automake is free software; you can redistribute it and/or modify
2859 it under the terms of the GNU General Public License as published by
2860 the Free Software Foundation; either version 2, or (at your option)
2863 GNU Automake is distributed in the hope that it will be useful,
2864 but WITHOUT ANY WARRANTY; without even the implied warranty of
2865 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2866 GNU General Public License for more details.
2868 You should have received a copy of the GNU General Public License
2869 along with autoconf; see the file COPYING. If not, write to
2870 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2871 Boston, MA 02111-1307, USA.