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