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