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