Fix for PR automake/338:
[platform/upstream/automake.git] / ChangeLog
1 2002-07-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
2
3         Fix for PR automake/338:
4         * automake.in (seen_gettext_external): New variable.
5         (handle_gettext): Conditionalize the intl/ check on
6         $seen_gettext_external.  Fix grep usage.
7         (scan_autoconf_traces): Set $seen_gettext_external if
8         `external' is passed to AM_GNU_GETTEXT.
9         * tests/gettext.test, tests/gettext2.test: New files.
10         * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
11
12 2002-07-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
13             Akim Demaille  <akim@epita.fr>
14
15         * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
16         _AM_CONFIG_HEADER_INSINUATE): Remove them all.  Leave just ...
17         (AM_CONFIG_HEADER): ... this new definition for compatibility.
18         * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
19         (_AC_AM_CONFIG_HEADER_HOOK): New macro.
20         * tests/confh5.tests: Delete.
21         * tests/Makefile.am (TESTS): Remove confh5.tests.
22
23 2002-07-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
24
25         * automake.in (handle_single_transform_list): Typo.
26
27         * lib/Automake/Channels.pm (dup_channel_setup,
28         drop_channel_setup): New functions.
29         (@EXPORT): Add them.
30         * automake.in (generate_makefile): Call dup_channel_setup and
31         drop_channel_setup.
32         (process_option_list): Recognize --warnings and -W options.
33         * automake.texi (Options): Document them.
34         * tests/pluseq5.test: Check that -Wno-obsolete will disable the
35         warning.
36         * tests/warnopts.test: New file.
37         * tests/Makefile.am (TESTS): Add warnopts.test.
38
39 2002-07-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
40
41         * automake.in: Register warning channel `gnu'.
42         (set_strictness): Turn on `gnu' in --gnu and --gnits.
43         (usage): Mention the `gnu' category.
44         (%var_is_am): Replace by ...
45         (%var_owner): ... this, which uses ...
46         (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
47         Adjust all uses of %var_is_am.
48         (handle_languages): Warn about user variables being overriden.
49         (require_variables): Also check %configure_vars for the existence
50         of a required variable.
51         * automake.texi (Invoking Automake): Document -Wgnu.
52         * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
53         we test YFLAGS.
54         * tests/gnuwarn.test: New file.
55         * tests/Makefile.am (TESTS): Add gnuwarn.test.
56
57 2002-07-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
58
59         Fix for PR automake/337:
60         * automake.in: Redefine the `flags' attribute of each language
61         as a list.  List CPPFLAGS in `flags' when it is used.
62         (register_language): Set the default value of 'flags'.
63         (handle_single_transform_list): Adjust to treat `flags' as a list.
64         (handle_languages): Likewise.  Don't bother defining the
65         configure variable for `c', this is always done since we trace
66         configure.ac.
67         * automake.texi (etags): Use per-executable _CPPFLAGS.
68         (Program and Library Variables): Mention maude_CPPFLAGS.
69         (Program variables): Likewise.
70         * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
71         * tests/specflags9.test: New file.
72         * tests/Makefile.am (TESTS): Add specflag9.test.
73
74 2002-07-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
75
76         * automake.texi: Use `variable' instead of `macro' everywhere it
77         designates a Makefile variable.
78         (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
79         `flags', not `macros'.  `Macro' means something else in Texinfo.
80         Also show how to use these flags.
81         * automake.in (file_contents_internal): s/macro/variable/ in
82         error message.
83
84         * automake.in (parse_arguments): Call Getopt twice: once to catch
85         --help or --verbose, and once to process the other arguments.
86         (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
87         should always be 0 because of the change to parse_arguments).
88         * tests/Makefile.am (TESTS): Add getopt.test.
89         * tests/getopt.test: New file.
90
91 2002-07-09  Tom Tromey  <tromey@redhat.com>
92
93         For PR automake/286:
94         * automake.texi (Tags): Document ctags.
95         * automake.in (handle_tags): Handle ctags.
96         * lib/am/tags.am (CTAGS): New macro.
97         (CTAGSFLAGS): Likewise.
98         (ctags): New target.
99         (distclean-tags): Remove `tags'.
100
101         * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
102
103         * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
104         before passing to cygpath.  Partial fix for PR automake/334.
105
106 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
107
108         * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
109         instead of INCLUDES.
110         * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
111
112 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
113
114         * automake.in (usage, version): Honor $exit_code.
115         (parse_arguments): Use fatal.
116
117 2002-07-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
118
119         * automake.texi (Invoking Automake): Document WARNINGS.
120         * automake.in (switch_warning, parse_WARNINGS): New function.
121         (setup_warnings): Rename to ...
122         (parse_warnings): ... this.  Move most of the code to switch_warning.
123         Accept a comma separated list of categories.
124         * tests/vars2.test: Use a comma separated list of warning categories.
125
126 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
127
128         * NEWS (New in 1.6): Mention that libtoolize is no longer run
129         by automake.
130
131 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
132
133         Fix for PR automake/291:
134         * automake.in (macro_define): Catch variable names starting
135         with `_'.
136         (handle_installdirs): Rename _am_installdirs to am__installdirs.
137         * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
138         lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
139         lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
140         lib/am/texinfos.am: Likewise.
141         * tests/canon5.test: Use -Wno-portability.
142         * tests/vars2.test: New file.
143         * tests/Makefile.am (TESTS): Add vars2.test.
144
145 2002-07-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
146
147         * tests/defs (AUTOMAKE): Add -Wall.
148         * tests/outdir.test: Use -Wno-obsolete.
149
150 2002-07-07  Tom Tromey  <tromey@redhat.com>
151
152         * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
153         conditional.
154         * automake.in (handle_languages): Compute FASTDEP.
155         * lib/am/depend2.am: Added %FASTDEP% mode.
156
157 2002-07-07  Tom Tromey  <tromey@redhat.com>
158
159         * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
160         now.  Fixes PR automake/332.
161
162 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
163
164         * tests/nobase.test (test-install-exec): Move all the `test -f'
165         tests in the Makefile so we can use $(EXEEXT) on programs.
166         Reported by Charles Wilson.
167
168 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
169
170         * m4/header.m4 (AM_CONFIG_HEADER): New macro.
171         * tests/confh5.test: Make sure that Autoconf complains if
172         AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
173         AM_INIT_AUTOMAKE.
174
175 2002-07-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
176
177         * lib/Automake/Channels.pm: New file.
178         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
179         * automake.in: Use Automake::Channels and register some channels
180         for errors and warnings.
181         ($exit_status): Remove, replaced by Channels::$exit_code.
182         (%required_variables): Remove, Channels will filter-out duplicates
183         itself.
184         (initialize_per_input): Call reset_local_duplicates.
185         (prog_error): Adjust to all `msg'.
186         (setup_warnings): New functions.
187         (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
188         call setup_warnings.
189         (usage): Update usage text accordingly.
190         (macro_dump, macros_dump): Return the dump as a string instead
191         of printing it.
192         (am_install_var) <$warned_about_extra>: Remove, Channels will
193         filter-out duplicates itself.
194         (set_strictness): Turn on/off channels for each stricness.
195         (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
196         msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
197         New functions, to replace ...
198         (print_error, am_error, file_error, macro_error, target_error,
199         conf_error, file_warning): ... these functions.  Remove them.
200         Update all the code to use the new functions.  The rough
201         correspondance is
202            am_error                -> err_am
203            file_error              -> err
204            macro_error             -> err_var
205            target_error            -> err_target
206            conf_error              -> err_ac
207            die                     -> fatal
208            macro_error if defined  -> reject_var
209            target_error if defined -> reject_target
210            verbose                 -> verb
211         * automake.texi (Invoking Automake): Document -W and --warnings.
212         Remove the documentation for --Werror and --Wno-error.
213         * tests/defs: Use -Werror, no --Werror.
214         * tests/exeext2.test: Test that the error message
215         is enabled with -Wobsolete.
216         * tests/output5.test: Rewrite to test that Automake complains
217         when there is no Makefile specified. (The original test was
218         succeeding for the wrong reason.)
219         * tests/seenc.test: Don't use --Wno-error, there is no reason now
220         that -Werror doesn't stop after the first error.
221         * tests/subobj.test: Use --add-missing, and check that
222         `compile' is installed and that Automake says so.
223         * tests/subobj2.test: Don't create `compile'.
224
225 2002-07-05  Tom Tromey  <tromey@redhat.com>
226
227         * automake.texi (Java Support): Mention --main and _LDFLAGS.
228         For PR automake/324.
229
230 2002-07-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
231
232         * tests/asm.test: Erase Autom4te's cache between each test.
233
234 2002-07-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
235
236         * automake.in (am_macro_for_var): Add LIBTOOL.
237         (ac_macro_for_var): Add RANLIB.
238         (seen_libtool): Remove.
239         (handle_libtool, lang_c_finish, define_compiler_variable,
240         make_paragraphs): Use
241         variable_defined ('LIBTOOL') instead of $seen_libtool.
242         (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
243         already done in make_paragraphs.
244         (handle_libraries): Simplify by requiring RANLIB with
245         &require_variables_for_macro.
246         (handle_ltlibraries): Simplify by requiring LIBTOOL with
247         &require_variables_for_macro.
248         (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
249         AM_PROG_LIBTOOL.
250         * tests/libtool4.test, tests/library2.test: New files.
251         * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
252
253 2002-07-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
254
255         * automake.in (create, keyed_aclocal_warning): Delete, unused.
256
257 2002-07-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
258
259         * automake.in (ac_macro_for_var): Add YACC.
260
261 2002-07-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
262
263         Handle multiple suffix rules with the same input extension.
264         For PR automake/37.
265
266         * automake.in (suffix_rules_default): New variable.
267         (suffix_rules): Redefine as a hash of hashes of pairs.
268         (initialize_per_input): Setup suffix_rules_default from
269         suffix_rules on first call, an override suffix_rules
270         with suffix_rules_default on following calls.
271         (struct) <output_extensions>: New attribute.
272         (register_language): Set the default for output_extensions.
273         Call register_suffix_rule for each suffix.
274         (derive_suffix, handle_languages): Adjust to the new definition
275         of $suffix.
276         (register_suffix_rule): New function.
277         (rule_define): Call register_suffix_rule.
278         * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
279         New files.
280         * tests/Makefile.am (TESTS): Add them.
281
282 2002-06-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
283
284         * automake.in (am_macro_for_var, ac_macro_for_var,
285         required_variables): New variables.
286         (am_c_prototypes, seen_prog_lex, am_lispdir_location,
287         pythondir_location): Remove.
288         (initialize_per_input): Clear %required_variables.
289         (require_variables, require_variables_for_macro): New functions.
290         (handle_languages): Call &require_variables for $lang->config_vars.
291         (handle_compile): Call &require_variables_for_macro for the
292         ANSI2KNR and U variables.
293         (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
294         (handle_python): Call &require_variables for PYTHON.  Don't
295         explicitly allow `python' as a prefix for PYTHON.
296         (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
297         AM_PATH_LISPDIR, and AM_PATH_PYTHON.
298         (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
299         AMDEPBACKSLASH here...
300         (define_configure_variable): ... do this here.
301         (am_primary_prefixes): Probe the existence of ${X}dir using
302         &require_variables_for_macro.  If a standard prefix is not
303         legitimate, say so.  Ignore all configure variables.
304         * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
305         tests/lisp2.test, tests/python2.test: New files
306         * tests/Makefile.am (TESTS): Add them.
307         * tests/asm.test: Grep stderr.
308         * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
309         * tests/python.test: Make sure py-compile is installed.
310
311 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
312
313         * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
314         COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
315         Adjust all occurrences.
316
317 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
318
319         * aclocal.in: Add local variables so that Emacs setups GNU style
320         for perl-mode and cperl-mode.
321         * automake.in: Likewise.
322         (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
323         ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
324         INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
325         perl-mode.
326
327 2002-06-27  Alexandre Duret-Lutz  <duret_g@epita.fr>
328
329         * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
330         * lib/config.sub, lib/install-sh: New upstream versions.
331
332 2002-06-26  Paul Eggert  <eggert@twinsun.com>
333
334         * Makefile.am (maintainer-check): Don't assume that egrep exists;
335         this fixes a portability bug introduced in the 2002-06-08 fix for
336         PR automake/317.
337
338 2002-06-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
339
340         * automake.in (required_targets): Add ps and ps-am.
341         (initialize_per_input): Reset them.
342         (handle_texinfo_helper): Fill @pss_list, and define the
343         PSS make variable.
344         * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
345         (ps, ps-am): New targets.
346         * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
347         `make ps' and `make pdf'.
348         (Texinfo): Document `make ps', `make pdf', and `make dvi'.
349         (Extending): The `ps' and `pdf' targets support a `-local' version.
350
351 2002-06-26  Art Haas  <ahaas@neosoft.com>
352
353         * automake.texi: s/.../@dots{}/.
354
355 2002-06-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
356
357         * configure.in: Check that ln works, fall back to `cp -p'.
358         * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
359         Reported by Andreas Buening.
360
361 2002-06-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
362
363         * automake.in: Register &lang_lex_target_hook for lex and lexxx.
364         (lang_lex_target_hook): New function.
365         * tests/lex3.c: Complete to check that maintainer-clean erases
366         Lex's output.
367         Reported by Flavien Astraud.  This was lost on 2001-06-23 too.
368
369 2002-06-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
370
371         * automake.in (lang_yacc_target_hook): Add $output to
372         @maintainer_clean_files.  This was lost on 2001-06-23.
373         * tests/yacc7.test, tests/yacc4.test: Complete to check
374         that maintainer-clean erases YACC's output files,
375         respectively with and without `-d'.
376         Reported by Flavien Astraud.
377
378 2002-06-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
379
380         * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete.  This is now
381         traced from configure.ac.
382
383         * automake.in (macro_define): Don't accept to override an AC_SUBST
384         or Automake variable in a new condition.
385         * tests/cond23.test, tests/cond24.test: New file.
386         * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
387         Reported by Patrik Weiskirchre.
388
389 2002-06-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
390
391         * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
392         tests/pr300-ltlib.test, tests/pr300-prog.test,
393         tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
394         tests/subobj6.test, tests/subpkg.test, tests/transform.test:
395         Require gcc.
396
397 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
398
399         * tests/libtool2.test: Use required=libtoolize.
400         * tests/install2.test: Use required=gzip.
401
402 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
403
404         * tests/defs (required): Handle bison; set YACC automatically.
405         * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
406         tests/yaccvpath.test: Require bison.  Don't set YACC.
407
408 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
409
410         * tests/defs (required): Handle `gcc' and `g++'; automatically
411         export CC and CXX when they are required.
412         * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
413         tests/cond4.test, tests/cond16.test, tests/cond18.test,
414         tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
415         tests/lex3.test, tests/pr87.test, tests/pr220.test,
416         tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
417         tests/yaccvpath.test: Require gcc.  Don't pass CC=gcc to
418         configure.
419         * tests/subobj9.test: Require g++.
420
421 2002-06-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
422
423         * tests/defs (required): Handle `GNUmake'.
424         (needs_gnu_make): Don't define anymore.
425         * tests/cond4.test, tests/cond18.test, tests/cond19.test,
426         tests/dollar.test, tests/exsource.test, tests/extra6.test,
427         tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
428         tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
429         tests/yaccvpath.test: Use `required=GNUmake' instead of
430         `$needs_gnu_make'.
431
432 2002-06-17  Paolo Bonzini  <bonzini@gnu.org>
433
434         * automake.in (process_option_list): Recognize std-options.
435         (handle_options): Enable std-options in gnits strictness.
436         (am_install_var): If std-options, enable CK-OPTS section.
437         * lib/am/scripts.am (installcheck-am): New target.
438         * lib/am/progs.am (installcheck-am): New target.
439         * tests/gnits2.test: New file.
440         * tests/Makefile.am (TESTS): Add gnits2.test.
441         * automake.texi (Gnits, Options): Document std-options.
442
443 2002-06-17  Kevin Ryde  <user42@zip.com.au>
444
445         * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
446         as generated by recent texinfo.tex.
447
448 2002-06-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
449
450         * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
451         (_AM_CONFIG_HEADERS): ... this.
452         (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
453         call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
454         AC_CONFIG_HEADERS.
455         * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
456         instead of AM_CONFIG_HEADER.
457         * tests/autoheader2.test: New file.
458         * tests/Makefile.am (TESTS): Add autoheader2.test.
459         Suggested by Raja R Harinath.
460
461 2002-06-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
462
463         * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
464         of m4_rename so that AC_CONFIG_HEADER is never undefined and
465         therefore still traced after the redefinition.
466         * tests/defs (AUTOHEADER): Define.
467         * tests/autoheader.test: New file.
468         * tests/Makefile.am (TESTS): Add autoheader.test.
469         Reported by Braden McDaniel.
470
471 2002-06-13  Paolo Bonzini  <bonzini@gnu.org>
472
473         * automake.in (check_gnu_standards): In --gnu mode, accept
474         one of COPTING, COPYING.LESSER, or COPYING.LIB.
475         (common_files): Add COPYING.LESSER.
476         * automake.texi (Gnits): Document this.
477
478 2002-06-13  Paolo Bonzini  <bonzini@gnu.org>
479
480         * automake.in (required_targets): Add the pdf and pdf-am targets.
481         (initialize_per_input): Likewise.
482         (scan_texinfo_file): Add pdf to @clean_suffixes.
483         (handle_texinfo_helper): Output the .pdf dependencies, and define
484         the PDFS variable.
485         * lib/am/texinfos.am (TEXI2PDF): New variable.
486         (pdf, pdf-am): New targets.
487         (.PHONY): Add pdf, pdf-am, and pdf-recursive.
488         * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
489
490 2002-06-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
491
492         Fix pr307.test failure with gcc 3.x.
493         * lib/depcomp (dashmstdout): Strip the call to libtool, and
494         replace `-o $object' by `-o /dev/null' before running "$@"
495         to generate dependencies.
496         (cpp): Strip the call to libtool as well as `-o $object'.
497
498 2002-06-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
499
500         * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
501         $base.lo.d, when libtool is used.
502         Reported by Nicolas Joly.
503
504 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
505
506         * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
507         is no file to compile.
508         * tests/java2.test: New file.
509         * tests/Makefile.am (TESTS): Add java2.test.
510         Reported by Braden N. McDaniel.
511
512 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
513
514         * tests/maintclean.test: Don't check for autom4te.cache if
515         it's not created by Autoconf.
516         Reported by Bernd Jendrissek.
517
518 2002-06-11  Alexandre Duret-Lutz  <duret_g@epita.fr>
519
520         * automake.texi (Tests): Document site.exp.  Update DejaGnu's url.
521
522 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
523
524         * lib/am/header-vars.am (transform): Define.
525         Was removed by mistake on 2002-04-13.
526         * tests/transform.test: New file.
527         * tests/Makefile.am (TESTS): Add transform.test.
528         Reported by Nicolas Joly.
529
530 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
531
532         * tests/dollar.test: Require GNU make.
533         * tests/maintclean.test: Don't use `export YACC=false'.  Pass
534         YACC=false to configure instead.
535
536 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
537
538         * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
539         INSTALL: New upstream versions.
540
541 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
542
543         * tests/sinclude.test: Check for m4_include too.
544
545 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
546
547         * tests/sinclude.test: Rename the package as amsinclude;
548         am__sinclude still trigers the sinclude macro once it has been
549         converted to am--sinclude.
550         Reported by Nicolas Joly.
551
552 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
553
554         * automake.texi (API versioning): Typo.
555
556 2002-06-10  Nicolas Joly  <njoly@pasteur.fr>
557
558         * THANKS (Nicolas Joly): Remove duplicate.
559
560 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
561
562         * Makefile.am (maintainer-check): Fix $MAKE -e detection.
563         * tests/yacc7.test: Use rm -f.
564
565 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
566
567         * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
568         * tests/subpkg.test: New file.
569         * tests/Makefile.am (TESTS): Add subpkg.test.
570
571 2002-06-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
572
573         For PR automake/318:
574         * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
575         _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
576         * lib/am/scripts.am (install-%DIR%SCRIPTS,
577         uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
578         default.
579         (?%DIR%SCRIPT_INSTALL): New variable.
580         * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
581         Reported by Eric Siegerman.
582
583 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
584
585         * automake.in (lang_yacc_target_hook): Add rule to recover from
586         the removal of $header.
587         * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
588         output by lang_yacc_target_hook).
589         * tests/yacc7.test: Try to recreate foo.h after its removal.
590         * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
591         parse.h too.
592         Reported by Bernd Jendrissek.
593
594 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
595
596         For PR automake/317:
597         * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
598         suggest `list='$(FILES)'; for f in $$list' instead.
599         * lib/am/distdir.am (distdir): Adjust `for' usage.
600         * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
601         * tests/dollar.test: New file.
602         * tests/Makefile.am (TESTS): Add dollar.test.
603         Reported by Eric Siegerman and Philip Fong.
604
605 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
606
607         For PR automake/47 (fixed a long time ago):
608         * tests/yacc7.test: Also check that parser sources are distributed.
609
610 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
611
612         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
613         (distclean): Use it.
614         (maintainer-clean): Delete autom4te.cache and
615         $(am__CONFIG_DISTCLEAN_FILES).
616         * tests/maintclean.test: New file.
617         * tests/Makefile.am (TESTS): Add maintclean.test.
618
619 2002-06-05  Miloslav Trmac  <trmac@popelka.ms.mff.cuni.cz>
620
621         * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
622         target_alias.
623
624 2002-05-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
625
626         * Makefile.am (maintainer-check): Check for egrep and fgrep.
627
628         * test/cond22.test: Set SHELL when calling $MAKE -e.
629
630 2002-05-31  Richard Boulton <richard@tartarus.org>
631
632         Fix PR automake/326:
633         * automake.in (define_objects_from_sources): Calculate the result in
634         all conditions before passing this to subobjname to pick a name to
635         store the result in.
636         (subobjname): Expect a list of condition/value pairs as input.
637         Combine this list and use it as the key to determine the variable name.
638         * test/cond22.test: New file.
639         * tests/Makefile.am (TESTS): Add cond22.test
640
641 2002-05-30  Paul Eggert  <eggert@twinsun.com>
642
643         * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
644         instead, use shell pattern matching.
645
646 2002-05-29  Paul Eggert  <eggert@twinsun.com>
647
648         Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
649         longer requires them.
650
651         * Makefile.am (maintainer-check): Use grep -E and grep -F instead
652         of egrep and fgrep.  Omit unnecessary -E and -F.
653         Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
654         * lib/am/distdir.am (distdir): fgrep -> grep -F.
655         Use $(), not ${}, for Make variables.
656         * lib/am/texinfos.am (install-info-am, uninstall-info-am):
657         fgrep -> grep
658         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
659         * tests/defs: Set FGREP and EGREP.
660
661         * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
662         tests/ansi.test, tests/ansi4.test, tests/colon3.test,
663         tests/cond21.test, tests/condlib.test, tests/confh4.test,
664         tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
665         tests/depend4.test, tests/discover.test, tests/distname.test,
666         tests/dup3.test, tests/empty4.test, tests/fo.test,
667         tests/implicit.test, tests/insh2.test, tests/interp.test,
668         tests/lex.test, tests/lex3.test, tests/lex4.test,
669         tests/libobj5.test, tests/libobj7.test, tests/make.test,
670         tests/makevars.test, tests/nostdinc.test, tests/parse.test,
671         tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
672         tests/pr2.test, tests/pr9.test, tests/seenc.test,
673         tests/specflags.test, tests/specflags3.test,
674         tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
675         tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
676         tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
677         tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
678
679 2002-05-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
680
681         For PR automake/323:
682         * m4/depend.m4: Missing comma.
683         * tests/gcj4.test: New file.
684         * tests/Makefile.am (TESTS): Add gcj4.test.
685         Reported by David Pashley.
686
687 2002-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
688
689         * tests/defs (configure.in): Don't double-quote $me.
690         * tests/sinclude.test: Overwrite configure.in and use
691         `am__sinclude' instead of `sinclude' as package name.
692         Excercise `m4_sinclude' instead of `sinclude'.
693
694 2002-05-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
695
696         * automake.in (conditional_implies_one_of): Rename as ...
697         (conditional_implies_any): ... this.
698         * tests/pluseq9.test: Exercise another case with the new
699         `C' variable.
700         Suggested by Raja R Harinath.
701
702 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
703
704         * tests/defs (configure.in): Quote macro arguments.
705         Reported by Nicolas Joly.
706
707 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
708
709         * lib/am/header-vars.am (build_triplet, host_triplet,
710         target_triplet): Define.  Were removed by mistake on 2002-04-13.
711
712 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
713
714         For PR automake/186:
715         * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
716         * tests/destdir.test: New file.
717         * tests/Makefile.am (TESTS): Add destdir.test.
718
719 2002-05-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
720
721         * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
722         (conditional_is_redundant): Simplify.
723         (conditional_implies_one_of,
724         variable_not_always_defined_in_cond): New functions
725         (macro_define): Reject appends if the variable is not defined in
726         all conditions where `+=' applies.
727         (invert_conditions): Rewrite.  Before this patch,
728         invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
729         would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
730         wrong (these conditions implies "A_FALSE").  Now it outputs (),
731         which just means the input conditions cover all cases.
732         (variable_conditions_permutations): Never output FALSE conditions.
733         * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
734         in the CHECK_FALSE condition to fix the test.
735         * tests/pluseq5.test: Actually check the diagnostic.
736         * tests/pluseq9.test: New file.
737         * tests/Makefile.am (TESTS): Add pluseq9.test.
738
739 2002-05-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
740
741         Fix for PR automake/322:
742         * automake.in (read_am_file): Rename $was_rule as $prev_state, and
743         set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
744         Handle comments continued by backslashes.
745         * tests/comment6.test: New file.
746         * tests/Makefile.am (TESTS): Add comment6.test.
747         Reported by Braden N. McDaniel.
748
749 2002-05-08  Charles Wilson  <cwilson@ece.gatech.edu>
750             Alexandre Duret-Lutz  <duret_g@epita.fr>
751
752         * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
753         both `program$(EXEEXT)' and `program'; needed under Cygwin.
754         * tests/libtool3.test: New file.
755         * tests/Makefile.am (TESTS): Add libtool3.test.
756
757 2002-05-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
758
759         * TODO: Undust.
760
761 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
762
763         * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
764
765 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
766
767         Erase stamps from the Makefile that generates them.
768
769         * automake.in (handle_configure): Append each used stamp to
770         @distclean_config.  Don't warn about stamp-h in AC_OUTPUT, this
771         file is not used anymore.
772         * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
773         stamp-h[0-9]*.
774         * tests/subdir6.test: New file.
775         * tests/Makefile.am (TESTS): Add it.
776
777 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
778
779         Fix for condd.test (conditional `+='):
780         * automake.in (%appendvar): New.
781         (initialize_per_input): Clear it.
782         (macro_define): Handle += for variable defined in another condition.
783         * automake.texi (Conditional Sources): Use conditional += in
784         the example.
785         (General Operation, Conditionals): Remove note about broken +=.
786         * tests/cond21.test: New file.
787         * tests/condd.test: Also test conditional append to a _SOURCE
788         variable.  Create missing directories.
789         * tests/Makefile.am (TESTS): Add cond21.test.
790         (XFAILS): Remove condd.test.
791
792 2002-05-05  Tom Tromey  <tromey@redhat.com>
793
794         * automake.texi (Program and Library Variables): Mention _LFLAGS.
795
796 2002-04-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
797
798         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
799         files.  Fix subobj9.test on OSF and IRIX.
800         Reported by Nelson H. F. Beebe.
801
802 2002-04-26  Tom Tromey  <tromey@redhat.com>
803
804         * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
805         For Debian bug 144221.
806
807 2002-04-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
808
809         * tests/man2.test: Use `pwd`, not $PWD.  Use $MAKE -e.
810
811 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
812
813         * automake.in (subobjname): Use the length of %subobjvar
814         instead of $subobjnamenum.
815         (subobjnamenum): Remove.
816
817 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
818
819         For PR automake/307:
820         * lib/depcomp: Never compute dependencies in the background, this
821         can cause races with libtool.  Compute the dependencies after
822         the actual compilation.  Don't make libtool silent now that
823         it's run in the foreground.
824         * tests/pr307.test: New file.
825         * tests/Makefile.am (TESTS): Add pr307.test.
826         Reported by Laurent Morichetti.
827
828 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
829
830         * lib/am/check.am: Show skipped tests.  Display the
831         $(PACKAGE_BUGREPORT) address on failure.
832
833 2002-04-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
834
835         Fix PR automake/315:
836         * automake.in (subobjname): Rewrite to generate variable name
837         unique for each content.
838         (%substnums): Remove.
839         (%subobjvar): New hash.
840         (initialize_per_input): Clear %subobjvar.
841         (define_objects_from_sources): Return the name of the variable
842         defined, in addition to the linker.  Call subobjname only once
843         the content of the variable to define is known.
844         (handle_source_transform): Adjust call to define_objects_from_sources.
845         * tests/specflags8.test: Mention PR 315.
846         * tests/subobjname.test: New file.
847         * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
848         (TESTS): Add subobjname.test.
849
850 2002-04-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
851
852         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
853         the whole file for 'generated by automake', not only the
854         first line.  This accounts for post-processed Makefile.in's.
855         * tests/postproc.test: New file.
856         * tests/Makefile.am (TESTS): Add postproc.test.
857
858 2002-04-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
859
860         For PR automake/151 and PR automake/314:
861         * automake.texi (A Program): Split into
862         (Program Sources, Linking, Conditional Sources, Conditional
863         Programs): ... these subsections; moving the Linking node
864         before the Conditional discussions.
865         (Conditional Sources): More details.  Notably, mention
866         hello_DEPENDENCIES.
867         (Conditionals): Adjust reference to Conditional Programs.
868
869 2002-04-19  Paul Eggert  <eggert@twinsun.com>
870
871         Fix some bugs when using "$@" when there might be zero positional
872         arguments in cases where this matters.  Zsh doesn't support
873         the workaround ${1+"$@"} that has been used by Automake since
874         the Mon Dec  4 11:55:36 1995 change.
875
876         * aclocal.in: Use 'case' statement to work around problem.
877         * automake.in: Likewise.
878         * lib/ylwrap: Likewise.
879         * lib/missing: No need for workaround, as the command is never
880         invoked with zero arguments.
881         * tests/ccnoco.test: Likewise.
882         * missing: Update from lib/missing.
883
884 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
885
886         * automake.in (initialize_per_input): Clear %require_file_found.
887         (%require_file_found): Group the declaration with the other
888         variables initialized by initialize_per_input.
889         * tests/required.test: New file.
890         * tests/Makefile.am (TESTS): Add it.
891         Reported by Marius Vollmer.
892
893 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
894
895         * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
896         override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
897         (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
898         * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
899         * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
900         files.
901         * tests/confh5.test: New file.
902         * tests/Makefile.am (TESTS): Add confh5.test.
903         * automake.texi (Optional, Public macros): Update descriptions
904         of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
905
906 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
907
908         * tests/man2.test: New file.
909         * tests/Makefile.am (TESTS): Add man2.test.
910         * lib/am/mans.am (install-man%SECTION%): Change the extension
911         of the man pages being installed, as documented.
912
913 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
914
915         Enable traces; wipe out the old configure.in parser.
916
917         * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
918         'autoconf'.  Honnor the $filename argument.
919         (scan_autoconf_files): Don't call scan_one_autoconf_file.
920         Always call scan_autoconf_traces.
921         (scan_one_autoconf_file): Remove, with it associated regexes.
922         (obsolete, obsolete_rx): Remove.
923         (register_language, handle_languages): Remove the 'define_flag'
924         support.  Remove it from the struct and language definitions too.
925         (unquote_m4_arg): Remove.
926         * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
927         the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
928         are now generated automatically.
929         * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
930         automake.in.
931         * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
932
933 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
934
935         * tests/version6.test: New file.
936         * tests/Makefile.am (TESTS): Add tests/version6.test.
937         * automake.in (version_check): Return 0 on equality.
938
939 2002-04-13  Andreas Schwab  <schwab@suse.de>
940
941         * THANKS: Update my mail address.
942
943 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
944
945         * tests/discover.test: Use a full configure.in that calls AC_INIT.
946         Use AC_LIBOBJ.  Grep the error message.
947         * test/ldadd.test: Don't use LIBOBJS.  Use a full configure.in.
948         Grep the error message.  Require libtool.
949         * tests/ldflags.test:  Don't use LIBOBJS.
950         * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
951         error messages for CC and CXX.
952
953 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
954
955         * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
956         and AMDEPBACKSLASH.
957         * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
958         * tests/ext.test: Enable dependencies for OBJC.
959         * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
960         Delete.  They tests for different flavors of $LIBOBJS assignments
961         that wont be supported anymore.
962         * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
963         * tests/obsolete.test: Don't test Automake.
964         * tests/suffix5.test: Require libtool.
965         * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
966         libobj9.test.
967
968 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
969
970         * configure.in (APIVERSION): Fix definition.
971
972 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
973
974         * NEWS: Catch up with changes since 1.6.
975
976 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
977
978         * tests/yacc8.test: Don't assume GNU make, run config.status
979         to regenerate the Makefile.
980
981 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
982
983         * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
984         always followed by a SHELL setting.
985         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
986         SHELL when calling `$MAKE -e'.
987
988 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
989
990         * tests/subobj9.test: Use configure.in, not configure.ac,
991         otherwise this fails with old libtool versions.
992
993 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
994
995         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
996         versions.
997
998 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
999
1000         * ChangeLog.2001: New file, extracted from ChangeLog.
1001         * Makefile.am (EXTRA_DIST): Add it.
1002
1003 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1004
1005         * automake.texi (Canonicalization): The sources for libmumble++.a
1006         go into libmumble___a_SOURCES.
1007
1008 2002-04-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1009
1010         * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
1011         test suite.  Suggest `sleep 2' instead.
1012         * tests/confsub.test: Use `sleep 2'.
1013
1014 2002-04-04  Paul Eggert  <eggert@twinsun.com>
1015
1016         * lib/am/subdirs.am:
1017         ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
1018         $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
1019         MAKEFLAGS contains '$(...)'.
1020
1021 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1022
1023         * tests/specflags8.test: Typo.
1024
1025 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1026
1027         * tests/specflags6.test: Run aclocal.
1028         * tests/Makefile.am (TESTS): Add specflags6.test.
1029
1030 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1031
1032         * tests/specflags7.test, tests/specflags8.test: New files.
1033         * tests/Makefile.am (TESTS): Add them.
1034         (XFAIL_TESTS): Add specflags8.test.
1035
1036 2002-03-29  Tom Tromey  <tromey@redhat.com>
1037
1038         * automake.in (check_typos): Examine AM_LDFLAGS.
1039         Fixes PR automake/311.
1040
1041         For PR automake/312:
1042         * lib/am/libtool.am (clean-libtool): Use LTRMS.
1043         * automake.in (handle_single_transform_list): When processing a
1044         libtool object, clean the ordinary object and register the
1045         directory.
1046         (libtool_clean_directories): New global.
1047         (initialize_per_input): Initialize it.
1048         (generate_makefile): Call handle_libtool later.
1049         (handle_libtool): Handle libtool_clean_directories.
1050         * tests/subobj9.test: New file.
1051         * tests/Makefile.am (TESTS): Added subobj9.test.
1052
1053 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1054
1055         * tests/extra6.test, tests/subdir5.test: Require GNU make.
1056
1057 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1058
1059         * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
1060
1061 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1062
1063         * tests/extra7.test: New file.
1064         * tests/Makefile.am: Add it.
1065         * lib/am/distdir.an (distdir): When a distribuable directory
1066         exists both in `.' and $(srcdir), merge both directories.  This
1067         works around a failure of extra6.test on Tru64 reported by
1068         Nicolas Joly.
1069
1070 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1071
1072         * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
1073
1074 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1075
1076         * Makefile.am (maintainer-check): Catch occurrences of
1077         `$MAKE foo=bar' in the testsuite.  Suggest using
1078         `foo=bar $MAKE -e' instead.
1079         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
1080         Use $MAKE -e.  This fixes a ansi5.test failure with Solaris make.
1081         * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
1082         * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
1083
1084 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
1085
1086         Fix for PR automake/310:
1087         * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
1088         so it never appears as a plain word.
1089
1090 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
1091
1092         * lib/depcomp (tru64): Correctly compute `base'.
1093
1094 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1095
1096         * tests/pr211.test: s/requires/required/, otherwise the test fails
1097         if libtool is not installed.
1098
1099 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1100
1101         * tests/dirname.test: Don't use $SHELL when calling ./configure.
1102
1103 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1104
1105         * tests/dirname.test: Use --quiet to fix failure on installations
1106         using a site script.
1107         Reported by Nicolas Joly.
1108
1109 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
1110
1111         * Makefile.am (maintainer-check): Check for misuses of make,
1112         autoconf, automake, aclocal, and perl in the testsuite.  Suggest
1113         using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
1114         * tests/confsub.test: Use $AUTOCONF and $MAKE.
1115         * tests/extra5.test, tests/extra6.test, tests/lex5.test,
1116         tests/nobase.test, tests/nodist2.test, tests/pr204.test,
1117         tests/pr224.test, tests/pr287.test, tests/strip.test,
1118         tests/yacc8.test: Use $MAKE.
1119
1120 2002-03-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
1121
1122         Add support for two-dot versions.
1123
1124         * tests/version5.test: New file.
1125         * tests/Makefile.am (TESTS): Add it.
1126         * automake.in (version_split, version_compare): New functions.
1127         (version_check): Rewrite using version_split and version_compare.
1128         (process_option_list): Adjust regex.
1129
1130 2002-03-18  Richard Boulton <richard@tartarus.org>
1131
1132         Fix for PR automake/306:
1133         * automake.texi (Generalities): Document +=.
1134         (Conditionals): Document limitations of += with conditionals.
1135
1136 2002-03-17  Tom Tromey  <tromey@redhat.com>
1137
1138         Fix for PR automake/295:
1139         * automake.texi (Invoking Automake): Deprecate --output-dir.
1140         * automake.in (usage): Don't document --output-dir.
1141         (output_directory): Don't initialize.
1142         (parse_arguments): Deprecate --output-dir.
1143
1144         * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
1145         Fixes PR automake/304.
1146
1147 2002-03-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
1148
1149         * tests/dirforbid.test: Workaround for NetBSD sh bug.
1150         Fixes PR automake/305.
1151
1152 2002-03-11  Richard Boulton <richard@tartarus.org>
1153
1154         * automake.in (check_typos): Allow variables with reserved
1155         suffices (such as _LDFLAGS) and prefixes which aren't
1156         recognised if the variable is defined in configure.ac.
1157         Fixes acsubst.test.
1158
1159 2002-03-11  Richard Boulton <richard@tartarus.org>
1160
1161         * tests/acsubst.test: New test, by Alexandre Duret-Lutz
1162         * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
1163         * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
1164
1165 2002-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
1166
1167         * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
1168         causes failures.
1169
1170 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1171
1172         Fix for PR automake/303:
1173         * automake.in (version_check): Move the error message ...
1174         (process_option_list): ... here, so we can distinguish between
1175         global and local options.
1176
1177 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1178
1179         * tests/pr300-lib.test, tests/pr300-ltlib.test,
1180         tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
1181         Autoconf doesn't complain about Makefile being output twice.
1182
1183 2002-03-06  Tom Tromey  <tromey@redhat.com>
1184
1185         * configure.in: Upped version to 1.6a.
1186
1187 2002-03-05  Tom Tromey  <tromey@redhat.com>
1188
1189         * configure.in: Released 1.6.
1190
1191 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1192
1193         Fix for PR automake/300:
1194         * tests/pr300-lib.test, tests/pr300-ltlib.test,
1195         tests/pr300-prog.test: New files.
1196         * tests/Makefile.am (TESTS): Add them.
1197         * automake.in (handle_ltlibraries): Strip nobase_ prefix to
1198         compute the directory.
1199         * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
1200         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
1201         (install-%DIR%LIBRARIES): Use it.  Honor nobase_.
1202         (uninstall-%DIR%LIBRARIES): Honor nobase_.
1203         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
1204         (install-%DIR%LTLIBRARIES): Use it.  Honor nobase_.
1205         (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
1206         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
1207         (install-%DIR%PROGRAMS): Use it.  Honor nobase_.
1208         (uninstall-%DIR%PROGRAMS): Honor nobase_.
1209         See also the fix for nobase.test on 2001-11-09.
1210
1211 2002-03-05  Tom Tromey  <tromey@redhat.com>
1212
1213         * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
1214
1215 2002-03-05  Pavel Roskin  <proski@gnu.org>
1216
1217         * tests/yacc8.test: Add a command between "test" and "cd" to
1218         work around a bug in bash-2.05.
1219
1220 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
1221
1222         Fix for PR automake/294:
1223         * tests/dirforbid.test: New file.
1224         * tests/Makefile.am (TESTS): Add it.
1225         * automake.in (standard_prefix): New hash.
1226         (am_primary_prefixes): Forbid standard_prefixes which are not
1227         explicitely allowed.
1228         * automake.texi (Uniform): Remove FIXME.
1229
1230 2002-03-05  Jim Meyering  <meyering@lucent.com>
1231
1232         * automake.in (@common_files): Add config.rpath.
1233
1234 2002-03-05  Kevin Ryde  <user42@zip.com.au>
1235
1236         For PR automake/297:
1237         * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
1238         after AC_PROG_LEX, since it will try to run it and fail (in autoconf
1239         2.52 at least).
1240
1241 2002-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
1242
1243         * automake.in (scan_one_autoconf_file): Declare
1244         LEX_OUTPUT_ROOT and LEXLIB as configure variables when
1245         AM_PROG_LEX or AC_PROG_LEX are seen.  This allows to ...
1246         * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
1247         definitions.  Search %SOURCE% in $(srcdir).  Use s||| instead
1248         of s/// in the sed invocation, to support filenames containing
1249         slashes.
1250         * lib/am/yacc.am: Search %SOURCE% in $(srcdir).  Use s||| too.
1251         * tests/lex5.test, tests/yacc8.test: New files.
1252         * tests/Makefile.am (TESTS): Add them.
1253
1254 2002-02-23  Per Bothner  <per@bothner.com>
1255
1256         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1257         `.' in else branch.
1258
1259 2002-02-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
1260
1261         * tests/make.test: Revert the grep logic to work around a bug
1262         in NetBSD sh (see NetBSD Problem Report #11542).
1263         Reported by Patrick Welche.
1264
1265 2002-02-20  Tim Van Holder  <tim.van.holder@pandora.be>
1266
1267         * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1268         to try and prevent a non-lisp emacs from starting in interactive
1269         mode.
1270         * automake.texi: Document this change.
1271
1272 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1273
1274         * automake.texi (Macros): Split into ...
1275         (Public Macros, Private Macros): ... these.
1276
1277 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1278
1279         * tests/insthook.test: Use sed instead of "tail +X".
1280
1281 2002-02-18  Paul Eggert  <eggert@twinsun.com>
1282
1283         * lib/depcomp: Don't use "tail +3"; it's not portable to
1284         POSIX 1003.1-2001 hosts.
1285
1286 2002-02-18  Jim Meyering  <meyering@lucent.com>
1287
1288         * tests/cond12.test: Use sed 1q, not `head -n 1'.
1289         The latter is not portable to some old systems.
1290         * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1291         Use `sed 1q' instead.
1292         * tests/insthook.test: Likewise.
1293
1294 2002-02-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
1295
1296         * automake.in (handle_lib_objects_cond): Tell the user to put
1297         global linker flags in AM_LDFLAGS, not LDFLAGS.
1298
1299         * automake.texi (General Operation): AC_SUBST'ed variables
1300         override Automake's variables.
1301         (Uniform): More words and @refs.
1302         (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1303         (etags): More explanations about the first example.
1304         (Invoking Automake): Mention autoreconf.  More @refs.
1305         (Requirements): Mention AC_CONFIG_FILES.
1306         (Optional): AC_CHECK_TOOL will no longer install config.sub and
1307         config.guess.  Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1308         (Invoking aclocal): aclocal no longer warn about duplicates.
1309         (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1310         (Extending aclocal): Suggest using the output of
1311         `aclocal --print-ac-dir` to install third-party macros.
1312         (Alternative): Specify ordering of dist_, nodist_, and nobase_
1313         prefixes.
1314         (A Program): Mention scripts.  The global LDADD variable is not
1315         meant to hold link flags, suggest using AM_LDFLAGS instead.
1316         (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1317         _LIBADD and _LDADD are subject to the same restriction wrt to
1318         link flags.
1319         (Program and Library Variables) <maude_DEPENDECIES>: Is also
1320         derived from maude_LIBADD.
1321         (Program variables): Define AM_LDFLAGS.
1322         (Dependencies): Passing the no-dependencies option to
1323         AM_INIT_AUTOMAKE is prefered.
1324         (Scripts): Explain why automake is magically cleaned.
1325         Mention noinst_SCRIPTS and check_SCRIPTS.
1326         (Data): Use dist_ in Automake's example.
1327         (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1328         Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1329
1330 2002-02-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
1331
1332         * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1333         (fetch): Fetch XFile.pm.  Update the files in $(srcdir) instead
1334         of asking the maintainer to do it manually.
1335         * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1336         Automake/XFile.pm: New upstream versions.
1337
1338 2002-02-02  Tom Tromey  <tromey@redhat.com>
1339
1340         * automake.texi (Macros): Warn about upgrading.
1341
1342 2002-02-01  Tom Tromey  <tromey@redhat.com>
1343
1344         Change per GNU coding standards:
1345         * aclocal.in (parse_arguments): Only mention most recent year in
1346         copyright output.
1347         * automake.in (version): Only mention most recent year.
1348
1349 2002-01-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
1350
1351         * automake.texi (API versioning): New Node.
1352         (Extending): Use $(DESTDIR) in examples.
1353
1354 2002-01-28  Akim Demaille  <akim@epita.fr>
1355
1356         * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1357         Respect the --help layout.
1358
1359 2002-01-27  Tom Tromey  <tromey@redhat.com>
1360
1361         * configure.in: Bumped to 1.5e.
1362
1363         * lib/am/yacc.am: Use `rm -f'.
1364
1365         * configure.in: Released 1.5d.
1366
1367         * lib/config.guess: New version from FSF.
1368
1369         * Makefile.am (uninstall-hook): New target.
1370
1371 2002-01-24  Akim Demaille  <akim@epita.fr>
1372
1373         * lib/install-sh: Update, from Autoconf.
1374
1375 2002-01-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
1376
1377         * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1378         as AC_CANONICAL_HOST (the former does not require the latter since
1379         Autoconf 2.50).
1380         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1381         * automake.texi (Requirements): Do not require STRIP to be
1382         defined by the user.
1383
1384 2002-01-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
1385
1386         * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1387         * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1388         * tests/pr224.test: Make sure .deps subdirectories are
1389         erased by distclean.
1390
1391 2002-01-22  Tom Tromey  <tromey@redhat.com>
1392
1393         * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1394         no-dependencies option is set.
1395         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1396         no-dependencies option is set.  Don't call AM_DEP_TRACK or
1397         AM_SET_DEPDIR.
1398
1399 2002-01-22  Pavel Roskin  <proski@gnu.org>
1400
1401         * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1402         ASFLAGS.
1403
1404 2002-01-22  Akim Demaille  <akim@epita.fr>
1405
1406         * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1407         (fetch): Adjust.
1408
1409 2002-01-21  Tom Tromey  <tromey@redhat.com>
1410
1411         * Makefile.am (fetch): Don't fetch ansi2knr.
1412
1413         * automake.texi (Macros): Updated for new variable names.
1414         (Program and Library Variables): Likewise.
1415         (Assembly Support): Likewise.
1416         * m4/as.m4: Use CCAS and CCASFLAGS.
1417         * automake.in (asm): Use CCAS and CCASFLAGS.
1418
1419 2002-01-21  Akim Demaille  <akim@epita.fr>
1420
1421         * automake.in (&parse_arguments): Use a more GNUish error message
1422         on wrong options.
1423
1424 2002-01-20  Tom Tromey  <tromey@redhat.com>
1425
1426         Fix for PR automake/231:
1427         * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1428         * m4/depend.m4: Document `GCJ'.
1429
1430         For PR automake/224:
1431         * tests/Makefile.am (TESTS): Added pr224.test.
1432         * tests/pr224.test: New file.
1433         * lib/depcomp: Fixed computation of depfile.
1434         * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1435         * automake.in (handle_single_transform_list): Only reject `..'
1436         component for Java.  Put dependencies in directory near object.
1437         (handle_languages): Set DEPBASE.  Handle de-ansi-fication.
1438
1439 2002-01-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
1440
1441         * tests/defs: Export AUTOMAKE and ACLOCAL.
1442
1443 2002-01-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
1444
1445         Fix for PR automake/204:
1446         * tests/pr204.test: New file.
1447         * tests/Makefile.am (TESTS): Add it.
1448         * automake.in (handle_single_transform_list): Don't distribute
1449         sources derived from non-distributed sources.
1450
1451 2002-01-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
1452
1453         Fix for PR automake/229:
1454         * tests/pr229.test: New file.
1455         * tests/Makefile.am (TESTS): Add it.
1456         * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
1457         AC_EMXOS2, and AC_MINGW32.
1458
1459 2002-01-18  Tom Tromey  <tromey@redhat.com>
1460
1461         * tests/cond7.test: Fix test bug exposed by copyright update.
1462
1463         For PR automake/288:
1464         * automake.in (lang_c_rewrite): Don't prepend directory to base if
1465         directory is `.'.  Also, properly compute de_ansi_files entry in
1466         subdir-objects case
1467         * tests/Makefile.am (TESTS): Added ansi7.test.
1468         * tests/ansi7.test: New file.
1469
1470         * aclocal.in (parse_arguments): Added 2002.
1471         (write_aclocal): Likewise.
1472         (parse_arguments): Updated my email address.
1473         * automake.in (gen_copyright): Added 2002.
1474         (version): Likewise.  Also, changed my email address.
1475
1476         * configure.in (APIVERSION): Refined definition.
1477
1478 2002-01-18  Tom Tromey  <tromey@redhat.com>
1479
1480         * missing: Updated.
1481         * lib/missing: Accept versioned aclocal.
1482         * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
1483
1484 2002-01-17  Pavel Roskin  <proski@gnu.org>
1485
1486         * m4/Makefile.am (m4datadir): Use APIVERSION.
1487
1488 2002-01-16  Tom Tromey  <tromey@redhat.com>
1489
1490         * Makefile.am (install-exec-hook): Use APIVERSION.
1491         * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
1492         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
1493         APIVERSION.
1494         * automake.in (perllibdir): Use APIVERSION.
1495         (libdir): Likewise.
1496         * aclocal.in (perllibdir): Use APIVERSION.
1497         (APIVERSION): New global.
1498         (parse_arguments): Use APIVERSION.
1499         * configure.in (APIVERSION): New subst.
1500         (pkgvdatadir): Use APIVERSION.
1501
1502 2002-01-15  Tom Tromey  <tromey@redhat.com>
1503
1504         * missing: Updated.
1505         * lib/missing: Match against `automake*' to pick up versioned
1506         automake.
1507         * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
1508         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
1509         variable.
1510         * lib/am/Makefile.am (amdir): Use pkgvdatadir.
1511         * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
1512         pkgvdatadir.
1513         (scriptdir): Use pkgvdatadir.
1514         (installcheck-local): Likewise.
1515         * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
1516         * automake.in (perllibdir): Added VERSION.
1517         (libdir): Likewise.
1518         * aclocal.in (parse_arguments): Search versioned directory.  Don't
1519         push unversioned directory unless it exists.
1520         (perllibdir): Added VERSION.
1521         (default_acdir): New global.
1522         * m4/Makefile.am (m4datadir): Added $(VERSION).
1523         * Makefile.am (install-exec-hook): New target.
1524         * configure.in (ACLOCAL): Search build directory.
1525         (pkgvdatadir): New subst.
1526
1527 2002-01-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
1528
1529         * lib/config.sub, lib/config.guess: New versions from FSF.
1530
1531 2002-01-13  Tom Tromey  <tromey@redhat.com>
1532
1533         For PR automake/288:
1534         * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
1535         to directory.
1536         (lang_c_finish): Likewise.  Also, use directory information from
1537         de_ansi_files.
1538
1539 2002-01-13  Kevin Ryde  <user42@zip.com.au>
1540
1541         For PR automake/288:
1542         * tests/Makefile.am (TESTS): Added ansi6.test.
1543         * tests/ansi6.test: New file.
1544
1545 2002-01-13  Tom Tromey  <tromey@redhat.com>
1546
1547         For PR automake/287:
1548         * lib/am/distdir.am (distdir): Use `$$list' trick when looping
1549         over subdirs.
1550         * tests/Makefile.am (TESTS): Added pr287.test.
1551         * tests/pr287.test: New file.
1552
1553 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
1554
1555         * lib/am/distdir.am (distdir): Handle subdirectories.
1556         * tests/extra6.test: New file.
1557         * tests/Makefile.am (TESTS): Add it.
1558
1559 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
1560
1561         * tests/extra2.test: Run $ACLOCAL.
1562
1563 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
1564
1565         * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
1566         AM_INIT_AUTOMAKE arguments when using the old-style call.
1567         Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
1568         Suggested by Pavel Roskin.
1569
1570 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
1571
1572         * test/nodefine.test, test/nodefine2.test: Check that no-define
1573         works, not the contrary...
1574         * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
1575         * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
1576         not the contrary.
1577
1578 2002-01-12  Jim Meyering  <meyering@lucent.com>
1579
1580         * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
1581         * tests/libobj11.test: New file.
1582         * tests/Makefile.am (TESTS): Add libobj11.test.
1583
1584 2002-01-09  Ryan T. Sammartino  <ryants@shaw.ca>
1585
1586         * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1587
1588 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1589
1590         * automake.in (file_contents_internal): Introduce two variables,
1591         $is_rule and $discard_rules to track rules spanning across multiple
1592         paragraphs.  This fixes a very nasty bug reported by Dmitry Mikhin
1593         where only the first paragraph of such a multi-paragraph rule was
1594         discarded; but it leaves many similar latent bugs (see the FIXMEs).
1595
1596 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1597
1598         * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1599         * tests/error.test: Use some macro names which are not defined by
1600         Automake itself.
1601
1602 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1603
1604         * automake.texi (Complete, Macros, Options): Document the new style
1605         AM_INIT_AUTOMAKE.  Remove AM_AUTOMAKE_OPTIONS documentaion.
1606         * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1607         AC_INIT if they are available there.  Support a new call form
1608         where the only argument is an optional space-separated list of
1609         Automake options.
1610         * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1611         (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1612         _AM_IF_OPTION): New functions.
1613         * automake.in (AC_INIT_PATTERN): New variable.
1614         (global_options_line): Remove, use $seen_init_automake instead.
1615         (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1616         from AC_INIT if available.  Support the new style AM_INIT_AUTOMAKE.
1617         Remove the AM_AUTOMAKE_OPTIONS handling.
1618         * configure.in: Modernize.
1619         * tests/defs (configure.in): Modernize.  One third of the tests
1620         still overwrite the default configure.in and use an old
1621         AM_INIT_AUTOMAKE call,  so that makes testing for both.
1622         * tests/nodefine.test, tests/nodefine2.test: New files.
1623         * tests/Makefile.am (TESTS): Add them.
1624
1625 2002-01-08  Raja R Harinath  <harinath@cs.umn.edu>
1626
1627         * automake.in (define_configure_variable): Propagate line numbers.
1628
1629 2002-01-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1630
1631         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1632
1633 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1634
1635         * configure.in: Run the Autoconf test in a subdirectory, then
1636         erase this directory.
1637
1638 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1639
1640         * configure.in (AUTOMAKE): Create m4/amversion.m4.
1641         * m4/amversion.in: New file.
1642         * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1643         (dist_m4data_DATA): ... this.
1644         (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1645         * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1646         AM_SET_CURRENT_AUTOMAKE_VERSION.
1647         * automake.in (seen_automake_version): New variable.
1648         (scan_autoconf_traces, scan_one_autoconf_file,
1649         scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1650         when the version used in aclocal.m4 differs from Automake's.
1651         * tests/defs (ACLOCAL): Look in ../m4 too.
1652         * tests/installsh.test (ACLOCAL): Likewise.
1653         * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1654
1655 2002-01-06  Raja R Harinath  <harinath@cs.umn.edu>
1656
1657         * automake.in (handle_languages): Emit an automake
1658         internal variable 'am__depfiles_maybe'.
1659         * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1660
1661         * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1662         config.status.
1663
1664 2002-01-06  Tom Tromey  <tromey@redhat.com>
1665
1666         * automake.texi (Tags): Document new variables.
1667         * lib/am/tags.am (ETAGS): New macro.
1668         (ETAGSFLAGS): Likewise.
1669         (TAGS): Use them.
1670
1671 2002-01-04  Tom Tromey  <tromey@redhat.com>
1672
1673         * configure.in (ACLOCAL): Set perllibdir.  From Nicolas Joly.
1674
1675 2002-01-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
1676
1677         * automake.in (read_am_file): Thinko in "comment following
1678         trailing backslash" detection.
1679         * tests/comment5.test: Test for this too.
1680
1681 2002-01-02  Tom Tromey  <tromey@redhat.com>
1682
1683         * automake.texi (Extending): Added index for uninstall-hook.
1684
1685 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1686
1687         Fix for PR automake/278:
1688         * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1689         with versions such as '2.2c1'.  Also, use `int' instead of the
1690         obsoleted `string.atoi'.
1691         Reported by Enrico Scholz.
1692
1693 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1694
1695         Fix for PR automake/280:
1696         * automake.in (read_am_file): Warn about trailing backslashes
1697         in comments.
1698         * tests/comment5.test: New file.
1699         * tests/Makefile.am (TESTS): Add comment5.test.
1700         Reported by Enrico Scholz.
1701
1702 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1703
1704         * tests/comment4.test: New file.
1705         * tests/Makefile.am (TESTS): Add comment4.test.
1706
1707         Fix for comment4.test:
1708         * automake.in (read_am_file): Output leading comments only when
1709         encountering white lines.
1710
1711 2002-01-01  Tom Tromey  <tromey@redhat.com>
1712
1713         For PR automake/234:
1714         * tests/Makefile.am (TESTS): Added strip.test.
1715         * tests/strip.test: New file.
1716
1717         * automake.texi (Extending): Mention uninstall-hook.
1718         (Install): Likewise.
1719         * automake.in (handle_factored_dependencies): Allow
1720         uninstall-hook.
1721
1722 2002-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1723
1724         * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1725         it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1726         This fixes a bug introduced on 2001-01-28.
1727         Reported by Jared Davis.
1728
1729 -----
1730
1731 Copyright (C) 2002 Free Software Foundation, Inc.
1732
1733 This file is part of GNU Automake.
1734
1735 GNU Automake is free software; you can redistribute it and/or modify
1736 it under the terms of the GNU General Public License as published by
1737 the Free Software Foundation; either version 2, or (at your option)
1738 any later version.
1739
1740 GNU Automake is distributed in the hope that it will be useful,
1741 but WITHOUT ANY WARRANTY; without even the implied warranty of
1742 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1743 GNU General Public License for more details.
1744
1745 You should have received a copy of the GNU General Public License
1746 along with autoconf; see the file COPYING.  If not, write to
1747 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1748 Boston, MA 02111-1307, USA.