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