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