* automake.in (lang_yacc_target_hook): Add rule to recover from
[platform/upstream/automake.git] / ChangeLog
1 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
2
3         * automake.in (lang_yacc_target_hook): Add rule to recover from
4         the removal of $header.
5         * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
6         output by lang_yacc_target_hook).
7         * tests/yacc7.test: Try to recreate foo.h after its removal.
8         * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
9         parse.h too.
10         Reported by Bernd Jendrissek.
11
12 2002-06-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
13
14         For PR automake/317:
15         * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
16         suggest `list='$(FILES)'; for f in $$list' instead.
17         * lib/am/distdir.am (distdir): Adjust `for' usage.
18         * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
19         * tests/dollar.test: New file.
20         * tests/Makefile.am (TESTS): Add dollar.test.
21         Reported by Eric Siegerman and Philip Fong.
22
23 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
24
25         For PR automake/47 (fixed a long time ago):
26         * tests/yacc7.test: Also check that parser sources are distributed.
27
28 2002-06-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
29
30         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
31         (distclean): Use it.
32         (maintainer-clean): Delete autom4te.cache and
33         $(am__CONFIG_DISTCLEAN_FILES).
34         * tests/maintclean.test: New file.
35         * tests/Makefile.am (TESTS): Add maintclean.test.
36
37 2002-06-05  Miloslav Trmac  <trmac@popelka.ms.mff.cuni.cz>
38
39         * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
40         target_alias.
41
42 2002-05-31  Alexandre Duret-Lutz  <duret_g@epita.fr>
43
44         * Makefile.am (maintainer-check): Check for egrep and fgrep.
45
46         * test/cond22.test: Set SHELL when calling $MAKE -e.
47
48 2002-05-31  Richard Boulton <richard@tartarus.org>
49
50         Fix PR automake/326:
51         * automake.in (define_objects_from_sources): Calculate the result in
52         all conditions before passing this to subobjname to pick a name to
53         store the result in.
54         (subobjname): Expect a list of condition/value pairs as input.
55         Combine this list and use it as the key to determine the variable name.
56         * test/cond22.test: New file.
57         * tests/Makefile.am (TESTS): Add cond22.test
58
59 2002-05-30  Paul Eggert  <eggert@twinsun.com>
60
61         * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
62         instead, use shell pattern matching.
63
64 2002-05-29  Paul Eggert  <eggert@twinsun.com>
65
66         Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
67         longer requires them.
68
69         * Makefile.am (maintainer-check): Use grep -E and grep -F instead
70         of egrep and fgrep.  Omit unnecessary -E and -F.
71         Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
72         * lib/am/distdir.am (distdir): fgrep -> grep -F.
73         Use $(), not ${}, for Make variables.
74         * lib/am/texinfos.am (install-info-am, uninstall-info-am):
75         fgrep -> grep
76         * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
77         * tests/defs: Set FGREP and EGREP.
78
79         * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
80         tests/ansi.test, tests/ansi4.test, tests/colon3.test,
81         tests/cond21.test, tests/condlib.test, tests/confh4.test,
82         tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
83         tests/depend4.test, tests/discover.test, tests/distname.test,
84         tests/dup3.test, tests/empty4.test, tests/fo.test,
85         tests/implicit.test, tests/insh2.test, tests/interp.test,
86         tests/lex.test, tests/lex3.test, tests/lex4.test,
87         tests/libobj5.test, tests/libobj7.test, tests/make.test,
88         tests/makevars.test, tests/nostdinc.test, tests/parse.test,
89         tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
90         tests/pr2.test, tests/pr9.test, tests/seenc.test,
91         tests/specflags.test, tests/specflags3.test,
92         tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
93         tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
94         tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
95         tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
96
97 2002-05-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
98
99         For PR automake/323:
100         * m4/depend.m4: Missing comma.
101         * tests/gcj4.test: New file.
102         * tests/Makefile.am (TESTS): Add gcj4.test.
103         Reported by David Pashley.
104
105 2002-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
106
107         * tests/defs (configure.in): Don't double-quote $me.
108         * tests/sinclude.test: Overwrite configure.in and use
109         `am__sinclude' instead of `sinclude' as package name.
110         Excercise `m4_sinclude' instead of `sinclude'.
111
112 2002-05-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
113
114         * automake.in (conditional_implies_one_of): Rename as ...
115         (conditional_implies_any): ... this.
116         * tests/pluseq9.test: Exercise another case with the new
117         `C' variable.
118         Suggested by Raja R Harinath.
119
120 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
121
122         * tests/defs (configure.in): Quote macro arguments.
123         Reported by Nicolas Joly.
124
125 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
126
127         * lib/am/header-vars.am (build_triplet, host_triplet,
128         target_triplet): Define.  Were removed by mistake on 2002-04-13.
129
130 2002-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
131
132         For PR automake/186:
133         * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
134         * tests/destdir.test: New file.
135         * tests/Makefile.am (TESTS): Add destdir.test.
136
137 2002-05-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
138
139         * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
140         (conditional_is_redundant): Simplify.
141         (conditional_implies_one_of,
142         variable_not_always_defined_in_cond): New functions
143         (macro_define): Reject appends if the variable is not defined in
144         all conditions where `+=' applies.
145         (invert_conditions): Rewrite.  Before this patch,
146         invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
147         would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
148         wrong (these conditions implies "A_FALSE").  Now it outputs (),
149         which just means the input conditions cover all cases.
150         (variable_conditions_permutations): Never output FALSE conditions.
151         * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
152         in the CHECK_FALSE condition to fix the test.
153         * tests/pluseq5.test: Actually check the diagnostic.
154         * tests/pluseq9.test: New file.
155         * tests/Makefile.am (TESTS): Add pluseq9.test.
156
157 2002-05-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
158
159         Fix for PR automake/322:
160         * automake.in (read_am_file): Rename $was_rule as $prev_state, and
161         set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
162         Handle comments continued by backslashes.
163         * tests/comment6.test: New file.
164         * tests/Makefile.am (TESTS): Add comment6.test.
165         Reported by Braden N. McDaniel.
166
167 2002-05-08  Charles Wilson  <cwilson@ece.gatech.edu>
168             Alexandre Duret-Lutz  <duret_g@epita.fr>
169
170         * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
171         both `program$(EXEEXT)' and `program'; needed under Cygwin.
172         * tests/libtool3.test: New file.
173         * tests/Makefile.am (TESTS): Add libtool3.test.
174
175 2002-05-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
176
177         * TODO: Undust.
178
179 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
180
181         * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
182
183 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
184
185         Erase stamps from the Makefile that generates them.
186
187         * automake.in (handle_configure): Append each used stamp to
188         @distclean_config.  Don't warn about stamp-h in AC_OUTPUT, this
189         file is not used anymore.
190         * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
191         stamp-h[0-9]*.
192         * tests/subdir6.test: New file.
193         * tests/Makefile.am (TESTS): Add it.
194
195 2002-05-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
196
197         Fix for condd.test (conditional `+='):
198         * automake.in (%appendvar): New.
199         (initialize_per_input): Clear it.
200         (macro_define): Handle += for variable defined in another condition.
201         * automake.texi (Conditional Sources): Use conditional += in
202         the example.
203         (General Operation, Conditionals): Remove note about broken +=.
204         * tests/cond21.test: New file.
205         * tests/condd.test: Also test conditional append to a _SOURCE
206         variable.  Create missing directories.
207         * tests/Makefile.am (TESTS): Add cond21.test.
208         (XFAILS): Remove condd.test.
209
210 2002-05-05  Tom Tromey  <tromey@redhat.com>
211
212         * automake.texi (Program and Library Variables): Mention _LFLAGS.
213
214 2002-04-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
215
216         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
217         files.  Fix subobj9.test on OSF and IRIX.
218         Reported by Nelson H. F. Beebe.
219
220 2002-04-26  Tom Tromey  <tromey@redhat.com>
221
222         * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
223         For Debian bug 144221.
224
225 2002-04-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
226
227         * tests/man2.test: Use `pwd`, not $PWD.  Use $MAKE -e.
228
229 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
230
231         * automake.in (subobjname): Use the length of %subobjvar
232         instead of $subobjnamenum.
233         (subobjnamenum): Remove.
234
235 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
236
237         For PR automake/307:
238         * lib/depcomp: Never compute dependencies in the background, this
239         can cause races with libtool.  Compute the dependencies after
240         the actual compilation.  Don't make libtool silent now that
241         it's run in the foreground.
242         * tests/pr307.test: New file.
243         * tests/Makefile.am (TESTS): Add pr307.test.
244         Reported by Laurent Morichetti.
245
246 2002-04-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
247
248         * lib/am/check.am: Show skipped tests.  Display the
249         $(PACKAGE_BUGREPORT) address on failure.
250
251 2002-04-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
252
253         Fix PR automake/315:
254         * automake.in (subobjname): Rewrite to generate variable name
255         unique for each content.
256         (%substnums): Remove.
257         (%subobjvar): New hash.
258         (initialize_per_input): Clear %subobjvar.
259         (define_objects_from_sources): Return the name of the variable
260         defined, in addition to the linker.  Call subobjname only once
261         the content of the variable to define is known.
262         (handle_source_transform): Adjust call to define_objects_from_sources.
263         * tests/specflags8.test: Mention PR 315.
264         * tests/subobjname.test: New file.
265         * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
266         (TESTS): Add subobjname.test.
267
268 2002-04-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
269
270         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
271         the whole file for 'generated by automake', not only the
272         first line.  This accounts for post-processed Makefile.in's.
273         * tests/postproc.test: New file.
274         * tests/Makefile.am (TESTS): Add postproc.test.
275
276 2002-04-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
277
278         For PR automake/151 and PR automake/314:
279         * automake.texi (A Program): Split into
280         (Program Sources, Linking, Conditional Sources, Conditional
281         Programs): ... these subsections; moving the Linking node
282         before the Conditional discussions.
283         (Conditional Sources): More details.  Notably, mention
284         hello_DEPENDENCIES.
285         (Conditionals): Adjust reference to Conditional Programs.
286
287 2002-04-19  Paul Eggert  <eggert@twinsun.com>
288
289         Fix some bugs when using "$@" when there might be zero positional
290         arguments in cases where this matters.  Zsh doesn't support
291         the workaround ${1+"$@"} that has been used by Automake since
292         the Mon Dec  4 11:55:36 1995 change.
293
294         * aclocal.in: Use 'case' statement to work around problem.
295         * automake.in: Likewise.
296         * lib/ylwrap: Likewise.
297         * lib/missing: No need for workaround, as the command is never
298         invoked with zero arguments.
299         * tests/ccnoco.test: Likewise.
300         * missing: Update from lib/missing.
301
302 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
303
304         * automake.in (initialize_per_input): Clear %require_file_found.
305         (%require_file_found): Group the declaration with the other
306         variables initialized by initialize_per_input.
307         * tests/required.test: New file.
308         * tests/Makefile.am (TESTS): Add it.
309         Reported by Marius Vollmer.
310
311 2002-04-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
312
313         * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
314         override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
315         (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
316         * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
317         * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
318         files.
319         * tests/confh5.test: New file.
320         * tests/Makefile.am (TESTS): Add confh5.test.
321         * automake.texi (Optional, Public macros): Update descriptions
322         of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
323
324 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
325
326         * tests/man2.test: New file.
327         * tests/Makefile.am (TESTS): Add man2.test.
328         * lib/am/mans.am (install-man%SECTION%): Change the extension
329         of the man pages being installed, as documented.
330
331 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
332
333         Enable traces; wipe out the old configure.in parser.
334
335         * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
336         'autoconf'.  Honnor the $filename argument.
337         (scan_autoconf_files): Don't call scan_one_autoconf_file.
338         Always call scan_autoconf_traces.
339         (scan_one_autoconf_file): Remove, with it associated regexes.
340         (obsolete, obsolete_rx): Remove.
341         (register_language, handle_languages): Remove the 'define_flag'
342         support.  Remove it from the struct and language definitions too.
343         (unquote_m4_arg): Remove.
344         * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
345         the `FOO = @FOO@' definitions for all AC_SUBST'ed variables.  They
346         are now generated automatically.
347         * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
348         automake.in.
349         * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
350
351 2002-04-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
352
353         * tests/version6.test: New file.
354         * tests/Makefile.am (TESTS): Add tests/version6.test.
355         * automake.in (version_check): Return 0 on equality.
356
357 2002-04-13  Andreas Schwab  <schwab@suse.de>
358
359         * THANKS: Update my mail address.
360
361 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
362
363         * tests/discover.test: Use a full configure.in that calls AC_INIT.
364         Use AC_LIBOBJ.  Grep the error message.
365         * test/ldadd.test: Don't use LIBOBJS.  Use a full configure.in.
366         Grep the error message.  Require libtool.
367         * tests/ldflags.test:  Don't use LIBOBJS.
368         * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
369         error messages for CC and CXX.
370
371 2002-04-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
372
373         * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
374         and AMDEPBACKSLASH.
375         * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
376         * tests/ext.test: Enable dependencies for OBJC.
377         * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
378         Delete.  They tests for different flavors of $LIBOBJS assignments
379         that wont be supported anymore.
380         * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
381         * tests/obsolete.test: Don't test Automake.
382         * tests/suffix5.test: Require libtool.
383         * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
384         libobj9.test.
385
386 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
387
388         * configure.in (APIVERSION): Fix definition.
389
390 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
391
392         * NEWS: Catch up with changes since 1.6.
393
394 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
395
396         * tests/yacc8.test: Don't assume GNU make, run config.status
397         to regenerate the Makefile.
398
399 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
400
401         * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
402         always followed by a SHELL setting.
403         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
404         SHELL when calling `$MAKE -e'.
405
406 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
407
408         * tests/subobj9.test: Use configure.in, not configure.ac,
409         otherwise this fails with old libtool versions.
410
411 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
412
413         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
414         versions.
415
416 2002-04-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
417
418         * ChangeLog.2001: New file, extracted from ChangeLog.
419         * Makefile.am (EXTRA_DIST): Add it.
420
421 2002-04-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
422
423         * automake.texi (Canonicalization): The sources for libmumble++.a
424         go into libmumble___a_SOURCES.
425
426 2002-04-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
427
428         * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
429         test suite.  Suggest `sleep 2' instead.
430         * tests/confsub.test: Use `sleep 2'.
431
432 2002-04-04  Paul Eggert  <eggert@twinsun.com>
433
434         * lib/am/subdirs.am:
435         ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
436         $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
437         MAKEFLAGS contains '$(...)'.
438
439 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
440
441         * tests/specflags8.test: Typo.
442
443 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
444
445         * tests/specflags6.test: Run aclocal.
446         * tests/Makefile.am (TESTS): Add specflags6.test.
447
448 2002-04-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
449
450         * tests/specflags7.test, tests/specflags8.test: New files.
451         * tests/Makefile.am (TESTS): Add them.
452         (XFAIL_TESTS): Add specflags8.test.
453
454 2002-03-29  Tom Tromey  <tromey@redhat.com>
455
456         * automake.in (check_typos): Examine AM_LDFLAGS.
457         Fixes PR automake/311.
458
459         For PR automake/312:
460         * lib/am/libtool.am (clean-libtool): Use LTRMS.
461         * automake.in (handle_single_transform_list): When processing a
462         libtool object, clean the ordinary object and register the
463         directory.
464         (libtool_clean_directories): New global.
465         (initialize_per_input): Initialize it.
466         (generate_makefile): Call handle_libtool later.
467         (handle_libtool): Handle libtool_clean_directories.
468         * tests/subobj9.test: New file.
469         * tests/Makefile.am (TESTS): Added subobj9.test.
470
471 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
472
473         * tests/extra6.test, tests/subdir5.test: Require GNU make.
474
475 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
476
477         * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
478
479 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
480
481         * tests/extra7.test: New file.
482         * tests/Makefile.am: Add it.
483         * lib/am/distdir.an (distdir): When a distribuable directory
484         exists both in `.' and $(srcdir), merge both directories.  This
485         works around a failure of extra6.test on Tru64 reported by
486         Nicolas Joly.
487
488 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
489
490         * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
491
492 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
493
494         * Makefile.am (maintainer-check): Catch occurrences of
495         `$MAKE foo=bar' in the testsuite.  Suggest using
496         `foo=bar $MAKE -e' instead.
497         * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
498         Use $MAKE -e.  This fixes a ansi5.test failure with Solaris make.
499         * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
500         * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
501
502 2002-03-26  Alexandre Duret-Lutz  <duret_g@epita.fr>
503
504         Fix for PR automake/310:
505         * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
506         so it never appears as a plain word.
507
508 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
509
510         * lib/depcomp (tru64): Correctly compute `base'.
511
512 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
513
514         * tests/pr211.test: s/requires/required/, otherwise the test fails
515         if libtool is not installed.
516
517 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
518
519         * tests/dirname.test: Don't use $SHELL when calling ./configure.
520
521 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
522
523         * tests/dirname.test: Use --quiet to fix failure on installations
524         using a site script.
525         Reported by Nicolas Joly.
526
527 2002-03-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
528
529         * Makefile.am (maintainer-check): Check for misuses of make,
530         autoconf, automake, aclocal, and perl in the testsuite.  Suggest
531         using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
532         * tests/confsub.test: Use $AUTOCONF and $MAKE.
533         * tests/extra5.test, tests/extra6.test, tests/lex5.test,
534         tests/nobase.test, tests/nodist2.test, tests/pr204.test,
535         tests/pr224.test, tests/pr287.test, tests/strip.test,
536         tests/yacc8.test: Use $MAKE.
537
538 2002-03-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
539
540         Add support for two-dot versions.
541
542         * tests/version5.test: New file.
543         * tests/Makefile.am (TESTS): Add it.
544         * automake.in (version_split, version_compare): New functions.
545         (version_check): Rewrite using version_split and version_compare.
546         (process_option_list): Adjust regex.
547
548 2002-03-18  Richard Boulton <richard@tartarus.org>
549
550         Fix for PR automake/306:
551         * automake.texi (Generalities): Document +=.
552         (Conditionals): Document limitations of += with conditionals.
553
554 2002-03-17  Tom Tromey  <tromey@redhat.com>
555
556         Fix for PR automake/295:
557         * automake.texi (Invoking Automake): Deprecate --output-dir.
558         * automake.in (usage): Don't document --output-dir.
559         (output_directory): Don't initialize.
560         (parse_arguments): Deprecate --output-dir.
561
562         * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
563         Fixes PR automake/304.
564
565 2002-03-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
566
567         * tests/dirforbid.test: Workaround for NetBSD sh bug.
568         Fixes PR automake/305.
569
570 2002-03-11  Richard Boulton <richard@tartarus.org>
571
572         * automake.in (check_typos): Allow variables with reserved
573         suffices (such as _LDFLAGS) and prefixes which aren't
574         recognised if the variable is defined in configure.ac.
575         Fixes acsubst.test.
576
577 2002-03-11  Richard Boulton <richard@tartarus.org>
578
579         * tests/acsubst.test: New test, by Alexandre Duret-Lutz
580         * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
581         * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
582
583 2002-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
584
585         * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
586         causes failures.
587
588 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
589
590         Fix for PR automake/303:
591         * automake.in (version_check): Move the error message ...
592         (process_option_list): ... here, so we can distinguish between
593         global and local options.
594
595 2002-03-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
596
597         * tests/pr300-lib.test, tests/pr300-ltlib.test,
598         tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
599         Autoconf doesn't complain about Makefile being output twice.
600
601 2002-03-06  Tom Tromey  <tromey@redhat.com>
602
603         * configure.in: Upped version to 1.6a.
604
605 2002-03-05  Tom Tromey  <tromey@redhat.com>
606
607         * configure.in: Released 1.6.
608
609 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
610
611         Fix for PR automake/300:
612         * tests/pr300-lib.test, tests/pr300-ltlib.test,
613         tests/pr300-prog.test: New files.
614         * tests/Makefile.am (TESTS): Add them.
615         * automake.in (handle_ltlibraries): Strip nobase_ prefix to
616         compute the directory.
617         * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
618         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
619         (install-%DIR%LIBRARIES): Use it.  Honor nobase_.
620         (uninstall-%DIR%LIBRARIES): Honor nobase_.
621         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
622         (install-%DIR%LTLIBRARIES): Use it.  Honor nobase_.
623         (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
624         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
625         (install-%DIR%PROGRAMS): Use it.  Honor nobase_.
626         (uninstall-%DIR%PROGRAMS): Honor nobase_.
627         See also the fix for nobase.test on 2001-11-09.
628
629 2002-03-05  Tom Tromey  <tromey@redhat.com>
630
631         * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
632
633 2002-03-05  Pavel Roskin  <proski@gnu.org>
634
635         * tests/yacc8.test: Add a command between "test" and "cd" to
636         work around a bug in bash-2.05.
637
638 2002-03-05  Alexandre Duret-Lutz  <duret_g@epita.fr>
639
640         Fix for PR automake/294:
641         * tests/dirforbid.test: New file.
642         * tests/Makefile.am (TESTS): Add it.
643         * automake.in (standard_prefix): New hash.
644         (am_primary_prefixes): Forbid standard_prefixes which are not
645         explicitely allowed.
646         * automake.texi (Uniform): Remove FIXME.
647
648 2002-03-05  Jim Meyering  <meyering@lucent.com>
649
650         * automake.in (@common_files): Add config.rpath.
651
652 2002-03-05  Kevin Ryde  <user42@zip.com.au>
653
654         For PR automake/297:
655         * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
656         after AC_PROG_LEX, since it will try to run it and fail (in autoconf
657         2.52 at least).
658
659 2002-02-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
660
661         * automake.in (scan_one_autoconf_file): Declare
662         LEX_OUTPUT_ROOT and LEXLIB as configure variables when
663         AM_PROG_LEX or AC_PROG_LEX are seen.  This allows to ...
664         * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
665         definitions.  Search %SOURCE% in $(srcdir).  Use s||| instead
666         of s/// in the sed invocation, to support filenames containing
667         slashes.
668         * lib/am/yacc.am: Search %SOURCE% in $(srcdir).  Use s||| too.
669         * tests/lex5.test, tests/yacc8.test: New files.
670         * tests/Makefile.am (TESTS): Add them.
671
672 2002-02-23  Per Bothner  <per@bothner.com>
673
674         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
675         `.' in else branch.
676
677 2002-02-22  Alexandre Duret-Lutz  <duret_g@epita.fr>
678
679         * tests/make.test: Revert the grep logic to work around a bug
680         in NetBSD sh (see NetBSD Problem Report #11542).
681         Reported by Patrick Welche.
682
683 2002-02-20  Tim Van Holder  <tim.van.holder@pandora.be>
684
685         * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
686         to try and prevent a non-lisp emacs from starting in interactive
687         mode.
688         * automake.texi: Document this change.
689
690 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
691
692         * automake.texi (Macros): Split into ...
693         (Public Macros, Private Macros): ... these.
694
695 2002-02-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
696
697         * tests/insthook.test: Use sed instead of "tail +X".
698
699 2002-02-18  Paul Eggert  <eggert@twinsun.com>
700
701         * lib/depcomp: Don't use "tail +3"; it's not portable to
702         POSIX 1003.1-2001 hosts.
703
704 2002-02-18  Jim Meyering  <meyering@lucent.com>
705
706         * tests/cond12.test: Use sed 1q, not `head -n 1'.
707         The latter is not portable to some old systems.
708         * m4/depout.m4: Don't use `head -1'; it's no longer portable.
709         Use `sed 1q' instead.
710         * tests/insthook.test: Likewise.
711
712 2002-02-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
713
714         * automake.in (handle_lib_objects_cond): Tell the user to put
715         global linker flags in AM_LDFLAGS, not LDFLAGS.
716
717         * automake.texi (General Operation): AC_SUBST'ed variables
718         override Automake's variables.
719         (Uniform): More words and @refs.
720         (Auxiliary Programs) <config.sub, config.guess>: Add URL.
721         (etags): More explanations about the first example.
722         (Invoking Automake): Mention autoreconf.  More @refs.
723         (Requirements): Mention AC_CONFIG_FILES.
724         (Optional): AC_CHECK_TOOL will no longer install config.sub and
725         config.guess.  Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
726         (Invoking aclocal): aclocal no longer warn about duplicates.
727         (Macros) <AM_INIT_AUTOMAKE>: More explanations.
728         (Extending aclocal): Suggest using the output of
729         `aclocal --print-ac-dir` to install third-party macros.
730         (Alternative): Specify ordering of dist_, nodist_, and nobase_
731         prefixes.
732         (A Program): Mention scripts.  The global LDADD variable is not
733         meant to hold link flags, suggest using AM_LDFLAGS instead.
734         (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
735         _LIBADD and _LDADD are subject to the same restriction wrt to
736         link flags.
737         (Program and Library Variables) <maude_DEPENDECIES>: Is also
738         derived from maude_LIBADD.
739         (Program variables): Define AM_LDFLAGS.
740         (Dependencies): Passing the no-dependencies option to
741         AM_INIT_AUTOMAKE is prefered.
742         (Scripts): Explain why automake is magically cleaned.
743         Mention noinst_SCRIPTS and check_SCRIPTS.
744         (Data): Use dist_ in Automake's example.
745         (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
746         Mention AC_CONFIG_FILES instead of AC_OUTPUT.
747
748 2002-02-14  Alexandre Duret-Lutz  <duret_g@epita.fr>
749
750         * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
751         (fetch): Fetch XFile.pm.  Update the files in $(srcdir) instead
752         of asking the maintainer to do it manually.
753         * lib/config.guess, lib/config.sub, lib/texinfo.tex,
754         Automake/XFile.pm: New upstream versions.
755
756 2002-02-02  Tom Tromey  <tromey@redhat.com>
757
758         * automake.texi (Macros): Warn about upgrading.
759
760 2002-02-01  Tom Tromey  <tromey@redhat.com>
761
762         Change per GNU coding standards:
763         * aclocal.in (parse_arguments): Only mention most recent year in
764         copyright output.
765         * automake.in (version): Only mention most recent year.
766
767 2002-01-30  Alexandre Duret-Lutz  <duret_g@epita.fr>
768
769         * automake.texi (API versioning): New Node.
770         (Extending): Use $(DESTDIR) in examples.
771
772 2002-01-28  Akim Demaille  <akim@epita.fr>
773
774         * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
775         Respect the --help layout.
776
777 2002-01-27  Tom Tromey  <tromey@redhat.com>
778
779         * configure.in: Bumped to 1.5e.
780
781         * lib/am/yacc.am: Use `rm -f'.
782
783         * configure.in: Released 1.5d.
784
785         * lib/config.guess: New version from FSF.
786
787         * Makefile.am (uninstall-hook): New target.
788
789 2002-01-24  Akim Demaille  <akim@epita.fr>
790
791         * lib/install-sh: Update, from Autoconf.
792
793 2002-01-24  Alexandre Duret-Lutz  <duret_g@epita.fr>
794
795         * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
796         as AC_CANONICAL_HOST (the former does not require the latter since
797         Autoconf 2.50).
798         * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
799         * automake.texi (Requirements): Do not require STRIP to be
800         defined by the user.
801
802 2002-01-23  Alexandre Duret-Lutz  <duret_g@epita.fr>
803
804         * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
805         * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
806         * tests/pr224.test: Make sure .deps subdirectories are
807         erased by distclean.
808
809 2002-01-22  Tom Tromey  <tromey@redhat.com>
810
811         * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
812         no-dependencies option is set.
813         * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
814         no-dependencies option is set.  Don't call AM_DEP_TRACK or
815         AM_SET_DEPDIR.
816
817 2002-01-22  Pavel Roskin  <proski@gnu.org>
818
819         * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
820         ASFLAGS.
821
822 2002-01-22  Akim Demaille  <akim@epita.fr>
823
824         * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
825         (fetch): Adjust.
826
827 2002-01-21  Tom Tromey  <tromey@redhat.com>
828
829         * Makefile.am (fetch): Don't fetch ansi2knr.
830
831         * automake.texi (Macros): Updated for new variable names.
832         (Program and Library Variables): Likewise.
833         (Assembly Support): Likewise.
834         * m4/as.m4: Use CCAS and CCASFLAGS.
835         * automake.in (asm): Use CCAS and CCASFLAGS.
836
837 2002-01-21  Akim Demaille  <akim@epita.fr>
838
839         * automake.in (&parse_arguments): Use a more GNUish error message
840         on wrong options.
841
842 2002-01-20  Tom Tromey  <tromey@redhat.com>
843
844         Fix for PR automake/231:
845         * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
846         * m4/depend.m4: Document `GCJ'.
847
848         For PR automake/224:
849         * tests/Makefile.am (TESTS): Added pr224.test.
850         * tests/pr224.test: New file.
851         * lib/depcomp: Fixed computation of depfile.
852         * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
853         * automake.in (handle_single_transform_list): Only reject `..'
854         component for Java.  Put dependencies in directory near object.
855         (handle_languages): Set DEPBASE.  Handle de-ansi-fication.
856
857 2002-01-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
858
859         * tests/defs: Export AUTOMAKE and ACLOCAL.
860
861 2002-01-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
862
863         Fix for PR automake/204:
864         * tests/pr204.test: New file.
865         * tests/Makefile.am (TESTS): Add it.
866         * automake.in (handle_single_transform_list): Don't distribute
867         sources derived from non-distributed sources.
868
869 2002-01-18  Alexandre Duret-Lutz  <duret_g@epita.fr>
870
871         Fix for PR automake/229:
872         * tests/pr229.test: New file.
873         * tests/Makefile.am (TESTS): Add it.
874         * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
875         AC_EMXOS2, and AC_MINGW32.
876
877 2002-01-18  Tom Tromey  <tromey@redhat.com>
878
879         * tests/cond7.test: Fix test bug exposed by copyright update.
880
881         For PR automake/288:
882         * automake.in (lang_c_rewrite): Don't prepend directory to base if
883         directory is `.'.  Also, properly compute de_ansi_files entry in
884         subdir-objects case
885         * tests/Makefile.am (TESTS): Added ansi7.test.
886         * tests/ansi7.test: New file.
887
888         * aclocal.in (parse_arguments): Added 2002.
889         (write_aclocal): Likewise.
890         (parse_arguments): Updated my email address.
891         * automake.in (gen_copyright): Added 2002.
892         (version): Likewise.  Also, changed my email address.
893
894         * configure.in (APIVERSION): Refined definition.
895
896 2002-01-18  Tom Tromey  <tromey@redhat.com>
897
898         * missing: Updated.
899         * lib/missing: Accept versioned aclocal.
900         * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
901
902 2002-01-17  Pavel Roskin  <proski@gnu.org>
903
904         * m4/Makefile.am (m4datadir): Use APIVERSION.
905
906 2002-01-16  Tom Tromey  <tromey@redhat.com>
907
908         * Makefile.am (install-exec-hook): Use APIVERSION.
909         * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
910         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
911         APIVERSION.
912         * automake.in (perllibdir): Use APIVERSION.
913         (libdir): Likewise.
914         * aclocal.in (perllibdir): Use APIVERSION.
915         (APIVERSION): New global.
916         (parse_arguments): Use APIVERSION.
917         * configure.in (APIVERSION): New subst.
918         (pkgvdatadir): Use APIVERSION.
919
920 2002-01-15  Tom Tromey  <tromey@redhat.com>
921
922         * missing: Updated.
923         * lib/missing: Match against `automake*' to pick up versioned
924         automake.
925         * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
926         * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
927         variable.
928         * lib/am/Makefile.am (amdir): Use pkgvdatadir.
929         * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
930         pkgvdatadir.
931         (scriptdir): Use pkgvdatadir.
932         (installcheck-local): Likewise.
933         * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
934         * automake.in (perllibdir): Added VERSION.
935         (libdir): Likewise.
936         * aclocal.in (parse_arguments): Search versioned directory.  Don't
937         push unversioned directory unless it exists.
938         (perllibdir): Added VERSION.
939         (default_acdir): New global.
940         * m4/Makefile.am (m4datadir): Added $(VERSION).
941         * Makefile.am (install-exec-hook): New target.
942         * configure.in (ACLOCAL): Search build directory.
943         (pkgvdatadir): New subst.
944
945 2002-01-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
946
947         * lib/config.sub, lib/config.guess: New versions from FSF.
948
949 2002-01-13  Tom Tromey  <tromey@redhat.com>
950
951         For PR automake/288:
952         * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
953         to directory.
954         (lang_c_finish): Likewise.  Also, use directory information from
955         de_ansi_files.
956
957 2002-01-13  Kevin Ryde  <user42@zip.com.au>
958
959         For PR automake/288:
960         * tests/Makefile.am (TESTS): Added ansi6.test.
961         * tests/ansi6.test: New file.
962
963 2002-01-13  Tom Tromey  <tromey@redhat.com>
964
965         For PR automake/287:
966         * lib/am/distdir.am (distdir): Use `$$list' trick when looping
967         over subdirs.
968         * tests/Makefile.am (TESTS): Added pr287.test.
969         * tests/pr287.test: New file.
970
971 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
972
973         * lib/am/distdir.am (distdir): Handle subdirectories.
974         * tests/extra6.test: New file.
975         * tests/Makefile.am (TESTS): Add it.
976
977 2002-01-13  Alexandre Duret-Lutz  <duret_g@epita.fr>
978
979         * tests/extra2.test: Run $ACLOCAL.
980
981 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
982
983         * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
984         AM_INIT_AUTOMAKE arguments when using the old-style call.
985         Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
986         Suggested by Pavel Roskin.
987
988 2002-01-12  Alexandre Duret-Lutz  <duret_g@epita.fr>
989
990         * test/nodefine.test, test/nodefine2.test: Check that no-define
991         works, not the contrary...
992         * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
993         * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
994         not the contrary.
995
996 2002-01-12  Jim Meyering  <meyering@lucent.com>
997
998         * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
999         * tests/libobj11.test: New file.
1000         * tests/Makefile.am (TESTS): Add libobj11.test.
1001
1002 2002-01-09  Ryan T. Sammartino  <ryants@shaw.ca>
1003
1004         * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
1005
1006 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1007
1008         * automake.in (file_contents_internal): Introduce two variables,
1009         $is_rule and $discard_rules to track rules spanning across multiple
1010         paragraphs.  This fixes a very nasty bug reported by Dmitry Mikhin
1011         where only the first paragraph of such a multi-paragraph rule was
1012         discarded; but it leaves many similar latent bugs (see the FIXMEs).
1013
1014 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1015
1016         * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
1017         * tests/error.test: Use some macro names which are not defined by
1018         Automake itself.
1019
1020 2002-01-09  Alexandre Duret-Lutz  <duret_g@epita.fr>
1021
1022         * automake.texi (Complete, Macros, Options): Document the new style
1023         AM_INIT_AUTOMAKE.  Remove AM_AUTOMAKE_OPTIONS documentaion.
1024         * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
1025         AC_INIT if they are available there.  Support a new call form
1026         where the only argument is an optional space-separated list of
1027         Automake options.
1028         * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
1029         (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
1030         _AM_IF_OPTION): New functions.
1031         * automake.in (AC_INIT_PATTERN): New variable.
1032         (global_options_line): Remove, use $seen_init_automake instead.
1033         (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
1034         from AC_INIT if available.  Support the new style AM_INIT_AUTOMAKE.
1035         Remove the AM_AUTOMAKE_OPTIONS handling.
1036         * configure.in: Modernize.
1037         * tests/defs (configure.in): Modernize.  One third of the tests
1038         still overwrite the default configure.in and use an old
1039         AM_INIT_AUTOMAKE call,  so that makes testing for both.
1040         * tests/nodefine.test, tests/nodefine2.test: New files.
1041         * tests/Makefile.am (TESTS): Add them.
1042
1043 2002-01-08  Raja R Harinath  <harinath@cs.umn.edu>
1044
1045         * automake.in (define_configure_variable): Propagate line numbers.
1046
1047 2002-01-08  Alexandre Duret-Lutz  <duret_g@epita.fr>
1048
1049         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
1050
1051 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1052
1053         * configure.in: Run the Autoconf test in a subdirectory, then
1054         erase this directory.
1055
1056 2002-01-07  Alexandre Duret-Lutz  <duret_g@epita.fr>
1057
1058         * configure.in (AUTOMAKE): Create m4/amversion.m4.
1059         * m4/amversion.in: New file.
1060         * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
1061         (dist_m4data_DATA): ... this.
1062         (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
1063         * m4/init.m4 (AM_INIT_AUTOMAKE): Require
1064         AM_SET_CURRENT_AUTOMAKE_VERSION.
1065         * automake.in (seen_automake_version): New variable.
1066         (scan_autoconf_traces, scan_one_autoconf_file,
1067         scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
1068         when the version used in aclocal.m4 differs from Automake's.
1069         * tests/defs (ACLOCAL): Look in ../m4 too.
1070         * tests/installsh.test (ACLOCAL): Likewise.
1071         * tests/installdir.test (installdirs-local): Run $ACLOCAL.
1072
1073 2002-01-06  Raja R Harinath  <harinath@cs.umn.edu>
1074
1075         * automake.in (handle_languages): Emit an automake
1076         internal variable 'am__depfiles_maybe'.
1077         * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
1078
1079         * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
1080         config.status.
1081
1082 2002-01-06  Tom Tromey  <tromey@redhat.com>
1083
1084         * automake.texi (Tags): Document new variables.
1085         * lib/am/tags.am (ETAGS): New macro.
1086         (ETAGSFLAGS): Likewise.
1087         (TAGS): Use them.
1088
1089 2002-01-04  Tom Tromey  <tromey@redhat.com>
1090
1091         * configure.in (ACLOCAL): Set perllibdir.  From Nicolas Joly.
1092
1093 2002-01-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
1094
1095         * automake.in (read_am_file): Thinko in "comment following
1096         trailing backslash" detection.
1097         * tests/comment5.test: Test for this too.
1098
1099 2002-01-02  Tom Tromey  <tromey@redhat.com>
1100
1101         * automake.texi (Extending): Added index for uninstall-hook.
1102
1103 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1104
1105         Fix for PR automake/278:
1106         * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
1107         with versions such as '2.2c1'.  Also, use `int' instead of the
1108         obsoleted `string.atoi'.
1109         Reported by Enrico Scholz.
1110
1111 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1112
1113         Fix for PR automake/280:
1114         * automake.in (read_am_file): Warn about trailing backslashes
1115         in comments.
1116         * tests/comment5.test: New file.
1117         * tests/Makefile.am (TESTS): Add comment5.test.
1118         Reported by Enrico Scholz.
1119
1120 2002-01-02  Alexandre Duret-Lutz  <duret_g@epita.fr>
1121
1122         * tests/comment4.test: New file.
1123         * tests/Makefile.am (TESTS): Add comment4.test.
1124
1125         Fix for comment4.test:
1126         * automake.in (read_am_file): Output leading comments only when
1127         encountering white lines.
1128
1129 2002-01-01  Tom Tromey  <tromey@redhat.com>
1130
1131         For PR automake/234:
1132         * tests/Makefile.am (TESTS): Added strip.test.
1133         * tests/strip.test: New file.
1134
1135         * automake.texi (Extending): Mention uninstall-hook.
1136         (Install): Likewise.
1137         * automake.in (handle_factored_dependencies): Allow
1138         uninstall-hook.
1139
1140 2002-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
1141
1142         * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
1143         it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
1144         This fixes a bug introduced on 2001-01-28.
1145         Reported by Jared Davis.
1146
1147 -----
1148
1149 Copyright (C) 2002 Free Software Foundation, Inc.
1150
1151 This file is part of GNU Automake.
1152
1153 GNU Automake is free software; you can redistribute it and/or modify
1154 it under the terms of the GNU General Public License as published by
1155 the Free Software Foundation; either version 2, or (at your option)
1156 any later version.
1157
1158 GNU Automake is distributed in the hope that it will be useful,
1159 but WITHOUT ANY WARRANTY; without even the implied warranty of
1160 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1161 GNU General Public License for more details.
1162
1163 You should have received a copy of the GNU General Public License
1164 along with autoconf; see the file COPYING.  If not, write to
1165 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1166 Boston, MA 02111-1307, USA.