source: trunk/essentials/sys-devel/automake-1.7/ChangeLog@ 3275

Last change on this file since 3275 was 3120, checked in by bird, 18 years ago

automake 1.7.9

File size: 138.0 KB
Line 
12003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
2
3 * configure.in, NEWS: Bump version to 1.7.9.
4
5 * configure.in: AC_PREREQ(2.58). Automake 1.7.8 was configured
6 with Autoconf 2.57f and a bug prevented installations with pdksh.
7
8 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
9
102003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
11
12 * lib/ylwrap: Typo in regex.
13
142003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
15
16 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
17 too.
18 Report from Elmar Hoffmann.
19
202003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
21
22 * configure.in: Bump version to 1.7.8a.
23
24 * configure.in, NEWS: Bump version to 1.7.8.
25
262003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
27
28 * automake.in (handle_ltlibraries): Fix definition of $ldflags.
29 * tests/stdlib2.test: Check AM_LDFLAGS alone.
30
31 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
32 versions.
33
34 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
35 * tests/stdlib2.test: New file.
36 * tests/Makefile.am (TESTS): Add stdlib2.test.
37 Report from Kevin P. Fleming.
38
392003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
40
41 * tests/defs.in: For required=runtest, check that we are using
42 a DejaGnu that supports specifying the program on the command-line.
43
442003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
45
46 For Debian Bug #213524:
47 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
48 stderr and stdout, and grep only the first line while testing
49 install-info --version's output. This revert part of the change
50 from 2001-05-18.
51
522003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
53
54 * automake.in (file_contents_internal): Do not add newlines before
55 empty actions.
56 Report from Bruno Haible.
57
582003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
59
60 * configure.in: Bump version to 1.7.7a.
61
62 * configure.in, NEWS: Bump version to 1.7.7.
63
642003-09-05 Paul Eggert <eggert@twinsun.com>
65
66 * NEWS, aclocal.in, automake.in, automake.texi,
67 lib/Automake/Channels.pm, lib/am/dejagnu.am, lib/am/depend.am,
68 lib/am/lisp.am, lib/am/remake-hdr.am, lib/am/texi-vers.am,
69 lib/ansi2knr.c, lib/depcomp, lib/missing, lib/py-compile,
70 m4/obsolete.m4, m4/python.m4, tests/backsl4.test,
71 tests/cond12.test, tests/defs.in, tests/dejagnu7.test,
72 tests/depacl2.test, tests/dirlist.test, tests/error.test,
73 tests/getopt.test, tests/gnuwarn.test, tests/include2.test,
74 tests/libobj10.test, tests/libtool5.test, tests/libtool6.test,
75 tests/lisp3.test, tests/phony.test, tests/pr220.test,
76 tests/subcond2.test, tests/subcond3.test, tests/vtexi.test:
77 Spelling and minor grammar fixes.
78
792003-09-02 Alexandre Duret-Lutz <adl@gnu.org>
80
81 * configure.in: Bump version to 1.7.6c.
82
83 * configure.in, NEWS: Bump version to 1.7.6b.
84
852003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
86
87 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
88 lib/config-ml.in, lib/symlink-tree: New upstream versions.
89
902003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
91
92 * tests/yacc7.test: Require bison.
93
942003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
95
96 * automake.texi (Extending aclocal): Merge changes from HEAD, to
97 explain that aclocal 1.8 will warn about underquoted AC_DEFUN.
98
992003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
100
101 For Debian Bug #206299:
102 * automake.in (parse_arguments): Ignore --no-force.
103 * automake.texi (Invoking Automake): Document this.
104 * tests/distcom6.test: New file. Report from Scott James Remnant.
105 * tests/Makefile.am (TESTS): Add distcom6.test.
106
1072003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
108
109 Fix for PR automake/399:
110 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
111 Report from Per Cederqvist.
112
1132003-08-10 Jim Meyering <jim@meyering.net>
114
115 * lib/depcomp: Adjust comment to match code.
116 * lib/mkinstalldirs: Revert yesterday's change; reasons here:
117 http://mail.gnu.org/archive/html/automake-patches/2003-08/msg00042.html
118
1192003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
120
121 Revert the fix for PR automake/291:
122 * automake.in (macro_define): Do not warn about variables
123 starting with `_' which are an issue on NEWS-OS 4.2R. According
124 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
125 was released on 1996 and is not in wide use. On the other hand,
126 variables starting with `_' are mandatory in several situations,
127 so diagnosing them is more annoying than useful.
128 * tests/canon5.test: Do not use -Wno-portability.
129 * tests/vars2.test: Delete.
130 * tests/Makefile.am (TESTS): Remove vars2.test.
131 Suggested by Jim Meyering.
132
1332003-08-09 Jim Meyering <jim@meyering.net>
134
135 * lib/mkinstalldirs: Remove each sequence of spaces before a
136 TAB character.
137 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
138
1392003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
140
141 * tests/ltcond.test: Thinko.
142
1432003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
144
145 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
146
147 * automake.in (handle_texinfo_helper): Use the user definition
148 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
149 * tests/txinfo22.test: New file.
150 * tests/Makefile.am (TESTS): Add txinfo22.test.
151 Report from Tom Tromey.
152
1532003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
154
155 * lib/depcomp (aix): Support AIX Compiler version 6.
156
1572003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
158
159 * automake.texi (A Shared Library): Rewrite and split into
160 subsections. Valuable comments from Norman Gray, Harlan Stenn,
161 Tim Van Holder, and Guido Draheim.
162 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
163 * tests/Makefile.am (TESTS): Add them.
164
1652003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
166
167 * automake.in (handle_single_transform_list): Complain about
168 foo.$(OBJEXT) being created both with libtool and without, not
169 about foo.lo.
170 Report from Tim Van Holder.
171
1722003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
173
174 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
175 symlink-tree.
176 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
177 upstream versions.
178
1792003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
180
181 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
182 avoid the use of tar.
183
1842003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
185
186 * tests/gnuwarn2.test: Typo.
187
188 * tests/insthook.test: Use $MAKE, not make.
189
190 Fix missing rebuilds during `make dist' with BSD make.
191 * automake.in (generate_makefile): Do not push Makefile.in, and
192 Makefile.am into DIST_COMMON here.
193 * lib/am/configure.am (DIST_COMMON): Do it here, and use
194 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
195 actually match the targets. Prefix `configure' with `$(srcdir)/'
196 to match the target.
197 * tests/remake4.test: New file.
198 * tests/Makefile.am (TESTS): Add remake4.test.
199 Report from Akim Demaille.
200
2012003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
202
203 * automake.in (handle_multilib): Register all-multi.
204 (file_contents_internal): Insert \n when concatenating actions
205 from "factored" rules.
206 * lib/config-ml.in: New file, from GCC, including a patch
207 from Ralf Corsepius (see GCC's PR 11526).
208 * lib/symlink-tree.in: New file, from GCC.
209 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
210 symlink-tree.
211 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
212 (distclean, maintainer-clean): ... do it here.
213 * lib/am/depend.am (distclean-depend): Likewise, replace by
214 (distclean, maintainer-clean): ... these.
215 * lib/am/multilib.am (all-recursive, install-recursive,
216 mostlyclean-recursive, clean-recursive, distclean-recursive,
217 maintainer-clean-recursive): Remove these rules.
218 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
219 by ...
220 (mostlyclean, clean, distclean, maintainer-clean): ... these.
221 (all-am): Remove, done in handle_multilib.
222 (install-am): Replace by ...
223 (install-exec-am): ... this.
224 * tests/Makefile.am (TESTS): Add multlib.test.
225 * tests/multlib.test: New file, based on a test case by
226 Ralf Corsepius
227
2282003-07-23 Tom Tromey <tromey@redhat.com>
229
230 * lib/missing (autom4te): Typo.
231
2322003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
233
234 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
235 render $seen_multilib functional again.
236
2372003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
238
239 * configure.in: Bump version to 1.7.6a.
240
241 * configure.in, NEWS: Bump version to 1.7.6.
242
243 * automake.in (macro_define): Make clear the diagnostic about
244 variable names starting with `_' is about *Make* variables.
245
246 For Debian Bug #193907:
247 * automake.texi (Clean): make maintainer-clean should still
248 allow ./configure && make to run.
249
250 * automake.texi (CVS): Typo.
251
2522003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
253
254 * configure.in: Bump vesion to 1.7.5c.
255
256 * configure.ac: Bump vesion to 1.7.5b.
257 * NEWS: Update for 1.7.5b.
258
259 * lib/config.guess, lib/config.sub: New upstream version.
260
2612003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
262
263 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
264 are automatically distributed.
265
266 * tests/stamph.test, tests/package.test: Delete.
267 * tests/Makefile.am (TESTS): Remove them, and do not list
268 aclocal.test and aclocal2.test twice.
269
270 * lib/depcomp (icc): Update to grok ICC 7.1's output.
271 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
272 in a subdirectory, and with many dependencies. This
273 catches more failures of depcomp.
274 Reports from Ralf Wildenhues and Akim Demaille.
275
2762003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
277
278 * automake.in (scan_autoconf_traces): Check the expected
279 number of arguments of each traced macro.
280 * tests/conff2.test: New files.
281 * tests/Makefile.am (TESTS): Add conff2.test.
282 Report from Paolo Bonzini.
283
2842003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
285
286 * lib/am/configure.am (maintainer-clean): Remove
287 $(top_srcdir)/autom4te.cache, not autom4te.cache.
288
2892003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
290
291 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
292 POSIXLY_CORRECT=1.
293
2942003-06-13 Paul Eggert <eggert@twinsun.com>
295
296 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
297 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
298 Bug reported by Bernard Giroud in:
299 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
300
3012003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
302
303 * automake.in (check_gnu_standards): Use no-installman and
304 no-installinfo's locations.
305 (process_option_list): Fill %options with locations.
306 (check_cygnus) Fill $options{'no-installinfo'} and
307 $options{'no-dependencies'} with $cygnus_mode, so that it
308 remains a Location.
309 * tests/gnuwarn2.test: New file.
310 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
311
3122003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
313
314 * automake.in (process_option_list): Record the location
315 of ansi2knr's definition.
316 (handle_compile): Use it.
317 * tests/ansi3.test: Make sure the location appears correctly.
318 Update to use set -e.
319 * tests/ansi3b.test: New file.
320 * tests/Makefile.am (TESTS): Add ansi3b.test.
321
322 * tests/alpha.test: Really run $MAKE. Augment to test
323 subdirectories, and check-news report.
324 * tests/alpha2.test: New file. Bug report from Akim Demaille.
325 * tests/gnits2.test: Make sure README-alpha is not distributed.
326 * tests/Makefile.am (TESTS): Add alpha2.test.
327 * automake.in (handle_minor_options): Distribute README-alpha
328 using push_dist_common, not require_file_with_macro.
329
3302003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
331
332 * tests/dejagnu7.test: Check if runtest supports --status.
333
3342003-05-22 Karl Berry <karl@gnu.org>
335
336 * automake.texi: Update @dircategory to match the Free Software
337 Directory. End directory entries with dots.
338
3392003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
340
341 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
342 * lib/elisp-comp: s/François/Franc,ois/.
343 Suggested by Paul Eggert.
344
3452003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
346
347 * configure.in: Bump version to 1.7.5a.
348
349 * configure.in: Bump version to 1.7.5.
350 * NEWS: Update for release.
351 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
352 versions.
353
3542003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
355
356 * automake.texi: Fix some typos.
357
358 * lib/am/install.am (install, install-exec, install-data, uninstall):
359 Declare conditionally using a if/else/endif block instead of
360 using ?SUBDIRS?-style conditions. The latter fail when
361 %maybe_BUILT_SOURCES% is replaced by several lines.
362 This fixes a bug introduced on 2003-04-06.
363 * tests/bsource.test: New file.
364 * tests/Makefile.am (TESTS): Add bsource.test.
365 Reported by Bruno Haible.
366
3672003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
368
369 * automake.texi (renamed objects): New node.
370 (Program and Library Variables): Move maude_DEPENDENCIES closer
371 to maude_LDADD. Define and use `per-target compilation flags' in the
372 explanation for maude_CFLAGS et al. Link to the `renamed objects'
373 node. Illustrate maude_SHORTNAME.
374
3752003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
376
377 * lib/install-sh: Update copyright notice and license to that of
378 X11R6. This removes an advertising clause reported as Debian bug
379 #191717.
380
3812003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
382
383 * m4/make.m4: Rename the doit target as am__doit,
384 and make it phony.
385 Reported by Philip S Tellis.
386
3872003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
388
389 * automake.texi (Requirements): Typo in index
390 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
391
392 * configure.in: Bump version to 1.7.4a.
393
394 * configure.in, NEWS: Bump version to 1.7.4.
395
396 * lib/texinfo.tex: New upstream version.
397
3982003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
399
400 Fix for PR automake/389:
401 * automake.in (handle_configure): Don't put $colon_infile in
402 CONFIG-MAKEFILE.
403 * tests/conff.test: New file.
404 * tests/Makefile.am (TESTS): Add conff.test.
405 Reported by Alexander Turbov.
406
4072003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
408
409 * configure.in: Bump version to 1.7.3c.
410
411 * tests/defs.in: Handle required=etags to work around
412 Exuberant Ctags.
413
414 * configure.in: Bump version to 1.7.3b.
415
416 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
417 versions.
418
419 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
420 Distribute dejagnu test cases, so that distcheck actually runs them.
421
4222003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
423
424 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
425 because we set that by invoking runtest with --tool.
426 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
427 dejagnu6.test, dejagnu7.test.
428 * tests/dejagnu4.test: New test.
429 * tests/dejagnu5.test: New test.
430 * tests/dejagnu6.test: New test.
431 * tests/dejagnu7.test: New test.
432
433 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
434
4352003-04-18 Jim Meyering <jim@meyering.net>
436
437 * automake.in (variable_output): Fix typo in comment s/is/if/.
438
4392003-04-17 Jim Meyering <jim@meyering.net>
440
441 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT% aka .y.c): Don't redirect
442 directly to $@. Instead, redirect to $@t and rename upon success.
443 Also, move the commands that update $@ so they are last. Otherwise,
444 this rule could leave the user with an up to date target (.c file)
445 but with a missing or corrupted corresponding .h file.
446 Add (C) and `2002' to Copyright line, at Alexandre's request.
447
4482003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
449
450 * tests/defs.in: Handle required=runtest, to detect runtest
451 from DejaGnu.
452 * tests/Makefile.am (TESTS): Add dejagnu3.test.
453 * tests/dejagnu3.test: New test.
454
4552003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
456
457 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
458 these rules, so that we don't confuse users by echoing
459 "echo ERROR:..." commands which are not run.
460
4612003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
462
463 * automake.in (scan_autoconf_files): Augment the error message
464 about AM_INIT_AUTOMAKE not found.
465 Suggested by Bruno Haible.
466
4672003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
468
469 * NEWS: Summarize recent fixes.
470
4712003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
472
473 * automake.texi (Public macros): Clarify that the new
474 AM_INIT_AUTOMAKE variant is preferred, and the old one
475 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
476 (Hello): Caution that the example uses the deprecated
477 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
478
4792003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
480
481 * automake.in (handle_installdirs): Rename as ...
482 (handle_install): ... this. Define maybe_BUILT_SOURCES.
483 (generate_makefile): Adjust call to handle_install.
484 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
485 * automake.texi (Sources, Built sources example): BUILT_SOURCES
486 is honored by `make install' too.
487 * tests/check3.test: Make sure that `make install' also depends
488 upon BUILT_SOURCES.
489 Report from Alexander Turbov.
490
4912003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
492
493 * automake.in (check_trailing_slash): New function (variation on
494 a patch by Peter Muir). Diagnose whitespaces following trailing
495 backslash.
496 (read_am_file): Use it.
497 * tests/backsl4.test: New file.
498 * tests/Makefile.am (TESTS): Add backsl4.test.
499 Reported by Peter Muir.
500
5012003-03-29 Raja R Harinath <harinath@cs.umn.edu>
502
503 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
504 that timestamp will change.
505
5062003-03-23 Akim Demaille <akim@epita.fr>
507 Alexandre Duret-Lutz <adl@gnu.org>
508
509 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
510 when supported by etags (Exuberant Ctags).
511 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
512
5132003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
514
515 For Debian Bug #185388:
516 * automake.texi (Extending): Augment the install-exec-hook
517 discussion with an example how to symlink a versioned binary.
518 * tests/insthook.test: Rewrite to test the above example.
519 Report from James R. Van Zandt.
520
5212003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
522
523 * tests/aclocal4.test: Require GNU make.
524
5252003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
526
527 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
528 * tests/Makefile.am (TESTS): Add aclocal4.test.
529
5302003-03-14 Jim Meyering <jim@meyering.net>
531
532 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
533 subdirectories. Makefile.in depends on that variable.
534
5352003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
536
537 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
538
539 Fix for PR automake/386:
540 * tests/ansi10.test: Require Autoconf 2.55. Skip the test otherwise.
541 Reported by Owen Taylor.
542
543 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
544 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
545 Suggested by Matthias Andree.
546
547 * tests/README: Typo.
548
5492003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
550
551 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
552 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
553 pretend otherwise.
554 Reported by Rafael Laboissiere.
555
5562003-03-04 Andreas Buening <andreas.buening@nexgo.de>
557
558 * lib/mdate-sh: Find out which column of the ls -l output contains
559 the month. Do not assume it is at least the fifth column.
560
5612003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
562
563 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
564
565 * automake.in (handle_emacs_lisp): Don't build *.elc files
566 if ELCFILES was set empty.
567 * tests/lisp4.test: New file.
568 * tests/Makefile.am (TESTS): Add lisp4.test.
569 Reported by Simon Josefsson.
570
571 * tests/lex3.test, tests/lex5.test: Require flex.
572 Reported by Leo Davis.
573
5742003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
575
576 * automake.in (read_am_file): Catch trailing backslashes on last line.
577 * tests/backsl3.test: New file.
578 * tests/Makefile.am (TESTS): Add backsl3.test.
579 Reported by Akim Demaille.
580
5812003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
582
583 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
584 (distcleancheck): Fix typos and other errors reported by Karl
585 Berry.
586
5872003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
588
589 * configure.in: Bump version to 1.7.3a.
590
591 * configure.in, NEWS: Bump version to 1.7.3.
592
593 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
594 instead of ${...}.
595
596 * tests/defs.in: Handle required=ro-dir.
597 * tests/destdir.test: Use this.
598
5992003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
600
601 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
602 from dc_install_base.
603
6042003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
605
606 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
607 DJGPP-style *.iNN info files.
608 (maintainer-clean-aminfo): Rewrite using the same pattern
609 as in uninstall-info-am.
610 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
611 DJGPP-style *.iNN info files before running $(MAKEINFO).
612 * tests/txinfo19.test: New file.
613 * tests/Makefile.am (TESTS): Add txinfo19.test.
614
6152003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
616
617 * lib/depcomp (dashmstdout): Cope with DOS filenames in
618 dependencies.
619
6202003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
621
622 * lib/depcomp (makedepend): Don't pass $object to makedepend.
623 Reported by Stepan Kasal.
624
6252003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
626
627 * configure.in: Bump version to 1.7.2c.
628
629 * tests/defs.in: Handle required=makedepend.
630
631 * configure.in, NEWS: Bump version to 1.7.2b.
632
633 * Makefile.am (maintainer-check): Update the diff check
634 to account for the recent @SHELL@ substitution.
635
6362003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
637
638 * lib/depcomp: Do not put comments on the `icc)' line.
639
640 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
641 versions.
642
643 Fix for PR automake/381:
644 * automake.in (handle_gettext): Do not print diagnostics
645 about po/ and intl/ missing from SUBDIRS if po/ does not
646 exist. Warn if `SUBDIRS = intl' is used although libintl
647 is 'external'.
648 * tests/gettext.test: Make sure diagnostics are not output
649 when po/ does not exist.
650 * tests/gettext2.test: Test for unwanted intl/.
651 PR from Alexander Turbov, fix suggested by Bruno Haible.
652
653 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
654 ignored options.
655 * lib/depcomp (icc): New mode.
656 * tests/depcomp5.test: New file.
657 * tests/defs.in: Handle required=icc.
658 * tests/Makefile.am (TESTS): Add it.
659
660 Temporary hack for PR automake/381:
661 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
662 into -Wsyntax warnings.
663
6642003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
665
666 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
667 This makes the setting of SHELL work for DJGPP.
668
6692003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
670
671 For PR automake/385:
672 * lib/depcomp (makedepend): Strip any libtool call, before
673 running makedepends.
674 * tests/depcomp4.test: New file.
675 * tests/Makefile.am (TESTS): Add it.
676 Reported by Jeff Squyres.
677
678 Related to PR automake/385:
679 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
680 write dependencies to /dev/null. `-o /dev/null' was added
681 on 2002-06-13 just because I tried to replace `-o foo.o' by something
682 else and didn't thought about removing it entirely.
683 * tests/depcomp3.test: New file.
684 * tests/Makefile.am (TESTS): Add it.
685
686 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
687 SHELL for DJGPP.
688 Suggested by Richard Dawe.
689
6902003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
691
692 * NEWS: Summarize recent changes.
693
694 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
695 (distcleancheck): New nodes.
696
6972003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
698
699 * automake.in (scan_autoconf_files): Don't complain that
700 AM_INIT_AUTOMAKE comes from an old version if it was not found.
701
7022003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
703
704 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
705 indexes of header files so we create stamp files with
706 the right numbers when config.status is run on some headers.
707 * tests/stamph2.test: Check for this.
708 Reported by Sander Niemeijer.
709
7102003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
711
712 For Debian Bug #39542:
713 * automake.texi (Invoking Automake, Optional): Document how
714 AC_CONFIG_AUX_DIR interacts with missing files.
715
7162003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
717
718 * automake.texi (Program and Library Variables): Clarify that
719 _LIBADD is for libraries and _LDADD for programs.
720
7212003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
722
723 * automake.texi (Python): Explain that directory variables start
724 with either ${prefix} or ${exec_prefix}, and point to the
725 `Installation Directory Variables' section of the Autoconf manual.
726
7272003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
728
729 * automake.texi (Dist): Reorder the dist-hook section, and
730 move the DIST_SUBDIRS paragraph earlier.
731
7322003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
733
734 * tests/README: New file.
735
736 * automake.texi (Conditional Programs): Show a sample Makefile.am.
737 Remind $(EXEEXT) must be appended to configure substitutions.
738 Show how Automake conditionals can be used instead.
739 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
740 appended to conditionally defined programs.
741
7422003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
743
744 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
745 python2.3.
746
747 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
748 or `pyexecdir', for the sake of 64-bit distributions that usually
749 use lib64/ instead of lib/. Fall back to the default directory
750 if it doesn't work.
751 Suggested by Gwenole Beauchesne.
752
7532003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
754
755 For PR automake/382:
756 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
757 Explain BUILT_SOURCES is usually needed in this case.
758 Reported by William S Fulton.
759
7602003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
761
762 Rename some files for the sake of 8+3 file systems.
763 * tests/aclocali.test: Rename to tests/aclocal.test.
764 * tests/aclocali1.test: Rename to tests/aclocal2.test.
765 * tests/aclocalii.test: Rename to tests/aclocal3.test.
766 * tests/acoutput.test: Rename to tests/acoutpt.test.
767 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
768 * tests/acouttbs.test: Rename to tests/acoutbs.test.
769 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
770 * tests/autoheader.test: Rename to tests/autohdr.test.
771 * tests/autoheader2.test: Rename to tests/autohdr2.test.
772 * tests/condincl.test: Rename to tests/condinc.test.
773 * tests/condincl2.test: Rename to tests/condinc2.test.
774 * tests/distcommon.test: Rename to tests/distcom.test.
775 * tests/distcommon2.test: Rename to tests/distcom2.test.
776 * tests/distcommon3.test: Rename to tests/distcom3.test.
777 * tests/installsh.test: Rename to tests/instsh.test.
778 * tests/installsh2.test: Rename to tests/instsh2.test.
779 * tests/instdata.test: Rename to tests/instdat.test.
780 * tests/instdata2.test: Rename to tests/instdat2.test.
781 * tests/libobj12b.test: Rename to tests/libobj13.test.
782 * tests/link_f_c.test: Rename to tests/link_fc.test.
783 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
784 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
785 * tests/nodefine.test: Rename to tests/nodef.test.
786 * tests/nodefine2.test: Rename to tests/nodef2.test.
787 * tests/required.test: Rename to tests/reqd.test.
788 * tests/required2.test: Rename to tests/reqd2.test.
789 * tests/sourcesub.test: Rename to tests/srcsub.test.
790 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
791 * tests/specflags.test: Rename to tests/specflg.test.
792 * tests/specflags2.test: Rename to tests/specflg2.test.
793 * tests/specflags3.test: Rename to tests/specflg3.test.
794 * tests/specflags6.test: Rename to tests/specflg6.test.
795 * tests/specflags7.test: Rename to tests/specflg7.test.
796 * tests/specflags8.test: Rename to tests/specflg8.test.
797 * tests/specflags9.test: Rename to tests/specflg9.test.
798 * tests/subdircond.test: Rename to tests/subcond.test.
799 * tests/subdircond2.test: Rename to tests/subcond2.test.
800 * tests/subdircond3.test: Rename to tests/subcond3.test.
801 * tests/texinfo.test: Rename to tests/txinfo.test.
802 * tests/texinfo2.test: Rename to tests/txinfo2.test.
803 * tests/texinfo3.test: Rename to tests/txinfo3.test.
804 * tests/texinfo4.test: Rename to tests/txinfo4.test.
805 * tests/texinfo5.test: Rename to tests/txinfo5.test.
806 * tests/texinfo6.test: Rename to tests/txinfo6.test.
807 * tests/texinfo7.test: Rename to tests/txinfo7.test.
808 * tests/texinfo8.test: Rename to tests/txinfo8.test.
809 * tests/texinfo9.test: Rename to tests/txinfo9.test.
810 * tests/texinfo10.test: Rename to tests/txinfo10.test.
811 * tests/texinfo13.test: Rename to tests/txinfo13.test.
812 * tests/texinfo16.test: Rename to tests/txinfo16.test.
813 * tests/texinfo17.test: Rename to tests/txinfo17.test.
814 * tests/texinfo18.test: Rename to tests/txinfo18.test.
815 * tests/Makefile.am (TESTS): Adjust.
816 * ChangeLog.1996: Rename to ChangeLog.96.
817 * ChangeLog.1998: Rename to ChangeLog.98.
818 * ChangeLog.2000: Rename to ChangeLog.00.
819 * ChangeLog.2001: Rename to ChangeLog.01.
820 * Makefile.am (EXTRA_DIST): Adjust.
821 Reported by Richard Dawe.
822
8232003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
824
825 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
826 Use '_build' and '_inst' instead of '=build' and '=inst'.
827 * tests/man2.test: Reflect change automake: check for files in
828 '_build' and '_inst' directories instead of '=build' and '=inst'.
829
8302003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
831
832 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
833 * m4/lead-dot.m4: New file.
834 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
835 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
836 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
837 DEPDIR using am__leading_dot.
838 * automake.in (require_build_directory): Define am__dirstamp, a new
839 variable for the dirstamp basename, based on am__leading_dot.
840 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
841 use $(am__dirstamp).
842 Reported by Richard Dawe.
843
844 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
845 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
846 testing for programs.
847 Reported by Richard Dawe.
848
8492003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
850
851 * Makefile.am (maintainer-check): Suggest using $sleep instead of
852 sleep 2.
853 * tests/defs.in (sleep): New variable.
854 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
855 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
856 Use $sleep instead of sleep 2, to work around timestamp
857 inconsistencies in Windows.
858 Reported by Richard Dawe.
859
860 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
861 after $MAKE -e.
862 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
863 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
864 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
865 $SHELL is overridden by tests/defs, so it won't hurt even
866 if $MAKE -e uses the $SHELL envvar.
867 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
868 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
869 Reported by Richard Dawe.
870
871 Build elisp files all at once instead of one by one.
872 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
873 elc-stamp to all's dependencies.
874 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
875 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
876 (clean-lisp): Clean elc-stamp.
877 * lib/elisp-comp: Reindent. Erase the temporatry directory
878 from a trap. Propagate Emacs's exit status.
879 * tests/lisp3.test: New file.
880 * tests/Makefile.am (TESTS): Add lisp3.test.
881 Reported by Ryan T. Sammartino.
882
8832003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
884
885 * automake.in (macro_define): Add missing `{$cond}' (typo from
886 2002-09-18).
887 ($gen_copyright): Append year 2003.
888 (version): Increase year.
889
890 * tests/defs.in: Substitute aclocaldir instead of running
891 the installed aclocal. Otherwise Libtool and Gettext
892 tests get skipped when aclocal doesn't preexist.
893 Reported by Imacat.
894 * tests/listval.test, tests/suffix2.test: Remove pointless -I
895 argument to aclocal.
896
8972002-12-31 Alexandre Duret-Lutz <adl@gnu.org>
898
899 * automake.in (err): Rename as ...
900 (error): ... this. Adjust all callers.
901 Suggested by H.Merijn Brand.
902
9032002-12-11 Brian Ford <ford@vss.fsi.com>
904
905 * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME
906 and AC_PACKAGE_VERSION.
907
9082002-12-11 Alexandre Duret-Lutz <adl@gnu.org>
909
910 * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ
911 no longer have to be rewritten in order to support deansification.
912 (Tests): Link to the DejaGnu manual.
913 (Optional): Comment out FIXME.
914 (Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA)
915 instead of @LIBOBJ@ and @ALLOCA@.
916 (Sources): Typo.
917
9182002-12-05 Alexandre Duret-Lutz <adl@gnu.org>
919
920 * configure.in: Bump version to 1.7.2a.
921
922 * configure.in, NEWS: Bump version to 1.7.2.
923
924 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip
925 directories from info filenames.
926 * tests/texinfo13.test: Make sure main.info gets installed
927 as $(infodir)/main.info.
928
929 * automake.in (handle_dist): Do not define %GETTEXT% if the user
930 is using $seen_gettext_external, this distcheck won't run
931 `./configure' with a meaningless `--with-included-gettext'.
932 * tests/gettext.test: Make sure distcheck uses --with-included-gettext.
933 * tests/gettext2.test: Make sure distcheck does not use
934 --with-included-gettext.
935
936 * automake.texi (Public macros) <AM_PROG_CC_STDC>: Explain this
937 macro is obsolete, and that users should
938 s/am_cv_prog_cc_stdc/ac_cv_prog_cc_stdc/ their configure.ac.
939
9402002-12-04 Alexandre Duret-Lutz <adl@gnu.org>
941
942 * automake.in (handle_languages): Test $objdir, not $srcdir, to
943 decide whether a _.c file is in a subdirectory and has to be
944 cleaned separately.
945 Reported by Kevin Ryde.
946
947 * automake.texi (Options): Some English nits from Eric Siegerman.
948 (Sources): Rewrite the introduction and move the example to ...
949 (Built sources example): ... this separate node.
950
951 * tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure
952 not in the environment. Otherwise the test will fail when
953 run with ksh and VERBOSE=x.
954 Reported by Paul Jarc.
955
956 * tests/man2.test: Exercize `make uninstall', to test
957 the previous change.
958
9592002-12-03 Nicolas Joly <njoly@pasteur.fr>
960
961 * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
962 the man pages being uninstalled, if needed.
963
9642002-12-03 Alexandre Duret-Lutz <adl@gnu.org>
965
966 * automake.in (macro_define): Do not strip escaped new lines
967 in Automake's +='ed variables. We don't know whether it will
968 be pretty printed or not at this point.
969 (variable_pretty_output): Do this here.
970 * tests/pluseq10.test: New file.
971 * tests/Makefile.am (TESTS): Add pluseq10.test.
972 Reported by Ralf Corsepius.
973
9742002-12-02 Charles Wilson <cwilson@ece.gatech.edu>
975
976 * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
977 Append $(EXEEXT) again.
978
9792002-12-02 Alexandre Duret-Lutz <adl@gnu.org>
980
981 * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an
982 example.
983
984 * automake.texi (Options): Programs listed in
985 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended.
986 * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
987 Append $(EXEEXT).
988 Reported by Charles Wilson.
989
9902002-12-01 Alexandre Duret-Lutz <adl@gnu.org>
991
992 * configure.in, NEWS: Bump version to 1.7.1c.
993
994 * configure.in, NEWS: Bump version to 1.7.1b.
995
996 * automake.in (lang_c_finish): Do not fill de_ansi_files with
997 subdirectory informations for %libsources files. A LIBOBJS source
998 is always in the current directory. This reverts part of a change
999 from 2002-01-13.
1000 * tests/ansi10.test: New file.
1001 * tests/Makefile.am (TESTS): Add ansi10.test.
1002
1003 * automake.in (do_check_merge_target): Add missing space.
1004
1005 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1006 versions.
1007
1008 * configure.in: Do not use missing while checking for Autoconf's
1009 version, otherwise we won't notice that Autoconf isn't installed.
1010 Augment the error message with a few questions to help users.
1011
10122002-11-30 Alexandre Duret-Lutz <adl@gnu.org>
1013
1014 * tests/gnits2.test, tests/gnits3.test: Move the greps inside the
1015 Makefile, so we can honor $(EXEEXT). Otherwise these tests
1016 fail under Cygwin.
1017 Reported by Charles Wilson.
1018
1019 * NEWS: Summarize recent fixes.
1020
1021 For PR automake/375 (Debian Bug #168671):
1022 * automake.in (scan_texinfo_file): Erase all known index files, no
1023 matter whether they are used at the top-level or not, because we
1024 can never know if they are used in included files. The remaining
1025 macros we recognize at the top-level of a Texi document are
1026 @defindex, @defcodeindex, @synindex, and @syncodeindex.
1027 * tests/texinfo18.test: New file.
1028 * tests/Makefile.am (TESTS): Add texinfo18.test.
1029 Reported by Simon Richter.
1030
1031 * automake.in (scan_texinfo_file): Honor only the first @setfilename.
1032 * tests/texinfo17.test: New file.
1033 * tests/Makefile.am (TESTS): Add texinfo17.test.
1034 Reported by Karl Berry.
1035
1036 For PR automake/357:
1037 * automake.in (require_file_internal): Don't complain a file is "not
1038 found" when it is a target. Make sure "not found" files are otherwise
1039 reported as error (they were reported as 'note').
1040 * tests/distcommon3.test: Augment to test the above.
1041 * tests/libobj12b.test: Touch ltmain.sh.
1042 * tests/required2.test: Make sure Automake fails because ltmain.sh
1043 has been removed.
1044 Reported by Ronald Landheer.
1045
1046 * tests/texinfo3.test: Make sure we don't output single suffix
1047 inference rules when building `.info'-less Info files (this
1048 confuses Solaris make). Run distcheck to make sure the rules
1049 work.
1050 * automake.in (output_texinfo_build_rules): Define GENERIC_INFO
1051 and SOURCE_INFO.
1052 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%,
1053 %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO.
1054
10552002-11-29 Jim Meyering <jim@meyering.net>
1056
1057 * automake.texi: Fix some typos and a grammar nit.
1058
1059 * lib/install-sh: Put `$0:' at the beginning of each diagnostic,
1060 not `install:'.
1061
10622002-11-29 Alexandre Duret-Lutz <adl@gnu.org>
1063
1064 For PR automake/359:
1065 * automake.in (do_check_merge_target): Make `check' dependent on
1066 $(BUILT_SOURCES) if the variable is defined. Run `check-am' or
1067 `check-recursive' in a submake in this case.
1068 * tests/check2.test, tests/check3.test: New files.
1069 * tests/check.test: Make sure `check' depends on `check-am'.
1070 * tests/Makefile.am (TESTS): Add check2.test and check3.test.
1071
1072 For PR automake/371 and PR automake/372:
1073 * automake.in (rule_define): Honor inference rules with multiple
1074 targets, and warn when they are used.
1075 * tests/suffix11.test: New file.
1076 * tests/Makefile.am (TESTS): Add suffix11.test.
1077 Reported by Duncan Gibson.
1078
10792002-11-28 Alexandre Duret-Lutz <adl@gnu.org>
1080
1081 For PR automake/370:
1082 * automake.in (handle_languages): Don't prepend $U to $myext
1083 since handle_single_transform_list now appends it to $obj.
1084 Process the rule twice to handle deansified files in subdirectories.
1085 Mark _.c files in subdirectories for cleaning.
1086 (handle_single_transform_list): Append $U to $obj_sans_ext if
1087 needed: before this dependencies were output foo.Po instead
1088 of foo$U.Po. Don't output explicit dependencies for renamed
1089 objects or sources in sub-directories: we already output
1090 a full compile rule for them.
1091 (lang_c_finish): Don't always use the full filename in the
1092 .c -> _.c rule. This reverts part of my change of 2002-11-21.
1093 * tests/ansi6.test, tests/ansi7.test: Make sure deansified
1094 files are created in the right directory, and cleaned.
1095 Reported by Kevin Ryde.
1096
10972002-11-21 Alexandre Duret-Lutz <adl@gnu.org>
1098
1099 * tests/texinfo13.test: Require texi2dvi-o.
1100 * tests/defs.in: Handle required=texi2dvi-o.
1101
1102 * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule.
1103
1104 * automake.in (handle_single_transform_list): Don't strip the
1105 directory from $full_ansi. This reverts my patch of 2002-10-16.
1106 (lang_c_finish): Use the full filename, including the directory,
1107 in the .c -> _.c rule. These two files must reside in the same
1108 directory.
1109 * tests/ansi6.test: Also try to compile without ansi2knr.
1110 Reported by Andreas Schwab
1111
11122002-11-14 Eric Blake <ebb9@email.byu.edu>
1113
1114 * lib/am/depend2.am: Add missing fi in c.obj rules.
1115
11162002-11-13 Alexandre Duret-Lutz <adl@gnu.org>
1117
1118 * automake.texi (Conditional Sources): Fix the `+=' example.
1119 Reported by Mike Castle.
1120
11212002-11-12 Jim Meyering <jim@meyering.net>
1122
1123 Make install-sh work even when names contain spaces or
1124 certain (but not all) shell metachars.
1125
1126 * lib/install-sh: Remove lots of unnecessary quoting.
1127 Add double quotes where necessary.
1128 Write diagnostics to stderr, not stdout.
1129 Normalize spacing in diagnostics: use one space (not two,
1130 and not a TAB) after the leading `install:'.
1131 Remove trailing white space.
1132 Remove unnecessary curly braces.
1133 If removing the destination fails, also try to move it aside.
1134 Use `trap' more portably.
1135 * tests/installsh2.test: New file, to test for the above fix.
1136 * tests/Makefile.am (TESTS): Add installsh2.test.
1137
11382002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
1139
1140 * automake.in (switch_warning): Subject Perl warnings to -Werror.
1141
1142 * automake.texi (Extending): Complete unterminated sentence.
1143 Reported by Mike Castle.
1144
11452002-10-31 Alexandre Duret-Lutz <adl@gnu.org>
1146
1147 * automake.texi (Dist): Fix the distcleancheck_listfiles example.
1148 Reported by Karl Berry.
1149
11502002-10-25 Charles Wilson <cwilson@ece.gatech.edu>
1151
1152 * tests/defs.in: Add explicit stanza for python -V.
1153
11542002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
1155
1156 * configure.in: Bump version to 1.7.1a.
1157
1158 * NEWS, configure.in: Version 1.7.1.
1159
1160 * automake.in (handle_single_transform_list): Strip directory name
1161 from $full_ansi if subdir-objects is not set.
1162
1163 * lib/texinfo.tex: New version from Texinfo 4.2b.
1164
11652002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
1166
1167 * automake.in (handle_single_transform_list) <full_ansi>: New variable.
1168 Use this to record correct dependencies about deansifiable files which
1169 are using per-program flags or are in a subdirectory.
1170 * tests/ansi9.test: New file.
1171 * tests/Makefile.am (TESTS): Add ansi9.test.
1172 Reported by Paul D. Smith
1173
11742002-10-12 Alexandre Duret-Lutz <adl@gnu.org>
1175
1176 * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is
1177 quoted, accept any character but `]'. This makes it possible
1178 to define macros such as `AC_LANG_PREPROC(Fortran 90)'.
1179 (scan_m4_files): Quote $key in the regex. Don't define $expr, it's
1180 not used.
1181 (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx
1182 and $ac_require_rx.
1183 * tests/aclocal2.test: New file.
1184 * tests/Makefile.am (TESTS): Add aclocal2.test.
1185 Reported by Tamara L. Dahlgren and Tom Epperly.
1186
11872002-10-11 Alexandre Duret-Lutz <adl@gnu.org>
1188
1189 * NEWS: Summarize recent bug fixes.
1190
1191 For Debian Bug#153697:
1192 * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and
1193 $tool.log.
1194 Suggested by Andrew Suffield.
1195
11962002-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1197
1198 For PR automake/369:
1199 * lib/am/python.am: Lookup python files in build directory or
1200 source directory.
1201 From Mathias Doreille.
1202 * tests/python3.test: New file.
1203 * tests/Makefile.am (TESTS): Add python3.test.
1204 * tests/defs: Handle `required=python'.
1205
1206 For PR automake/358:
1207 * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of
1208 configure.ac.
1209 Suggested by Thien-Thi Nguyen.
1210 * tests/vtexi.test: Adjust.
1211
12122002-10-08 Paul Eggert <eggert@twinsun.com>
1213
1214 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
1215 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output
1216 input", not "makeinfo input -o output", as the latter fails if
1217 POSIXLY_CORRECT=1.
1218 * lib/am/texinfos.am (.dvi.ps): Likewise for dvips.
1219 * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc.
1220
12212002-10-08 Alexandre Duret-Lutz <adl@gnu.org>
1222
1223 * automake.in (file_contents_internal): Fix the relationship
1224 regex flags, don't use `m'.
1225
1226 For Debian Bug#162583:
1227 * automake.in (file_contents_internal): Simplify regex to
1228 separate relationship from actions in rules.
1229 Reported by Sam Hocevar.
1230
12312002-10-01 Alexandre Duret-Lutz <adl@gnu.org>
1232
1233 * automake.in (handle_source_transform): If foo_SOURCES is defined
1234 conditionally, create and use am__foo_SOURCES_DIST for distribution.
1235 * tests/condd.test: Extend to check distributed files.
1236 * tests/substref.test: Make sure we don't use such a variable when
1237 it's not needed.
1238 Reported by Marcus Brinkmann.
1239
12402002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU>
1241
1242 * tests/defs.in: Run $MAKE --version -v.
1243 * tests/dollar.test: Abort on ./defs failure.
1244 * tests/lex5.test: Require GNUmake, not make.
1245
12462002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1247
1248 * automake.in (require_variables): The fix introduced in 2002-09-19
1249 is imcomplete. Rewrite the conditional variable definition check
1250 using &variable_not_always_defined_in_cond.
1251 * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file.
1252 * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and
1253 cond28.test.
1254 Reported by Juergen Keil.
1255
1256 * lib/am/distdir.am (distdir): Create $dc_destdir right before
1257 its use.
1258 Reported by Akim Demaille.
1259
1260 Fix for PR automake/366:
1261 * automake.in (handle_dist): Strip $(srcdir) and replace
1262 $(top_srcdir) when computing DIST_COMMON directories.
1263 * tests/include2.test: Use an obsolute $(srcdir), and check
1264 for spurious directories in $(distdir)/sub.
1265 * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir).
1266 Reported by Kevin Ryde.
1267
12682002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr>
1269
1270 * tests/exeext3.test: New file.
1271 * tests/Makefile.am (TESTS): Add exeext3.test.
1272 * automake.in (%target_name): New hash.
1273 (initialize_per_input): Reset %target_name.
1274 (rule_define): Fill %target_name, and use it to detect targets
1275 which have been registered with key X but really are X$(EXEEXT).
1276
12772002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr>
1278
1279 * lib/mkinstalldirs: Reindent using `sh-indentation: 2'.
1280 Suggested by Bruno Haible.
1281
1282 * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from
1283 Autoconf. Automake now has the master copy of install-sh and
1284 mkinstalldirs.
1285
12862002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1287
1288 * configure.in: Bump version to 1.7.0a.
1289
1290 * NEWS, configure.ac: Version 1.7.
1291
12922002-09-25 Art Haas <ahaas@neosoft.com>
1293
1294 * automake.texi (Optional, Options, Distributing, ANSI,
1295 API versioning): Spelling fixes and Texi tweaks.
1296
12972002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1298
1299 * configure.in: Check for 'tex'.
1300 * tests/defs.in: Handle required=tex using configure's result.
1301 Reported by Patrick Welche.
1302
1303 * Makefile.am (mdate-sh): Remove.
1304 * mdate-sh: Delete.
1305 Suggested by Akim Demaille.
1306
13072002-09-25 Tom Tromey <tromey@redhat.com>
1308
1309 * NEWS: Mention distuninstallcheck.
1310 * automake.texi (Dist): Document new macro and target.
1311 * lib/am/distdir.am (distuninstallcheck_listfiles): New macro.
1312 (distuninstallcheck): New target.
1313 (distcheck): Use distuninstallcheck.
1314
13152002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1316
1317 * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use
1318 AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX
1319 <sys/types.h>.
1320 * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c):
1321 Likewise.
1322
13232002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1324
1325 * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
1326 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
1327 %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
1328
13292002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1330
1331 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
1332 command.
1333
13342002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1335
1336 * automake.in (handle_single_transform_list): Revert the change
1337 from 2002-09-22. We need to erase .libs/ in the object directory
1338 in addition to the library directory.
1339
1340 * tests/target-cflags.test: Build in `build/', not `obj/' because
1341 `obj/' is special to BSD make.
1342
1343 * automake.in (read_am_file): Prefix included files with
1344 $(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes
1345 subdircond2.test, and subdircond3.test on OSF1.
1346
1347 * tests/defs.in (SHELL): Set it.
1348
1349 * lib/am/distdir.am (distcleancheck): Mention `in build directory'
1350 in error message.
1351
13522002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1353
1354 For PR automake/350:
1355 * automake.in (handle_ltlibraries): Allow a library to be installed
1356 many times in the same directory.
1357 * tests/libtool5.test, tests/libtool6.test: New files.
1358 * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test.
1359
13602002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1361
1362 * automake.in (handle_ltlibraries): Fill $libtool_clean_directories
1363 here, with directories where .la files are built...
1364 (handle_single_transform_list): ... not here with directories
1365 where .lo files are built.
1366 * tests/libtool3.test: Build a library in a subdirectory to
1367 check for this.
1368 Reported by Peter Gavin.
1369
1370 * tests/cond5.test: Give more time to automake.
1371 Reported by Art Haas.
1372
1373 * configure.in: Really check for Autoconf 2.54.
1374
1375 * automake.texi (Yacc and Lex): ylwrap is used only when there is
1376 more than one yacc or lex source file in a directory.
1377
1378 * automake.in (macro_define): Update a variable's location each
1379 time its owner is updated.
1380 * tests/gnuwarn.test: Append to CFLAGS to check for this.
1381 Reported by Harlan Stenn.
1382
13832002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1384
1385 * configure.in: Bump version to 1.6g.
1386
1387 * configure.in, NEWS: Bump version to 1.6f.
1388
1389 * Makefile.am (INSTALL): New rules.
1390
13912002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de>
1392
1393 For PR automake/363:
1394 * m4/cond.m4: Fix AC_MSG_ERROR quoting.
1395
13962002-09-19 Pavel Roskin <proski@gnu.org>
1397
1398 * tests/warnopts.test: Fix random failures by removing Autoconf
1399 cache directory when configure.in changes. Use the code and the
1400 comment from tests/asm.test.
1401
14022002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1403
1404 * automake.texi (Program and Library Variables) <maude_LIBADD>:
1405 Don't mention _LDADD for Libtool libraries.
1406 Reported by Schleicher Ralph.
1407
1408 For PR automake/361:
1409 * tests/suffix8.test: More explicit dependencies.
1410 Reported by Paul Eggert.
1411
1412 * automake.in (rule_define): Don't diagnose duplicate user rules.
1413 * tests/phony.test, tests/percent2.test: New files.
1414 * tests/Makefile.am (TESTS): Add them.
1415 Reported by Ralf Corsepius.
1416
1417 * automake.in (require_variables): Search variable definitions
1418 in any condition implied by $cond.
1419 * tests/cond25.test: New file.
1420 * tests/Makefile.am (TESTS): Add cond25.test.
1421 Reported by Pavel Roskin.
1422
1423 * tests/subobj9.test: Skip this test on configure errors.
1424 Reported by Paul Eggert.
1425
14262002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1427
1428 * configure.in: Bump version to 1.6e.
1429
1430 * configure.in, NEWS: Bump version to 1.6d.
1431 * tests/libobj12.test, tests/libobj12b.test: Include ./defs,
1432 not $srcdir/defs.
1433 * tests/suffix8.test: Typo.
1434
1435 * automake.in (check_ambiguous_conditional, rule_define): Issue
1436 syntactic warnings, not errors.
1437 (macro_define): Don't adjust the owner of a variable which is being
1438 appended in a condition different from its definition.
1439 (variable_output, variable_pretty_output): Make sure the
1440 requested condition exists.
1441
1442 For PR automake/353: fill %var_location, %var_comment,
1443 %var_type, %var_owner for each condition.
1444 * automake.in (msg_cond_var): New function.
1445 (msg_var): Use it.
1446 (generate_makefile, process_option_list, handle_languages,
1447 handle_lib_objects_cond, handle_compile, handle_libtool,
1448 handle_ltlibraries, handle_texinfo_helper, handle_tests,
1449 handle_emacs_lisp, handle_python, macro_define, macro_delete,
1450 macro_dump, variable_assert, variable_output,
1451 variable_pretty_output, read_am_file, read_main_am_file,
1452 file_contents_internal, am_primary_prefixes,
1453 require_variables_for_macro): Adjust accesses to %var_location,
1454 %var_comment, %var_type, %var_owner.
1455 (append_comments, require_file_with_macro,
1456 require_conf_file_with_macro, require_variables): Add the
1457 $cond argument.
1458 * tests/comment7.test: New file.
1459 * tests/Makefile.am (TESTS): Add comment7.test.
1460
14612002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1462
1463 For PR automake/353:
1464 * automake.in (check_ambiguous_conditional): Display locations for
1465 the two definitions of the ambiguous variable. Show the macro_dump
1466 output in --verbose only. Accept $where as a third argument,
1467 (macro_define): Pass $where.
1468
1469 * automake.in (handle_programs): Ooops. Really add LDADD
1470 objects into _DEPENDENCIES.
1471 * tests/libobj12.test: Check for it.
1472
14732002-09-17 Assar Westerlund <assar@kth.se>
1474 Alexandre Duret-Lutz <duret_g@epita.fr>
1475
1476 * automake.in (handle_programs, handle_libraries,
1477 handle_ltlibraries): Maintain $seen_libobjs on a
1478 per-program/per-library basis, instead of globally to each
1479 of these functions.
1480 * tests/libobj12.test, tests/libobj12b.test: New files.
1481 * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test.
1482
14832002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1484
1485 * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and
1486 AC_PROG_MAKE_SET.
1487
1488 * lib/config.guess, lib/config.sub, lib/INSTALL,
1489 lib/Automate/Struct.pm: New upstream version.
1490 * Makefile.am (mdate-sh): New rule.
1491 (FETCHFILES): Add Automate/Struct.pm.
1492 (fetch): Get Automate/Struct.pm.
1493 (AUTOMAKESOURCES, CLEANFILES): New macros.
1494 (EXTRA_DIST, TAGS_FILES): Use them.
1495 * install-sh, mkinstalldirs, missing: Delete.
1496
1497 * automake.in: Rename the 'unused' channel to 'syntax'.
1498 (variable_defined): Issue a warning instead of an error
1499 for variable-is-a-target conditions.
1500 * automake.texi (Invoking Automake): Rename the 'unused'
1501 channel to 'syntax'.
1502 * tests/warnopts.test: Likewise.
1503
1504 * tests/suffix8.test: Add explicit dependencies.
1505 * tests/texinfo13.test, tests/texinfo16.test: Require tex.
1506
15072002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1508
1509 * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54.
1510
1511 * automake.in (variable_defined): Thinko in $cond handling.
1512
15132002-09-15 Paul Eggert <eggert@twinsun.com>
1514
1515 * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable
1516 to Perl 5.00503.
1517
1518 * Makefile.am (maintainer-check): Don't use egrep.
1519
15202002-09-15 Tom Tromey <tromey@redhat.com>
1521
1522 * tests/subdircond3.test: Pass flags to make in environment.
1523 * tests/subdircond2.test: Pass flags to make in environment.
1524 * Makefile.am (maintainer-check): Add a new check for @...@
1525 substitutions. Updated correct number of diffs between source and
1526 build trees.
1527
1528 * configure.in (aclocal, automake): Don't create.
1529 * automake.in ($prefix): Don't define.
1530 * aclocal.in ($prefix): Don't define.
1531 * Makefile.am (do_subst): New macro.
1532 (automake): New target.
1533 (aclocal): Likewise.
1534
15352002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1536
1537 * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
1538
15392002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1540
1541 * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
1542 specflags8.test.
1543
15442002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1545
1546 * automake.texi (Building ctags and etags): Rename and adjust as ...
1547 (Building true and false): ... this.
1548 * tests/targetclash.test: New file.
1549 * tests/specflags7.test, tests/specflags8.test: Adjust to build
1550 true and false.
1551 * tests/Makefile.am (TESTS): Add targetclash.test.
1552
1553 Diagnose target clashes, for PR automake/344:
1554 * automake.in (%targets): Record conditionals for definitions.
1555 (%target_conditional): Remove (obsoleted by %targets).
1556 (%target_source, %target_owner): New hashes.
1557 (TARGET_AUTOMAKE, TARGET_USER): New constants.
1558 (initialize_per_input): Adjust to reset new variables.
1559 (err_cond_target, msg_cond_target): New functions.
1560 (msg_target): Adjust usage of %targets.
1561 (conditional_ambiguous_p): Take a list of conditional to check
1562 as a third parameter, so this can be used for other things that
1563 variables.
1564 (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
1565 (variable_defined): Restrict the target-with-same-name check
1566 to user targets.
1567 (rule_define): Add the $SOURCE argument, and take $OWNER instead
1568 of $IS_AM. Diagnose target clashes (including ambugious
1569 conditionals). Return a list of conditions where the rule should
1570 be defined instead of a boolean. Fill %target_source and
1571 %target_owner.
1572 (target_define): Use `exists', not `defined'.
1573 (read_am_file): Adjust the call to rule_define.
1574 (file_contents_internal): Add more FIXMEs. Simplify my moving
1575 and documenting the "define rules in undefined conditions" to
1576 rule_define.
1577 * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
1578 specflags8.test.
1579
15802002-09-12 Akim Demaille <akim@epita.fr>
1581
1582 * aclocal.in: Prototype all the functions.
1583 Add `(C)' to Copyrights.
1584 (&add_file): Strip the comments before checking for `AC_REQUIRE'.
1585 Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
1586
15872002-09-11 Akim Demaille <akim@epita.fr>
1588
1589 * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
1590 it was already supported when --pdf support was added.
1591
15922002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1593
1594 * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
1595 (msg): Die with backtrace if requested.
1596 * automake.in: Enable `backtrace' on the `automake' channel.
1597
1598 * automake.in (process_option_list): Mention `Automake' in
1599 version-mismatch error.
1600 Suggested by Akim Demaille.
1601
1602 * tests/Makefile.am ($(TESTS)): Replace by ...
1603 (check_SCRIPTS): ... this.
1604 Suggested by Raja R Harinath.
1605
16062002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1607
1608 * tests/Makefile.am ($(TESTS)): New, depends on defs.
1609 (BUILT_SOURCES): Remove (useless because of PR/359).
1610
1611 * m4/init.m4: Execute cygpath in a sub-shell.
1612
16132002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1614
1615 * automake.in (macro_define): Warn about `:=' assignments.
1616 * tests/colneq.test: Check for this warning.
1617
1618 * automake.texi (Include): Fragments are always distributed.
1619 * NEWS: Likewise.
1620
16212002-09-08 Andreas Buening <andreas.buening@nexgo.de>
1622
1623 Fix for automake/334:
1624 * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
1625 * m4/init.m4: New make variable CYGPATH_W.
1626
16272002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1628
1629 * configure.in: Check for EGREP and FGREP. Create tests/defs.
1630 * tests/defs: Rename as ...
1631 * tests/defs.in: ... this. Add copyright notice. Use configure's
1632 values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
1633 * tests/Makefile.am (EXTRA_DIST): Remove defs.
1634 (BUILT_SOURCES): New.
1635 * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
1636 tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
1637 tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
1638 tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
1639 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
1640 tests/all.test, tests/alpha.test, tests/amassign.test,
1641 tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
1642 tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
1643 tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
1644 tests/ar.test, tests/asm.test, tests/autoheader.test,
1645 tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
1646 tests/backsl.test, tests/backsl2.test, tests/badline.test,
1647 tests/badopt.test, tests/badprog.test, tests/block.test,
1648 tests/canon.test, tests/canon2.test, tests/canon3.test,
1649 tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
1650 tests/check.test, tests/checkall.test, tests/clean.test,
1651 tests/colneq.test, tests/colneq2.test, tests/colon.test,
1652 tests/colon2.test, tests/colon3.test, tests/colon4.test,
1653 tests/colon5.test, tests/colon6.test, tests/colon7.test,
1654 tests/comment.test, tests/comment2.test, tests/comment3.test,
1655 tests/comment4.test, tests/comment5.test, tests/comment6.test,
1656 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
1657 tests/cond11.test, tests/cond12.test, tests/cond13.test,
1658 tests/cond14.test, tests/cond15.test, tests/cond16.test,
1659 tests/cond17.test, tests/cond18.test, tests/cond19.test,
1660 tests/cond2.test, tests/cond20.test, tests/cond21.test,
1661 tests/cond22.test, tests/cond23.test, tests/cond24.test,
1662 tests/cond3.test, tests/cond4.test, tests/cond5.test,
1663 tests/cond6.test, tests/cond7.test, tests/cond8.test,
1664 tests/cond9.test, tests/condd.test, tests/condincl.test,
1665 tests/condincl2.test, tests/condlib.test, tests/condman.test,
1666 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1667 tests/confdist.test, tests/confh.test, tests/confh4.test,
1668 tests/config.test, tests/confincl.test, tests/confsub.test,
1669 tests/confvar.test, tests/confvar2.test, tests/copy.test,
1670 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
1671 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1672 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1673 tests/cygwin32.test, tests/dash.test, tests/defun.test,
1674 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1675 tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
1676 tests/depcomp2.test, tests/depdist.test, tests/depend.test,
1677 tests/depend2.test, tests/depend3.test, tests/depend4.test,
1678 tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
1679 tests/discover.test, tests/distcommon.test,
1680 tests/distcommon2.test, tests/distcommon3.test,
1681 tests/distdir.test, tests/distname.test, tests/dollar.test,
1682 tests/double.test, tests/dup2.test, tests/dup3.test,
1683 tests/else.test, tests/empty.test, tests/empty2.test,
1684 tests/empty3.test, tests/empty4.test, tests/error.test,
1685 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1686 tests/exeext2.test, tests/exsource.test, tests/ext.test,
1687 tests/ext2.test, tests/extra.test, tests/extra2.test,
1688 tests/extra3.test, tests/extra4.test, tests/extra5.test,
1689 tests/extra6.test, tests/extra7.test, tests/flibs.test,
1690 tests/fnoc.test, tests/fo.test, tests/fonly.test,
1691 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1692 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1693 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1694 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1695 tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
1696 tests/implicit.test, tests/include.test, tests/include2.test,
1697 tests/info.test, tests/insh.test, tests/insh2.test,
1698 tests/install.test, tests/install2.test, tests/installdir.test,
1699 tests/installsh.test, tests/instdata.test, tests/instdata2.test,
1700 tests/instexec.test, tests/insthook.test, tests/instman.test,
1701 tests/instman2.test, tests/interp.test, tests/interp2.test,
1702 tests/java.test, tests/java2.test, tests/javaprim.test,
1703 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1704 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1705 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1706 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1707 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1708 tests/library.test, tests/library2.test, tests/libtool.test,
1709 tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
1710 tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
1711 tests/link_f_c_cxx.test, tests/link_f_cxx.test,
1712 tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
1713 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
1714 tests/maintclean.test, tests/make.test, tests/makevars.test,
1715 tests/man.test, tests/man2.test, tests/mclean.test,
1716 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1717 tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
1718 tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
1719 tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
1720 tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
1721 tests/nolink.test, tests/nostdinc.test, tests/number.test,
1722 tests/obsolete.test, tests/order.test, tests/outdir.test,
1723 tests/output.test, tests/output2.test, tests/output3.test,
1724 tests/output4.test, tests/output5.test, tests/package.test,
1725 tests/parse.test, tests/percent.test, tests/pluseq.test,
1726 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1727 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1728 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1729 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1730 tests/pr211.test, tests/pr220.test, tests/pr224.test,
1731 tests/pr229.test, tests/pr243.test, tests/pr266.test,
1732 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1733 tests/pr300-lib.test, tests/pr300-ltlib.test,
1734 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
1735 tests/pr87.test, tests/pr9.test, tests/prefix.test,
1736 tests/primary.test, tests/primary2.test, tests/proginst.test,
1737 tests/python.test, tests/python2.test, tests/ranlib.test,
1738 tests/recurs.test, tests/recurs2.test, tests/remake.test,
1739 tests/remake2.test, tests/remake3.test, tests/req.test,
1740 tests/required.test, tests/required2.test, tests/rulepat.test,
1741 tests/scripts.test, tests/seenc.test, tests/sinclude.test,
1742 tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
1743 tests/specflags.test, tests/specflags2.test,
1744 tests/specflags3.test, tests/specflags6.test,
1745 tests/specflags7.test, tests/specflags8.test,
1746 tests/specflags9.test, tests/spell.test, tests/spell2.test,
1747 tests/spell3.test, tests/spelling.test, tests/stamph.test,
1748 tests/stamph2.test, tests/stdlib.test, tests/strip.test,
1749 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1750 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1751 tests/subdir7.test, tests/subdirbuiltsources.test,
1752 tests/subdircond.test, tests/subdircond2.test,
1753 tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
1754 tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
1755 tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
1756 tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
1757 tests/subst.test, tests/substref.test, tests/substtarg.test,
1758 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
1759 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1760 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1761 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1762 tests/symlink3.test, tests/syntax.test, tests/tags.test,
1763 tests/tagsub.test, tests/target-cflags.test, tests/target.test,
1764 tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
1765 tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
1766 tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
1767 tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
1768 tests/transform.test, tests/unused.test, tests/vars.test,
1769 tests/vars2.test, tests/vars3.test, tests/vartar.test,
1770 tests/version.test, tests/version2.test, tests/version3.test,
1771 tests/version4.test, tests/version5.test, tests/version6.test,
1772 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
1773 tests/warnopts.test, tests/werror.test, tests/whoami.test,
1774 tests/xsource.test, tests/yacc.test, tests/yacc2.test,
1775 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
1776 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
1777 tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
1778 Source ./defs instead of $srcdir/defs.
1779
17802002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1781
1782 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
1783 distributed files, to workaround Sun make VPATH munging.
1784 This fixes subdircond2.test, subdircond3.test, and subpkg.test
1785 on Solaris.
1786 * tests/extra6.test, tests/lex3.test, tests/pr87.test,
1787 tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
1788 tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
1789 Don't require GNU make.
1790
1791 * lib/am/distdir.am (distcheck): Add missing `;'.
1792
1793 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
1794 Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
1795 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
1796
17972002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1798
1799 For automake/354:
1800 * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
1801 Don't use `-o' unless necessary.
1802
18032002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1804
1805 For PR automake/343:
1806 * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
1807 and pdf.
1808 (output_texinfo_build_rules): Define %DIRSTAMP% when processing
1809 texibuild.am. Return $dirstamp and a list of files to clean.
1810 (handle_texinfo_helper): Process texi-vers.am after the call to
1811 output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
1812 * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
1813 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
1814 (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
1815 * tests/texinfo13.test: New file.
1816 * tests/Makefile.am (TESTS): Add texinfo13.test.
1817 * lib/am/texinfos.am (install-info-am, dist-info): Looks for
1818 info files in build or source directory.
1819 This completes the change from 2002-07-30 (for PR automake/168).
1820
18212002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1822
1823 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
1824 (maintainer_clean_files): Replace by ...
1825 (clean_files): ... this new variable.
1826 (initialize_per_input, lang_yacc_target_hook,
1827 lang_lex_target_hook): Use %clean_files instead of
1828 @maintainer_clean_files.
1829 (handle_clean): Rewrite, using %clean_files.
1830 (require_build_directory_maybe): Use %clean_files instead
1831 of %compile_clean_files. This allows using
1832 &require_build_directory_maybe for non-compiling targets.
1833 * lib/am/clean.am (mostlyclean-generic, clean-generic,
1834 distclean-generic, maintainer-clean-generic): Rewrite using
1835 %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
1836 %MAINTAINER_CLEAN_RMS%.
1837
1838 For Debian Bug#157778:
1839 * m4/python.m4: Fix output of `python' in checking messages
1840 when no version of Python is required.
1841
18422002-08-23 Raja R Harinath <harinath@cs.umn.edu>
1843
1844 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
1845 was generated by gcc -MF.
1846
18472002-08-23 Pavel Roskin <proski@gnu.org>
1848
1849 * lib/am/progs.am: Exit in case of install failure, otherwise
1850 it is ignored on Cygwin because of the surrounding "for" loop.
1851
18522002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1853
1854 * automake.texi (Top level): More words about conditional
1855 subdirectories. Don't mention AC_PROG_MAKE_SET.
1856 * tests/subdircond2.test, tests/subdircond3.test: New files.
1857 * tests/Makefile.am (TESTS): Add them.
1858
1859 For PR automake/347:
1860 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
1861 (scan_variable_expansions, check_variable_expansions): New functions.
1862 (macro_define): Call check_variable_expansions.
1863 (read_am_file): Likewise, when outputing rules.
1864 (variable_conditions_recursive_sub): Simplify using
1865 scan_variable_expansions.
1866 * tests/vars3.test: New file.
1867 * tests/Makefile.am (TESTS): Add vars3.test.
1868 * tests/colneq.test: Use -Wno-portability.
1869
1870 * lib/Automake/Channels.pm (buffering, backlog): New variables.
1871 (buffer_messages, flush_messages): New functions.
1872 (@EXPORT): Add buffer_messages and flush_messages.
1873 * automake.in (generate_makefile): Call buffer_messages and
1874 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
1875 been read.
1876
1877 * automake.in (read_am_file): Fix computation of path to
1878 included file when $(top_srcdir) is not used.
1879 * tests/include2.test: Augment.
1880
18812002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1882
1883 * automake.in (set_strictness): Never enable 'portability'
1884 warnings for now.
1885 (usage): Adjust `-Wportability' doc.
1886 * automake.texi (Invoking Automake): Likewise.
1887 Suggested by Ralf Corsepius.
1888
18892002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1890
1891 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
1892 so_location files in current directory.
1893
1894 Fix for PR automake/346:
1895 * automake.texi (Optional): Supress the documentation for
1896 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
1897 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
1898 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
1899 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
1900 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
1901 documentation of AC_LIBSOURCE and AC_SUBST to explain this
1902 applies to any macro that calls them.
1903
19042002-08-19 Tom Tromey <tromey@redhat.com>
1905
1906 For PR automake/348:
1907 * tests/Makefile.am (TESTS): Added include2.test.
1908 * tests/include2.test: New file.
1909 * tests/include.test: Check to make sure include file is
1910 distributed.
1911 * automake.in (read_am_file): Distribute included files.
1912
19132002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1914
1915 Fix for PR automake/345:
1916 * tests/defs: Add support for required=non-root, stolen
1917 from fileutils' test suite.
1918 * tests/destdir.test: Use required=non-root.
1919
1920 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
1921
19222002-08-17 Tom Tromey <tromey@redhat.com>
1923
1924 For PR automake/347:
1925 * automake.in (rule_define): Given portability warning if "%" seen
1926 in target name.
1927 (TARGET_PATTERN): Added `%'.
1928 * tests/Makefile.am (TESTS): Added percent.test.
1929 * tests/percent.test: New file.
1930
19312002-08-15 Art Haas <ahaas@neosoft.com>
1932
1933 * lib/am/depend2.am: Use correct name for dependency file in
1934 libtool fastdep case.
1935
19362002-08-14 Art Haas <ahaas@neosoft.com>
1937
1938 * lib/am/depend2.am: Added missing `;'.
1939
19402002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1941
1942 * automake.texi (Python): Fix wording.
1943
1944 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
1945 and was fixed by the change on variable_conditions_permutations
1946 and invert_conditions on 2002-05-16.
1947 * tests/Makefile.am (TESTS): Add ext2.test.
1948 Reported by Ladislav Strojil.
1949
19502002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1951
1952 * aclocal.in (parse_arguments): Add `dirlist' paths add the
1953 very end of the search path, after aclocal-APIVERSION/ and
1954 aclocal/.
1955 * automake.texi (Macro search path): Adjust to reflect the
1956 new ordering.
1957 * tests/dirlist.test: Check for this.
1958
19592002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
1960
1961 * aclocal.in (parse_arguments): Add support for extending
1962 default macro search path, using a `dirlist' file within
1963 the aclocal directory.
1964 * automake.texi (Invoking aclocal): Move option descriptions into ...
1965 (aclocal options): ... this new node.
1966 (Macro search path): New node.
1967 * tests/dirlist.test: New file.
1968 * tests/Makefile.am (TESTS): Add dirlist.test.
1969 * m4/dirlist: New file.
1970 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
1971 * tests/defs: Honor any installed dirlist when searching for
1972 libtool.m4 and gettext.m4.
1973
19742002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1975
1976 Build info files in builddir instead of srcdir (for PR automake/168),
1977 and prepare support for info files in subdirecties.
1978 * automake.in (output_texinfo_build_rules): New function.
1979 (handle_texinfo_helper): Use output_texinfo_build_rules, and
1980 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
1981 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
1982 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
1983 file.
1984 * lib/am/texibuild.am: Rewrite to output files in the current
1985 directory, not $(srcdir). Also, support both generic and
1986 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
1987 texi2dvi (for PR automake/339).
1988 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
1989 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
1990 * tests/texinfo16.test: New file.
1991 * tests/Makefile.am (TESTS): Add texinfo16.test.
1992
19932002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
1994
1995 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
1996 in the aclocal.m4 header.
1997
1998 * configure.in: Require Autoconf 2.53b.
1999
20002002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
2001
2002 * configure.in: Bump version to 1.6c.
2003
2004 * configure.in: Bump version to 1.6b.
2005 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
2006 upstream versions.
2007 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
2008 since this file is processed by config.status.
2009
20102002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2011
2012 * automake.in (read_am_file): Escaped newlines in comments are not
2013 portable. If a comment line doesn't start with a `#', add it.
2014 * tests/comment6.test: Ensure this is done.
2015
20162002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2017
2018 Fix failures reported by Patrick Welche on NetBSD.
2019 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
2020 status of `make -k'.
2021 * tests/obsolete.test: Source obs.1 and obs.2 from current
2022 directory.
2023
20242002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
2025
2026 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
2027 configure.lineno.
2028
20292002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2030
2031 * tests/required2.test: New file.
2032 * tests/Makefile.am (TESTS): Add required2.test.
2033 * automake.in (initialize_per_input): Remove %require_file_found
2034 setting. This reverts my change of 2002-04-19.
2035 (require_file_internal): Use the full name of a file as a
2036 key in %require_file_found, not only the basename.
2037 Reported by Andrew Suffield.
2038
20392002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2040
2041 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
2042 * tests/subdir7.test: New file.
2043 * tests/Makefile.am (TESTS): Add subdir7.test.
2044
2045 * lib/mkinstalldirs: Remove Id keyword.
2046
2047 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
2048 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
2049 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
2050 * automake.texi (Options) <std-options>: Document
2051 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
2052 (Gnits): Reference std-options.
2053 * tests/gnits3.test: New file.
2054 * tests/Makefile.am (TESTS): Add gnits3.test.
2055 Suggested by Jim Meyering.
2056
20572002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2058
2059 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
2060 Replace the sed script by calls to grep, easier to debug.
2061 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
2062 and $(transform).
2063 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
2064
2065 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
2066 Always strip the directory part before applying $(transform),
2067 even for nobase_ targets.
2068 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
2069 Likewise.
2070 * tests/nobase.test: Use --program-prefix while testing nobase
2071 support.
2072
20732002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2074
2075 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
2076 * tests/Makefile.am (TESTS): Remove dirname.test.
2077
2078 * m4/init.m4: Require Autoconf 2.53b.
2079 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
2080 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
2081 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
2082 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
2083 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
2084 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
2085 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
2086 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
2087 in m4/obsolete.m4.
2088 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
2089 AU_DEFUNed in m4/obsolete.m4.
2090 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
2091 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
2092 and obsolete.m4. Remove termios.m4 and winsz.m4.
2093 * aclocal.in (obsolete, obsolete_rx): Remove.
2094 (scan_configure): Don't grep for obsolete macros.
2095 * tests/defs (AUTOUPDATE): Define.
2096 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
2097 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
2098 m4/obsolete.m4.
2099
2100 Fix for PR automake/338:
2101 * automake.in (seen_gettext_external): New variable.
2102 (handle_gettext): Conditionalize the intl/ check on
2103 $seen_gettext_external. Fix grep usage.
2104 (scan_autoconf_traces): Set $seen_gettext_external if
2105 `external' is passed to AM_GNU_GETTEXT.
2106 * tests/gettext.test, tests/gettext2.test: New files.
2107 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
2108
21092002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2110 Akim Demaille <akim@epita.fr>
2111
2112 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
2113 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
2114 (AM_CONFIG_HEADER): ... this new definition for compatibility.
2115 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
2116 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
2117 * tests/confh5.tests: Delete.
2118 * tests/Makefile.am (TESTS): Remove confh5.tests.
2119
21202002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2121
2122 * automake.in (handle_single_transform_list): Typo.
2123
2124 * lib/Automake/Channels.pm (dup_channel_setup,
2125 drop_channel_setup): New functions.
2126 (@EXPORT): Add them.
2127 * automake.in (generate_makefile): Call dup_channel_setup and
2128 drop_channel_setup.
2129 (process_option_list): Recognize --warnings and -W options.
2130 * automake.texi (Options): Document them.
2131 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
2132 warning.
2133 * tests/warnopts.test: New file.
2134 * tests/Makefile.am (TESTS): Add warnopts.test.
2135
21362002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2137
2138 * automake.in: Register warning channel `gnu'.
2139 (set_strictness): Turn on `gnu' in --gnu and --gnits.
2140 (usage): Mention the `gnu' category.
2141 (%var_is_am): Replace by ...
2142 (%var_owner): ... this, which uses ...
2143 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
2144 Adjust all uses of %var_is_am.
2145 (handle_languages): Warn about user variables being overriden.
2146 (require_variables): Also check %configure_vars for the existence
2147 of a required variable.
2148 * automake.texi (Invoking Automake): Document -Wgnu.
2149 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
2150 we test YFLAGS.
2151 * tests/gnuwarn.test: New file.
2152 * tests/Makefile.am (TESTS): Add gnuwarn.test.
2153
21542002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2155
2156 Fix for PR automake/337:
2157 * automake.in: Redefine the `flags' attribute of each language
2158 as a list. List CPPFLAGS in `flags' when it is used.
2159 (register_language): Set the default value of 'flags'.
2160 (handle_single_transform_list): Adjust to treat `flags' as a list.
2161 (handle_languages): Likewise. Don't bother defining the
2162 configure variable for `c', this is always done since we trace
2163 configure.ac.
2164 * automake.texi (etags): Use per-executable _CPPFLAGS.
2165 (Program and Library Variables): Mention maude_CPPFLAGS.
2166 (Program variables): Likewise.
2167 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
2168 * tests/specflags9.test: New file.
2169 * tests/Makefile.am (TESTS): Add specflag9.test.
2170
21712002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2172
2173 * automake.texi: Use `variable' instead of `macro' everywhere it
2174 designates a Makefile variable.
2175 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
2176 `flags', not `macros'. `Macro' means something else in Texinfo.
2177 Also show how to use these flags.
2178 * automake.in (file_contents_internal): s/macro/variable/ in
2179 error message.
2180
2181 * automake.in (parse_arguments): Call Getopt twice: once to catch
2182 --help or --verbose, and once to process the other arguments.
2183 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
2184 should always be 0 because of the change to parse_arguments).
2185 * tests/Makefile.am (TESTS): Add getopt.test.
2186 * tests/getopt.test: New file.
2187
21882002-07-09 Tom Tromey <tromey@redhat.com>
2189
2190 For PR automake/286:
2191 * automake.texi (Tags): Document ctags.
2192 * automake.in (handle_tags): Handle ctags.
2193 * lib/am/tags.am (CTAGS): New macro.
2194 (CTAGSFLAGS): Likewise.
2195 (ctags): New target.
2196 (distclean-tags): Remove `tags'.
2197
2198 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
2199
2200 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
2201 before passing to cygpath. Partial fix for PR automake/334.
2202
22032002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2204
2205 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
2206 instead of INCLUDES.
2207 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
2208
22092002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2210
2211 * automake.in (usage, version): Honor $exit_code.
2212 (parse_arguments): Use fatal.
2213
22142002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2215
2216 * automake.texi (Invoking Automake): Document WARNINGS.
2217 * automake.in (switch_warning, parse_WARNINGS): New function.
2218 (setup_warnings): Rename to ...
2219 (parse_warnings): ... this. Move most of the code to switch_warning.
2220 Accept a comma separated list of categories.
2221 * tests/vars2.test: Use a comma separated list of warning categories.
2222
22232002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2224
2225 * NEWS (New in 1.6): Mention that libtoolize is no longer run
2226 by automake.
2227
22282002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2229
2230 Fix for PR automake/291:
2231 * automake.in (macro_define): Catch variable names starting
2232 with `_'.
2233 (handle_installdirs): Rename _am_installdirs to am__installdirs.
2234 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
2235 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
2236 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
2237 lib/am/texinfos.am: Likewise.
2238 * tests/canon5.test: Use -Wno-portability.
2239 * tests/vars2.test: New file.
2240 * tests/Makefile.am (TESTS): Add vars2.test.
2241
22422002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2243
2244 * tests/defs (AUTOMAKE): Add -Wall.
2245 * tests/outdir.test: Use -Wno-obsolete.
2246
22472002-07-07 Tom Tromey <tromey@redhat.com>
2248
2249 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
2250 conditional.
2251 * automake.in (handle_languages): Compute FASTDEP.
2252 * lib/am/depend2.am: Added %FASTDEP% mode.
2253
22542002-07-07 Tom Tromey <tromey@redhat.com>
2255
2256 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
2257 now. Fixes PR automake/332.
2258
22592002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2260
2261 * tests/nobase.test (test-install-exec): Move all the `test -f'
2262 tests in the Makefile so we can use $(EXEEXT) on programs.
2263 Reported by Charles Wilson.
2264
22652002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2266
2267 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
2268 * tests/confh5.test: Make sure that Autoconf complains if
2269 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
2270 AM_INIT_AUTOMAKE.
2271
22722002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2273
2274 * lib/Automake/Channels.pm: New file.
2275 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
2276 * automake.in: Use Automake::Channels and register some channels
2277 for errors and warnings.
2278 ($exit_status): Remove, replaced by Channels::$exit_code.
2279 (%required_variables): Remove, Channels will filter-out duplicates
2280 itself.
2281 (initialize_per_input): Call reset_local_duplicates.
2282 (prog_error): Adjust to all `msg'.
2283 (setup_warnings): New functions.
2284 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
2285 call setup_warnings.
2286 (usage): Update usage text accordingly.
2287 (macro_dump, macros_dump): Return the dump as a string instead
2288 of printing it.
2289 (am_install_var) <$warned_about_extra>: Remove, Channels will
2290 filter-out duplicates itself.
2291 (set_strictness): Turn on/off channels for each stricness.
2292 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
2293 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
2294 New functions, to replace ...
2295 (print_error, am_error, file_error, macro_error, target_error,
2296 conf_error, file_warning): ... these functions. Remove them.
2297 Update all the code to use the new functions. The rough
2298 correspondance is
2299 am_error -> err_am
2300 file_error -> err
2301 macro_error -> err_var
2302 target_error -> err_target
2303 conf_error -> err_ac
2304 die -> fatal
2305 macro_error if defined -> reject_var
2306 target_error if defined -> reject_target
2307 verbose -> verb
2308 * automake.texi (Invoking Automake): Document -W and --warnings.
2309 Remove the documentation for --Werror and --Wno-error.
2310 * tests/defs: Use -Werror, no --Werror.
2311 * tests/exeext2.test: Test that the error message
2312 is enabled with -Wobsolete.
2313 * tests/output5.test: Rewrite to test that Automake complains
2314 when there is no Makefile specified. (The original test was
2315 succeeding for the wrong reason.)
2316 * tests/seenc.test: Don't use --Wno-error, there is no reason now
2317 that -Werror doesn't stop after the first error.
2318 * tests/subobj.test: Use --add-missing, and check that
2319 `compile' is installed and that Automake says so.
2320 * tests/subobj2.test: Don't create `compile'.
2321
23222002-07-05 Tom Tromey <tromey@redhat.com>
2323
2324 * automake.texi (Java Support): Mention --main and _LDFLAGS.
2325 For PR automake/324.
2326
23272002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2328
2329 * tests/asm.test: Erase Autom4te's cache between each test.
2330
23312002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
2332
2333 * automake.in (am_macro_for_var): Add LIBTOOL.
2334 (ac_macro_for_var): Add RANLIB.
2335 (seen_libtool): Remove.
2336 (handle_libtool, lang_c_finish, define_compiler_variable,
2337 make_paragraphs): Use
2338 variable_defined ('LIBTOOL') instead of $seen_libtool.
2339 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
2340 already done in make_paragraphs.
2341 (handle_libraries): Simplify by requiring RANLIB with
2342 &require_variables_for_macro.
2343 (handle_ltlibraries): Simplify by requiring LIBTOOL with
2344 &require_variables_for_macro.
2345 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
2346 AM_PROG_LIBTOOL.
2347 * tests/libtool4.test, tests/library2.test: New files.
2348 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
2349
23502002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2351
2352 * automake.in (create, keyed_aclocal_warning): Delete, unused.
2353
23542002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2355
2356 * automake.in (ac_macro_for_var): Add YACC.
2357
23582002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2359
2360 Handle multiple suffix rules with the same input extension.
2361 For PR automake/37.
2362
2363 * automake.in (suffix_rules_default): New variable.
2364 (suffix_rules): Redefine as a hash of hashes of pairs.
2365 (initialize_per_input): Setup suffix_rules_default from
2366 suffix_rules on first call, an override suffix_rules
2367 with suffix_rules_default on following calls.
2368 (struct) <output_extensions>: New attribute.
2369 (register_language): Set the default for output_extensions.
2370 Call register_suffix_rule for each suffix.
2371 (derive_suffix, handle_languages): Adjust to the new definition
2372 of $suffix.
2373 (register_suffix_rule): New function.
2374 (rule_define): Call register_suffix_rule.
2375 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
2376 New files.
2377 * tests/Makefile.am (TESTS): Add them.
2378
23792002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
2380
2381 * automake.in (am_macro_for_var, ac_macro_for_var,
2382 required_variables): New variables.
2383 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
2384 pythondir_location): Remove.
2385 (initialize_per_input): Clear %required_variables.
2386 (require_variables, require_variables_for_macro): New functions.
2387 (handle_languages): Call &require_variables for $lang->config_vars.
2388 (handle_compile): Call &require_variables_for_macro for the
2389 ANSI2KNR and U variables.
2390 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
2391 (handle_python): Call &require_variables for PYTHON. Don't
2392 explicitly allow `python' as a prefix for PYTHON.
2393 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
2394 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
2395 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
2396 AMDEPBACKSLASH here...
2397 (define_configure_variable): ... do this here.
2398 (am_primary_prefixes): Probe the existence of ${X}dir using
2399 &require_variables_for_macro. If a standard prefix is not
2400 legitimate, say so. Ignore all configure variables.
2401 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
2402 tests/lisp2.test, tests/python2.test: New files
2403 * tests/Makefile.am (TESTS): Add them.
2404 * tests/asm.test: Grep stderr.
2405 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
2406 * tests/python.test: Make sure py-compile is installed.
2407
24082002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
2409
2410 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
2411 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
2412 Adjust all occurrences.
2413
24142002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
2415
2416 * aclocal.in: Add local variables so that Emacs setups GNU style
2417 for perl-mode and cperl-mode.
2418 * automake.in: Likewise.
2419 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
2420 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
2421 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
2422 perl-mode.
2423
24242002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
2425
2426 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
2427 * lib/config.sub, lib/install-sh: New upstream versions.
2428
24292002-06-26 Paul Eggert <eggert@twinsun.com>
2430
2431 * Makefile.am (maintainer-check): Don't assume that egrep exists;
2432 this fixes a portability bug introduced in the 2002-06-08 fix for
2433 PR automake/317.
2434
24352002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2436
2437 * automake.in (required_targets): Add ps and ps-am.
2438 (initialize_per_input): Reset them.
2439 (handle_texinfo_helper): Fill @pss_list, and define the
2440 PSS make variable.
2441 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
2442 (ps, ps-am): New targets.
2443 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
2444 `make ps' and `make pdf'.
2445 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
2446 (Extending): The `ps' and `pdf' targets support a `-local' version.
2447
24482002-06-26 Art Haas <ahaas@neosoft.com>
2449
2450 * automake.texi: s/.../@dots{}/.
2451
24522002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2453
2454 * configure.in: Check that ln works, fall back to `cp -p'.
2455 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
2456 Reported by Andreas Buening.
2457
24582002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2459
2460 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
2461 (lang_lex_target_hook): New function.
2462 * tests/lex3.c: Complete to check that maintainer-clean erases
2463 Lex's output.
2464 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
2465
24662002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2467
2468 * automake.in (lang_yacc_target_hook): Add $output to
2469 @maintainer_clean_files. This was lost on 2001-06-23.
2470 * tests/yacc7.test, tests/yacc4.test: Complete to check
2471 that maintainer-clean erases YACC's output files,
2472 respectively with and without `-d'.
2473 Reported by Flavien Astraud.
2474
24752002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2476
2477 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
2478 traced from configure.ac.
2479
2480 * automake.in (macro_define): Don't accept to override an AC_SUBST
2481 or Automake variable in a new condition.
2482 * tests/cond23.test, tests/cond24.test: New file.
2483 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
2484 Reported by Patrik Weiskirchre.
2485
24862002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2487
2488 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
2489 tests/pr300-ltlib.test, tests/pr300-prog.test,
2490 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
2491 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
2492 Require gcc.
2493
24942002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2495
2496 * tests/libtool2.test: Use required=libtoolize.
2497 * tests/install2.test: Use required=gzip.
2498
24992002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2500
2501 * tests/defs (required): Handle bison; set YACC automatically.
2502 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
2503 tests/yaccvpath.test: Require bison. Don't set YACC.
2504
25052002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2506
2507 * tests/defs (required): Handle `gcc' and `g++'; automatically
2508 export CC and CXX when they are required.
2509 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
2510 tests/cond4.test, tests/cond16.test, tests/cond18.test,
2511 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
2512 tests/lex3.test, tests/pr87.test, tests/pr220.test,
2513 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
2514 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
2515 configure.
2516 * tests/subobj9.test: Require g++.
2517
25182002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2519
2520 * tests/defs (required): Handle `GNUmake'.
2521 (needs_gnu_make): Don't define anymore.
2522 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
2523 tests/dollar.test, tests/exsource.test, tests/extra6.test,
2524 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
2525 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
2526 tests/yaccvpath.test: Use `required=GNUmake' instead of
2527 `$needs_gnu_make'.
2528
25292002-06-17 Paolo Bonzini <bonzini@gnu.org>
2530
2531 * automake.in (process_option_list): Recognize std-options.
2532 (handle_options): Enable std-options in gnits strictness.
2533 (am_install_var): If std-options, enable CK-OPTS section.
2534 * lib/am/scripts.am (installcheck-am): New target.
2535 * lib/am/progs.am (installcheck-am): New target.
2536 * tests/gnits2.test: New file.
2537 * tests/Makefile.am (TESTS): Add gnits2.test.
2538 * automake.texi (Gnits, Options): Document std-options.
2539
25402002-06-17 Kevin Ryde <user42@zip.com.au>
2541
2542 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
2543 as generated by recent texinfo.tex.
2544
25452002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2546
2547 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
2548 (_AM_CONFIG_HEADERS): ... this.
2549 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
2550 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
2551 AC_CONFIG_HEADERS.
2552 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
2553 instead of AM_CONFIG_HEADER.
2554 * tests/autoheader2.test: New file.
2555 * tests/Makefile.am (TESTS): Add autoheader2.test.
2556 Suggested by Raja R Harinath.
2557
25582002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2559
2560 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
2561 of m4_rename so that AC_CONFIG_HEADER is never undefined and
2562 therefore still traced after the redefinition.
2563 * tests/defs (AUTOHEADER): Define.
2564 * tests/autoheader.test: New file.
2565 * tests/Makefile.am (TESTS): Add autoheader.test.
2566 Reported by Braden McDaniel.
2567
25682002-06-13 Paolo Bonzini <bonzini@gnu.org>
2569
2570 * automake.in (check_gnu_standards): In --gnu mode, accept
2571 one of COPTING, COPYING.LESSER, or COPYING.LIB.
2572 (common_files): Add COPYING.LESSER.
2573 * automake.texi (Gnits): Document this.
2574
25752002-06-13 Paolo Bonzini <bonzini@gnu.org>
2576
2577 * automake.in (required_targets): Add the pdf and pdf-am targets.
2578 (initialize_per_input): Likewise.
2579 (scan_texinfo_file): Add pdf to @clean_suffixes.
2580 (handle_texinfo_helper): Output the .pdf dependencies, and define
2581 the PDFS variable.
2582 * lib/am/texinfos.am (TEXI2PDF): New variable.
2583 (pdf, pdf-am): New targets.
2584 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
2585 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
2586
25872002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2588
2589 Fix pr307.test failure with gcc 3.x.
2590 * lib/depcomp (dashmstdout): Strip the call to libtool, and
2591 replace `-o $object' by `-o /dev/null' before running "$@"
2592 to generate dependencies.
2593 (cpp): Strip the call to libtool as well as `-o $object'.
2594
25952002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2596
2597 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
2598 $base.lo.d, when libtool is used.
2599 Reported by Nicolas Joly.
2600
26012002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2602
2603 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
2604 is no file to compile.
2605 * tests/java2.test: New file.
2606 * tests/Makefile.am (TESTS): Add java2.test.
2607 Reported by Braden N. McDaniel.
2608
26092002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2610
2611 * tests/maintclean.test: Don't check for autom4te.cache if
2612 it's not created by Autoconf.
2613 Reported by Bernd Jendrissek.
2614
26152002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
2616
2617 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
2618
26192002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2620
2621 * lib/am/header-vars.am (transform): Define.
2622 Was removed by mistake on 2002-04-13.
2623 * tests/transform.test: New file.
2624 * tests/Makefile.am (TESTS): Add transform.test.
2625 Reported by Nicolas Joly.
2626
26272002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2628
2629 * tests/dollar.test: Require GNU make.
2630 * tests/maintclean.test: Don't use `export YACC=false'. Pass
2631 YACC=false to configure instead.
2632
26332002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2634
2635 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
2636 INSTALL: New upstream versions.
2637
26382002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2639
2640 * tests/sinclude.test: Check for m4_include too.
2641
26422002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2643
2644 * tests/sinclude.test: Rename the package as amsinclude;
2645 am__sinclude still trigers the sinclude macro once it has been
2646 converted to am--sinclude.
2647 Reported by Nicolas Joly.
2648
26492002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2650
2651 * automake.texi (API versioning): Typo.
2652
26532002-06-10 Nicolas Joly <njoly@pasteur.fr>
2654
2655 * THANKS (Nicolas Joly): Remove duplicate.
2656
26572002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2658
2659 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
2660 * tests/yacc7.test: Use rm -f.
2661
26622002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2663
2664 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
2665 * tests/subpkg.test: New file.
2666 * tests/Makefile.am (TESTS): Add subpkg.test.
2667
26682002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2669
2670 For PR automake/318:
2671 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
2672 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
2673 * lib/am/scripts.am (install-%DIR%SCRIPTS,
2674 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
2675 default.
2676 (?%DIR%SCRIPT_INSTALL): New variable.
2677 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
2678 Reported by Eric Siegerman.
2679
26802002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2681
2682 * automake.in (lang_yacc_target_hook): Add rule to recover from
2683 the removal of $header.
2684 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
2685 output by lang_yacc_target_hook).
2686 * tests/yacc7.test: Try to recreate foo.h after its removal.
2687 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
2688 parse.h too.
2689 Reported by Bernd Jendrissek.
2690
26912002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2692
2693 For PR automake/317:
2694 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
2695 suggest `list='$(FILES)'; for f in $$list' instead.
2696 * lib/am/distdir.am (distdir): Adjust `for' usage.
2697 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
2698 * tests/dollar.test: New file.
2699 * tests/Makefile.am (TESTS): Add dollar.test.
2700 Reported by Eric Siegerman and Philip Fong.
2701
27022002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2703
2704 For PR automake/47 (fixed a long time ago):
2705 * tests/yacc7.test: Also check that parser sources are distributed.
2706
27072002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2708
2709 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
2710 (distclean): Use it.
2711 (maintainer-clean): Delete autom4te.cache and
2712 $(am__CONFIG_DISTCLEAN_FILES).
2713 * tests/maintclean.test: New file.
2714 * tests/Makefile.am (TESTS): Add maintclean.test.
2715
27162002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
2717
2718 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
2719 target_alias.
2720
27212002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
2722
2723 * Makefile.am (maintainer-check): Check for egrep and fgrep.
2724
2725 * test/cond22.test: Set SHELL when calling $MAKE -e.
2726
27272002-05-31 Richard Boulton <richard@tartarus.org>
2728
2729 Fix PR automake/326:
2730 * automake.in (define_objects_from_sources): Calculate the result in
2731 all conditions before passing this to subobjname to pick a name to
2732 store the result in.
2733 (subobjname): Expect a list of condition/value pairs as input.
2734 Combine this list and use it as the key to determine the variable name.
2735 * test/cond22.test: New file.
2736 * tests/Makefile.am (TESTS): Add cond22.test
2737
27382002-05-30 Paul Eggert <eggert@twinsun.com>
2739
2740 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
2741 instead, use shell pattern matching.
2742
27432002-05-29 Paul Eggert <eggert@twinsun.com>
2744
2745 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
2746 longer requires them.
2747
2748 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
2749 of egrep and fgrep. Omit unnecessary -E and -F.
2750 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
2751 * lib/am/distdir.am (distdir): fgrep -> grep -F.
2752 Use $(), not ${}, for Make variables.
2753 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
2754 fgrep -> grep
2755 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
2756 * tests/defs: Set FGREP and EGREP.
2757
2758 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
2759 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
2760 tests/cond21.test, tests/condlib.test, tests/confh4.test,
2761 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
2762 tests/depend4.test, tests/discover.test, tests/distname.test,
2763 tests/dup3.test, tests/empty4.test, tests/fo.test,
2764 tests/implicit.test, tests/insh2.test, tests/interp.test,
2765 tests/lex.test, tests/lex3.test, tests/lex4.test,
2766 tests/libobj5.test, tests/libobj7.test, tests/make.test,
2767 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
2768 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
2769 tests/pr2.test, tests/pr9.test, tests/seenc.test,
2770 tests/specflags.test, tests/specflags3.test,
2771 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
2772 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
2773 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
2774 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
2775
27762002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2777
2778 For PR automake/323:
2779 * m4/depend.m4: Missing comma.
2780 * tests/gcj4.test: New file.
2781 * tests/Makefile.am (TESTS): Add gcj4.test.
2782 Reported by David Pashley.
2783
27842002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2785
2786 * tests/defs (configure.in): Don't double-quote $me.
2787 * tests/sinclude.test: Overwrite configure.in and use
2788 `am__sinclude' instead of `sinclude' as package name.
2789 Excercise `m4_sinclude' instead of `sinclude'.
2790
27912002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2792
2793 * automake.in (conditional_implies_one_of): Rename as ...
2794 (conditional_implies_any): ... this.
2795 * tests/pluseq9.test: Exercise another case with the new
2796 `C' variable.
2797 Suggested by Raja R Harinath.
2798
27992002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2800
2801 * tests/defs (configure.in): Quote macro arguments.
2802 Reported by Nicolas Joly.
2803
28042002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2805
2806 * lib/am/header-vars.am (build_triplet, host_triplet,
2807 target_triplet): Define. Were removed by mistake on 2002-04-13.
2808
28092002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2810
2811 For PR automake/186:
2812 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
2813 * tests/destdir.test: New file.
2814 * tests/Makefile.am (TESTS): Add destdir.test.
2815
28162002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
2817
2818 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
2819 (conditional_is_redundant): Simplify.
2820 (conditional_implies_one_of,
2821 variable_not_always_defined_in_cond): New functions
2822 (macro_define): Reject appends if the variable is not defined in
2823 all conditions where `+=' applies.
2824 (invert_conditions): Rewrite. Before this patch,
2825 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
2826 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
2827 wrong (these conditions implies "A_FALSE"). Now it outputs (),
2828 which just means the input conditions cover all cases.
2829 (variable_conditions_permutations): Never output FALSE conditions.
2830 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
2831 in the CHECK_FALSE condition to fix the test.
2832 * tests/pluseq5.test: Actually check the diagnostic.
2833 * tests/pluseq9.test: New file.
2834 * tests/Makefile.am (TESTS): Add pluseq9.test.
2835
28362002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2837
2838 Fix for PR automake/322:
2839 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
2840 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
2841 Handle comments continued by backslashes.
2842 * tests/comment6.test: New file.
2843 * tests/Makefile.am (TESTS): Add comment6.test.
2844 Reported by Braden N. McDaniel.
2845
28462002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
2847 Alexandre Duret-Lutz <duret_g@epita.fr>
2848
2849 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
2850 both `program$(EXEEXT)' and `program'; needed under Cygwin.
2851 * tests/libtool3.test: New file.
2852 * tests/Makefile.am (TESTS): Add libtool3.test.
2853
28542002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2855
2856 * TODO: Undust.
2857
28582002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2859
2860 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
2861
28622002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2863
2864 Erase stamps from the Makefile that generates them.
2865
2866 * automake.in (handle_configure): Append each used stamp to
2867 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
2868 file is not used anymore.
2869 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
2870 stamp-h[0-9]*.
2871 * tests/subdir6.test: New file.
2872 * tests/Makefile.am (TESTS): Add it.
2873
28742002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
2875
2876 Fix for condd.test (conditional `+='):
2877 * automake.in (%appendvar): New.
2878 (initialize_per_input): Clear it.
2879 (macro_define): Handle += for variable defined in another condition.
2880 * automake.texi (Conditional Sources): Use conditional += in
2881 the example.
2882 (General Operation, Conditionals): Remove note about broken +=.
2883 * tests/cond21.test: New file.
2884 * tests/condd.test: Also test conditional append to a _SOURCE
2885 variable. Create missing directories.
2886 * tests/Makefile.am (TESTS): Add cond21.test.
2887 (XFAILS): Remove condd.test.
2888
28892002-05-05 Tom Tromey <tromey@redhat.com>
2890
2891 * automake.texi (Program and Library Variables): Mention _LFLAGS.
2892
28932002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
2894
2895 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
2896 files. Fix subobj9.test on OSF and IRIX.
2897 Reported by Nelson H. F. Beebe.
2898
28992002-04-26 Tom Tromey <tromey@redhat.com>
2900
2901 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
2902 For Debian bug 144221.
2903
29042002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
2905
2906 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
2907
29082002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2909
2910 * automake.in (subobjname): Use the length of %subobjvar
2911 instead of $subobjnamenum.
2912 (subobjnamenum): Remove.
2913
29142002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2915
2916 For PR automake/307:
2917 * lib/depcomp: Never compute dependencies in the background, this
2918 can cause races with libtool. Compute the dependencies after
2919 the actual compilation. Don't make libtool silent now that
2920 it's run in the foreground.
2921 * tests/pr307.test: New file.
2922 * tests/Makefile.am (TESTS): Add pr307.test.
2923 Reported by Laurent Morichetti.
2924
29252002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2926
2927 * lib/am/check.am: Show skipped tests. Display the
2928 $(PACKAGE_BUGREPORT) address on failure.
2929
29302002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
2931
2932 Fix PR automake/315:
2933 * automake.in (subobjname): Rewrite to generate variable name
2934 unique for each content.
2935 (%substnums): Remove.
2936 (%subobjvar): New hash.
2937 (initialize_per_input): Clear %subobjvar.
2938 (define_objects_from_sources): Return the name of the variable
2939 defined, in addition to the linker. Call subobjname only once
2940 the content of the variable to define is known.
2941 (handle_source_transform): Adjust call to define_objects_from_sources.
2942 * tests/specflags8.test: Mention PR 315.
2943 * tests/subobjname.test: New file.
2944 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
2945 (TESTS): Add subobjname.test.
2946
29472002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2948
2949 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
2950 the whole file for 'generated by automake', not only the
2951 first line. This accounts for post-processed Makefile.in's.
2952 * tests/postproc.test: New file.
2953 * tests/Makefile.am (TESTS): Add postproc.test.
2954
29552002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2956
2957 For PR automake/151 and PR automake/314:
2958 * automake.texi (A Program): Split into
2959 (Program Sources, Linking, Conditional Sources, Conditional
2960 Programs): ... these subsections; moving the Linking node
2961 before the Conditional discussions.
2962 (Conditional Sources): More details. Notably, mention
2963 hello_DEPENDENCIES.
2964 (Conditionals): Adjust reference to Conditional Programs.
2965
29662002-04-19 Paul Eggert <eggert@twinsun.com>
2967
2968 Fix some bugs when using "$@" when there might be zero positional
2969 arguments in cases where this matters. Zsh doesn't support
2970 the workaround ${1+"$@"} that has been used by Automake since
2971 the Mon Dec 4 11:55:36 1995 change.
2972
2973 * aclocal.in: Use 'case' statement to work around problem.
2974 * automake.in: Likewise.
2975 * lib/ylwrap: Likewise.
2976 * lib/missing: No need for workaround, as the command is never
2977 invoked with zero arguments.
2978 * tests/ccnoco.test: Likewise.
2979 * missing: Update from lib/missing.
2980
29812002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2982
2983 * automake.in (initialize_per_input): Clear %require_file_found.
2984 (%require_file_found): Group the declaration with the other
2985 variables initialized by initialize_per_input.
2986 * tests/required.test: New file.
2987 * tests/Makefile.am (TESTS): Add it.
2988 Reported by Marius Vollmer.
2989
29902002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2991
2992 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
2993 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
2994 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
2995 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
2996 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
2997 files.
2998 * tests/confh5.test: New file.
2999 * tests/Makefile.am (TESTS): Add confh5.test.
3000 * automake.texi (Optional, Public macros): Update descriptions
3001 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
3002
30032002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3004
3005 * tests/man2.test: New file.
3006 * tests/Makefile.am (TESTS): Add man2.test.
3007 * lib/am/mans.am (install-man%SECTION%): Change the extension
3008 of the man pages being installed, as documented.
3009
30102002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3011
3012 Enable traces; wipe out the old configure.in parser.
3013
3014 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
3015 'autoconf'. Honnor the $filename argument.
3016 (scan_autoconf_files): Don't call scan_one_autoconf_file.
3017 Always call scan_autoconf_traces.
3018 (scan_one_autoconf_file): Remove, with it associated regexes.
3019 (obsolete, obsolete_rx): Remove.
3020 (register_language, handle_languages): Remove the 'define_flag'
3021 support. Remove it from the struct and language definitions too.
3022 (unquote_m4_arg): Remove.
3023 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
3024 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
3025 are now generated automatically.
3026 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
3027 automake.in.
3028 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
3029
30302002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3031
3032 * tests/version6.test: New file.
3033 * tests/Makefile.am (TESTS): Add tests/version6.test.
3034 * automake.in (version_check): Return 0 on equality.
3035
30362002-04-13 Andreas Schwab <schwab@suse.de>
3037
3038 * THANKS: Update my mail address.
3039
30402002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3041
3042 * tests/discover.test: Use a full configure.in that calls AC_INIT.
3043 Use AC_LIBOBJ. Grep the error message.
3044 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
3045 Grep the error message. Require libtool.
3046 * tests/ldflags.test: Don't use LIBOBJS.
3047 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
3048 error messages for CC and CXX.
3049
30502002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3051
3052 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
3053 and AMDEPBACKSLASH.
3054 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
3055 * tests/ext.test: Enable dependencies for OBJC.
3056 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
3057 Delete. They tests for different flavors of $LIBOBJS assignments
3058 that wont be supported anymore.
3059 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
3060 * tests/obsolete.test: Don't test Automake.
3061 * tests/suffix5.test: Require libtool.
3062 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
3063 libobj9.test.
3064
30652002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3066
3067 * configure.in (APIVERSION): Fix definition.
3068
30692002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3070
3071 * NEWS: Catch up with changes since 1.6.
3072
30732002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3074
3075 * tests/yacc8.test: Don't assume GNU make, run config.status
3076 to regenerate the Makefile.
3077
30782002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3079
3080 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
3081 always followed by a SHELL setting.
3082 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
3083 SHELL when calling `$MAKE -e'.
3084
30852002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3086
3087 * tests/subobj9.test: Use configure.in, not configure.ac,
3088 otherwise this fails with old libtool versions.
3089
30902002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3091
3092 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3093 versions.
3094
30952002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
3096
3097 * ChangeLog.2001: New file, extracted from ChangeLog.
3098 * Makefile.am (EXTRA_DIST): Add it.
3099
31002002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3101
3102 * automake.texi (Canonicalization): The sources for libmumble++.a
3103 go into libmumble___a_SOURCES.
3104
31052002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3106
3107 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
3108 test suite. Suggest `sleep 2' instead.
3109 * tests/confsub.test: Use `sleep 2'.
3110
31112002-04-04 Paul Eggert <eggert@twinsun.com>
3112
3113 * lib/am/subdirs.am:
3114 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
3115 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
3116 MAKEFLAGS contains '$(...)'.
3117
31182002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3119
3120 * tests/specflags8.test: Typo.
3121
31222002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3123
3124 * tests/specflags6.test: Run aclocal.
3125 * tests/Makefile.am (TESTS): Add specflags6.test.
3126
31272002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3128
3129 * tests/specflags7.test, tests/specflags8.test: New files.
3130 * tests/Makefile.am (TESTS): Add them.
3131 (XFAIL_TESTS): Add specflags8.test.
3132
31332002-03-29 Tom Tromey <tromey@redhat.com>
3134
3135 * automake.in (check_typos): Examine AM_LDFLAGS.
3136 Fixes PR automake/311.
3137
3138 For PR automake/312:
3139 * lib/am/libtool.am (clean-libtool): Use LTRMS.
3140 * automake.in (handle_single_transform_list): When processing a
3141 libtool object, clean the ordinary object and register the
3142 directory.
3143 (libtool_clean_directories): New global.
3144 (initialize_per_input): Initialize it.
3145 (generate_makefile): Call handle_libtool later.
3146 (handle_libtool): Handle libtool_clean_directories.
3147 * tests/subobj9.test: New file.
3148 * tests/Makefile.am (TESTS): Added subobj9.test.
3149
31502002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3151
3152 * tests/extra6.test, tests/subdir5.test: Require GNU make.
3153
31542002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3155
3156 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
3157
31582002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3159
3160 * tests/extra7.test: New file.
3161 * tests/Makefile.am: Add it.
3162 * lib/am/distdir.an (distdir): When a distribuable directory
3163 exists both in `.' and $(srcdir), merge both directories. This
3164 works around a failure of extra6.test on Tru64 reported by
3165 Nicolas Joly.
3166
31672002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3168
3169 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
3170
31712002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3172
3173 * Makefile.am (maintainer-check): Catch occurrences of
3174 `$MAKE foo=bar' in the testsuite. Suggest using
3175 `foo=bar $MAKE -e' instead.
3176 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
3177 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
3178 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
3179 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
3180
31812002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
3182
3183 Fix for PR automake/310:
3184 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
3185 so it never appears as a plain word.
3186
31872002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3188
3189 * lib/depcomp (tru64): Correctly compute `base'.
3190
31912002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3192
3193 * tests/pr211.test: s/requires/required/, otherwise the test fails
3194 if libtool is not installed.
3195
31962002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3197
3198 * tests/dirname.test: Don't use $SHELL when calling ./configure.
3199
32002002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3201
3202 * tests/dirname.test: Use --quiet to fix failure on installations
3203 using a site script.
3204 Reported by Nicolas Joly.
3205
32062002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3207
3208 * Makefile.am (maintainer-check): Check for misuses of make,
3209 autoconf, automake, aclocal, and perl in the testsuite. Suggest
3210 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
3211 * tests/confsub.test: Use $AUTOCONF and $MAKE.
3212 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
3213 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
3214 tests/pr224.test, tests/pr287.test, tests/strip.test,
3215 tests/yacc8.test: Use $MAKE.
3216
32172002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
3218
3219 Add support for two-dot versions.
3220
3221 * tests/version5.test: New file.
3222 * tests/Makefile.am (TESTS): Add it.
3223 * automake.in (version_split, version_compare): New functions.
3224 (version_check): Rewrite using version_split and version_compare.
3225 (process_option_list): Adjust regex.
3226
32272002-03-18 Richard Boulton <richard@tartarus.org>
3228
3229 Fix for PR automake/306:
3230 * automake.texi (Generalities): Document +=.
3231 (Conditionals): Document limitations of += with conditionals.
3232
32332002-03-17 Tom Tromey <tromey@redhat.com>
3234
3235 Fix for PR automake/295:
3236 * automake.texi (Invoking Automake): Deprecate --output-dir.
3237 * automake.in (usage): Don't document --output-dir.
3238 (output_directory): Don't initialize.
3239 (parse_arguments): Deprecate --output-dir.
3240
3241 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
3242 Fixes PR automake/304.
3243
32442002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
3245
3246 * tests/dirforbid.test: Workaround for NetBSD sh bug.
3247 Fixes PR automake/305.
3248
32492002-03-11 Richard Boulton <richard@tartarus.org>
3250
3251 * automake.in (check_typos): Allow variables with reserved
3252 suffices (such as _LDFLAGS) and prefixes which aren't
3253 recognised if the variable is defined in configure.ac.
3254 Fixes acsubst.test.
3255
32562002-03-11 Richard Boulton <richard@tartarus.org>
3257
3258 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
3259 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
3260 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
3261
32622002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
3263
3264 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
3265 causes failures.
3266
32672002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3268
3269 Fix for PR automake/303:
3270 * automake.in (version_check): Move the error message ...
3271 (process_option_list): ... here, so we can distinguish between
3272 global and local options.
3273
32742002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3275
3276 * tests/pr300-lib.test, tests/pr300-ltlib.test,
3277 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
3278 Autoconf doesn't complain about Makefile being output twice.
3279
32802002-03-06 Tom Tromey <tromey@redhat.com>
3281
3282 * configure.in: Upped version to 1.6a.
3283
32842002-03-05 Tom Tromey <tromey@redhat.com>
3285
3286 * configure.in: Released 1.6.
3287
32882002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
3289
3290 Fix for PR automake/300:
3291 * tests/pr300-lib.test, tests/pr300-ltlib.test,
3292 tests/pr300-prog.test: New files.
3293 * tests/Makefile.am (TESTS): Add them.
3294 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
3295 compute the directory.
3296 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
3297 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
3298 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
3299 (uninstall-%DIR%LIBRARIES): Honor nobase_.
3300 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
3301 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
3302 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
3303 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
3304 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
3305 (uninstall-%DIR%PROGRAMS): Honor nobase_.
3306 See also the fix for nobase.test on 2001-11-09.
3307
33082002-03-05 Tom Tromey <tromey@redhat.com>
3309
3310 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
3311
33122002-03-05 Pavel Roskin <proski@gnu.org>
3313
3314 * tests/yacc8.test: Add a command between "test" and "cd" to
3315 work around a bug in bash-2.05.
3316
33172002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
3318
3319 Fix for PR automake/294:
3320 * tests/dirforbid.test: New file.
3321 * tests/Makefile.am (TESTS): Add it.
3322 * automake.in (standard_prefix): New hash.
3323 (am_primary_prefixes): Forbid standard_prefixes which are not
3324 explicitely allowed.
3325 * automake.texi (Uniform): Remove FIXME.
3326
33272002-03-05 Jim Meyering <meyering@lucent.com>
3328
3329 * automake.in (@common_files): Add config.rpath.
3330
33312002-03-05 Kevin Ryde <user42@zip.com.au>
3332
3333 For PR automake/297:
3334 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
3335 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
3336 2.52 at least).
3337
33382002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3339
3340 * automake.in (scan_one_autoconf_file): Declare
3341 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
3342 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
3343 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
3344 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
3345 of s/// in the sed invocation, to support filenames containing
3346 slashes.
3347 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
3348 * tests/lex5.test, tests/yacc8.test: New files.
3349 * tests/Makefile.am (TESTS): Add them.
3350
33512002-02-23 Per Bothner <per@bothner.com>
3352
3353 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
3354 `.' in else branch.
3355
33562002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3357
3358 * tests/make.test: Revert the grep logic to work around a bug
3359 in NetBSD sh (see NetBSD Problem Report #11542).
3360 Reported by Patrick Welche.
3361
33622002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
3363
3364 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
3365 to try and prevent a non-lisp emacs from starting in interactive
3366 mode.
3367 * automake.texi: Document this change.
3368
33692002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3370
3371 * automake.texi (Macros): Split into ...
3372 (Public Macros, Private Macros): ... these.
3373
33742002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3375
3376 * tests/insthook.test: Use sed instead of "tail +X".
3377
33782002-02-18 Paul Eggert <eggert@twinsun.com>
3379
3380 * lib/depcomp: Don't use "tail +3"; it's not portable to
3381 POSIX 1003.1-2001 hosts.
3382
33832002-02-18 Jim Meyering <meyering@lucent.com>
3384
3385 * tests/cond12.test: Use sed 1q, not `head -n 1'.
3386 The latter is not portable to some old systems.
3387 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
3388 Use `sed 1q' instead.
3389 * tests/insthook.test: Likewise.
3390
33912002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
3392
3393 * automake.in (handle_lib_objects_cond): Tell the user to put
3394 global linker flags in AM_LDFLAGS, not LDFLAGS.
3395
3396 * automake.texi (General Operation): AC_SUBST'ed variables
3397 override Automake's variables.
3398 (Uniform): More words and @refs.
3399 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
3400 (etags): More explanations about the first example.
3401 (Invoking Automake): Mention autoreconf. More @refs.
3402 (Requirements): Mention AC_CONFIG_FILES.
3403 (Optional): AC_CHECK_TOOL will no longer install config.sub and
3404 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
3405 (Invoking aclocal): aclocal no longer warn about duplicates.
3406 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
3407 (Extending aclocal): Suggest using the output of
3408 `aclocal --print-ac-dir` to install third-party macros.
3409 (Alternative): Specify ordering of dist_, nodist_, and nobase_
3410 prefixes.
3411 (A Program): Mention scripts. The global LDADD variable is not
3412 meant to hold link flags, suggest using AM_LDFLAGS instead.
3413 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
3414 _LIBADD and _LDADD are subject to the same restriction wrt to
3415 link flags.
3416 (Program and Library Variables) <maude_DEPENDECIES>: Is also
3417 derived from maude_LIBADD.
3418 (Program variables): Define AM_LDFLAGS.
3419 (Dependencies): Passing the no-dependencies option to
3420 AM_INIT_AUTOMAKE is prefered.
3421 (Scripts): Explain why automake is magically cleaned.
3422 Mention noinst_SCRIPTS and check_SCRIPTS.
3423 (Data): Use dist_ in Automake's example.
3424 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
3425 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
3426
34272002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
3428
3429 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
3430 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
3431 of asking the maintainer to do it manually.
3432 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
3433 Automake/XFile.pm: New upstream versions.
3434
34352002-02-02 Tom Tromey <tromey@redhat.com>
3436
3437 * automake.texi (Macros): Warn about upgrading.
3438
34392002-02-01 Tom Tromey <tromey@redhat.com>
3440
3441 Change per GNU coding standards:
3442 * aclocal.in (parse_arguments): Only mention most recent year in
3443 copyright output.
3444 * automake.in (version): Only mention most recent year.
3445
34462002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
3447
3448 * automake.texi (API versioning): New Node.
3449 (Extending): Use $(DESTDIR) in examples.
3450
34512002-01-28 Akim Demaille <akim@epita.fr>
3452
3453 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
3454 Respect the --help layout.
3455
34562002-01-27 Tom Tromey <tromey@redhat.com>
3457
3458 * configure.in: Bumped to 1.5e.
3459
3460 * lib/am/yacc.am: Use `rm -f'.
3461
3462 * configure.in: Released 1.5d.
3463
3464 * lib/config.guess: New version from FSF.
3465
3466 * Makefile.am (uninstall-hook): New target.
3467
34682002-01-24 Akim Demaille <akim@epita.fr>
3469
3470 * lib/install-sh: Update, from Autoconf.
3471
34722002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
3473
3474 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
3475 as AC_CANONICAL_HOST (the former does not require the latter since
3476 Autoconf 2.50).
3477 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
3478 * automake.texi (Requirements): Do not require STRIP to be
3479 defined by the user.
3480
34812002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
3482
3483 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
3484 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
3485 * tests/pr224.test: Make sure .deps subdirectories are
3486 erased by distclean.
3487
34882002-01-22 Tom Tromey <tromey@redhat.com>
3489
3490 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
3491 no-dependencies option is set.
3492 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
3493 no-dependencies option is set. Don't call AM_DEP_TRACK or
3494 AM_SET_DEPDIR.
3495
34962002-01-22 Pavel Roskin <proski@gnu.org>
3497
3498 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
3499 ASFLAGS.
3500
35012002-01-22 Akim Demaille <akim@epita.fr>
3502
3503 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
3504 (fetch): Adjust.
3505
35062002-01-21 Tom Tromey <tromey@redhat.com>
3507
3508 * Makefile.am (fetch): Don't fetch ansi2knr.
3509
3510 * automake.texi (Macros): Updated for new variable names.
3511 (Program and Library Variables): Likewise.
3512 (Assembly Support): Likewise.
3513 * m4/as.m4: Use CCAS and CCASFLAGS.
3514 * automake.in (asm): Use CCAS and CCASFLAGS.
3515
35162002-01-21 Akim Demaille <akim@epita.fr>
3517
3518 * automake.in (&parse_arguments): Use a more GNUish error message
3519 on wrong options.
3520
35212002-01-20 Tom Tromey <tromey@redhat.com>
3522
3523 Fix for PR automake/231:
3524 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
3525 * m4/depend.m4: Document `GCJ'.
3526
3527 For PR automake/224:
3528 * tests/Makefile.am (TESTS): Added pr224.test.
3529 * tests/pr224.test: New file.
3530 * lib/depcomp: Fixed computation of depfile.
3531 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
3532 * automake.in (handle_single_transform_list): Only reject `..'
3533 component for Java. Put dependencies in directory near object.
3534 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
3535
35362002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
3537
3538 * tests/defs: Export AUTOMAKE and ACLOCAL.
3539
35402002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3541
3542 Fix for PR automake/204:
3543 * tests/pr204.test: New file.
3544 * tests/Makefile.am (TESTS): Add it.
3545 * automake.in (handle_single_transform_list): Don't distribute
3546 sources derived from non-distributed sources.
3547
35482002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
3549
3550 Fix for PR automake/229:
3551 * tests/pr229.test: New file.
3552 * tests/Makefile.am (TESTS): Add it.
3553 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
3554 AC_EMXOS2, and AC_MINGW32.
3555
35562002-01-18 Tom Tromey <tromey@redhat.com>
3557
3558 * tests/cond7.test: Fix test bug exposed by copyright update.
3559
3560 For PR automake/288:
3561 * automake.in (lang_c_rewrite): Don't prepend directory to base if
3562 directory is `.'. Also, properly compute de_ansi_files entry in
3563 subdir-objects case
3564 * tests/Makefile.am (TESTS): Added ansi7.test.
3565 * tests/ansi7.test: New file.
3566
3567 * aclocal.in (parse_arguments): Added 2002.
3568 (write_aclocal): Likewise.
3569 (parse_arguments): Updated my email address.
3570 * automake.in (gen_copyright): Added 2002.
3571 (version): Likewise. Also, changed my email address.
3572
3573 * configure.in (APIVERSION): Refined definition.
3574
35752002-01-18 Tom Tromey <tromey@redhat.com>
3576
3577 * missing: Updated.
3578 * lib/missing: Accept versioned aclocal.
3579 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
3580
35812002-01-17 Pavel Roskin <proski@gnu.org>
3582
3583 * m4/Makefile.am (m4datadir): Use APIVERSION.
3584
35852002-01-16 Tom Tromey <tromey@redhat.com>
3586
3587 * Makefile.am (install-exec-hook): Use APIVERSION.
3588 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
3589 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
3590 APIVERSION.
3591 * automake.in (perllibdir): Use APIVERSION.
3592 (libdir): Likewise.
3593 * aclocal.in (perllibdir): Use APIVERSION.
3594 (APIVERSION): New global.
3595 (parse_arguments): Use APIVERSION.
3596 * configure.in (APIVERSION): New subst.
3597 (pkgvdatadir): Use APIVERSION.
3598
35992002-01-15 Tom Tromey <tromey@redhat.com>
3600
3601 * missing: Updated.
3602 * lib/missing: Match against `automake*' to pick up versioned
3603 automake.
3604 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
3605 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
3606 variable.
3607 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
3608 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
3609 pkgvdatadir.
3610 (scriptdir): Use pkgvdatadir.
3611 (installcheck-local): Likewise.
3612 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
3613 * automake.in (perllibdir): Added VERSION.
3614 (libdir): Likewise.
3615 * aclocal.in (parse_arguments): Search versioned directory. Don't
3616 push unversioned directory unless it exists.
3617 (perllibdir): Added VERSION.
3618 (default_acdir): New global.
3619 * m4/Makefile.am (m4datadir): Added $(VERSION).
3620 * Makefile.am (install-exec-hook): New target.
3621 * configure.in (ACLOCAL): Search build directory.
3622 (pkgvdatadir): New subst.
3623
36242002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
3625
3626 * lib/config.sub, lib/config.guess: New versions from FSF.
3627
36282002-01-13 Tom Tromey <tromey@redhat.com>
3629
3630 For PR automake/288:
3631 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
3632 to directory.
3633 (lang_c_finish): Likewise. Also, use directory information from
3634 de_ansi_files.
3635
36362002-01-13 Kevin Ryde <user42@zip.com.au>
3637
3638 For PR automake/288:
3639 * tests/Makefile.am (TESTS): Added ansi6.test.
3640 * tests/ansi6.test: New file.
3641
36422002-01-13 Tom Tromey <tromey@redhat.com>
3643
3644 For PR automake/287:
3645 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
3646 over subdirs.
3647 * tests/Makefile.am (TESTS): Added pr287.test.
3648 * tests/pr287.test: New file.
3649
36502002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3651
3652 * lib/am/distdir.am (distdir): Handle subdirectories.
3653 * tests/extra6.test: New file.
3654 * tests/Makefile.am (TESTS): Add it.
3655
36562002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3657
3658 * tests/extra2.test: Run $ACLOCAL.
3659
36602002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3661
3662 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
3663 AM_INIT_AUTOMAKE arguments when using the old-style call.
3664 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
3665 Suggested by Pavel Roskin.
3666
36672002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
3668
3669 * test/nodefine.test, test/nodefine2.test: Check that no-define
3670 works, not the contrary...
3671 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
3672 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
3673 not the contrary.
3674
36752002-01-12 Jim Meyering <meyering@lucent.com>
3676
3677 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
3678 * tests/libobj11.test: New file.
3679 * tests/Makefile.am (TESTS): Add libobj11.test.
3680
36812002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
3682
3683 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
3684
36852002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3686
3687 * automake.in (file_contents_internal): Introduce two variables,
3688 $is_rule and $discard_rules to track rules spanning across multiple
3689 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
3690 where only the first paragraph of such a multi-paragraph rule was
3691 discarded; but it leaves many similar latent bugs (see the FIXMEs).
3692
36932002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3694
3695 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
3696 * tests/error.test: Use some macro names which are not defined by
3697 Automake itself.
3698
36992002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3700
3701 * automake.texi (Complete, Macros, Options): Document the new style
3702 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
3703 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
3704 AC_INIT if they are available there. Support a new call form
3705 where the only argument is an optional space-separated list of
3706 Automake options.
3707 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
3708 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
3709 _AM_IF_OPTION): New functions.
3710 * automake.in (AC_INIT_PATTERN): New variable.
3711 (global_options_line): Remove, use $seen_init_automake instead.
3712 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
3713 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
3714 Remove the AM_AUTOMAKE_OPTIONS handling.
3715 * configure.in: Modernize.
3716 * tests/defs (configure.in): Modernize. One third of the tests
3717 still overwrite the default configure.in and use an old
3718 AM_INIT_AUTOMAKE call, so that makes testing for both.
3719 * tests/nodefine.test, tests/nodefine2.test: New files.
3720 * tests/Makefile.am (TESTS): Add them.
3721
37222002-01-08 Raja R Harinath <harinath@cs.umn.edu>
3723
3724 * automake.in (define_configure_variable): Propagate line numbers.
3725
37262002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
3727
3728 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
3729
37302002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3731
3732 * configure.in: Run the Autoconf test in a subdirectory, then
3733 erase this directory.
3734
37352002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
3736
3737 * configure.in (AUTOMAKE): Create m4/amversion.m4.
3738 * m4/amversion.in: New file.
3739 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
3740 (dist_m4data_DATA): ... this.
3741 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
3742 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
3743 AM_SET_CURRENT_AUTOMAKE_VERSION.
3744 * automake.in (seen_automake_version): New variable.
3745 (scan_autoconf_traces, scan_one_autoconf_file,
3746 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
3747 when the version used in aclocal.m4 differs from Automake's.
3748 * tests/defs (ACLOCAL): Look in ../m4 too.
3749 * tests/installsh.test (ACLOCAL): Likewise.
3750 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
3751
37522002-01-06 Raja R Harinath <harinath@cs.umn.edu>
3753
3754 * automake.in (handle_languages): Emit an automake
3755 internal variable 'am__depfiles_maybe'.
3756 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
3757
3758 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
3759 config.status.
3760
37612002-01-06 Tom Tromey <tromey@redhat.com>
3762
3763 * automake.texi (Tags): Document new variables.
3764 * lib/am/tags.am (ETAGS): New macro.
3765 (ETAGSFLAGS): Likewise.
3766 (TAGS): Use them.
3767
37682002-01-04 Tom Tromey <tromey@redhat.com>
3769
3770 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
3771
37722002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
3773
3774 * automake.in (read_am_file): Thinko in "comment following
3775 trailing backslash" detection.
3776 * tests/comment5.test: Test for this too.
3777
37782002-01-02 Tom Tromey <tromey@redhat.com>
3779
3780 * automake.texi (Extending): Added index for uninstall-hook.
3781
37822002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3783
3784 Fix for PR automake/278:
3785 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
3786 with versions such as '2.2c1'. Also, use `int' instead of the
3787 obsoleted `string.atoi'.
3788 Reported by Enrico Scholz.
3789
37902002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3791
3792 Fix for PR automake/280:
3793 * automake.in (read_am_file): Warn about trailing backslashes
3794 in comments.
3795 * tests/comment5.test: New file.
3796 * tests/Makefile.am (TESTS): Add comment5.test.
3797 Reported by Enrico Scholz.
3798
37992002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3800
3801 * tests/comment4.test: New file.
3802 * tests/Makefile.am (TESTS): Add comment4.test.
3803
3804 Fix for comment4.test:
3805 * automake.in (read_am_file): Output leading comments only when
3806 encountering white lines.
3807
38082002-01-01 Tom Tromey <tromey@redhat.com>
3809
3810 For PR automake/234:
3811 * tests/Makefile.am (TESTS): Added strip.test.
3812 * tests/strip.test: New file.
3813
3814 * automake.texi (Extending): Mention uninstall-hook.
3815 (Install): Likewise.
3816 * automake.in (handle_factored_dependencies): Allow
3817 uninstall-hook.
3818
38192002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3820
3821 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
3822 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
3823 This fixes a bug introduced on 2001-01-28.
3824 Reported by Jared Davis.
3825
3826-----
3827
3828Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3829
3830This file is part of GNU Automake.
3831
3832GNU Automake is free software; you can redistribute it and/or modify
3833it under the terms of the GNU General Public License as published by
3834the Free Software Foundation; either version 2, or (at your option)
3835any later version.
3836
3837GNU Automake is distributed in the hope that it will be useful,
3838but WITHOUT ANY WARRANTY; without even the implied warranty of
3839MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3840GNU General Public License for more details.
3841
3842You should have received a copy of the GNU General Public License
3843along with autoconf; see the file COPYING. If not, write to
3844the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3845Boston, MA 02111-1307, USA.
Note: See TracBrowser for help on using the repository browser.