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