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