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