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