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