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

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

automake 1.8.5

File size: 131.9 KB
Line 
12004-05-16 Alexandre Duret-Lutz <adl@gnu.org>
2
3 * configure.ac, NEWS: Bump version to 1.8.5.
4
5 * lib/texinfo.tex: New upstream version.
6
72004-05-15 Alexandre Duret-Lutz <adl@gnu.org>
8
9 * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
10 the no-dist or cygnus options are used.
11 * tests/clean2.test: New file.
12 * tests/Makefile.am (TESTS): Add clean2.test.
13 Report from Daniel Jacobowitz.
14
15 * automake.in (parse_arguments, MAIN): Give more precise
16 diagnostics when no input file is found.
17 * tests/output5.test: Adjust.
18 Suggested by Jens Petersen.
19
202004-05-14 Alexandre Duret-Lutz <adl@gnu.org>
21
22 * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
23 * automake.in (handle_libraries): ... here, so that they are
24 output even for EXTRA_LIBRARIES.
25 * tests/ar2.test: New file.
26 * tests/Makefile.am (TESTS): Add it.
27 Report from Kevin Ryde.
28
292004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
30
31 * doc/automake.texi (Program and Library Variables): Remove
32 doubled word in footnote.
33
34 * automake.in (handle_source_transform): Also check for a
35 $(srcdir)/old_source rule when computing the default source name.
36 Propagate this $(srcdir) prefix in Automake variables.
37 * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
38 $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
39
402004-05-13 Paul Eggert <eggert@cs.ucla.edu>
41
42 * Makefile.am (fetch): Work even with FreeBSD "make", which
43 uses sh -e and thus errors-out if a simple-command fails.
44 * lib/am/check.am (check-TESTS): Likewise.
45 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
46 * lib/am/tags.am (TAGS): Likewise.
47
482004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
49
50 * tests/lex3.test, tests/yacc6.test: Require GNU Make.
51 Fixing these for BSD Make requires invasive changes (lexers and
52 parsers must be built into $srcdir, and--most annoyingly--all
53 references to parse.h must be changed to $(srcdir)/parse.h).
54 Report from Mark D. Baushke.
55
562004-05-10 Alexandre Duret-Lutz <adl@gnu.org>
57
58 * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
59 Report from Mark D. Baushke.
60
612004-04-25 Alexandre Duret-Lutz <adl@gnu.org>
62
63 * configure.ac, NEWS: Bump version to 1.8.4a.
64
65 * configure.ac, NEWS: Bump version to 1.8.4.
66
67 * lib/texinfo.tex: New upstream version.
68
69 * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
70
71 * doc/automake.texi (Headers): Revamp.
72
732004-04-24 Alexandre Duret-Lutz <adl@gnu.org>
74
75 * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
76 --etags-include is used but no other files are supplied, so it
77 creates the TAGS file anyway.
78 Report from Akim Demaille.
79
80 * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
81 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
82 Teun Burgers reported on 2004-03-30 they were in
83 $dir.libs/$base.o.d. Try both.
84
852004-04-18 Alexandre Duret-Lutz <adl@gnu.org>
86
87 * lib/am/distdir.am (distcheck): Typo in shar decompression.
88
89 * NEWS: English corrections from Eric Sunshine.
90
91 * configure.ac, NEWS: Bump version to 1.8.3c.
92
93 * configure.ac, NEWS: Bump version to 1.8.3b.
94
95 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
96 versions.
97
982004-04-12 Alexandre Duret-Lutz <adl@gnu.org>
99
100 Fix for PR automake/416:
101 * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
102 remarks.
103 From Peter Seiderer.
104
1052004-04-10 Andreas Buening <andreas.buening@nexgo.de>
106
107 * aclocal.in, automake.in, configure.ac, Makefile.am,
108 tests/aclocal.in, tests/automake.in, tests/defs.in:
109 Use PATH_SEPARATOR from autoconf instead of ':'.
110
1112004-04-09 Alexandre Duret-Lutz <adl@gnu.org>
112
113 * automake.in (handle_lib_objects): Pass the condition of
114 the variable definition to handle_LIBOBJS and handle_ALLOCA,
115 not the aggregated conditions.
116 * tests/Makefile.am (TESTS): Add libobj14.test.
117 * tests/libobj14.test: New file.
118 Report from Bill Davidson.
119
1202004-04-01 Paul Eggert <eggert@twinsun.com>
121
122 * lib/install-sh: If "mv -f" works, use it, and fall back to
123 the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
124 not work. This improves performance in the usual case where
125 "mv -f" works. It also lets us install the "mv" command
126 without worrying about a small window where "mv" does not
127 exist (this problem was reported by Raul Nunez de Arenas
128 Coronado).
129
1302004-03-26 Alexandre Duret-Lutz <adl@gnu.org>
131
132 * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
133 set when $PYTHON has been set by the user.
134 From Esben Haabendal Soerensen.
135
1362004-03-22 Alexandre Duret-Lutz <adl@gnu.org>
137
138 * doc/automake.texi (Default _SOURCES): Typo.
139 (true): Correct _'s placement in example.
140 Report from Stepan Kasal.
141
1422004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
143
144 Overriding JAVAROOT is legitimate, do not warn about it.
145 * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
146 * tests/java2.test: Run automake without -Wno-override.
147 Report from Simon Josefsson.
148
1492004-03-14 Alexandre Duret-Lutz <adl@gnu.org>
150
151 * automake.in (handle_texinfo_helper): Typos in comment.
152
1532004-03-07 Alexandre Duret-Lutz <adl@gnu.org>
154
155 * configure.in, NEWS: Bump version to 1.8.3a.
156
157 * configure.in, NEWS: Bump version to 1.8.3.
158
159 * lib/config.guess: New upstream version.
160
1612004-02-29 Alexandre Duret-Lutz <adl@gnu.org>
162
163 * configure.in: Bump version to 1.8.2c.
164
165 * configure.in, NEWS: Bump version to 1.8.2b.
166
167 * lib/config-ml.in, lib/config.guess, lib/config.sub,
168 lib/texinfo.tex: New upstream versions.
169
170 * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
171 to create numbered dependencies. This fixes a portability issue
172 when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
173 Reported by Mark Phillips.
174
175 * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
176 so that rules for the same headers are not output twice.
177 * lib/Automake/Variable.pm (value_as_list_recursive): Do not
178 call `return' inside `map'.
179 * tests/cond30.test: Make sure `a.c' and `b.c' both appear
180 in the Makefile.in.
181 * tests/cond35.test, tests/cond36.test: New files.
182 * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
183 Report from Roman Fietze.
184
185 Fix for PR/413:
186 * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
187 077 && mkdir' instead of `$(mkdir_p)'. This prevents possible
188 symlink attacks reported by Stefan Nordhausen.
189
1902004-02-16 Alexandre Duret-Lutz <adl@gnu.org>
191
192 * doc/automake.texi (Multiple Outputs): More text, based on
193 comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
194
1952004-02-15 Alexandre Duret-Lutz <adl@gnu.org>
196
197 * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
198 Solaris 8's mkdir is not thread-safe.
199 * lib/mkinstalldirs: Likewise.
200 * lib/install-sh: Abort when mkdir fails to create a directory.
201 Report from Nathanael Nerode.
202
2032004-02-07 Alexandre Duret-Lutz <adl@gnu.org>
204
205 * aclocal.in (rel2abs): New function.
206 (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
207 the later does was introduced in Perl 5.6 so using it breaks with
208 Perl 5.005.
209 Report from Werner John.
210
2112004-02-03 Alexandre Duret-Lutz <adl@gnu.org>
212
213 * doc/automake.texi (Future of aclocal): Make clearer that
214 it's ok to install macros into /usr/share/aclocal/.
215
2162004-02-01 Alexandre Duret-Lutz <adl@gnu.org>
217
218 * tests/lisp.test: Delete (pointless).
219 * tests/Makefile.am (TESTS): Remove lisp.test.
220
221 * lib/Automake/Variable.pm (transform_variable_recursively):
222 Define rewritten variables in all conditions not *covered* by user
223 definitions, not simply in conditions without a previous
224 definition.
225 * tests/cond34.test: New file.
226 * tests/Makefile.am (TESTS): Add cond34.test.
227 Report from Elena A. Vengerova.
228
229 * doc/automake.texi (Multiple Outputs): Typo.
230
231 * doc/automake.texi (Emacs Lisp): Typos.
232
233 * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
234 $(am__ELCFILES), and always push it on @all. Do not mention
235 elc-stamp.
236 * lib/am/lisp.am (.el.elc): Rewrite as ...
237 ($(am__ELCFILES)): ... this, and depend on elc-stamp.
238 (elc-stamp): Make sure elc-stamp is older that all .elc files, as
239 explained in the manual entry below.
240
241 * doc/automake.texi (Multiple Outputs): New node.
242
2432004-01-31 Alexandre Duret-Lutz <adl@gnu.org>
244
245 * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
246 * tests/regex.test: New file.
247 * tests/Makefile.am (TESTS): Add regex.test.
248
2492004-01-28 Alexandre Duret-Lutz <adl@gnu.org>
250
251 * NEWS: Summarize recent changes.
252
253 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
254 * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
255 lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
256 lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
257 installation paths in install, uninstall, and installcheck rules,
258 as well as in am__installdirs variables. This is for the sake
259 of paths containing spaces.
260 * lib/am/install.am (installdirs-am, installdirs): Do not try
261 to create "" directories.
262 * test/instspc.test: New file.
263 * test/Makefile.am (TESTS): Add instspc.test.
264 Report from James Amundson.
265
266 * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
267 (Extending): Make it a subsection of Not Enough.
268
2692004-01-23 Alexandre Duret-Lutz <adl@gnu.org>
270
271 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
272 instead of `/xx/ s///p'; the latter fails when GNU sed is run with
273 POSIXLY_CORRECT. Also strip superfluous -e.
274 Report from Miloslav Trmac.
275
2762004-01-22 Alexandre Duret-Lutz <adl@gnu.org>
277
278 * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
279 this fixes a spurious failure reported by Andreas Schwab. Also
280 make sure ylwrap is not installed unless needed, and exercise
281 --no-force.
282
2832004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
284
285 * doc/automake.texi (Dist): Document limitations of distcheck-hook
286 and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
287 subpackages.
288
2892004-01-20 Alexandre Duret-Lutz <adl@gnu.org>
290
291 * doc/automake.texi (Upgrading): New node.
292
2932004-01-13 Alexandre Duret-Lutz <adl@gnu.org>
294
295 * tests/conflnk3.test: Skip if `test -e' does not work.
296 Report from Lars Hecking.
297
298 * configure.ac, NEWS: Bump version to 1.8.2a.
299
3002004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
301
302 * configure.ac, NEWS: Bump version to 1.8.2.
303
304 * lib/py-compile: Check input files after option processing.
305 Ensure --basedir has an argument.
306 * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
307 if nothing was installed.
308 * tests/python10.test: New file.
309 * tests/Makefile.am (TESTS): Add python10.test.
310 Suggested by Sander Niemeijer.
311
312 * tests/txinfo29.test: Remove autom4te.cache.
313 Report from Greg Schafer.
314
315 * lib/install-sh: Do not use "$@" in a context where it may be empty,
316 for the sake of OSF1/Tru64's shell.
317 Report from He Li.
318
3192004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
320
321 * configure.ac, NEWS: Bump version to 1.8.1a.
322
323 * configure.ac, NEWS: Bump version to 1.8.1.
324
325 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
326 versions.
327
328 * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
329 copyright years and serial.
330
331 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
332
3332004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change)
334
335 * m4/as.m4 (AM_PROG_AS): Format and align help string more
336 consistently.
337 * m4/depend.m4 (AM_DEP_TRACK): Likewise.
338 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
339 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
340 * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
341
3422004-01-10 Paul Eggert <eggert@twinsun.com>
343
344 * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
345 expressions; it doesn't conform to POSIX.
346
3472004-01-10 Alexandre Duret-Lutz <adl@gnu.org>
348
349 * automake.in (shadow_unconditionally): New function...
350 (handle_source_transform): ... extracted from here.
351 (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
352 * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
353 lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
354 * tests/cond33.test: Make sure all conditional files are distributed.
355 Report from Ralf Corsepius.
356
3572004-01-08 Alexandre Duret-Lutz <adl@gnu.org>
358
359 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
360 * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
361 as well as `install-sh sources... dest' with multiple sources.
362 * tests/cond33.test: New file.
363 * tests/instsh2.test: Add more checks for install-sh.
364 * tests/transform.test: Test for installdirs.
365 * tests/Makefile.am (TESTS): Add cond33.test
366 Report from Ralf Corsepius.
367
368 * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
369 do not look like DEST:SRC.
370 * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
371
3722003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change)
373
374 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
375 config.status.lineno.
376
3772004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
378
379 * doc/automake.texi (Rebuilding): Typo.
380
3812004-01-06 Alexandre Duret-Lutz <adl@gnu.org>
382
383 * THANKS: Add Bruce Korb.
384
385 * automake.in, aclocal.in: Bump copyright years.
386
387 * configure.ac, NEWS: Bump version to 1.8.0c.
388
389 * configure.ac, NEWS: Bump version to 1.8.0b.
390
3912004-01-05 Alexandre Duret-Lutz <adl@gnu.org>
392
393 Mimic Paul Eggert's changes to Autoconf.
394 * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
395 * lib/Automake/Makefile.am (Config.pm): Likewise.
396 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
397
398 * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
399 lib/am/scripts.am: Strip any leading $(srcdir) from nobase_ files.
400 This fixes installation of nobase_ files in VPATH setups with Sun
401 and OSF1/Tru64 Make.
402 * tests/nobase.test: Augment to check installation from VPATH
403 builds.
404
4052004-01-04 Alexandre Duret-Lutz <adl@gnu.org>
406
407 * lib/texinfo.tex: New upstream version.
408
409 * NEWS: Summarize recent fixes.
410
411 * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits
412 and break setups where 775 directories are expected. Just obey
413 umask as we did in the past.
414 Report from Harlan Stenn.
415
4162004-01-03 Alexandre Duret-Lutz <adl@gnu.org>
417
418 * automake.in (scan_texinfo_file): Do not compare $outfile to ''
419 as $outfile might not be defined at all.
420
421 * lib/Automake/Variable.pm (define): Rework the way we check
422 Automake variable definition. Ensure consistent :=/+=/=
423 definitions only for variables that have been and are defined by
424 Automake, and make it an internal error. Ignore Automake
425 attempts to touch a user variable, even with += assignments.
426 * tests/txinfo29.test: New file.
427 * tests/Makefile.am (TESTS): Add txinfo29.test.
428 Reported by Bruce Korb.
429
4302004-01-02 Alexandre Duret-Lutz <adl@gnu.org>
431
432 * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
433 * tests/ltconv.test: Run automake with --add-missing, because
434 the CVS version of libtoolize no longer install config.sub and
435 config.guess by default.
436
437 Fix for PR automake/319:
438 * aclocal.in (scan_m4_files): Scan configure.ac.
439 (trace_used_macros, write_aclocal): Remove configure.ac from the
440 list of files to include.
441 * tests/Makefile.am (TESTS): Add acloca15.test.
442 * tests/acloca15.test: New file.
443
444 * aclocal.in (%file_includes): New variable.
445 (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
446 (scan_file): Scan for included files, and process these files
447 recursively. Fill %file_includes and %file_contents. Return the
448 list of included files, not the contents.
449 (scan_m4_files): Adjust calls to scan_files.
450 (strip_redundant_includes): New function.
451 (trace_used_macros): Call it.
452 (write_aclocal): Likewise. Also check the mtime of included files.
453 * tests/Makefile.am (TESTS): Add acloca14.test.
454 * tests/acloca14.test: New file.
455 Report from Phil Edwards.
456
4572003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
458
459 * automake.in (@common_files): Move configure, configure.ac, and
460 configure.in ...
461 (@common_sometimes): ... here so that these files do not appear
462 twice in DIST_COMMON.
463
464 * automake.in (maybe_push_required_file): Add $(srcdir) in front
465 a required files outside the current directory or its subdirectories.
466 * lib/am/distdir.am (distdir): Update comment.
467 Report from Nicolas Joly.
468
4692003-12-26 Alexandre Duret-Lutz <adl@gnu.org>
470
471 * doc/automake.texi (@copying): Do not repeat the version.
472 (Top): Use @insertcopying. Add a @detailmenu, this works around
473 Emacs 21's inability to lookup indices in sub-nodes (reported
474 by Kevin Ryde).
475 (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
476 Support for Other Languages, Preprocessing Fortran 77, Compiling
477 Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
478 is Chosen): Add missing descriptions in menus.
479 (Fortran 77 and Autoconf): Remove, this node was just saying "use
480 Autoconf 2.53 or greater".
481
4822003-12-26 Santiago Vila <sanvila@unex.es> (tiny change)
483
484 * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
485
4862003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change)
487
488 * doc/automake.texi (Conditional Sources): Typo.
489
4902003-12-25 Alexandre Duret-Lutz <adl@gnu.org>
491
492 * lib/Automake/Config.in: Require Exporter.
493 Report from Kevin Ryde (failure with Perl 5.005_03).
494
4952003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
496
497 * tests/aclocal6.test: Check for autom4te.cache only if it has
498 been created.
499 * tests/maintclean.test: Update comment.
500 Report from Bruno Haible.
501
502 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
503 Require texi2dvi-o.
504 Report from Václav Haisman.
505
5062003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
507
508 * configure.ac, NEWS: Bump version to 1.8.0a.
509
510 * configure.ac, NEWS: Bump version to 1.8.
511
512 * lib/texinfo.tex: New upstream version.
513
514 * Makefile.am (INSTALL): Copy the source from $(srcdir).
515
5162003-12-09 Alexandre Duret-Lutz <adl@gnu.org>
517
518 * lib/Automake/Rule.pm (define): Remove debugging traces.
519 Report from Akim Demaille.
520
5212003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
522 Alexandre Duret-Lutz <adl@gnu.org>
523
524 * Makefile.am (do_subst): Fix the substitution of @configure_input@.
525 (automake, aclocal): Create the output atomically and make it
526 read-only, as done in the Autoconf package.
527 * lib/Automake/Makefile.am (do_subst): Fix the substitution of
528 @configure_input@.
529 (Config.pm): Create the output atomically and make it read-only.
530 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
531 @configure_input@ and make the output read-only.
532 * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
533 tests/automake.in, tests/defs.in: Add a @configure_input@ line.
534
5352003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
536
537 * doc/automake.texi (Local Macros, CVS): Typos.
538
5392003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
540
541 * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
542 Perl 5.6.0 will not accept a reference sub reference for the
543 latter.
544 * automake.in (var_SUFFIXES_trigger): Adjust registration via
545 Automake::Variable::hook.
546 (handle_texinfo_helper): Make sure `inner_expand => 1' appears
547 on one line, so that Perl 5.6.0 does not complain about
548 inner_expand being a bare identifier.
549
5502003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
551
552 * aclocal.in (check_acinclude, scan_file): Output `warning:' in
553 front of warnings.
554 Report from Pavel Roskin.
555
5562003-12-04 Alexandre Duret-Lutz <adl@gnu.org>
557
558 * TODO: Remove some old entries.
559
560 * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
561 and CONFIG_STATUS_DEPENDENCIES. Move this sections later
562 in the manual since it's pretty advanced material.
563
564 * automake.in ($config_header_location): Remove. Use
565 %ac_config_files_location instead.
566 (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
567 at the top-level.
568 (handle_configure): Use rewrite_inputs_into_dependencies to
569 distribute and compute AC_CONFIG_HEADERS dependencies.
570 (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
571 %ac_config_files_location.
572 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
573 (%CONFIG_HIN%): ... this. $(srcdir) is already added in
574 scan_autoconf_traces.
575 * tests/Makefile.am (TESTS): Add confh5.test.
576 * tests/confh5.test: New file.
577
578 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
579 $< is not portable and the source is in $(srcdir).
580
5812003-12-03 Paolo Bonzini <bonzini@gnu.org>
582 Alexandre Duret-Lutz <adl@gnu.org>
583
584 * automake.in (handle_configure): Do not require link sources if
585 they contain a dollar, or if they were built. Likewise, do not
586 clean link destination if they contain a dollar.
587 (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
588 %ac_config_files_location with link destinations. Do not
589 store locations in @config_links, now that %ac_config_files_location
590 have them.
591 * tests/conflnk3.test: New file.
592 * tests/Makefile.am (TESTS): Add conflnk3.test.
593
5942003-12-02 Alexandre Duret-Lutz <adl@gnu.org>
595
596 * configure.ac, NEWS: Bump version to 1.7i.
597
598 * configure.ac, NEWS: Bump version to 1.7h.
599
600 * doc/automake.texi (Default _SOURCES): Fix reference to true.
601
602 * lib/texinfo.tex: New upstream version.
603
6042003-11-30 Alexandre Duret-Lutz <adl@gnu.org>
605
606 * automake.in (handle_source_transform): If it's present, use
607 libfoo_la.c instead of libfoo.c as the default source of
608 libfoo.la, and issue an -Wobsolete diagnostic. Do not be
609 greedy in the suffix replacement regex.
610 * doc/automake.texi (Default _SOURCES): New node.
611 (Program Sources, Libtool Modules): Refer to it.
612 * tests/ltlibsrc.test: Update to check for old default source files.
613
6142003-11-30 Gary V. Vaughan <gary@gnu.org>
615
616 * automake.in (&handle_source_transform): Calculate a default file
617 for use in the absence of an appropriate _SOURCES declaration by
618 first stripping any suffix from the unxformed target name, and
619 appending `.c'.
620 * doc/automake.texi (Program Sources, Libtool Modules): Document this.
621 * tests/ltlibsrc.test: New file.
622 * tests/Makefile.am (TESTS): Add ltlibsrc.test.
623
6242003-11-29 Alexandre Duret-Lutz <adl@gnu.org>
625
626 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
627 _value_as_list_recursive_worker): Merge into ...
628 (value_as_list_recursive): ... this function. Pass options
629 as a hash argument, and use the `location' option to trigger
630 the behavior of loc_and_value_as_list_recursive.
631 (traverse_recursively, transform_variable_recursively): Take
632 options as a %options argument.
633 (_do_recursive_traversal): Perform expansion of inner variables
634 (as in `$(FILE).ext') on request.
635 * automake.in (handle_options, check_libobjs_sources)
636 (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
637 (handle_ltlibraries, handle_man_pages, handle_dist)
638 (handle_gettext, am_install_var): Adjust usage of
639 value_as_list_recursive.
640 (handle_texinfo_helper): Pass inner_expand to
641 value_as_list_recursive.
642 * tests/txinfo28.test: New file.
643 * tests/Makefile.am (TESTS): Add txinfo28.test.
644 Report from Ralf Corsepius.
645
646 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
647 update @_substfroms and @_substfroms for undefined variables.
648 * tests/substre2.test: New file.
649 * tests/Makefile.am (TESTS): Add substre2.test.
650
651 * lib/Automake/VarDef.pm (value): Rename as ...
652 (raw_value): ... this.
653 (value): New method, strip # and \\\n.
654 (dump): Use raw_value.
655 * lib/Automake/Variable.pm (output): Use raw_value.
656 (value_as_list): Simplify, now that backslash and comments
657 are already removed.
658 * tests/txinfo22.test: Make sure Automake isn't confused
659 by comments in variables.
660
6612003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
662
663 * doc/automake.texi: More target vs. rule editing. Back out some
664 of the previous changes. It's OK to talk about targets as "entry
665 points", or as thing to build, but targets cannot be run: rules
666 are run.
667
668 * doc/automake.texi: s/target/rule/ where appropriate. A target
669 is the destination of a target rule, not the rule itself.
670 Suggested by Bruno Haible.
671
6722003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
673
674 * configure.ac, NEWS: Bump version to 1.7g.
675
676 * configure.ac, NEWS: Bump version to 1.7f.
677
678 * automake.in (prepend_srcdir): Parenthesize @inputs to remove
679 a maintainer-check warning.
680 * tests/subst2.test: Rewrite the $MAKE invocation to please
681 maintainer-check.
682
683 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
684 versions.
685
686 * doc/automake.texi (Program variables): Mention per-target
687 _CPPFLAGS in the documentation of INCLUDES.
688 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
689 Report from Bob Friesenhahn.
690
691 * doc/automake.texi (Extending): Elaborate on overriding.
692 * NEWS: Likewise.
693 Suggested by Bruno Haible.
694
6952003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
696
697 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
698 definitions that end with a line full of @substitutions@ that
699 would confuse HP-UX Make if it were blank.
700 (transform_variable_recursively): Make sure not to erase empty
701 variables.
702 * tests/Makefile.am (TESTS): Add subst2.test.
703 * tests/subst2.test: New file.
704 Report from Harlan Stenn.
705
706 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
707 Texinfo 4.1 bug.
708 Report from Dalibor Topic.
709
7102003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
711
712 Fix for PR automake/411:
713 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
714 into ...
715 (prepend_srcdir): ... this.
716 (rewrite_inputs_into_dependencies): New function, extracted from ...
717 (handle_configure): ... here. Adjust to use prepend_srcdir
718 or rewrite_inputs_into_dependencies where needed. Especially,
719 using (the new) rewrite_inputs_into_dependencies to compute
720 Makefile dependencies will fix PR/411.
721 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
722 already distributed by rewrite_inputs_into_dependencies.
723 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
724 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
725 invocation refer to zardoz. Make sure two.in and three.in
726 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
727 * tests/distcom.test: Delete. This is covered by tests/output9.test.
728 * tests/output10.test: New file, for PR/411.
729
7302003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
731
732 * automake.in (append_exeext): Do not append $(EXEEXT) to
733 @substitutions@.
734 * tests/exeext4.test: New file.
735 * tests/Makefile.am (TESTS): Add exeext4.test.
736
7372003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
738
739 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
740 mistakenly added on 2001-03-05.
741 * tests/remake5.test: New file.
742 * tests/Makefile.am (TESTS): Add remake5.test.
743 Report from Ralf Corsepius.
744
7452003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
746
747 * configure.ac, NEWS: Bump version to 1.7e.
748
749 * configure.ac, NEWS: Bump version to 1.7d.
750
751 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
752 upstream versions.
753
7542003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
755 Alexandre Duret-Lutz <adl@gnu.org>
756
757 * lib/am/texinfos.am (install-info): Depend on
758 install-info-recursive or install-info-am even if no-installinfo.
759 * tests/txinfo27.test: New file.
760 * tests/Makefile.am (TESTS): Add txinfo26.test.
761
7622003-11-18 Paolo Bonzini <bonzini@gnu.org>
763 Alexandre Duret-Lutz <adl@gnu.org>
764
765 * lib/ylwrap: Do not overwrite headers if they haven't changed.
766 Fix the include guard substitution.
767 * tests/yacc6.test: Augment to run ylwrap, and make sure it
768 does not needlessly update headers.
769 * tests/yacc8.test: Make sure headers are not needlessly updated
770 with ylwrap is not used. Move `test -f foo.o' into the
771 Makefile as `test -f foo.$(OBJEXT)' for portability.
772
7732003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
774
775 * automake.in (generate_makefile): Define SUBDIRS if it is
776 not defined and DIST_SUBDIRS is.
777 * tests/subpkg2.test: New file.
778 * tests/Makefile.am (TESTS): Add subpkg2.test.
779 Report from Gary V. Vaughan.
780
781 * tests/suffix11.test: Check for suffixes containing `-'.
782 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
783 suffixes.
784
785 * lib/Automake/Rule.pm (define): Suggest using target-local instead
786 of target-am, not target-am-local.
787 * tests/overrid.test: Check the diagnostic for clean-am.
788 Report from Bruno Haible.
789
7902003-11-17 Jim Meyering <jim@meyering.net>
791
792 * bootstrap: Require not only that `perl' have the executable
793 bit set, but also that it is not a directory.
794
795 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
796
7972003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
798
799 * automake.in (ac_config_files_location): Declare as a hash.
800 (handle_configure): Rewrite the computation of AC_CONFIG_FILES
801 dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
802 for inputs which are also outputs, and do not check inputs
803 relatively to the current directory.
804 (scan_autoconf_config_files): Take $where as argument, and
805 fill $ac_config_files_location.
806 * tests/output8.test, tests/output9.test: New files.
807 * tests/Makefile.am (TESTS): Add output8.test and output9.test.
808 Report from Bruno Haible.
809
8102003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
811
812 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
813 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
814 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
815 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
816 tests/all.test, tests/alpha.test, tests/amassign.test,
817 tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
818 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
819 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
820 tests/ansi7.test, tests/ansi9.test, tests/ar.test,
821 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
822 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
823 tests/badprog.test, tests/block.test, tests/canon2.test,
824 tests/canon3.test, tests/canon4.test, tests/canon5.test,
825 tests/ccnoco.test, tests/check.test, tests/check2.test,
826 tests/check3.test, tests/checkall.test, tests/clean.test,
827 tests/colneq2.test, tests/colon.test, tests/colon2.test,
828 tests/colon3.test, tests/colon4.test, tests/colon5.test,
829 tests/colon6.test, tests/colon7.test, tests/comment.test,
830 tests/comment2.test, tests/comment4.test, tests/comment6.test,
831 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
832 tests/cond10.test, tests/cond11.test, tests/cond13.test,
833 tests/cond14.test, tests/cond15.test, tests/cond16.test,
834 tests/cond17.test, tests/cond18.test, tests/cond19.test,
835 tests/cond21.test, tests/cond22.test, tests/cond25.test,
836 tests/cond26.test, tests/cond28.test, tests/cond3.test,
837 tests/cond4.test, tests/cond5.test, tests/cond6.test,
838 tests/cond7.test, tests/cond8.test, tests/cond9.test,
839 tests/condd.test, tests/condinc.test, tests/condlib.test,
840 tests/condman.test, tests/condman2.test, tests/conf2.test,
841 tests/confdeps.test, tests/confh.test, tests/confh4.test,
842 tests/config.test, tests/confincl.test, tests/conflnk.test,
843 tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
844 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
845 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
846 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
847 tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
848 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
849 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
850 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
851 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
852 tests/depdist.test, tests/depend.test, tests/depend2.test,
853 tests/depend3.test, tests/depend4.test, tests/destdir.test,
854 tests/dirlist.test, tests/discover.test, tests/distcom.test,
855 tests/distcom2.test, tests/distdir.test, tests/distname.test,
856 tests/dollar.test, tests/double.test, tests/dup2.test,
857 tests/empty.test, tests/empty2.test, tests/empty3.test,
858 tests/empty4.test, tests/error.test, tests/exdir.test,
859 tests/exeext.test, tests/exeext3.test, tests/exsource.test,
860 tests/ext.test, tests/ext2.test, tests/extra.test,
861 tests/extra2.test, tests/extra3.test, tests/extra4.test,
862 tests/extra5.test, tests/extra6.test, tests/extra7.test,
863 tests/flibs.test, tests/fnoc.test, tests/fo.test,
864 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
865 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
866 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
867 tests/header.test, tests/implicit.test, tests/include.test,
868 tests/include2.test, tests/info.test, tests/insh2.test,
869 tests/install2.test, tests/installdir.test, tests/instdat.test,
870 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
871 tests/instman.test, tests/instman2.test, tests/instsh.test,
872 tests/instsh2.test, tests/interp.test, tests/interp2.test,
873 tests/java.test, tests/java2.test, tests/javaprim.test,
874 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
875 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
876 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
877 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
878 tests/library.test, tests/libtool.test, tests/libtool2.test,
879 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
880 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
881 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
882 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
883 tests/maintclean.test, tests/make.test, tests/makej.test,
884 tests/makevars.test, tests/man.test, tests/man2.test,
885 tests/mclean.test, tests/mdate.test, tests/mdate2.test,
886 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
887 tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
888 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
889 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
890 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
891 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
892 tests/order.test, tests/outdir.test, tests/output.test,
893 tests/output2.test, tests/output3.test, tests/output4.test,
894 tests/parse.test, tests/phony.test, tests/pluseq.test,
895 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
896 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
897 tests/postproc.test, tests/ppf77.test, tests/pr2.test,
898 tests/pr204.test, tests/pr220.test, tests/pr224.test,
899 tests/pr229.test, tests/pr243.test, tests/pr266.test,
900 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
901 tests/pr300-lib.test, tests/pr300-ltlib.test,
902 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
903 tests/pr87.test, tests/pr9.test, tests/prefix.test,
904 tests/proginst.test, tests/python.test, tests/python3.test,
905 tests/python4.test, tests/python5.test, tests/python6.test,
906 tests/python7.test, tests/python8.test, tests/python9.test,
907 tests/recurs2.test, tests/remake.test, tests/remake2.test,
908 tests/remake3.test, tests/req.test, tests/reqd.test,
909 tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
910 tests/space.test, tests/specflg3.test, tests/specflg6.test,
911 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
912 tests/spell3.test, tests/spelling.test, tests/spy.test,
913 tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
914 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
915 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
916 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
917 tests/subdirbuiltsources.test, tests/subobj.test,
918 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
919 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
920 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
921 tests/subpkg.test, tests/subst.test, tests/substref.test,
922 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
923 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
924 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
925 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
926 tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
927 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
928 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
929 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
930 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
931 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
932 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
933 tests/unused.test, tests/vars.test, tests/vars3.test,
934 tests/vartar.test, tests/version.test, tests/version2.test,
935 tests/version4.test, tests/version6.test, tests/version7.test,
936 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
937 tests/werror.test, tests/whoami.test, tests/yacc.test,
938 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
939 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
940 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
941 to Automake, not autoconf.
942
943 Fix for PR automake/408:
944 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
945 from $file, as already done for dist-info.
946 * tests/Makefile.am (TESTS): Add txinfo26.test.
947 * tests/txinfo26.test: New file.
948 Report from Nicholas Wourms.
949
9502003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
951
952 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
953 running AC_CHECK_PROGS(EMACS).
954 * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
955 Report from Jens Petersen.
956
957 * tests/mkinst2.test: Rewrite.
958
959 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
960
9612003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
962
963 * automake.in (scan_autoconf_traces): Honor sinclude.
964 * tests/sinclude.test: Check for sinclude.
965 Report from Roberto Bagnara.
966
9672003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
968
969 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
970 already build the tarballs. Commit files right before tagging.
971 Check NEWS before running distcheck.
972
973 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
974
975 * configure.ac, NEWS: Bump version to 1.7c.
976
977 * configure.ac, NEWS: Bump version to 1.7b.
978 * Makefile.am (maintainer-check): Ignore comments while
979 scanning for rm without -f.
980
981 * Makefile.am (fetch): Get all files from savannah. Do not
982 postprocess Struct.pm and XFiles.pm, since we now are the master
983 of these.
984 * lib/config.sub, lib/config.guess, lib/config-ml.in,
985 lib/texinfo.tex: New upstream versions.
986
987 * configure.ac: Check that autoconf is installed, that it works,
988 and that it is recent enough in three steps, not one.
989
990 * NEWS: Minor edits.
991
992 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
993 (dist_pkgvdata_DATA): ... here.
994
995 * tests/spy.test: Document overlapping ::-rules incompatibilities,
996 and check only non-overlapping ::-rules.
997
998 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
999 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
1000 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
1001 (Uniform): Do not speak of missing HTML support, this is
1002 confusing.
1003 * lib/Automake/Variable.pm (_silent_variable_override): Add
1004 AM_MAKEINFOHTMLFLAGS.
1005 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
1006 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
1007 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
1008 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
1009
10102003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
1011
1012 * tests/spy.test: New file.
1013 * tests/Makefile.am (TESTS): Add spy.test.
1014
1015 * automake.in (handle_configure): Distribute and define mkinstalldirs
1016 only if it is already present in the package.
1017 (scan_autoconf_files): Do not require mkinstalldirs.
1018 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
1019 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
1020 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
1021 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
1022 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
1023 * m4/mkdirp.m4: New file.
1024 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
1025 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
1026 * tests/Makefile.am (TESTS): Remove insh.test.
1027 * tests/insh.test: Delete.
1028 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
1029 * tests/auxdir.test: Install mkinstalldirs.
1030 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
1031 $(mkdir_p), not $(mkinstalldirs).
1032 * tests/empty.test: Run configure, do not substitute things by hand.
1033 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
1034 as an example, not mkinstalldirs.
1035 (Auxiliary Programs) <mkinstalldirs>: Update.
1036
1037 * tests/defs.in: Handle required=bzip2.
1038
1039 * tests/defs.in: Export SHELL.
1040 * tests/cond11.test: Missing quotes.
1041 * tests/nogzip2.test: Require bzip2.
1042
10432003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
1044
1045 * NEWS: Add news entries from 1.6.x and 1.7.x.
1046
1047 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
1048
1049 * automake.in (check_gnu_standards): Install COPYING only if
1050 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
1051 overwrite the license otherwise.
1052 * tests/Makefile.am (TESTS): Add license.test.
1053 * tests/license.test: New file.
1054
1055 * lib/mkinstalldirs: Mention automake-patches@gnu.org and
1056 bug-automake@gnu.org.
1057 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
1058 Likewise. Also add support for --help and --version.
1059 * lib/py-compile, lib/ylwrap: Likewise, and reindent.
1060
10612003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
1062
1063 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
1064 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
1065 * lib/am/java.am (JAVACFLAGS): Remove.
1066 * tests/dejagnu3.test: Check that the environment value
1067 of RUNTESTFLAGS get passed down to runtest.
1068 Suggested by Mark Mitchell.
1069
1070 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
1071 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
1072 breaks `make -s'. Instead, fold the compile command on two lines,
1073 so that it take less space on the display.
1074 Suggested by Karl Berry and William Fulton.
1075
1076 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
1077 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
1078 to select $(srcdir) or `.' builds.
1079 (INFO_DEPS): Define here.
1080 * lib/am/texinfos.am (dist-info): Strip filename starting with
1081 "$(srcdir)/".
1082 * automake.in (output_texinfo_build_rules): Take a new argument
1083 $insrc, and adjust substitutions in 'texibuild'.
1084 (handle_texinfo_helper): Compute a regex of all user-cleaned
1085 files, and use this to select whether to build .info files in `.'
1086 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
1087 Alway build the version.texi and stamp files in $(srcdir). Do not
1088 define INFO_DEPS.
1089 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
1090 and txinfo25.test.
1091 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
1092 New files.
1093 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
1094 tests/vtexi.test: Adjust to new rules.
1095
10962003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
1097
1098 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
1099 * configure.ac: Require Autoconf 2.58a, and check for 2.58.
1100
11012003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
1102
1103 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
1104 * tests/Makefile.am (TESTS): Add autohdr3.test
1105 * tests/autohdr3.test: New file.
1106
1107 * automake.in (handle_configure): Rename am__configure_deps
1108 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
1109 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
1110 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
1111 ACLOCAL_M4_DEPS while processing configure.am.
1112 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
1113 (scan_aclocal_m4): Do not distribute aclocal.m4, this
1114 is done from lib/am/configure.am.
1115 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
1116 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
1117 $(am__configure_deps) or $(am__aclocal_m4_deps).
1118 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
1119
11202003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
1121
1122 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
1123 $(am__configure_deps).
1124
1125 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
1126 sources, and without using require_file. Define %CONFIG_H_DEPS%
1127 and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
1128 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
1129 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
1130 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
1131 * tests/autohdr4.test: New file.
1132 * tests/Makefile.am (TESTS): Add autohdr4.test.
1133 * tests/config.test: Do not grep, run things to see if they work.
1134
11352003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
1136
1137 * tests/output7.test: Populate sub/ with a dummy file, so that it
1138 is not empty. This fixes a failure reported by Patrick Welche.
1139 * lib/am/distdir.am: Add note about tar's `-o' option and empty
1140 directories.
1141
11422003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
1143
1144 * lib/ylwrap: Typo in regex.
1145
11462003-10-23 Paul Eggert <eggert@twinsun.com>
1147
1148 * lib/Automake/XFile.pm: Don't assume -j is solo.
1149 Issue a more-informative diagnostic.
1150 Problems reported by Eric Sunshine.
1151
11522003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
1153
1154 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
1155 Always define lispdir.
1156 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
1157 $(EMACS) to decide whether _LISP files must be installed,
1158 not $(lispdir).
1159 * doc/automake.texi (Emacs Lisp): Mention the two ways to install
1160 non byte-compiled Emacs lisp files.
1161 * tests/lisp4.test, tests/lisp5.test: Check "make install"
1162 when EMACS=no.
1163 Suggested by Simon Josefsson.
1164
1165 * NEWS: Clarify the entry about multiple conditional definitions
1166 of _PROGRAMS, _LDADD, and _LIBADD.
1167 Report from Simon Josefsson.
1168
1169 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
1170 too.
1171 Report from Elmar Hoffmann.
1172
11732003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
1174
1175 * aclocal.in ("MAIN", usage, parse_arguments): Move near
1176 the end, so "MAIN" can use prototypes.
1177 (scan_configure): Move later too, for the sake of prototypes.
1178 (scan_configure_dep): Fix setting of $scanned_configure_dep.
1179 (trace_used_macros): Do not take any argument.
1180
11812003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
1182
1183 * tests/stdlib2.test: Check AM_LDFLAGS alone.
1184
1185 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1186 versions.
1187
1188 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
1189 * tests/stdlib2.test: New file.
1190 * tests/Makefile.am (TESTS): Add stdlib2.test.
1191 Report from Kevin P. Fleming.
1192
11932003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
1194
1195 * tests/defs.in: For required=runtest, check that we are using
1196 a DejaGnu that supports specifying the program on the command-line.
1197
11982003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
1199
1200 For Debian Bug #213524:
1201 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
1202 stderr and stdout, and grep only the first line while testing
1203 install-info --version's output. This revert part of the change
1204 from 2001-05-18.
1205
12062003-10-01 Akim Demaille <akim@epita.fr>
1207
1208 * m4/amversion.in: Add (C) to the Copyright notice.
1209
12102003-10-01 Paul Eggert <eggert@twinsun.com>
1211
1212 * lib/Automake/XFile.pm: Use Errno.
1213 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
1214 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
1215
12162003-09-30 Tom Tromey <tromey@redhat.com>
1217
1218 * lib/Automake/Options.pm (_process_option_list): Recognize
1219 no-dist.
1220 * NEWS: Update.
1221 * doc/automake.texi (Options): Document no-dist.
1222 * automake.in (check_cygnus): Set no-dist option.
1223 (handle_dist): Recognize no-dist.
1224 * tests/nodist3.test: New file.
1225 * tests/Makefile.am (TESTS): Added nodist3.test.
1226
12272003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
1228
1229 * automake.in (handle_clean): Take $makefile as argument, and
1230 define %MAKEFILE% while processing clean.am.
1231 (generate_makefile): Pass $makefile to handle_clean.
1232 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
1233 not Makefile.
1234 * tests/gnumake.test: New file.
1235 * tests/Makefile.am (TESTS): Add gnumake.test.
1236 Report from Braden N. McDaniel.
1237
12382003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
1239
1240 * doc/automake.texi (Scripts): Update the example about automake.
1241 Mention `dist_' for distributed scripts.
1242
1243 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
1244 Suggested by Eric Sunshine.
1245
12462003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
1247
1248 * README: More mailing lists.
1249
1250 * NEWS: Mention the switch to GNU FDL for the manual.
1251
12522003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
1253
1254 * lib/install-sh (src, dst): Protect names starting with `-',
1255 as in mkinstalldirs.
1256
1257 * configure.in: Rename as ...
1258 * configure.ac: ... this.
1259 * README: s/configure.in/configure.ac/.
1260
1261 * doc/fdl.texi: New file.
1262 * doc/Makefile.am (automake_TEXINFOS): New variable.
1263 * doc/automake.texi (Copying This Manual): New appendix, include
1264 fdl.texi.
1265 (Macro and Variable Index, General Index): Move as subsections of ...
1266 (Indices): This new appendix.
1267
1268 * doc/automake.texi: Refer to configure.ac instead of configure.in.
1269
1270 * automake.texi: Move ...
1271 * doc/automake.texi: ... here.
1272 * doc/Makefile.am: New file.
1273 * configure.in: Output doc/Makefile.
1274 * Makefile.am (SUBDIRS): Add doc.
1275 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
1276
12772003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
1278
1279 * aclocal.in (write_aclocal): Consider files with relative
1280 paths as local to the project, i.e., subject to m4_include.
1281 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
1282 is also used for .m4 files in the outer project.
1283
1284 Support for multiple inputs in AC_CONFIG_FILES.
1285 Requested long ago by Harlan Stenn.
1286 * automake.in (handle_dist): Remove unused argument $makefile.
1287 (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
1288 not $am_relative_dir.
1289 (rewrite_inputs_into_dependencies): Allow $add_srcdir to
1290 be a filename that must always be prefixed by $(srcdir) or
1291 $(top_srcdir).
1292 (handle_configure, generate_makefile): Revamp to make the
1293 Makefile.am, Makefile.in, Makefile more independent.
1294 (locate_am): New function.
1295 (scan_configure_dep, parse_arguments): Use locate_am.
1296 (MAIN): Adjust call to generate_makefile.
1297 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
1298 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
1299 * tests/output6.test, tests/output7.test: New files.
1300 * tests/Makefile.am (TESTS): Add them.
1301 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
1302 multiple inputs are scanned.
1303
13042003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
1305
1306 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
1307 and lib/Automake/Struct.pm from Autoconf.
1308 * lib/Automake/XFile.pm: Update comment, Automake is now
1309 the master for this file. Cosmetic changes.
1310
13112003-09-09 Akim Demaille <akim@epita.fr>
1312
1313 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
1314 Reported by Gary Vaughan.
1315 (&find_file): Walk the @include in forward order.
1316
13172003-09-09 Akim Demaille <akim@epita.fr>
1318
1319 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
1320 trailing files.
1321
13222003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
1323
1324 Changes to m4_included files should also cause aclocal.m4 to change.
1325 * aclocal.in (m4_include_rx): New variable.
1326 (scan_configure_dep): New function.
1327 (scan_configure, add_file): Simplify using scan_configure_dep.
1328 * tests/Makefile.am (TESTS): Add acloca13.test.
1329 * tests/aclocal13.test: New file.
1330
1331 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
1332 that we have fake version in the $PATH.
1333
1334 * aclocal.in (add_file): Remove useless filling of $output, probably
1335 left a after CVS conflict. This code is now in write_aclocal.
1336
1337 * aclocal.in (configure_ac): Do not call require_configure_ac
1338 before parsing the options.
1339 * automake.in (configure_ac): Likewise.
1340 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
1341 find it.
1342 * lib/Automake/Configure_ac.pm (require_configure_ac):
1343 find_configure_ac never return an undefined value, so test
1344 the file's existence instead.
1345 * tests/Makefile.am (TESTS): Add help.test.
1346 * tests/help.test: New file.
1347
13482003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
1349
1350 * lib/Automake/XFile.pm: Update to use ChannelDefs.
1351 (close): Call Automake::FileUtils::handle_exec_errors on errors.
1352 * automake.in (scan_autoconf_files): Exit with $?=63 on version
1353 mismatch.
1354 (scan_autoconf_traces): Likewise. Close the autoconf pipe to
1355 capture abnormal exits.
1356 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
1357 instead.
1358 (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
1359 * lib/missing: When a tool has run and exited with $?=63, emulate
1360 it. Adjust the diagnostic and pretend the tool is tool old in this
1361 case. Use an emacs-updated "scriptversion" variable.
1362 * configure.in: Output tests/aclocal-${APIVERSION} and
1363 tests/automake-${APIVERSION}.
1364 * tests/aclocal.in, tests/automake.in,
1365 tests/missing.test, tests/missing2.test: New files.
1366 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
1367 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
1368 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
1369 already testing for this.
1370 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
1371 configure.in so that aclocal works.
1372 * tests/defun.test: Quote the AC_DEFUN body.
1373 * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
1374 and remove dup3.test.
1375 (check_SCRIPTS): Add aclocal and automake.
1376
1377 * tests/unused.test: Quote AC_DEFUN arguments.
1378
13792003-09-05 Paul Eggert <eggert@twinsun.com>
1380
1381 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
1382 lib/depcomp, lib/missing, lib/py-compile,
1383 lib/Automake/Channels.pm, lib/Automake/Rule.pm,
1384 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
1385 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
1386 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
1387 m4/python.m4, tests/backsl4.test, tests/defs.in,
1388 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
1389 tests/error.test, tests/getopt.test, tests/gnuwarn.test,
1390 tests/include2.test, tests/libobj10.test, tests/libtool5.test,
1391 tests/libtool6.test, tests/lisp3.test, tests/phony.test,
1392 tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
1393 tests/vtexi.test:
1394 Spelling and minor grammar fixes.
1395
13962003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
1397
1398 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
1399 lib/config-ml.in, lib/symlink-tree: New upstream versions.
1400
14012003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
1402
1403 * tests/yacc7.test: Require bison.
1404
14052003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
1406
1407 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
1408 ($underquoted_manual_once): New variable.
1409 * automake.texi (Extending aclocal): Document this.
1410
14112003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
1412
1413 * aclocal.in (@file_order): New variable, to make sure
1414 files are output in the opposite order of the -I arguments.
1415 (scan_file): Fill it.
1416 (trace_used_macros, write_aclocal): Use it.
1417 (scan_m4_files): Reverse the directory contents, so that
1418 macros from the lexicographically greatest files are preferred.
1419 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
1420 New files.
1421 * tests/Makefile.am (TESTS): Add them.
1422
14232003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
1424
1425 For Debian Bug #206299:
1426 * automake.in ($configure_deps_greatest_timestamp,
1427 $output_deps_greatest_timestamp): New variables.
1428 (initialize_per_input): Reset $output_deps_greatest_timestamp.
1429 (scan_autoconf_traces, scan_autoconf_files, read_am_file):
1430 Update $configure_deps_greatest_timestamp and
1431 $output_deps_greatest_timestamp
1432 (generate_makefile): Rewrite the logic to decide whether
1433 to rewrite the output. Move the leading dup_channel_setup
1434 and trailing drop_channel_setup to MAIN, so that
1435 drop_channel_setup is executed for all exit paths.
1436 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
1437 * tests/distcom6.test: New file. Report from Scott James Remnant.
1438 * tests/Makefile.am (TESTS): Add distcom6.test.
1439
1440 * configure.in: Require Autoconf 2.57b to be sure
1441 aclocal can use autom4te --language Autoconf-without-aclocal-m4.
1442 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
1443 calls inside the AM_INIT_AUTOMAKE macro.
1444 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
1445 AC_PREREQ calls inside the macros.
1446 * m4/header.m4: Remove AC_PREREQ.
1447
1448 * automake.in (file_contents_internal): Do not add newlines before
1449 empty actions.
1450
1451 * aclocal.in (write_aclocal): Take an output file and list of
1452 used macros in arguments and make up the file contents here.
1453 (trace_used_macros): New function.
1454 (add_file): Do not update $output.
1455 ($output): Delete.
1456 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
1457 for these traced macros. This should shorten aclocal.m4 by
1458 stripping out unused macros.
1459 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
1460 * tests/aclibobj.test: Make sure configure.in exists by the time
1461 aclocal runs.
1462 * tests/aclocal8.test: New file.
1463 * tests/Makefile.am (TESTS): Add aclocal8.test.
1464 Suggested by Bruno Haible and Akim Demaille.
1465
14662003-08-21 Akim Demaille <akim@epita.fr>
1467
1468 * lib/Automake/Configure_ac.pm (&find_configure_ac)
1469 (&require_configure_ac): Accept an optional directory argument.
1470 ($configure_ac): Remove.
1471 * aclocal.in, automake.in ($configure_ac): New.
1472 * lib/Automake/Variable.pm: Don't use $configure_ac, just
1473 configure.ac.
1474
14752003-08-20 Akim Demaille <akim@epita.fr>
1476
1477 * lib/Automake/FileUtils.pm: More perldoc.
1478 (&up_to_date_p): New.
1479
14802003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
1481
1482 Fix for PR automake/398:
1483 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
1484 set. Display `none' instead of `:' and $PYTHON is set to `:'
1485 when no suitable interpreter is found. Honor ACTION-IF-FOUND and
1486 ACTION-IF-NOT-FOUND.
1487 * automake.texi (Python): Document ACTION-IF-FOUND and
1488 ACTION-IF-NOT-FOUND.
1489 * tests/python4.test, tests/python5.test, tests/python6.test,
1490 tests/python7.test, tests/python8.test, tests/python9.test: New
1491 files.
1492 * tests/Makefile.am (TESTS): Add them.
1493 Report from Per Cederqvist.
1494
14952003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
1496
1497 Fix for PR automake/399:
1498 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
1499 Report from Per Cederqvist.
1500
15012003-08-12 Raja R Harinath <harinath@acm.org>
1502
1503 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
1504 (not): Replace loop with 'map'.
1505 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
1506 * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
1507 Don't 'simplify' result of 'invert', since it's already in
1508 canonical form.
1509 * lib/Automake/Rule.pm (define): Replace loop with
1510 'not_always_defined_in_cond'.
1511
1512 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
1513 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
1514 (define): Reword comment slightly.
1515 * Variable.pm (_var_order, msg_cond_var): Typo in comment.
1516 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
1517 spurious automake error exit.
1518
15192003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
1520
1521 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
1522 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
1523 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
1524 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
1525 (new): Adjust to call Automake::ItemDef::new.
1526 (comment, location, owner): Delete. Now inherited from ItemDef.
1527 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
1528 (_new): Adjust to call Automake::Item::new.
1529 (name, def, rdef, _set, conditions, not_always_defined_in_cond):
1530 Delete. How inherited from Item, where `_set' is called `set'.
1531 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
1532 (suffix_rules_default): Delete. Now
1533 Automake::Rule::_suffix_rules_default
1534 (suffixes): Delete. Now Automake::Rule::suffixes.
1535 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
1536 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
1537 (%targets, %target_source, %target_name, %target_owner): Delete,
1538 replaced by the Rule and RuleDef classes.
1539 (dependencies, depend, actions): Delete. Now in Automake::Rule.
1540 (suffix_rules, register_suffix_rule): Likewise.
1541 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
1542 (known_extensions_list): Delete. Now
1543 Automake::Rule::_known_extensions_list.
1544 (target_conditions): Delete. Now inherited by Automake::Rule
1545 from Automake::Item::conditions.
1546 (rule_define): Delete. Now Automake::Rule::define. Adjust all
1547 callers.
1548 (target_defined): Delete. Now Automake::Rule::rule. Adjust all
1549 callers.
1550 (initialize_per_input): Adjust to call Automake::Rule::reset.
1551 (err_target, err_cond_target, msg_cond_target, msg_target,
1552 reject_target): Delete. Now defined in Automake::Rule as
1553 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
1554 Adjust all callers.
1555 (handle_languages): Call suffix_rules_count.
1556 * tests/location.test: Adjust expected diagnostics. We now display
1557 $(EXEEXT) accurately.
1558
15592003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
1560
1561 Revert the fix for PR automake/291:
1562 * lib/Automake/Variable.pm (define): Do not warn about variables
1563 starting with `_' which are an issue on NEWS-OS 4.2R. According
1564 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
1565 was released on 1996 and is not in wide use. On the other hand,
1566 variables starting with `_' are mandatory in several situations,
1567 so diagnosing them is more annoying than useful.
1568 * tests/canon5.test: Do not use -Wno-portability.
1569 * tests/vars2.test: Delete.
1570 * tests/Makefile.am (TESTS): Remove vars2.test.
1571 Suggested by Jim Meyering.
1572
15732003-08-09 Raja R Harinath <harinath@acm.org>
1574
1575 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
1576 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
1577 Automake::Disjunctions::ambiguous_p.
1578
15792003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1580
1581 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
1582 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
1583 * automake.in (rule_define): Adjust usage.
1584 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
1585
1586 * lib/Automake/Options.pm: New file.
1587 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
1588 * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
1589 ($default_strictness_name, $strictness, $strictness_name)
1590 (%options, %global_options, process_option_list)
1591 (set_strictness): Remove, now in Options.pm.
1592 (initialize_per_input): Call Automake::Options::reset.
1593 (handle_options, get_object_extension, get_object_extension)
1594 (handle_languages, handle_single_transform_list, handle_compile)
1595 (handle_texinfo_helper, handle_man_pages, handle_dist)
1596 (handle_configure, do_check_merge_target)
1597 (handle_factored_dependencies, handle_tests)
1598 (handle_minor_options, scan_autoconf_traces, check_cygnus)
1599 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
1600 (make_paragraphs, am_install_var, parse_arguments): Adjust
1601 to set and read options via the new interface.
1602
16032003-08-07 Raja R Harinath <harinath@acm.org>
1604
1605 * Makefile.am (maintainer-check): Update perllibdir.
1606 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
1607 (EXTRA_DIST): Add Config.in.
1608 * Makefile.in, lib/Automake/Makefile.in: Regenerate.
1609 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
1610 $perllibdir.
1611
16122003-08-06 Raja R Harinath <harinath@acm.org>
1613
1614 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
1615 from the builddir too, to pick up Automake::Config.
1616 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
1617 * configure: Regenerate.
1618 * automake.in (BEGIN): Handle multiple directories in $perllibdir.
1619 * aclocal.in (BEGIN): Likewise.
1620
16212003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1622
1623 * tests/ltcond.test: Thinko.
1624
16252003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
1626
1627 * lib/Automake/Config.in: New file.
1628 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
1629 CLEANFILES): New variables.
1630 (Config.pm): New rule.
1631 * Makefile.am (maintainer-check): Adjust expected differences
1632 between automake.in and automake.
1633 * aclocal.in, automake.in: Use Automake::Config.
1634
16352003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
1636
1637 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
1638
1639 * automake.in (handle_texinfo_helper): Use the user definition
1640 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
1641 * tests/txinfo22.test: New file.
1642 * tests/Makefile.am (TESTS): Add txinfo22.test.
1643 Report from Tom Tromey.
1644
16452003-08-03 Raja R Harinath <harinath@acm.org>
1646
1647 * lib/Automake/Variable.pm (@EXPORT): Remove
1648 traverse_variable_recursively and
1649 require_variables_for_variable.
1650 (require_variables_for_variable, traverse_variable_recursively)
1651 (_traverse_variable_recursively_worker): Convert to
1652 Automake::Variable methods, remove support for being
1653 invoked with variable names, and rename to ...
1654 (requires_variables, traverse_recursively)
1655 (_do_recursive_traversal): ... these.
1656 (_value_as_list_recursive_worker, transform_variable_recursively):
1657 Update to reflect changes.
1658 * automake.in (handle_LIBOBJS, handle_ALLOCA)
1659 (handle_libraries, handle_ltlibraries, am_primary_prefixes):
1660 Likewise.
1661 (define_objects_from_sources): Fix typo in comment.
1662
16632003-08-02 Raja R Harinath <harinath@acm.org>
1664
1665 * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1666 (register_language): Replace 'grep' with 'foreach' modifier.
1667
16682003-08-01 Raja R Harinath <harinath@acm.org>
1669
1670 * lib/Automake/Variables.pm (variables): Return a list of
1671 Automake::Variable instances, not a list of strings.
1672 (dump): Remove support for being invoked with a string.
1673 (variables_dump): Adapt to these changes.
1674 * automake.in (check_typos): Likewise.
1675 (am_primary_prefixes): Likewise.
1676
16772003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1678
1679 * lib/depcomp (aix): Support AIX Compiler version 6.
1680
16812003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
1682
1683 * automake.texi (A Shared Library): Rewrite and split into
1684 subsections. Valuable comments from Norman Gray, Harlan Stenn,
1685 Tim Van Holder, and Guido Draheim.
1686 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1687 * tests/Makefile.am (TESTS): Add them.
1688
16892003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
1690
1691 * automake.in (handle_single_transform_list): Complain about
1692 foo.$(OBJEXT) being created both with libtool and without, not
1693 about foo.lo.
1694 Report from Tim Van Holder.
1695
16962003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
1697
1698 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1699 symlink-tree.
1700 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1701 upstream versions.
1702
17032003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
1704
1705 * automake.in (handle_configure): Cosmetic change to avoid
1706 a maintainer-check complaint.
1707
17082003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1709
1710 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1711 (variable_dump): Replace by ...
1712 (dump): ... this method.
1713 (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1714 (define, variables_dump): Adjust to use Automake::Variable::dump
1715
1716 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1717 * automake.texi (Built sources example): Adjust example.
1718
17192003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
1720
1721 * automake.in (get_object_extension, handle_languages)
1722 (handle_single_transform_list, handle_compile, handle_compile)
1723 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1724 (handle_tests, handle_minor_options, check_gnu_standards)
1725 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1726 Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1727
1728 Complete changes from 2003-07-08.
1729 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1730 replaced by $options{'no-dependencies'}.
1731 ($global_options): Remove.
1732 (%global_options): New variable.
1733 (initialize_per_input): Empty %options.
1734 (process_option_list): Take a location and %options ref argument,
1735 process no-dependencies as other options.
1736 (handle_options): Do not reparse the global options, just initialize
1737 %options from %global_options and fill it with local options.
1738 (handle_languages, handle_single_transform_list)
1739 (handle_configure, check_cygnus): Adjust usage of
1740 $options{'no-dependencies'}.
1741 (make_paragraphs): Adjust usage of $options{'cygnus'}.
1742 (parse_arguments): Set cygnus and no-dependencies in %global_options.
1743 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1744 to fill %global_options.
1745
17462003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
1747
1748 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1749 avoid the use of tar.
1750
17512003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
1752
1753 * tests/gnuwarn2.test: Typo.
1754
1755 * tests/insthook.test: Use $MAKE, not make.
1756
1757 Fix missing rebuilds during `make dist' with BSD make.
1758 * automake.in (generate_makefile): Do not push Makefile.in, and
1759 Makefile.am into DIST_COMMON here.
1760 * lib/am/configure.am (DIST_COMMON): Do it here, and use
1761 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1762 actually match the targets. Prefix `configure' with `$(srcdir)/'
1763 to match the target.
1764 * tests/remake4.test: New file.
1765 * tests/Makefile.am (TESTS): Add remake4.test.
1766 Report from Akim Demaille.
1767
17682003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
1769
1770 * automake.in (handle_multilib): Register all-multi.
1771 (file_contents_internal): Insert \n when concatenating actions
1772 from "factored" rules.
1773 * lib/config-ml.in: New file, from GCC, including a patch
1774 from Ralf Corsepius (see GCC's PR 11526).
1775 * lib/symlink-tree.in: New file, from GCC.
1776 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1777 symlink-tree.
1778 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1779 (distclean, maintainer-clean): ... do it here.
1780 * lib/am/depend.am (distclean-depend): Likewise, replace by
1781 (distclean, maintainer-clean): ... these.
1782 * lib/am/multilib.am (all-recursive, install-recursive,
1783 mostlyclean-recursive, clean-recursive, distclean-recursive,
1784 maintainer-clean-recursive): Remove these rules.
1785 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1786 by ...
1787 (mostlyclean, clean, distclean, maintainer-clean): ... these.
1788 (all-am): Remove, done in handle_multilib.
1789 (install-am): Replace by ...
1790 (install-exec-am): ... this.
1791 * tests/Makefile.am (TESTS): Add multlib.test.
1792 * tests/multlib.test: New file, based on a test case by
1793 Ralf Corsepius
1794
17952003-07-23 Tom Tromey <tromey@redhat.com>
1796
1797 * lib/missing (autom4te): Typo.
1798
17992003-07-16 Derek Price <derek@ximbiot.com>
1800
1801 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1802 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1803 distclean targets (CONFIG_CLEAN_FILES makefile var).
1804 * NEWS: Note new handling of AC_CONFIG_LINKS.
1805 * automake.texi (Other things Automake recognizes): Ditto.
1806 * tests/Makefile.am (TESTS): Add new tests.
1807 * tests/conflnk.test: New test that links are cleaned on distclean.
1808 * tests/conflnk2.test: New test that source files for links are
1809 distributed.
1810
18112003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1812
1813 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1814 render $seen_multilib functional again.
1815
18162003-07-10 Raja R Harinath <harinath@cs.umn.edu>
1817
1818 Avoid using refs as hash keys.
1819 * lib/Automake/Variable.pm ($_traversal): New.
1820 (reset): Reset $_traversal.
1821 (_new): New attribute 'scanned'.
1822 (%_vars_scanned): Remove.
1823 (traverse_variable_recursively)
1824 (traverse_variable_recursively_worker):
1825 Use $_traversal instead of %_vars_scanned to detect recursively
1826 defined variables.
1827
1828 * lib/am/configure.am (am--refresh): Silence.
1829
18302003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1831
1832 * lib/Automake/Variable.pm (define): Make clear the diagnostic
1833 about variable names starting with `_' is about *Make* variables.
1834
1835 For Debian Bug #193907:
1836 * automake.texi (Clean): make maintainer-clean should still
1837 allow ./configure && make to run.
1838
1839 * automake.texi (CVS): Typo.
1840
18412003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1842
1843 * aclocal.in: Use Automake::FileUtils.
1844 (parse_arguments, scan_configure, scan_m4_files): Never call
1845 "die" to print an error message. Use print and exit.
1846 * automake.in: Use Automake::FileUtils.
1847 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
1848 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
1849 (END): Do not massage Perl's exit code. Do not clean any temporary
1850 directory.
1851 (find_file, mtime, update_file, xsystem, contents): Move to ...
1852 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
1853 report errors using Channels.
1854 (handle_exec_errors, xqx): New functions, from Autoconf.
1855 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
1856
1857 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1858 Return the empty list on recursively defined variable. This
1859 supersedes my change of 2003-07-02.
1860
18612003-07-08 Akim Demaille <akim@epita.fr>
1862
1863 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
1864 Adjust all dependencies.
1865 (&depend): Move next to %dependencies and prototype.
1866 (&initialize_per_input): Initialize the 'cygnus' field of
1867 '%options' to spare the code from 'exists' or 'defined' when
1868 testing it.
1869 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
1870 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
1871 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
1872 inconsistencies.
1873
18742003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
1875
1876 * automake.in (generate_makefile): Move near the end of the
1877 file, after the definition of all called functions, so that
1878 prototypes can be enforced.
1879
18802003-07-06 Akim Demaille <akim@epita.fr>
1881
1882 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
1883 install-exec-recursive, install-data-recursive and
1884 uninstall-recursive addition to...
1885 * lib/am/texinfos.am: here.
1886 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
1887 declaration of RECURSIVE_TARGETS.
1888
18892003-07-06 Akim Demaille <akim@epita.fr>
1890
1891 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
1892 New variable type.
1893 Handle it.
1894 * automake.in (&handle_subdirs): Prototype.
1895 Adjust callers.
1896 Make RECURSIVE_TARGETS a VAR_SORTED.
1897
18982003-07-06 Akim Demaille <akim@epita.fr>
1899
1900 * automake.in (&define_files_variable): New.
1901 (&handle_texinfo_helper): Move the handling of user variables from
1902 here, to...
1903 (&handle_texinfo): here.
1904 This is to balance the size of these functions, and to match the
1905 convention of other _helper functions.
1906 (&handle_texinfo_helper): Use &define_files_variable.
1907 Move some code to use less variables.
1908 Rename $info_cursor as $texi.
1909 (&handle_texinfo): Do not call handle_texinfo_helper if there are
1910 no TEXINFOS.
1911 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
1912 and html.
1913 Remove *-recursive targets from .PHONY, they are part of
1914 $(RECURSIVE_TARGETS) anyway.
1915 (install-info, mostlyclean-aminfo): Are .PHONY.
1916
19172003-07-05 Akim Demaille <akim@epita.fr>
1918
1919 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
1920 sed complex commands, as required by NetBSD sed.
1921 Reported by Patrick Welche.
1922
19232003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
1924
1925 * lib/config.guess, lib/config.sub: New upstream version.
1926
19272003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
1928
1929 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
1930 are automatically distributed.
1931
1932 * lib/depcomp (icc): Update to grok ICC 7.1's output.
1933 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
1934 in a subdirectory, and with many dependencies. This
1935 catches more failures of depcomp.
1936 Reports from Ralf Wildenhues and Akim Demaille.
1937
19382003-07-04 Akim Demaille <akim@epita.fr>
1939
1940 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
1941 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
1942 Prototype properly.
1943 Don't use & when calling functions.
1944
19452003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
1946
1947 * NEWS: Categorize entries.
1948 Suggested by Jim Meyering.
1949
1950 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
1951 Ignore @...@ substitutions in comments.
1952 * tests/defs.in: Try to make the shell more POSIX compliant.
1953 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
1954 * tests/README: Mention AUTOMAKE_fails.
1955 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
1956 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
1957 * tests/badline.test, tests/badopt.test, tests/canon.test,
1958 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
1959 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
1960 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
1961 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
1962 * tests/dejagnu2.test, tests/dirforbid.test,
1963 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
1964 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
1965 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1966 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
1967 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
1968 * tests/libobj12.test, tests/libobj13.test,
1969 * tests/libobj3.test, tests/library2.test,
1970 * tests/library3.test, tests/libtool4.test,
1971 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
1972 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
1973 * tests/percent.test, tests/percent2.test,
1974 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
1975 * tests/pr211.test, tests/primary.test, tests/primary2.test,
1976 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
1977 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
1978 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
1979 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
1980 * tests/substtarg.test, tests/suffix11.test,
1981 * tests/symlink.test, tests/syntax.test,
1982 * tests/targetclash.test, tests/txinfo4.test,
1983 * tests/version3.test, tests/warnopts.test,
1984 * tests/xsource.test, tests/yacc2.test: Use set -e,
1985 AUTOMAKE_fails, and always grep error message.
1986
1987 * automake.in (handle_ltlibraries): Fix call to msg.
1988
1989 * tests/stamph.test: Delete.
1990 * tests/Makefile.am (TESTS): Remove stamph.test.
1991
1992 * automake.in (handle_single_transform_list): Use $var->name
1993 to print variable in the configure-substitution diagnostic.
1994 Do not mention the parent when it is the variable itself.
1995
1996 * tests/package.test: Delete.
1997 * tests/Makefile.am (TESTS): Remove package.test.
1998
1999 * automake.in (cond_stack_else): Return FALSE if `if' was not
2000 used.
2001 (cond_stack_endif): Return TRUE if `if' was not used. Do not
2002 display $negate and $cond, they are irrelevant and maybe undefined.
2003
20042003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
2005
2006 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
2007 Do not return undef when a variable is recursively defined, this
2008 causes warnings all over the place. Return the empty string instead.
2009
2010 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
2011 from empty DIST_ARCHIVES.
2012
20132003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
2014
2015 * automake.in (scan_autoconf_traces): Check the expected
2016 number of arguments of each traced macro.
2017 * tests/overrid.test: Fix call to AM_CONDITIONAL.
2018 * tests/conff2.test: New files.
2019 * tests/Makefile.am (TESTS): Add conff2.test.
2020 Report from Paolo Bonzini.
2021
20222003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
2023
2024 * automake.in ($SUBST_REF_PATTERN): Do not define.
2025 (%gen_varname): Move to Variable.pm, as %_gen_varname.
2026 (initialize_per_input): Do not clean %gen_varname.
2027 (handle_options, check_libobjs_sources, handle_source_transform,
2028 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
2029 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
2030 am_install_var): Adjust to use value_as_list_recursive,
2031 loc_and_value_as_list_recursive, and has_conditional_contents.
2032 (require_file_with_macro): Accept an Automake::Variable as argument.
2033 (traverse_variable_recursively,
2034 traverse_variable_recursively_worker, gen_varname,
2035 transform_variable_recursively): Move ...
2036 * lib/Automake/Variable.pm (traverse_variable_recursively,
2037 _traverse_variable_recursively_worker,
2038 _gen_varname, transform_variable_recursively): ... here.
2039 * automake.in (variable_conditionally_defined,
2040 variable_value_as_list_recursive_worker,
2041 variable_value_as_list_recursive
2042 variable_loc_and_value_as_list_recursive): Move ...
2043 * lib/Automake/Variable.pm (has_conditional_contents,
2044 _value_as_list_recursive_worker,
2045 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
2046 (reset): Reset %_gen_varname.
2047 (require_variables_for_variable): Accept an Automake::Variable
2048 as argument.
2049
20502003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
2051
2052 * tests/aclocal6.test: Test maintainer-clean in VPATH
2053 builds. (For Ralf's fix.)
2054
20552003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
2056
2057 * lib/am/configure.am (maintainer-clean): Remove
2058 $(top_srcdir)/autom4te.cache, not autom4te.cache.
2059
20602003-06-27 Akim Demaille <akim@epita.fr>
2061
2062 * automake.texi: Use @node with a single argument.
2063
20642003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
2065
2066 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
2067
2068 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
2069 at the end of distcheck. This was mistakenly removed on
2070 2003-06-15.
2071 * tests/subpkg.test: Make sure distcheck cleans up after itself.
2072
2073 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
2074 ($(top_srcdir)/m4/amversion.m4): ... this.
2075 (DISTCLEANFILES): Remove.
2076 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
2077 distributed.
2078 (EXTRA_DIST): Add amversion.in.
2079
20802003-06-25 Akim Demaille <akim@epita.fr>
2081
2082 * automake.texi (Top): Use @copying and @insertcopying.
2083 Make Alexandre an author.
2084 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
2085 * lib/depcomp: Likewise.
2086
20872003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
2088
2089 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
2090 (variable_defined, examine_variable): Remove.
2091 (%_ac_macro_for_var): Add an entry for ALLOCA.
2092 (require_variables): Use vardef instead of variable_defined.
2093 Do not use _cvar.
2094 * automake.in (generate_makefile): Do not push $(SOURCE) into
2095 @sources. Use define_pretty_variable to define SOURCES.
2096 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
2097 to require LIBOBJS, LTLIBOBJS and ALLOCA.
2098 (handle_programs, handle_ltlibraries): Do not define an empty
2099 _DEPENDENCIES or _LDFLAGS variable when none is defined.
2100 (define_configure_variable): Do not check whether the variable
2101 already exists (it's Automake::Variable::define's job).
2102 (require_build_directory): Likewise, do not check
2103 the existence of am__dirstamp.
2104 (generate_makefile, handle_options, handle_languages)
2105 (check_libobjs_sources, handle_single_transform_list)
2106 (traverse_variable_recursively_worker, handle_source_transform)
2107 (handle_lib_objects, handle_LIBOBJS, handle_compile)
2108 (handle_libtool, handle_programs, handle_libraries)
2109 (handle_ltlibraries, check_typos, handle_texinfo_helper)
2110 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
2111 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
2112 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
2113 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
2114 (define_compiler_variable, define_linker_variable)
2115 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
2116 call var, vardef, or set_seen, instead of variable_defined. Use
2117 set_seen only for variables which are actually checked by
2118 check_typos.
2119 * tests/target.test: Delete.
2120 * tests/alloca.test, tests/alloca2.test: New files.
2121 * tests/libobj3.test: Check error message.
2122 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
2123 This replace confdist.test.
2124 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
2125 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
2126
21272003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
2128
2129 * automake.in (handle_dist): Delete DIST_COMMON before redefining
2130 it. Bug report from Akim Demaille.
2131 (rewrite_inputs_into_dependencies): Make sure we always return
2132 something, even when $add_srcdir is 0.
2133 * tests/distcom4.test, tests/distcom5.test: New files.
2134 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
2135
2136 * tests/cond29.test: Also check for _SOURCES.
2137 Report from Paolo Bonzini.
2138
21392003-06-20 Akim Demaille <akim@epita.fr>
2140
2141 * lib/am/configure.am: Replace leading spaces with a real tab.
2142
21432003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
2144
2145 * tests/nogzip.test, tests/nogzip2.test: New files.
2146 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
2147
21482003-06-15 Akim Demaille <akim@epita.fr>
2149
2150 * automake.in (&make_paragraphs): Define %GZIP%.
2151 (&process_option_list): Accept no-dist-gzip2.
2152 (&handle_dist): Complain when no archive format is enabled.
2153 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
2154 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
2155 conditioned.
2156 (dist): Build $(distdir).tar.gz conditionally.
2157 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
2158 to list built archives. Run $(MAKE) dist instead of dist-gzip.
2159 * automake.texi (Options, The types of distributions): Adjust.
2160
21612003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
2162
2163 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
2164 POSIXLY_CORRECT=1.
2165
21662003-06-14 Karl Berry <karl@gnu.org>
2167 Alexandre Duret-Lutz <adl@gnu.org>
2168
2169 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
2170 to update it each time the file is written, as in install-sh.
2171 (usage): Improve message.
2172 (--version): New option.
2173 (--help): Output to stdout, not stderr.
2174
21752003-06-13 Paul Eggert <eggert@twinsun.com>
2176
2177 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
2178 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
2179 Bug reported by Bernard Giroud in:
2180 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
2181
21822003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
2183
2184 * automake.in (check_gnu_standards): Use no-installman and
2185 no-installinfo's locations.
2186 (process_option_list): Fill %options with locations.
2187 (check_cygnus) Fill $options{'no-installinfo'} and
2188 $options{'no-dependencies'} with $cygnus_mode, so that it
2189 remains a Location.
2190 * tests/gnuwarn2.test: New file.
2191 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
2192
21932003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
2194
2195 * automake.in (process_option_list): Record the location
2196 of ansi2knr's definition.
2197 (handle_compile): Use it.
2198 * tests/ansi3.test: Make sure the location appears correctly.
2199 Update to use set -e.
2200 * tests/ansi3b.test: New file.
2201 * tests/Makefile.am (TESTS): Add ansi3b.test.
2202
2203 * tests/alpha.test: Really run $MAKE. Augment to test
2204 subdirectories, and check-news report.
2205 * tests/alpha2.test: New file. Bug report from Akim Demaille.
2206 * tests/gnits2.test: Make sure README-alpha is not distributed.
2207 * tests/Makefile.am (TESTS): Add alpha2.test.
2208 * automake.in (handle_minor_options): Distribute README-alpha
2209 using push_dist_common, not require_file_with_macro.
2210
22112003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
2212
2213 * lib/Automake/Configure_ac.pm
2214 (search_configure_ac, find_configure_ac): Rename as ...
2215 (find_configure_ac, require_configure_ac): ... these.
2216 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
2217 * automake.in (scan_autoconf_files): Likewise.
2218 Suggested by Tim Van Holder.
2219
2220 * alocal.in: Use Automake::Configure_ac.
2221 ($configure_ac): Delete.
2222 (scan_configure): Adjust use of find_configure_ac;
2223 * automake.in: Use Automake::Configure_ac.
2224 ($configure_ac): Delete.
2225 (scan_autoconf_files): Adjust use of find_configure_ac;
2226 * lib/Automake/Configure_ac.pm: New file.
2227 * lib/Automake/General.pm (find_configure_ac): Delete. Now
2228 replaced by Automake::Configure_ac::search_configure_ac.
2229 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
2230 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
2231 (require_variables): Adjust use of $configure_ac.
2232
22332003-06-02 Akim Demaille <akim@epita.fr>
2234
2235 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
2236 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
2237 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
2238 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
2239 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
2240 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
2241 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
2242 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
2243 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
2244 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
2245 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
2246 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
2247 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
2248 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
2249 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
2250 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
2251 * m4/Makefile.am: White space changes and Copyright updates.
2252
22532003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
2254
2255 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
2256 the $parent_cond argument.
2257 (output): Use $self->name in diagnostic not $self.
2258 (variable_value_as_list): Rename as ...
2259 (value_as_list): ... this. Declare as a method. Take a $parent_cond
2260 argument and pass it to check_defined_unconditionally. Do not call
2261 variable_assert, now that this is a method.
2262 (variable_assert): Delete (unused).
2263 * automake.in (traverse_variable_recursively_worker): Adjust to
2264 use check_defined_unconditionally and value_as_list as a methods.
2265
2266 * lib/Automake/Variable.pm (output): Declare as a method, since it
2267 is only used this way.
2268 (define): Fix documentation of $cond.
2269 Suggested by Raja R. Harinath.
2270
22712003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
2272
2273 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
2274 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
2275 and VarDef.pm.
2276 * automake.in: Use Automake::Variable and Automake::VarDef.
2277 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
2278 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
2279 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
2280 (silent_variable_override): Delete. Now
2281 Automake::Variable::_silent_variable_override.
2282 (var_value, var_location, var_comment, var_type, var_owner,
2283 var_pretty, content_seen): Delete. This functionality is now
2284 offered by Automake::Variable and Automake::VarDef.
2285 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
2286 Delete. Now defined in Automake::VarDef.
2287 (var_order): Delete. Now Automake::Variable::_var_order.
2288 (appendvar): Delete. Now Automake::Variable::_appendvar.
2289 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
2290 (initialize_per_input): Call Automake::Variable::reset.
2291 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
2292 defined in Automake::Variable.
2293 (generate_makefile, process_option_list, handle_languages)
2294 (traverse_variable_recursively_worker)
2295 (transform_variable_recursively, handle_compile)
2296 (handle_libraries, handle_ltlibraries)
2297 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
2298 Adjust to use Automake::Variable functions.
2299 (check_ambiguous_condition): Delete. Now
2300 Automake::Variable::_check_ambiguous_condition.
2301 (condition_ambiguous_p): Delete. Now
2302 Automake::Variable::condition_ambiguous_p.
2303 (variable_not_always_defined_in_cond): Delete. Now
2304 Automake::Variable::not_always_defined_in_cond.
2305 (macro_define): Delete. Now Automake::Variable::define.
2306 (macro_delete): Delete. Now Automake::Variable::variable_delete.
2307 (macro_dump): Delete. Now Automake::Variable::variable_dump.
2308 (macros_dump): Delete. Now Automake::Variable::variables_dump.
2309 (variable_defined): Delete. Now
2310 Automake::Variable::variable_defined, with the target check
2311 temporarily disabled.
2312 (variable_assert): Delete. Now Automake::Variable::variable_assert.
2313 (examine_variable): Delete. Now
2314 Automake::Variable::examine_variable.
2315 (variable_conditions): Delete. Now Automake::Variable::conditions.
2316 (scan_variable_expansions): Delete. Now
2317 Automake::Variable::scan_variable_expansions.
2318 (check_variable_expansions): Delete. Now
2319 Automake::Variable::check_variable_expansions.
2320 (check_variable_defined_unconditionally): Delete. Now
2321 Automake::Variable::check_defined_unconditionally.
2322 (variable_value): Delete. Now Automake::Variable::variable_value.
2323 (variable_value_as_list): Delete. Now
2324 Automake::Variable::variable_value_as_list.
2325 (variable_value_as_list_recursive_worker): Adjust to use
2326 Automake::Variable functions.
2327 (variable_output): Delete. Now Automake::Variable::output.
2328 (define_pretty_variable, define_configure_variable, read_am_file)
2329 (define_standard_variables, read_main_am_file): Adjust to use
2330 Automake::Variable functions.
2331 (handle_variables): Delete. Now Automake::Variable::output_variables.
2332 (file_contents_internal, am_primary_prefixes, am_install_var)
2333 (require_file_with_macro, require_conf_file_with_macro)
2334 (push_dist_common): : Adjust to use
2335 Automake::Variable functions.
2336 (require_variables): Delete. Now
2337 Automake::Variable::require_variables.
2338 (require_variables_for_macro): Delete. Now
2339 Automake::Variable::require_variables_for_variable.
2340 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
2341
23422003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
2343
2344 * tests/dejagnu7.test: Check if runtest supports --status.
2345
23462003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
2347
2348 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
2349 is undefined.
2350
2351 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
2352 $self contains only one Condition.
2353
2354 * automake.in: Use plain strict, including refs.
2355 (macro_define, handle_single_transform_list): Use \&{'name'} to
2356 build references to named subroutines.
2357
23582003-05-22 Karl Berry <karl@gnu.org>
2359
2360 * automake.texi: Update @dircategory to match the Free Software
2361 Directory. End directory entries with dots.
2362
23632003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
2364
2365 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
2366
2367 * lib/elisp-comp: s/François/Franc,ois/.
2368 Suggested by Paul Eggert.
2369
2370 * automake.in: Move the "main" code at the end.
2371 (parse_arguments): Move near the end.
2372 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
2373 accept_extensions, var_SUFFIXES_trigger): Move these definitions
2374 before any call to register_language.
2375 (am_file): Move the definition with all other global variables,
2376 do not use local to define it.
2377 * Makefile.am (maintainer-check): Expect no `local' in Automake.
2378
23792003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
2380
2381 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
2382 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
2383 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
2384 * automake.in (handle_texinfo_helper, pretty_print_rule)
2385 (variable_output): Adjust to use makefile_wrap instead of
2386 pretty_print_internal.
2387 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
2388 and augmented to accept the $eol and $max_len arguments.
2389
23902003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
2391
2392 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
2393 lib/texinfo.tex: New upstream versions.
2394
23952003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
2396
2397 * lib/am/install.am (install, install-exec, install-data, uninstall):
2398 Declare conditionally using a if/else/endif block instead of
2399 using ?SUBDIRS?-style conditions. The latter fail when
2400 %maybe_BUILT_SOURCES% is replaced by several lines.
2401 This fixes a bug introduced on 2003-04-06.
2402 * tests/bsource.test: New file.
2403 * tests/Makefile.am (TESTS): Add bsource.test.
2404 Reported by Bruno Haible.
2405
24062003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
2407
2408 * automake.texi (renamed objects): New node.
2409 (Program and Library Variables): Move maude_DEPENDENCIES closer
2410 to maude_LDADD. Define and use `per-target compilation flags' in the
2411 explanation for maude_CFLAGS et al. Link to the `renamed objects'
2412 node. Illustrate maude_SHORTNAME.
2413
24142003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
2415
2416 * lib/install-sh: Update copyright notice and license to that of
2417 X11R6. This removes an advertising clause reported as Debian bug
2418 #191717.
2419
24202003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
2421
2422 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
2423
2424 * m4/make.m4: Rename the doit target as am__doit,
2425 and make it phony.
2426 Reported by Philip S Tellis.
2427
24282003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
2429
2430 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
2431 status.
2432 * tests/makej.test: New file (test Autom4te's cache locking,
2433 new in CVS Autoconf).
2434 * tests/Makefile.am (TESTS): Add makej.test.
2435
24362003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
2437
2438 * lib/Automake/General.pm (contents): New function.
2439 * aclocal.in (greatest_mtime, force_output): New globals.
2440 (scan_configure, add_file): Update $greatest_mtime.
2441 (parse_arguments): Parse --force.
2442 (write_aclocal): Do not overwrite $output_file unless needed.
2443 * automake.texi (aclocal options): Document --force.
2444 * tests/aclocal7.test: New file.
2445 * tests/Makefile.am (TESTS): Add aclocal7.test.
2446
24472003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
2448
2449 * automake.texi (Optional): Document m4_include.
2450 (Invoking aclocal): Shake a bit to introduce the various uses
2451 of aclocal and explain that aclocal will use m4_include for
2452 local files.
2453 (Extending aclocal): Show how to install installable macros
2454 in $(datadir)/aclocal, and make it clearer that writing installable
2455 macros is not the only way to extend aclocal.
2456 (Local Macros, Future of aclocal): New sections.
2457
24582003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
2459
2460 * automake.in (@common_files): Remove acinclude.m4 since
2461 it will be m4_included by aclocal.m4 and files are always
2462 distributed.
2463 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
2464 We will get this dependency when tracing m4_includes.
2465 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
2466 when used.
2467 * tests/acinclude.test: Delete.
2468 * tests/Makefile.am (TESTS): Remove acinclude.test.
2469
24702003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
2471
2472 * automake.in (handle_configure): Don't add @configure_deps to
2473 DIST_COMMON, we do this from lib/am/configure.am now.
2474 Define the am__configure_deps variable instead of substituing
2475 %CONFIGURE_DEPS%.
2476 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
2477 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
2478 (DIST_COMMON): Add $(am__configure_deps).
2479
2480 * tests/aclocal6.test: New file.
2481 * lib/am/configure.am (am--refresh): New rule.
2482 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
2483 $(top_srcdir)/configure): Call the top-level am--refresh from
2484 subdirectories.
2485 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
2486 top-level am--refresh when not in the top-level directory.
2487 Fix jump directories for VPATH builds.
2488 Suggested by Raja R. Harinath.
2489
24902003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
2491
2492 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
2493 and glob for m4_files (We've got all local m4 files while
2494 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
2495 Distribute aclocal.m4 only at the top-level.
2496 (my_glob): Remove. This fixes PR automake/11.
2497 (handle_dist): Strip leading `./' from directories.
2498 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
2499 of copying local files.
2500 (write_aclocal, parse_arguments): Bump copyright date.
2501 * configure.in: De not build m4/amversion.m4 from here ...
2502 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
2503 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
2504 of amversion.m4.
2505 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
2506 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
2507 * tests/aclocal2.test: Delete (pointless).
2508 * tests/aclocal5.test: Make sure configure's dependencies are
2509 distributed.
2510 * tests/acinclude.test: Adjust to search for m4_include.
2511 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
2512 configure instead of aclocal.m4.
2513
2514 For PR automake/46:
2515 * automake.in (scan_aclocal_m4): Work in all directories, not only
2516 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
2517 dependency.
2518 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
2519 Define rebuild rules in each directory.
2520 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
2521 from the top-level directory.
2522 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
2523 from a subdirectory.
2524 * tests/Makefile.am (TESTS): Add aclocal5.test.
2525 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
2526
25272003-04-24 Akim Demaille <akim@epita.fr>
2528 Alexandre Duret-Lutz <adl@gnu.org>
2529
2530 For PR automake/46:
2531 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
2532 because of one of configure's dependencies, run automake without
2533 argument to update the whole tree at once. Depend upon
2534 %CONFIGURE_DEPS%.
2535 (%MAKEFILE%): If Makefile is rebuilt because config.status has
2536 been updated, run config.status without arguments.
2537 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
2538 before all files in @configure_deps.
2539 * tests/subdir5.test: Modernize configure.in, make sure
2540 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
2541 * tests/subdir8.test: New file.
2542 * tests/Makefile.am (TESTS): Add subdir8.test.
2543 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
2544
25452003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
2546
2547 * automake.texi (Requirements): Typo in index
2548 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
2549
2550 * lib/texinfo.tex: New upstream version.
2551
25522003-04-21 Jim Meyering <jim@meyering.net>
2553
2554 * lib/mkinstalldirs: Remove each sequence of spaces before a
2555 TAB character.
2556 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
2557
25582003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2559
2560 Fix for PR automake/389:
2561 * automake.in (handle_configure): Don't put $colon_infile in
2562 CONFIG-MAKEFILE.
2563 * tests/conff.test: New file.
2564 * tests/Makefile.am (TESTS): Add conff.test.
2565 Reported by Alexander Turbov.
2566
25672003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
2568
2569 * tests/defs.in: Handle required=etags to work around
2570 Exuberant Ctags.
2571
2572 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2573 versions.
2574
2575 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
2576 Distribute dejagnu test cases, so that distcheck actually runs them.
2577
25782003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2579
2580 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
2581 because we set that by invoking runtest with --tool.
2582 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
2583 dejagnu6.test, dejagnu7.test.
2584 * tests/dejagnu4.test: New test.
2585 * tests/dejagnu5.test: New test.
2586 * tests/dejagnu6.test: New test.
2587 * tests/dejagnu7.test: New test.
2588
2589 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
2590
25912003-04-18 Jim Meyering <jim@meyering.net>
2592
2593 * automake.in (variable_output): Fix typo in comment s/is/if/.
2594
2595 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
2596 directly to $@. Instead, redirect to $@t and rename upon success.
2597 Also, move the commands that update $@ so they are last. Otherwise,
2598 this rule could leave the user with an up to date target (.c file)
2599 but with a missing or corrupted corresponding .h file.
2600
26012003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2602
2603 * tests/defs.in: Handle required=runtest, to detect runtest
2604 from DejaGnu.
2605 * tests/Makefile.am (TESTS): Add dejagnu3.test.
2606 * tests/dejagnu3.test: New test.
2607
26082003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
2609
2610 * automake.in (rule_define): If the user tries to override
2611 an Automake which has a -local variant, suggest using the
2612 -local variant in the -Woverride diagnostic.
2613 (handle_factored_dependencies): Register factored
2614 rules with rule_define, and define them only in undefined
2615 conditions.
2616 * tests/Makefile.am (TESTS): Add override.test.
2617 * tests/overrid.test: New file.
2618 * tests/phony.test: Count the number of .PHONY targets.
2619
26202003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
2621
2622 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
2623 these rules, so that we don't confuse users by echoing
2624 "echo ERROR:" commands which are not run.
2625
26262003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
2627 Alexandre Duret-Lutz <adl@gnu.org>
2628
2629 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
2630 initialize_per_input): Add infrastructure for generating HTML
2631 documentation from texinfo source.
2632 * lib/am/texinfos.am: Add rules for building HTML documentation
2633 from texinfo source.
2634 * lib/am/texibuild.am: Likewise.
2635 * automake.texi (Texinfo): Document rules for building
2636 HTML documentation from texinfo source.
2637 * tests/txinfo21.test: New file.
2638 * tests/Makefile.am (TESTS): Add txinfo21.test.
2639 * tests/defs.in: Handle required=makeinfo-html.
2640
26412003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
2642
2643 * automake.in (%silent_variable_override): New variable.
2644 (macro_define): Warn about variable definitions overriding
2645 Automake variables.
2646 (rule_define): Warn about target definitions overriding
2647 Automake variables. Fix $condmsg definition.
2648 * automake.texi (Invoking Automake): Document the `override'
2649 category.
2650 * lib/Automake/ChannelDefs.pm (usage): Likewise.
2651 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
2652 this is already done in m4/init.m4.
2653 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
2654 -Wno-override, and make sure we get a warning without.
2655 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
2656 and make sure we get a warning without.
2657 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
2658 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
2659 * tests/txinfo13.test: Use installcheck-local instead of overriding
2660 installcheck.
2661 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
2662 used to succeed thanks to a failure...)
2663 * tests/location.test: Adjust expected messages.
2664 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2665
26662003-04-12 Raja R Harinath <harinath@acm.org>
2667
2668 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2669 (invert): Update comment.
2670 (_simplify): Remove.
2671 (simplify): Implement using invert().
2672 * lib/Automake/tests/DisjConditions.pl (test_simplify):
2673 Update to reflect changes.
2674
26752003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
2676
2677 * automake.in (scan_autoconf_files): Augment the error message
2678 about AM_INIT_AUTOMAKE not found.
2679 Suggested by Bruno Haible.
2680
2681 * lib/Automake/Version.pm: New file.
2682 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2683 * lib/Automake/tests/Version.pl: New file.
2684 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2685 * tests/Makefile.am (TESTS): Remove version5.test.
2686 * tests/version5.test: Delete. Move the tests to Version.pl.
2687 * automake.in (version_split, version_compare, version_check): Move ...
2688 * lib/Automake/Version.pm (split, compare, check): ... here.
2689
26902003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
2691
2692 * lib/Automake/tests/Condition.pl (test_reduce_and)
2693 (test_reduce_or): Cosmetics.
2694 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2695 Fix a comment.
2696 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2697 in comment.
2698 * tests/yacc8.test, configure.in: Update copyright year.
2699
27002003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2701
2702 * configure.in: Get the build platform name. Define
2703 MODIFICATION_DELAY as the time to wait after modifying a file,
2704 to cope with timestamp granularity issues, depending
2705 on the platform.
2706 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2707
27082003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
2709
2710 * automake.texi (Public macros): Clarify that the new
2711 AM_INIT_AUTOMAKE variant is preferred, and the old one
2712 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2713 (Hello): Caution that the example uses the deprecated
2714 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2715
27162003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
2717
2718 Retain all variable definitions until the whole Makefile.am has
2719 been processed, then output all variables in one step, at the top
2720 of Makefile.in. (Older revisions used to output user variables
2721 before generating Automake targets, and to mix Automake variables
2722 with Automake targets, preventing redefinitions of previously
2723 output variables.)
2724
2725 * automake.in (%var_pretty): New variable.
2726 (VAR_ASIS, VAR_PRETTY): New constants.
2727 (@var_list): Rename as ...
2728 (@var_order): ... this.
2729 (initialize_per_input): Clear %var_pretty.
2730 (handle_variables): New function, extracted from ...
2731 (read_main_am_file): ... here.
2732 (generate_makefile): Call handle_variable after everything else.
2733 (handle_dist): Use define_pretty_variable, not pretty_print.
2734 (pretty_print): Delete.
2735 (macro_define): Augment with $COMMENT and $PRETTY parameters.
2736 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
2737 (variable_pretty_output): Merge with ...
2738 (variable_output): ... this, and choose the prettiness on a
2739 per-condition basis.
2740 (append_comments): Delete. This work is now done by macro_define.
2741 (read_am_file, file_contents_internal): Don't call append_comments
2742 nor update @var_list, adjust calls to macro_define.
2743 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2744 just mark it as VAR_PRETTY.
2745 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2746 Report from Jim Meyering.
2747
27482003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
2749
2750 * automake.in (handle_installdirs): Rename as ...
2751 (handle_install): ... this. Define maybe_BUILT_SOURCES.
2752 (generate_makefile): Adjust call to handle_install.
2753 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2754 * automake.texi (Sources, Built sources example): BUILT_SOURCES
2755 is honored by `make install' too.
2756 * tests/check3.test: Make sure that `make install' also depends
2757 upon BUILT_SOURCES.
2758 Report from Alexander Turbov.
2759
2760 * lib/am/libs.am (ARFLAGS): Define.
2761 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2762 hard-coding `cru'.
2763 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2764 are used, and how they can be overridden.
2765 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2766 instead of `cru'
2767 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2768 * tests/ranlib.test: Delete, obsoleted by ar.test.
2769 * tests/Makefile.am (TESTS): Remove ranlib.test.
2770 Report from Paul Thomas.
2771
27722003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
2773
2774 * automake.in (check_trailing_slash): New function (variation on
2775 a patch by Peter Muir). Diagnose whitespaces following trailing
2776 backslash.
2777 (read_am_file): Use it.
2778 * tests/backsl4.test: New file.
2779 * tests/Makefile.am (TESTS): Add backsl4.test.
2780 Reported by Peter Muir.
2781
27822003-03-29 Raja R Harinath <harinath@acm.org>
2783
2784 Speedup Automake::DisjConditions::invert().
2785 * lib/Automake/Condition.pm (multiply): New.
2786 * lib/Automake/DisjConditions.pm (_multiply): Use it.
2787 (sub_conditions): Likewise.
2788
2789 * lib/Automake/Condition.pm (reduce): Rename to ...
2790 (reduce_and): ... this.
2791 (reduce_or): New.
2792 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2793 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2794 (test_reduce_and): ... this.
2795 (test_reduce_or): New.
2796 * lib/Automake/tests/DisjConditions.pl
2797 (test_invert): Update to reflect effect of reduce_or().
2798 (test_simplify): Don't skip invert() on larger inputs.
2799
28002003-03-29 Raja R Harinath <harinath@cs.umn.edu>
2801
2802 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2803 that timestamp will change.
2804
28052003-03-23 Akim Demaille <akim@epita.fr>
2806 Alexandre Duret-Lutz <adl@gnu.org>
2807
2808 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2809 when supported by etags (Exuberant Ctags).
2810 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2811
28122003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
2813
2814 For Debian Bug #185388:
2815 * automake.texi (Extending): Augment the install-exec-hook
2816 discussion with an example how to symlink a versioned binary.
2817 * tests/insthook.test: Rewrite to test the above example.
2818 Report from James R. Van Zandt.
2819
28202003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2821
2822 * Makefile.am (maintainer-check): Allow `automake:' tokens,
2823 occuring in location.test. Automake now has 5 legitimate
2824 unsubstituted @strings@.
2825
2826 * tests/aclocal4.test: Require GNU make.
2827
28282003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
2829
2830 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
2831 * tests/Makefile.am (TESTS): Add aclocal4.test.
2832
28332003-03-14 Jim Meyering <jim@meyering.net>
2834
2835 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2836 subdirectories. Makefile.in depends on that variable.
2837
28382003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
2839
2840 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
2841
2842 Fix for PR automake/386:
2843 * m4/init.m4: Require Autoconf 2.55.
2844 Reported by Owen Taylor.
2845
2846 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2847 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
2848 Suggested by Matthias Andree.
2849
2850 * tests/README: Typo.
2851
28522003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
2853
2854 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2855 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
2856 Just echo the gcc command.
2857 Suggested by Karl Berry.
2858
28592003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
2860
2861 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
2862 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
2863 outputing suffix rules. This follows 2003-02-25's change.
2864 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2865 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2866
28672003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
2868
2869 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
2870 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
2871 pretend otherwise.
2872 Reported by Rafael Laboissiere.
2873
28742003-03-04 Andreas Buening <andreas.buening@nexgo.de>
2875
2876 * lib/mdate-sh: Find out which column of the ls -l output contains
2877 the month. Do not assume it is at least the fifth column.
2878
28792003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
2880
2881 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
2882
2883 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
2884 instead of lisp_LISP when they don't want byte-compilation.
2885 Don't mention ELCFILES anymore.
2886 * automake.in (handle_data): Allow lisp_DATA.
2887 * tests/lisp5.test: New file.
2888 * tests/Makefile.am (TESTS): Add lisp5.test.
2889
2890 * automake.in (handle_emacs_lisp): Don't build *.elc files
2891 if ELCFILES was set empty.
2892 * tests/lisp4.test: New file.
2893 * tests/Makefile.am (TESTS): Add lisp4.test.
2894 Reported by Simon Josefsson.
2895
2896 * tests/lex3.test, tests/lex5.test: Require flex.
2897 Reported by Leo Davis.
2898
28992003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
2900
2901 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
2902 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
2903 when outputing suffix rules.
2904 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
2905 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
2906 Suggested by Bruno Haible.
2907
2908 * automake.in (read_am_file): Catch trailing backslashes on last line.
2909 * tests/backsl3.test: New file.
2910 * tests/Makefile.am (TESTS): Add backsl3.test.
2911 Reported by Akim Demaille.
2912
29132003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
2914
2915 * ChangeLog: Move 2002's entries to ...
2916 * ChangeLog.02: ... this new file.
2917 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
2918
29192003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
2920
2921 * tests/version7.test: Use $sleep to sleep before updating
2922 the version, to work around timestamp inconsistencies in Windows.
2923
29242003-02-24 Bruno Haible <bruno@clisp.org>
2925 Alexandre Duret-Lutz <adl@gnu.org>
2926
2927 * lib/am/texibuild.am: Don't remove the target info files. Instead,
2928 back up and restore them if makeinfo fails.
2929 * tests/txinfo20.test: New file.
2930 * tests/Makefile.am (TESTS): Add txinfo20.test.
2931
29322003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
2933
2934 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2935 (distcleancheck): Fix typos and other errors reported by Karl
2936 Berry.
2937
29382003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2939
2940 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
2941 instead of ${...}.
2942
2943 * tests/defs.in: Handle required=ro-dir.
2944 * tests/destdir.test: Use this.
2945
29462003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
2947
2948 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
2949 from dc_install_base.
2950
29512003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
2952
2953 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
2954 DJGPP-style *.iNN info files.
2955 (maintainer-clean-aminfo): Rewrite using the same pattern
2956 as in uninstall-info-am.
2957 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
2958 DJGPP-style *.iNN info files before running $(MAKEINFO).
2959 * tests/txinfo19.test: New file.
2960 * tests/Makefile.am (TESTS): Add txinfo19.test.
2961
29622003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2963
2964 * lib/depcomp (dashmstdout): Cope with DOS filenames in
2965 dependencies.
2966
29672003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
2968
2969 * lib/depcomp (makedepend): Don't pass $object to makedepend.
2970 Reported by Stepan Kasal.
2971
29722003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
2973
2974 * tests/defs.in: Handle required=makedepend.
2975
2976 * Makefile.am (maintainer-check): Update the diff check
2977 to account for the recent @SHELL@ substitution.
2978
29792003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
2980
2981 * lib/depcomp: Do not put comments on the `icc)' line.
2982
2983 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2984 versions.
2985
2986 Fix for PR automake/381:
2987 * automake.in (handle_gettext): Do not print diagnostics
2988 about po/ and intl/ missing from SUBDIRS if po/ does not
2989 exist. Warn if `SUBDIRS = intl' is used although libintl
2990 is 'external'.
2991 * tests/gettext.test: Make sure diagnostics are not output
2992 when po/ does not exist.
2993 * tests/gettext2.test: Test for unwanted intl/.
2994 PR from Alexander Turbov, fix suggested by Bruno Haible.
2995
2996 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
2997 ignored options.
2998 * lib/depcomp (icc): New mode.
2999 * tests/depcomp5.test: New file.
3000 * tests/defs.in: Handle required=icc.
3001 * tests/Makefile.am (TESTS): Add it.
3002
3003 Temporary hack for PR automake/381:
3004 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
3005 into -Wsyntax warnings.
3006
30072003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
3008
3009 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
3010 This makes the setting of SHELL work for DJGPP.
3011
30122003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
3013
3014 For PR automake/385:
3015 * lib/depcomp (makedepend): Strip any libtool call, before
3016 running makedepends.
3017 * tests/depcomp4.test: New file.
3018 * tests/Makefile.am (TESTS): Add it.
3019 Reported by Jeff Squyres.
3020
3021 Related to PR automake/385:
3022 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
3023 write dependencies to /dev/null. `-o /dev/null' was added
3024 on 2002-06-13 just because I tried to replace `-o foo.o' by something
3025 else and didn't thought about removing it entirely.
3026 * tests/depcomp3.test: New file.
3027 * tests/Makefile.am (TESTS): Add it.
3028
3029 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
3030 SHELL for DJGPP.
3031 Suggested by Richard Dawe.
3032
30332003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
3034
3035 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
3036 (distcleancheck): New nodes.
3037
30382003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
3039
3040 * automake.in (scan_autoconf_files): Don't complain that
3041 AM_INIT_AUTOMAKE comes from an old version if it was not found.
3042
30432003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
3044
3045 * automake.in (am_install_var): Simplify filtering of
3046 variable_loc_and_value_as_list_recursive's output.
3047
30482003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
3049
3050 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
3051 indexes of header files so we create stamp files with
3052 the right numbers when config.status is run on some headers.
3053 * tests/stamph2.test: Check for this.
3054 Reported by Sander Niemeijer.
3055
30562003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
3057
3058 * automake.in (vars_scanned): Move near traverse_variable_recursively.
3059 (traverse_variable_recursively,
3060 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
3061 to filter out conditions during recursion. Don't recurse into
3062 undefined variables. Don't pass empty results to &FUN_COLLECT.
3063 (value_to_list): Remove, was used by
3064 variable_value_as_list_recursive_worker only.
3065 (variable_value_as_list_recursive_worker): Rewrite using
3066 traverse_variable_recursively. Remove the $parent argument.
3067 (variable_value_as_list_recursive,
3068 variable_loc_and_value_as_list_recursive): Adjust calls
3069 to variable_value_as_list_recursive_worker. Don't reset
3070 %vars_scanned.
3071 * tests/cond3.test: Don't expect empty helper variables,
3072 we don't output them anymore.
3073 * tests/cond30.test: Use an undefined variable.
3074
3075 * automake.in (handle_programs): Strip $(EXEEXT) before
3076 calling &check_canonical_spelling.
3077 * tests/exeext.test: Make sure we don't use a
3078 maude3__EXEEXT__OBJECTS variable.
3079
30802003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
3081
3082 For Debian Bug #39542:
3083 * automake.texi (Invoking Automake, Optional): Document how
3084 AC_CONFIG_AUX_DIR interacts with missing files.
3085
30862003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
3087
3088 * lib/Automake/DisjConditions.pm (_permutations_worker)
3089 (permutations): Remove, so that people aren't tempted to use it.
3090 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
3091
3092 * automake.in (variable_conditions_recursive): Remove.
3093 (variable_conditionally_defined): Rewrite using
3094 traverse_variable_recursively.
3095
3096 * automake.in (traverse_variable_recursively,
3097 traverse_variable_recursively_worker): Pass one merged Condition
3098 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
3099 (transform_variable_recursively, define_objects_from_sources)
3100 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
3101
31022003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
3103
3104 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
3105 using transform_variable_recursively instead of
3106 variable_conditions_recursive and variable_value_as_list_recursive
3107 to avoid combinatorial explosion.
3108 (handle_lib_objects_cond): Merge into handle_lib_objects.
3109 * tests/cond11.test: Don't grep internal details in Makefile.in,
3110 run $MAKE to make sure the resulting Makefile runs as expected.
3111 * tests/cond29.test: Also exercise conditional _LDADD.
3112 * tests/cond31.test, tests/cond32.test: New files.
3113 * tests/Makefile.am (TESTS): Add tests/cond31.test and
3114 tests/cond32.test.
3115
31162003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
3117
3118 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
3119 -dlpreopen in _LIBADD variables too.
3120 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
3121 handle_lib_objects_cond.
3122 * tests/libtool7.test: New file.
3123 * tests/Makefile.am (TESTS): Add libtool7.test.
3124
3125 * automake.texi (Program and Library Variables): Clarify that
3126 _LIBADD is for libraries and _LDADD for programs.
3127
3128 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
3129
31302003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
3131
3132 Fix for PR automake/352:
3133 * automake.in (transform_variable_recursively): If the destination
3134 and the source variables are the same, delete the source variable
3135 before defining the destination variable.
3136 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
3137 or this will confuse handle_source_transform.
3138 (append_exeext): Rewrite using transform_variable_recursively.
3139 * tests/cond29.test, tests/cond30.test: New files.
3140 * tests/exeext.test: Run ./configure and make, this uncovered
3141 the above handle_programs issue.
3142 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
3143
3144 * automake.in (%subobjvar): Replace by ...
3145 (%gen_varname): ... this.
3146 (subobjname): Replace by ...
3147 (gen_varname): ... this.
3148 (initialize_per_input): Clean gen_varname instead of subobjname.
3149 (transform_variable_recursively): New function, extracted
3150 from define_objects_from_sources.
3151 (define_objects_from_sources): Use transform_variable_recursively.
3152 Remove the unused $parent argument.
3153 (handle_source_transform): Adjust call to define_objects_from_sources.
3154
31552003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
3156
3157 * automake.in (@substfroms, @substtos): Move near
3158 traverse_variable_recursively.
3159 (traverse_variable_recursively, traverse_variable_recursively_worker):
3160 New functions, extracted from define_objects_from_sources.
3161 (define_objects_from_sources): Rewrite using
3162 traverse_variable_recursively.
3163 (handle_source_transform): Use variables_conditionally_defined
3164 instead of calling variable_conditions_recursive directly.
3165 Adjust the call to define_objects_from_sources; there is no need
3166 to reset @substtos, @substfroms, and %vars_scanned now.
3167 (variable_conditions_recursive): Rewrite using
3168 traverse_variable_recursively.
3169 (variable_conditions_recursive_sub): Remove.
3170 (variable_conditionally_defined): Fix condition comparison (the
3171 consequence was that DIST_SUBDIRS was always output).
3172 * lib/Automake/Condition.pm (merge): Allow merging several
3173 conditions at once.
3174
31752003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
3176
3177 * automake.texi (Python): Explain that directory variables start
3178 with either ${prefix} or ${exec_prefix}, and point to the
3179 `Installation Directory Variables' section of the Autoconf manual.
3180
31812003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
3182
3183 * lib/am/distdir.am (top_distdir, distdir): Define these
3184 variables only in top level Makefile. Redefine $(top_distdir)
3185 as $(distdir).
3186 (distdir): Fix passing of $(top_distdir) to sub-makes.
3187 * automake.in (handle_dist): Do not define the DISTDIR and
3188 TOP_DISTDIR transformations. We don't need them anymore.
3189 * automake.texi (Dist): Reorder the dist-hook section, and move
3190 the DIST_SUBDIRS paragraph earlier. Document distdir and
3191 top_distdir.
3192 * tests/subpkg.test: Update to check for $(distdir) and
3193 $(top_distdir).
3194
31952003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
3196
3197 Rename more files to accomodate 8+3 file systems, and adjust the
3198 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
3199 and we call "condition" a conjunction of "conditionals".
3200 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
3201 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
3202 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
3203 * lib/am/tests/ConditionalSet.pl: Rename to
3204 lib/am/tests/DisjConditions.pl
3205 * lib/am/Conditional.pm (condition_negate): Rename to ...
3206 * lib/am/Condition.pm (conditional_negate): ... this.
3207 * automake.in: Adjust references to Condition and DisjConditions.
3208 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
3209 (check_ambiguous_condition, condition_ambiguous_p): ... these.
3210
3211 * tests/README: New file.
3212
3213 * automake.texi (Conditional Programs): Show a sample Makefile.am.
3214 Remind $(EXEEXT) must be appended to configure substitutions.
3215 Show how Automake conditionals can be used instead.
3216 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
3217 appended to conditionally defined programs.
3218
32192003-01-16 Jim Meyering <jim@meyering.net>
3220
3221 Accept --help and --version, and lots of syntactic clean-up.
3222 * lib/install-sh: Use consistent indentation, two spaces per level.
3223 (scriptversion): New variable.
3224 Change initializations like `variable=""' to `variable='.
3225 (usage): New variable.
3226 Use `test', not `['.
3227 Use `test -z "$var"', not `[ x"$var" = x ]'.
3228 Use `test -n "$var"', not `[ x"$var" != x ]'.
3229 Alphabetize case entries.
3230 Accept --help and --version options.
3231 Remove unnecessary `else :' clauses.
3232 Add a `Local variables' eval block to help emacs users update
3233 the time-stamp variable added above.
3234 Mostly from Karl Berry.
3235
32362003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
3237
3238 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
3239 python2.3.
3240
3241 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
3242 or `pyexecdir', for the sake of 64-bit distributions that usually
3243 use lib64/ instead of lib/. Fall back to the default directory
3244 if it doesn't work.
3245 Suggested by Gwenole Beauchesne.
3246
32472003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
3248
3249 For PR automake/382:
3250 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
3251 Explain BUILT_SOURCES is usually needed in this case.
3252 Reported by William S Fulton.
3253
32542003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
3255
3256 Rename some files for the sake of 8+3 file systems.
3257 * tests/aclocali.test: Rename to tests/aclocal.test.
3258 * tests/aclocali1.test: Rename to tests/aclocal2.test.
3259 * tests/aclocalii.test: Rename to tests/aclocal3.test.
3260 * tests/acoutput.test: Rename to tests/acoutpt.test.
3261 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
3262 * tests/acouttbs.test: Rename to tests/acoutbs.test.
3263 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
3264 * tests/autoheader.test: Rename to tests/autohdr.test.
3265 * tests/autoheader2.test: Rename to tests/autohdr2.test.
3266 * tests/condincl.test: Rename to tests/condinc.test.
3267 * tests/condincl2.test: Rename to tests/condinc2.test.
3268 * tests/distcommon.test: Rename to tests/distcom.test.
3269 * tests/distcommon2.test: Rename to tests/distcom2.test.
3270 * tests/distcommon3.test: Rename to tests/distcom3.test.
3271 * tests/installsh.test: Rename to tests/instsh.test.
3272 * tests/installsh2.test: Rename to tests/instsh2.test.
3273 * tests/instdata.test: Rename to tests/instdat.test.
3274 * tests/instdata2.test: Rename to tests/instdat2.test.
3275 * tests/libobj12b.test: Rename to tests/libobj13.test.
3276 * tests/link_f_c.test: Rename to tests/link_fc.test.
3277 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
3278 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
3279 * tests/nodefine.test: Rename to tests/nodef.test.
3280 * tests/nodefine2.test: Rename to tests/nodef2.test.
3281 * tests/required.test: Rename to tests/reqd.test.
3282 * tests/required2.test: Rename to tests/reqd2.test.
3283 * tests/sourcesub.test: Rename to tests/srcsub.test.
3284 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
3285 * tests/specflags.test: Rename to tests/specflg.test.
3286 * tests/specflags2.test: Rename to tests/specflg2.test.
3287 * tests/specflags3.test: Rename to tests/specflg3.test.
3288 * tests/specflags6.test: Rename to tests/specflg6.test.
3289 * tests/specflags7.test: Rename to tests/specflg7.test.
3290 * tests/specflags8.test: Rename to tests/specflg8.test.
3291 * tests/specflags9.test: Rename to tests/specflg9.test.
3292 * tests/subdircond.test: Rename to tests/subcond.test.
3293 * tests/subdircond2.test: Rename to tests/subcond2.test.
3294 * tests/subdircond3.test: Rename to tests/subcond3.test.
3295 * tests/texinfo.test: Rename to tests/txinfo.test.
3296 * tests/texinfo2.test: Rename to tests/txinfo2.test.
3297 * tests/texinfo3.test: Rename to tests/txinfo3.test.
3298 * tests/texinfo4.test: Rename to tests/txinfo4.test.
3299 * tests/texinfo5.test: Rename to tests/txinfo5.test.
3300 * tests/texinfo6.test: Rename to tests/txinfo6.test.
3301 * tests/texinfo7.test: Rename to tests/txinfo7.test.
3302 * tests/texinfo8.test: Rename to tests/txinfo8.test.
3303 * tests/texinfo9.test: Rename to tests/txinfo9.test.
3304 * tests/texinfo10.test: Rename to tests/txinfo10.test.
3305 * tests/texinfo13.test: Rename to tests/txinfo13.test.
3306 * tests/texinfo16.test: Rename to tests/txinfo16.test.
3307 * tests/texinfo17.test: Rename to tests/txinfo17.test.
3308 * tests/texinfo18.test: Rename to tests/txinfo18.test.
3309 * tests/Makefile.am (TESTS): Adjust.
3310 * ChangeLog.1996: Rename to ChangeLog.96.
3311 * ChangeLog.1998: Rename to ChangeLog.98.
3312 * ChangeLog.2000: Rename to ChangeLog.00.
3313 * ChangeLog.2001: Rename to ChangeLog.01.
3314 * Makefile.am (EXTRA_DIST): Adjust.
3315 Reported by Richard Dawe.
3316
33172003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
3318
3319 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
3320 Use '_build' and '_inst' instead of '=build' and '=inst'.
3321 * tests/man2.test: Reflect change automake: check for files in
3322 '_build' and '_inst' directories instead of '=build' and '=inst'.
3323
33242003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
3325
3326 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
3327 * m4/lead-dot.m4: New file.
3328 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
3329 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
3330 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
3331 DEPDIR using am__leading_dot.
3332 * automake.in (require_build_directory): Define am__dirstamp, a new
3333 variable for the dirstamp basename, based on am__leading_dot.
3334 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
3335 use $(am__dirstamp).
3336 Reported by Richard Dawe.
3337
3338 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
3339 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
3340 testing for programs.
3341 Reported by Richard Dawe.
3342
33432003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
3344
3345 * Makefile.am (maintainer-check): Suggest using $sleep instead of
3346 sleep 2.
3347 * tests/defs.in (sleep): New variable.
3348 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
3349 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
3350 Use $sleep instead of sleep 2, to work around timestamp
3351 inconsistencies in Windows.
3352 Reported by Richard Dawe.
3353
3354 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
3355 after $MAKE -e.
3356 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
3357 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
3358 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
3359 $SHELL is overridden by tests/defs, so it won't hurt even
3360 if $MAKE -e uses the $SHELL envvar.
3361 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
3362 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
3363 Reported by Richard Dawe.
3364
3365 Build elisp files all at once instead of one by one.
3366 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
3367 elc-stamp to all's dependencies.
3368 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
3369 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
3370 (clean-lisp): Clean elc-stamp.
3371 * lib/elisp-comp: Reindent. Erase the temporatry directory
3372 from a trap. Propagate Emacs's exit status.
3373 * tests/lisp3.test: New file.
3374 * tests/Makefile.am (TESTS): Add lisp3.test.
3375 Reported by Ryan T. Sammartino.
3376
33772003-01-09 Akim Demaille <akim@epita.fr>
3378
3379 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
3380
33812003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
3382
3383 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
3384 variables. Suggested by Ryan T. Sammartino.
3385
33862003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
3387
3388 * automake.in (macro_define): Add missing `{$cond}' (typo from
3389 2002-09-18).
3390 ($gen_copyright): Append year 2003.
3391 (version): Increase year.
3392
3393 * tests/defs.in: Substitute aclocaldir instead of running
3394 the installed aclocal. Otherwise Libtool and Gettext
3395 tests get skipped when aclocal doesn't preexist.
3396 Reported by Imacat.
3397 * tests/listval.test, tests/suffix2.test: Remove pointless -I
3398 argument to aclocal.
3399
3400-----
3401
3402Copyright (C) 2003 Free Software Foundation, Inc.
3403
3404This file is part of GNU Automake.
3405
3406GNU Automake is free software; you can redistribute it and/or modify
3407it under the terms of the GNU General Public License as published by
3408the Free Software Foundation; either version 2, or (at your option)
3409any later version.
3410
3411GNU Automake is distributed in the hope that it will be useful,
3412but WITHOUT ANY WARRANTY; without even the implied warranty of
3413MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3414GNU General Public License for more details.
3415
3416You should have received a copy of the GNU General Public License
3417along with autoconf; see the file COPYING. If not, write to
3418the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3419Boston, MA 02111-1307, USA.
Note: See TracBrowser for help on using the repository browser.