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