1 2003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
3 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
5 Report from Václav Haisman.
7 2003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
9 * configure.ac, NEWS: Bump version to 1.8.0a.
11 * configure.ac, NEWS: Bump version to 1.8.
13 * lib/texinfo.tex: New upstream version.
15 * Makefile.am (INSTALL): Copy the source from $(srcdir).
17 2003-12-09 Alexandre Duret-Lutz <adl@gnu.org>
19 * lib/Automake/Rule.pm (define): Remove debugging traces.
20 Report from Akim Demaille.
22 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
23 Alexandre Duret-Lutz <adl@gnu.org>
25 * Makefile.am (do_subst): Fix the substitution of @configure_input@.
26 (automake, aclocal): Create the output atomically and make it
27 read-only, as done in the Autoconf package.
28 * lib/Automake/Makefile.am (do_subst): Fix the substitution of
30 (Config.pm): Create the output atomically and make it read-only.
31 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
32 @configure_input@ and make the output read-only.
33 * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
34 tests/automake.in, tests/defs.in: Add a @configure_input@ line.
36 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
38 * doc/automake.texi (Local Macros, CVS): Typos.
40 2003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
42 * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
43 Perl 5.6.0 will not accept a reference sub reference for the
45 * automake.in (var_SUFFIXES_trigger): Adjust registration via
46 Automake::Variable::hook.
47 (handle_texinfo_helper): Make sure `inner_expand => 1' appears
48 on one line, so that Perl 5.6.0 does not complain about
49 inner_expand being a bare identifier.
51 2003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
53 * aclocal.in (check_acinclude, scan_file): Output `warning:' in
55 Report from Pavel Roskin.
57 2003-12-04 Alexandre Duret-Lutz <adl@gnu.org>
59 * TODO: Remove some old entries.
61 * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
62 and CONFIG_STATUS_DEPENDENCIES. Move this sections later
63 in the manual since it's pretty advanced material.
65 * automake.in ($config_header_location): Remove. Use
66 %ac_config_files_location instead.
67 (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
69 (handle_configure): Use rewrite_inputs_into_dependencies to
70 distribute and compute AC_CONFIG_HEADERS dependencies.
71 (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
72 %ac_config_files_location.
73 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
74 (%CONFIG_HIN%): ... this. $(srcdir) is already added in
76 * tests/Makefile.am (TESTS): Add confh5.test.
77 * tests/confh5.test: New file.
79 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
80 $< is not portable and the source is in $(srcdir).
82 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
83 Alexandre Duret-Lutz <adl@gnu.org>
85 * automake.in (handle_configure): Do not require link sources if
86 they contain a dollar, or if they were built. Likewise, do not
87 clean link destination if they contain a dollar.
88 (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
89 %ac_config_files_location with link destinations. Do not
90 store locations in @config_links, now that %ac_config_files_location
92 * tests/conflnk3.test: New file.
93 * tests/Makefile.am (TESTS): Add conflnk3.test.
95 2003-12-02 Alexandre Duret-Lutz <adl@gnu.org>
97 * configure.ac, NEWS: Bump version to 1.7i.
99 * configure.ac, NEWS: Bump version to 1.7h.
101 * doc/automake.texi (Default _SOURCES): Fix reference to true.
103 * lib/texinfo.tex: New upstream version.
105 2003-11-30 Alexandre Duret-Lutz <adl@gnu.org>
107 * automake.in (handle_source_transform): If it's present, use
108 libfoo_la.c instead of libfoo.c as the default source of
109 libfoo.la, and issue an -Wobsolete diagnostic. Do not be
110 greedy in the suffix replacement regex.
111 * doc/automake.texi (Default _SOURCES): New node.
112 (Program Sources, Libtool Modules): Refer to it.
113 * tests/ltlibsrc.test: Update to check for old default source files.
115 2003-11-30 Gary V. Vaughan <gary@gnu.org>
117 * automake.in (&handle_source_transform): Calculate a default file
118 for use in the absence of an appropriate _SOURCES declaration by
119 first stripping any suffix from the unxformed target name, and
121 * doc/automake.texi (Program Sources, Libtool Modules): Document this.
122 * tests/ltlibsrc.test: New file.
123 * tests/Makefile.am (TESTS): Add ltlibsrc.test.
125 2003-11-29 Alexandre Duret-Lutz <adl@gnu.org>
127 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
128 _value_as_list_recursive_worker): Merge into ...
129 (value_as_list_recursive): ... this function. Pass options
130 as a hash argument, and use the `location' option to trigger
131 the behavior of loc_and_value_as_list_recursive.
132 (traverse_recursively, transform_variable_recursively): Take
133 options as a %options argument.
134 (_do_recursive_traversal): Perform expansion of inner variables
135 (as in `$(FILE).ext') on request.
136 * automake.in (handle_options, check_libobjs_sources)
137 (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
138 (handle_ltlibraries, handle_man_pages, handle_dist)
139 (handle_gettext, am_install_var): Adjust usage of
140 value_as_list_recursive.
141 (handle_texinfo_helper): Pass inner_expand to
142 value_as_list_recursive.
143 * tests/txinfo28.test: New file.
144 * tests/Makefile.am (TESTS): Add txinfo28.test.
145 Report from Ralf Corsepius.
147 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
148 update @_substfroms and @_substfroms for undefined variables.
149 * tests/substre2.test: New file.
150 * tests/Makefile.am (TESTS): Add substre2.test.
152 * lib/Automake/VarDef.pm (value): Rename as ...
153 (raw_value): ... this.
154 (value): New method, strip # and \\\n.
155 (dump): Use raw_value.
156 * lib/Automake/Variable.pm (output): Use raw_value.
157 (value_as_list): Simplify, now that backslash and comments
159 * tests/txinfo22.test: Make sure Automake isn't confused
160 by comments in variables.
162 2003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
164 * doc/automake.texi: More target vs. rule editing. Back out some
165 of the previous changes. It's OK to talk about targets as "entry
166 points", or as thing to build, but targets cannot be run: rules
169 * doc/automake.texi: s/target/rule/ where appropriate. A target
170 is the destination of a target rule, not the rule itself.
171 Suggested by Bruno Haible.
173 2003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
175 * configure.ac, NEWS: Bump version to 1.7g.
177 * configure.ac, NEWS: Bump version to 1.7f.
179 * automake.in (prepend_srcdir): Parenthesize @inputs to remove
180 a maintainer-check warning.
181 * tests/subst2.test: Rewrite the $MAKE invocation to please
184 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
187 * doc/automake.texi (Program variables): Mention per-target
188 _CPPFLAGS in the documentation of INCLUDES.
189 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
190 Report from Bob Friesenhahn.
192 * doc/automake.texi (Extending): Elaborate on overriding.
194 Suggested by Bruno Haible.
196 2003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
198 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
199 definitions that end with a line full of @substitutions@ that
200 would confuse HP-UX Make if it were blank.
201 (transform_variable_recursively): Make sure not to erase empty
203 * tests/Makefile.am (TESTS): Add subst2.test.
204 * tests/subst2.test: New file.
205 Report from Harlan Stenn.
207 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
209 Report from Dalibor Topic.
211 2003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
213 Fix for PR automake/411:
214 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
216 (prepend_srcdir): ... this.
217 (rewrite_inputs_into_dependencies): New function, extracted from ...
218 (handle_configure): ... here. Adjust to use prepend_srcdir
219 or rewrite_inputs_into_dependencies where needed. Especially,
220 using (the new) rewrite_inputs_into_dependencies to compute
221 Makefile dependencies will fix PR/411.
222 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
223 already distributed by rewrite_inputs_into_dependencies.
224 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
225 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
226 invocation refer to zardoz. Make sure two.in and three.in
227 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
228 * tests/distcom.test: Delete. This is covered by tests/output9.test.
229 * tests/output10.test: New file, for PR/411.
231 2003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
233 * automake.in (append_exeext): Do not append $(EXEEXT) to
235 * tests/exeext4.test: New file.
236 * tests/Makefile.am (TESTS): Add exeext4.test.
238 2003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
240 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
241 mistakenly added on 2001-03-05.
242 * tests/remake5.test: New file.
243 * tests/Makefile.am (TESTS): Add remake5.test.
244 Report from Ralf Corsepius.
246 2003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
248 * configure.ac, NEWS: Bump version to 1.7e.
250 * configure.ac, NEWS: Bump version to 1.7d.
252 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
255 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
256 Alexandre Duret-Lutz <adl@gnu.org>
258 * lib/am/texinfos.am (install-info): Depend on
259 install-info-recursive or install-info-am even if no-installinfo.
260 * tests/txinfo27.test: New file.
261 * tests/Makefile.am (TESTS): Add txinfo26.test.
263 2003-11-18 Paolo Bonzini <bonzini@gnu.org>
264 Alexandre Duret-Lutz <adl@gnu.org>
266 * lib/ylwrap: Do not overwrite headers if they haven't changed.
267 Fix the include guard substitution.
268 * tests/yacc6.test: Augment to run ylwrap, and make sure it
269 does not needlessly update headers.
270 * tests/yacc8.test: Make sure headers are not needlessly updated
271 with ylwrap is not used. Move `test -f foo.o' into the
272 Makefile as `test -f foo.$(OBJEXT)' for portability.
274 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
276 * automake.in (generate_makefile): Define SUBDIRS if it is
277 not defined and DIST_SUBDIRS is.
278 * tests/subpkg2.test: New file.
279 * tests/Makefile.am (TESTS): Add subpkg2.test.
280 Report from Gary V. Vaughan.
282 * tests/suffix11.test: Check for suffixes containing `-'.
283 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
286 * lib/Automake/Rule.pm (define): Suggest using target-local instead
287 of target-am, not target-am-local.
288 * tests/overrid.test: Check the diagnostic for clean-am.
289 Report from Bruno Haible.
291 2003-11-17 Jim Meyering <jim@meyering.net>
293 * bootstrap: Require not only that `perl' have the executable
294 bit set, but also that it is not a directory.
296 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
298 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
300 * automake.in (ac_config_files_location): Declare as a hash.
301 (handle_configure): Rewrite the computation of AC_CONFIG_FILES
302 dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
303 for inputs which are also outputs, and do not check inputs
304 relatively to the current directory.
305 (scan_autoconf_config_files): Take $where as argument, and
306 fill $ac_config_files_location.
307 * tests/output8.test, tests/output9.test: New files.
308 * tests/Makefile.am (TESTS): Add output8.test and output9.test.
309 Report from Bruno Haible.
311 2003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
313 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
314 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
315 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
316 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
317 tests/all.test, tests/alpha.test, tests/amassign.test,
318 tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
319 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
320 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
321 tests/ansi7.test, tests/ansi9.test, tests/ar.test,
322 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
323 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
324 tests/badprog.test, tests/block.test, tests/canon2.test,
325 tests/canon3.test, tests/canon4.test, tests/canon5.test,
326 tests/ccnoco.test, tests/check.test, tests/check2.test,
327 tests/check3.test, tests/checkall.test, tests/clean.test,
328 tests/colneq2.test, tests/colon.test, tests/colon2.test,
329 tests/colon3.test, tests/colon4.test, tests/colon5.test,
330 tests/colon6.test, tests/colon7.test, tests/comment.test,
331 tests/comment2.test, tests/comment4.test, tests/comment6.test,
332 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
333 tests/cond10.test, tests/cond11.test, tests/cond13.test,
334 tests/cond14.test, tests/cond15.test, tests/cond16.test,
335 tests/cond17.test, tests/cond18.test, tests/cond19.test,
336 tests/cond21.test, tests/cond22.test, tests/cond25.test,
337 tests/cond26.test, tests/cond28.test, tests/cond3.test,
338 tests/cond4.test, tests/cond5.test, tests/cond6.test,
339 tests/cond7.test, tests/cond8.test, tests/cond9.test,
340 tests/condd.test, tests/condinc.test, tests/condlib.test,
341 tests/condman.test, tests/condman2.test, tests/conf2.test,
342 tests/confdeps.test, tests/confh.test, tests/confh4.test,
343 tests/config.test, tests/confincl.test, tests/conflnk.test,
344 tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
345 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
346 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
347 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
348 tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
349 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
350 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
351 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
352 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
353 tests/depdist.test, tests/depend.test, tests/depend2.test,
354 tests/depend3.test, tests/depend4.test, tests/destdir.test,
355 tests/dirlist.test, tests/discover.test, tests/distcom.test,
356 tests/distcom2.test, tests/distdir.test, tests/distname.test,
357 tests/dollar.test, tests/double.test, tests/dup2.test,
358 tests/empty.test, tests/empty2.test, tests/empty3.test,
359 tests/empty4.test, tests/error.test, tests/exdir.test,
360 tests/exeext.test, tests/exeext3.test, tests/exsource.test,
361 tests/ext.test, tests/ext2.test, tests/extra.test,
362 tests/extra2.test, tests/extra3.test, tests/extra4.test,
363 tests/extra5.test, tests/extra6.test, tests/extra7.test,
364 tests/flibs.test, tests/fnoc.test, tests/fo.test,
365 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
366 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
367 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
368 tests/header.test, tests/implicit.test, tests/include.test,
369 tests/include2.test, tests/info.test, tests/insh2.test,
370 tests/install2.test, tests/installdir.test, tests/instdat.test,
371 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
372 tests/instman.test, tests/instman2.test, tests/instsh.test,
373 tests/instsh2.test, tests/interp.test, tests/interp2.test,
374 tests/java.test, tests/java2.test, tests/javaprim.test,
375 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
376 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
377 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
378 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
379 tests/library.test, tests/libtool.test, tests/libtool2.test,
380 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
381 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
382 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
383 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
384 tests/maintclean.test, tests/make.test, tests/makej.test,
385 tests/makevars.test, tests/man.test, tests/man2.test,
386 tests/mclean.test, tests/mdate.test, tests/mdate2.test,
387 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
388 tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
389 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
390 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
391 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
392 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
393 tests/order.test, tests/outdir.test, tests/output.test,
394 tests/output2.test, tests/output3.test, tests/output4.test,
395 tests/parse.test, tests/phony.test, tests/pluseq.test,
396 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
397 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
398 tests/postproc.test, tests/ppf77.test, tests/pr2.test,
399 tests/pr204.test, tests/pr220.test, tests/pr224.test,
400 tests/pr229.test, tests/pr243.test, tests/pr266.test,
401 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
402 tests/pr300-lib.test, tests/pr300-ltlib.test,
403 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
404 tests/pr87.test, tests/pr9.test, tests/prefix.test,
405 tests/proginst.test, tests/python.test, tests/python3.test,
406 tests/python4.test, tests/python5.test, tests/python6.test,
407 tests/python7.test, tests/python8.test, tests/python9.test,
408 tests/recurs2.test, tests/remake.test, tests/remake2.test,
409 tests/remake3.test, tests/req.test, tests/reqd.test,
410 tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
411 tests/space.test, tests/specflg3.test, tests/specflg6.test,
412 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
413 tests/spell3.test, tests/spelling.test, tests/spy.test,
414 tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
415 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
416 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
417 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
418 tests/subdirbuiltsources.test, tests/subobj.test,
419 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
420 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
421 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
422 tests/subpkg.test, tests/subst.test, tests/substref.test,
423 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
424 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
425 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
426 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
427 tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
428 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
429 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
430 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
431 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
432 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
433 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
434 tests/unused.test, tests/vars.test, tests/vars3.test,
435 tests/vartar.test, tests/version.test, tests/version2.test,
436 tests/version4.test, tests/version6.test, tests/version7.test,
437 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
438 tests/werror.test, tests/whoami.test, tests/yacc.test,
439 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
440 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
441 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
442 to Automake, not autoconf.
444 Fix for PR automake/408:
445 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
446 from $file, as already done for dist-info.
447 * tests/Makefile.am (TESTS): Add txinfo26.test.
448 * tests/txinfo26.test: New file.
449 Report from Nicholas Wourms.
451 2003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
453 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
454 running AC_CHECK_PROGS(EMACS).
455 * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
456 Report from Jens Petersen.
458 * tests/mkinst2.test: Rewrite.
460 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
462 2003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
464 * automake.in (scan_autoconf_traces): Honor sinclude.
465 * tests/sinclude.test: Check for sinclude.
466 Report from Roberto Bagnara.
468 2003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
470 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
471 already build the tarballs. Commit files right before tagging.
472 Check NEWS before running distcheck.
474 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
476 * configure.ac, NEWS: Bump version to 1.7c.
478 * configure.ac, NEWS: Bump version to 1.7b.
479 * Makefile.am (maintainer-check): Ignore comments while
480 scanning for rm without -f.
482 * Makefile.am (fetch): Get all files from savannah. Do not
483 postprocess Struct.pm and XFiles.pm, since we now are the master
485 * lib/config.sub, lib/config.guess, lib/config-ml.in,
486 lib/texinfo.tex: New upstream versions.
488 * configure.ac: Check that autoconf is installed, that it works,
489 and that it is recent enough in three steps, not one.
493 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
494 (dist_pkgvdata_DATA): ... here.
496 * tests/spy.test: Document overlapping ::-rules incompatibilities,
497 and check only non-overlapping ::-rules.
499 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
500 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
501 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
502 (Uniform): Do not speak of missing HTML support, this is
504 * lib/Automake/Variable.pm (_silent_variable_override): Add
505 AM_MAKEINFOHTMLFLAGS.
506 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
507 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
508 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
509 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
511 2003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
513 * tests/spy.test: New file.
514 * tests/Makefile.am (TESTS): Add spy.test.
516 * automake.in (handle_configure): Distribute and define mkinstalldirs
517 only if it is already present in the package.
518 (scan_autoconf_files): Do not require mkinstalldirs.
519 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
520 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
521 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
522 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
523 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
524 * m4/mkdirp.m4: New file.
525 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
526 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
527 * tests/Makefile.am (TESTS): Remove insh.test.
528 * tests/insh.test: Delete.
529 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
530 * tests/auxdir.test: Install mkinstalldirs.
531 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
532 $(mkdir_p), not $(mkinstalldirs).
533 * tests/empty.test: Run configure, do not substitute things by hand.
534 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
535 as an example, not mkinstalldirs.
536 (Auxiliary Programs) <mkinstalldirs>: Update.
538 * tests/defs.in: Handle required=bzip2.
540 * tests/defs.in: Export SHELL.
541 * tests/cond11.test: Missing quotes.
542 * tests/nogzip2.test: Require bzip2.
544 2003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
546 * NEWS: Add news entries from 1.6.x and 1.7.x.
548 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
550 * automake.in (check_gnu_standards): Install COPYING only if
551 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
552 overwrite the license otherwise.
553 * tests/Makefile.am (TESTS): Add license.test.
554 * tests/license.test: New file.
556 * lib/mkinstalldirs: Mention automake-patches@gnu.org and
557 bug-automake@gnu.org.
558 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
559 Likewise. Also add support for --help and --version.
560 * lib/py-compile, lib/ylwrap: Likewise, and reindent.
562 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
564 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
565 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
566 * lib/am/java.am (JAVACFLAGS): Remove.
567 * tests/dejagnu3.test: Check that the environment value
568 of RUNTESTFLAGS get passed down to runtest.
569 Suggested by Mark Mitchell.
571 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
572 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
573 breaks `make -s'. Instead, fold the compile command on two lines,
574 so that it take less space on the display.
575 Suggested by Karl Berry and William Fulton.
577 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
578 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
579 to select $(srcdir) or `.' builds.
580 (INFO_DEPS): Define here.
581 * lib/am/texinfos.am (dist-info): Strip filename starting with
583 * automake.in (output_texinfo_build_rules): Take a new argument
584 $insrc, and adjust substitutions in 'texibuild'.
585 (handle_texinfo_helper): Compute a regex of all user-cleaned
586 files, and use this to select whether to build .info files in `.'
587 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
588 Alway build the version.texi and stamp files in $(srcdir). Do not
590 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
592 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
594 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
595 tests/vtexi.test: Adjust to new rules.
597 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
599 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
600 * configure.ac: Require Autoconf 2.58a, and check for 2.58.
602 2003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
604 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
605 * tests/Makefile.am (TESTS): Add autohdr3.test
606 * tests/autohdr3.test: New file.
608 * automake.in (handle_configure): Rename am__configure_deps
609 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
610 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
611 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
612 ACLOCAL_M4_DEPS while processing configure.am.
613 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
614 (scan_aclocal_m4): Do not distribute aclocal.m4, this
615 is done from lib/am/configure.am.
616 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
617 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
618 $(am__configure_deps) or $(am__aclocal_m4_deps).
619 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
621 2003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
623 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
624 $(am__configure_deps).
626 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
627 sources, and without using require_file. Define %CONFIG_H_DEPS%
628 and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
629 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
630 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
631 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
632 * tests/autohdr4.test: New file.
633 * tests/Makefile.am (TESTS): Add autohdr4.test.
634 * tests/config.test: Do not grep, run things to see if they work.
636 2003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
638 * tests/output7.test: Populate sub/ with a dummy file, so that it
639 is not empty. This fixes a failure reported by Patrick Welche.
640 * lib/am/distdir.am: Add note about tar's `-o' option and empty
643 2003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
645 * lib/ylwrap: Typo in regex.
647 2003-10-23 Paul Eggert <eggert@twinsun.com>
649 * lib/Automake/XFile.pm: Don't assume -j is solo.
650 Issue a more-informative diagnostic.
651 Problems reported by Eric Sunshine.
653 2003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
655 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
656 Always define lispdir.
657 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
658 $(EMACS) to decide whether _LISP files must be installed,
660 * doc/automake.texi (Emacs Lisp): Mention the two ways to install
661 non byte-compiled Emacs lisp files.
662 * tests/lisp4.test, tests/lisp5.test: Check "make install"
664 Suggested by Simon Josefsson.
666 * NEWS: Clarify the entry about multiple conditional definitions
667 of _PROGRAMS, _LDADD, and _LIBADD.
668 Report from Simon Josefsson.
670 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
672 Report from Elmar Hoffmann.
674 2003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
676 * aclocal.in ("MAIN", usage, parse_arguments): Move near
677 the end, so "MAIN" can use prototypes.
678 (scan_configure): Move later too, for the sake of prototypes.
679 (scan_configure_dep): Fix setting of $scanned_configure_dep.
680 (trace_used_macros): Do not take any argument.
682 2003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
684 * tests/stdlib2.test: Check AM_LDFLAGS alone.
686 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
689 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
690 * tests/stdlib2.test: New file.
691 * tests/Makefile.am (TESTS): Add stdlib2.test.
692 Report from Kevin P. Fleming.
694 2003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
696 * tests/defs.in: For required=runtest, check that we are using
697 a DejaGnu that supports specifying the program on the command-line.
699 2003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
701 For Debian Bug #213524:
702 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
703 stderr and stdout, and grep only the first line while testing
704 install-info --version's output. This revert part of the change
707 2003-10-01 Akim Demaille <akim@epita.fr>
709 * m4/amversion.in: Add (C) to the Copyright notice.
711 2003-10-01 Paul Eggert <eggert@twinsun.com>
713 * lib/Automake/XFile.pm: Use Errno.
714 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
715 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
717 2003-09-30 Tom Tromey <tromey@redhat.com>
719 * lib/Automake/Options.pm (_process_option_list): Recognize
722 * doc/automake.texi (Options): Document no-dist.
723 * automake.in (check_cygnus): Set no-dist option.
724 (handle_dist): Recognize no-dist.
725 * tests/nodist3.test: New file.
726 * tests/Makefile.am (TESTS): Added nodist3.test.
728 2003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
730 * automake.in (handle_clean): Take $makefile as argument, and
731 define %MAKEFILE% while processing clean.am.
732 (generate_makefile): Pass $makefile to handle_clean.
733 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
735 * tests/gnumake.test: New file.
736 * tests/Makefile.am (TESTS): Add gnumake.test.
737 Report from Braden N. McDaniel.
739 2003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
741 * doc/automake.texi (Scripts): Update the example about automake.
742 Mention `dist_' for distributed scripts.
744 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
745 Suggested by Eric Sunshine.
747 2003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
749 * README: More mailing lists.
751 * NEWS: Mention the switch to GNU FDL for the manual.
753 2003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
755 * lib/install-sh (src, dst): Protect names starting with `-',
758 * configure.in: Rename as ...
759 * configure.ac: ... this.
760 * README: s/configure.in/configure.ac/.
762 * doc/fdl.texi: New file.
763 * doc/Makefile.am (automake_TEXINFOS): New variable.
764 * doc/automake.texi (Copying This Manual): New appendix, include
766 (Macro and Variable Index, General Index): Move as subsections of ...
767 (Indices): This new appendix.
769 * doc/automake.texi: Refer to configure.ac instead of configure.in.
771 * automake.texi: Move ...
772 * doc/automake.texi: ... here.
773 * doc/Makefile.am: New file.
774 * configure.in: Output doc/Makefile.
775 * Makefile.am (SUBDIRS): Add doc.
776 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
778 2003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
780 * aclocal.in (write_aclocal): Consider files with relative
781 paths as local to the project, i.e., subject to m4_include.
782 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
783 is also used for .m4 files in the outer project.
785 Support for multiple inputs in AC_CONFIG_FILES.
786 Requested long ago by Harlan Stenn.
787 * automake.in (handle_dist): Remove unused argument $makefile.
788 (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
789 not $am_relative_dir.
790 (rewrite_inputs_into_dependencies): Allow $add_srcdir to
791 be a filename that must always be prefixed by $(srcdir) or
793 (handle_configure, generate_makefile): Revamp to make the
794 Makefile.am, Makefile.in, Makefile more independent.
795 (locate_am): New function.
796 (scan_configure_dep, parse_arguments): Use locate_am.
797 (MAIN): Adjust call to generate_makefile.
798 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
799 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
800 * tests/output6.test, tests/output7.test: New files.
801 * tests/Makefile.am (TESTS): Add them.
802 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
803 multiple inputs are scanned.
805 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
807 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
808 and lib/Automake/Struct.pm from Autoconf.
809 * lib/Automake/XFile.pm: Update comment, Automake is now
810 the master for this file. Cosmetic changes.
812 2003-09-09 Akim Demaille <akim@epita.fr>
814 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
815 Reported by Gary Vaughan.
816 (&find_file): Walk the @include in forward order.
818 2003-09-09 Akim Demaille <akim@epita.fr>
820 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
823 2003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
825 Changes to m4_included files should also cause aclocal.m4 to change.
826 * aclocal.in (m4_include_rx): New variable.
827 (scan_configure_dep): New function.
828 (scan_configure, add_file): Simplify using scan_configure_dep.
829 * tests/Makefile.am (TESTS): Add acloca13.test.
830 * tests/aclocal13.test: New file.
832 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
833 that we have fake version in the $PATH.
835 * aclocal.in (add_file): Remove useless filling of $output, probably
836 left a after CVS conflict. This code is now in write_aclocal.
838 * aclocal.in (configure_ac): Do not call require_configure_ac
839 before parsing the options.
840 * automake.in (configure_ac): Likewise.
841 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
843 * lib/Automake/Configure_ac.pm (require_configure_ac):
844 find_configure_ac never return an undefined value, so test
845 the file's existence instead.
846 * tests/Makefile.am (TESTS): Add help.test.
847 * tests/help.test: New file.
849 2003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
851 * lib/Automake/XFile.pm: Update to use ChannelDefs.
852 (close): Call Automake::FileUtils::handle_exec_errors on errors.
853 * automake.in (scan_autoconf_files): Exit with $?=63 on version
855 (scan_autoconf_traces): Likewise. Close the autoconf pipe to
856 capture abnormal exits.
857 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
859 (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
860 * lib/missing: When a tool has run and exited with $?=63, emulate
861 it. Adjust the diagnostic and pretend the tool is tool old in this
862 case. Use an emacs-updated "scriptversion" variable.
863 * configure.in: Output tests/aclocal-${APIVERSION} and
864 tests/automake-${APIVERSION}.
865 * tests/aclocal.in, tests/automake.in,
866 tests/missing.test, tests/missing2.test: New files.
867 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
868 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
869 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
870 already testing for this.
871 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
872 configure.in so that aclocal works.
873 * tests/defun.test: Quote the AC_DEFUN body.
874 * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
875 and remove dup3.test.
876 (check_SCRIPTS): Add aclocal and automake.
878 * tests/unused.test: Quote AC_DEFUN arguments.
880 2003-09-05 Paul Eggert <eggert@twinsun.com>
882 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
883 lib/depcomp, lib/missing, lib/py-compile,
884 lib/Automake/Channels.pm, lib/Automake/Rule.pm,
885 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
886 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
887 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
888 m4/python.m4, tests/backsl4.test, tests/defs.in,
889 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
890 tests/error.test, tests/getopt.test, tests/gnuwarn.test,
891 tests/include2.test, tests/libobj10.test, tests/libtool5.test,
892 tests/libtool6.test, tests/lisp3.test, tests/phony.test,
893 tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
895 Spelling and minor grammar fixes.
897 2003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
899 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
900 lib/config-ml.in, lib/symlink-tree: New upstream versions.
902 2003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
904 * tests/yacc7.test: Require bison.
906 2003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
908 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
909 ($underquoted_manual_once): New variable.
910 * automake.texi (Extending aclocal): Document this.
912 2003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
914 * aclocal.in (@file_order): New variable, to make sure
915 files are output in the opposite order of the -I arguments.
916 (scan_file): Fill it.
917 (trace_used_macros, write_aclocal): Use it.
918 (scan_m4_files): Reverse the directory contents, so that
919 macros from the lexicographically greatest files are preferred.
920 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
922 * tests/Makefile.am (TESTS): Add them.
924 2003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
926 For Debian Bug #206299:
927 * automake.in ($configure_deps_greatest_timestamp,
928 $output_deps_greatest_timestamp): New variables.
929 (initialize_per_input): Reset $output_deps_greatest_timestamp.
930 (scan_autoconf_traces, scan_autoconf_files, read_am_file):
931 Update $configure_deps_greatest_timestamp and
932 $output_deps_greatest_timestamp
933 (generate_makefile): Rewrite the logic to decide whether
934 to rewrite the output. Move the leading dup_channel_setup
935 and trailing drop_channel_setup to MAIN, so that
936 drop_channel_setup is executed for all exit paths.
937 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
938 * tests/distcom6.test: New file. Report from Scott James Remnant.
939 * tests/Makefile.am (TESTS): Add distcom6.test.
941 * configure.in: Require Autoconf 2.57b to be sure
942 aclocal can use autom4te --language Autoconf-without-aclocal-m4.
943 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
944 calls inside the AM_INIT_AUTOMAKE macro.
945 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
946 AC_PREREQ calls inside the macros.
947 * m4/header.m4: Remove AC_PREREQ.
949 * automake.in (file_contents_internal): Do not add newlines before
952 * aclocal.in (write_aclocal): Take an output file and list of
953 used macros in arguments and make up the file contents here.
954 (trace_used_macros): New function.
955 (add_file): Do not update $output.
957 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
958 for these traced macros. This should shorten aclocal.m4 by
959 stripping out unused macros.
960 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
961 * tests/aclibobj.test: Make sure configure.in exists by the time
963 * tests/aclocal8.test: New file.
964 * tests/Makefile.am (TESTS): Add aclocal8.test.
965 Suggested by Bruno Haible and Akim Demaille.
967 2003-08-21 Akim Demaille <akim@epita.fr>
969 * lib/Automake/Configure_ac.pm (&find_configure_ac)
970 (&require_configure_ac): Accept an optional directory argument.
971 ($configure_ac): Remove.
972 * aclocal.in, automake.in ($configure_ac): New.
973 * lib/Automake/Variable.pm: Don't use $configure_ac, just
976 2003-08-20 Akim Demaille <akim@epita.fr>
978 * lib/Automake/FileUtils.pm: More perldoc.
979 (&up_to_date_p): New.
981 2003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
983 Fix for PR automake/398:
984 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
985 set. Display `none' instead of `:' and $PYTHON is set to `:'
986 when no suitable interpreter is found. Honor ACTION-IF-FOUND and
988 * automake.texi (Python): Document ACTION-IF-FOUND and
990 * tests/python4.test, tests/python5.test, tests/python6.test,
991 tests/python7.test, tests/python8.test, tests/python9.test: New
993 * tests/Makefile.am (TESTS): Add them.
994 Report from Per Cederqvist.
996 2003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
998 Fix for PR automake/399:
999 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
1000 Report from Per Cederqvist.
1002 2003-08-12 Raja R Harinath <harinath@acm.org>
1004 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
1005 (not): Replace loop with 'map'.
1006 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
1007 * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
1008 Don't 'simplify' result of 'invert', since it's already in
1010 * lib/Automake/Rule.pm (define): Replace loop with
1011 'not_always_defined_in_cond'.
1013 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
1014 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
1015 (define): Reword comment slightly.
1016 * Variable.pm (_var_order, msg_cond_var): Typo in comment.
1017 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
1018 spurious automake error exit.
1020 2003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
1022 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
1023 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
1024 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
1025 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
1026 (new): Adjust to call Automake::ItemDef::new.
1027 (comment, location, owner): Delete. Now inherited from ItemDef.
1028 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
1029 (_new): Adjust to call Automake::Item::new.
1030 (name, def, rdef, _set, conditions, not_always_defined_in_cond):
1031 Delete. How inherited from Item, where `_set' is called `set'.
1032 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
1033 (suffix_rules_default): Delete. Now
1034 Automake::Rule::_suffix_rules_default
1035 (suffixes): Delete. Now Automake::Rule::suffixes.
1036 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
1037 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
1038 (%targets, %target_source, %target_name, %target_owner): Delete,
1039 replaced by the Rule and RuleDef classes.
1040 (dependencies, depend, actions): Delete. Now in Automake::Rule.
1041 (suffix_rules, register_suffix_rule): Likewise.
1042 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
1043 (known_extensions_list): Delete. Now
1044 Automake::Rule::_known_extensions_list.
1045 (target_conditions): Delete. Now inherited by Automake::Rule
1046 from Automake::Item::conditions.
1047 (rule_define): Delete. Now Automake::Rule::define. Adjust all
1049 (target_defined): Delete. Now Automake::Rule::rule. Adjust all
1051 (initialize_per_input): Adjust to call Automake::Rule::reset.
1052 (err_target, err_cond_target, msg_cond_target, msg_target,
1053 reject_target): Delete. Now defined in Automake::Rule as
1054 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
1056 (handle_languages): Call suffix_rules_count.
1057 * tests/location.test: Adjust expected diagnostics. We now display
1058 $(EXEEXT) accurately.
1060 2003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
1062 Revert the fix for PR automake/291:
1063 * lib/Automake/Variable.pm (define): Do not warn about variables
1064 starting with `_' which are an issue on NEWS-OS 4.2R. According
1065 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
1066 was released on 1996 and is not in wide use. On the other hand,
1067 variables starting with `_' are mandatory in several situations,
1068 so diagnosing them is more annoying than useful.
1069 * tests/canon5.test: Do not use -Wno-portability.
1070 * tests/vars2.test: Delete.
1071 * tests/Makefile.am (TESTS): Remove vars2.test.
1072 Suggested by Jim Meyering.
1074 2003-08-09 Raja R Harinath <harinath@acm.org>
1076 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
1077 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
1078 Automake::Disjunctions::ambiguous_p.
1080 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1082 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
1083 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
1084 * automake.in (rule_define): Adjust usage.
1085 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
1087 * lib/Automake/Options.pm: New file.
1088 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
1089 * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
1090 ($default_strictness_name, $strictness, $strictness_name)
1091 (%options, %global_options, process_option_list)
1092 (set_strictness): Remove, now in Options.pm.
1093 (initialize_per_input): Call Automake::Options::reset.
1094 (handle_options, get_object_extension, get_object_extension)
1095 (handle_languages, handle_single_transform_list, handle_compile)
1096 (handle_texinfo_helper, handle_man_pages, handle_dist)
1097 (handle_configure, do_check_merge_target)
1098 (handle_factored_dependencies, handle_tests)
1099 (handle_minor_options, scan_autoconf_traces, check_cygnus)
1100 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
1101 (make_paragraphs, am_install_var, parse_arguments): Adjust
1102 to set and read options via the new interface.
1104 2003-08-07 Raja R Harinath <harinath@acm.org>
1106 * Makefile.am (maintainer-check): Update perllibdir.
1107 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
1108 (EXTRA_DIST): Add Config.in.
1109 * Makefile.in, lib/Automake/Makefile.in: Regenerate.
1110 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
1113 2003-08-06 Raja R Harinath <harinath@acm.org>
1115 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
1116 from the builddir too, to pick up Automake::Config.
1117 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
1118 * configure: Regenerate.
1119 * automake.in (BEGIN): Handle multiple directories in $perllibdir.
1120 * aclocal.in (BEGIN): Likewise.
1122 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1124 * tests/ltcond.test: Thinko.
1126 2003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
1128 * lib/Automake/Config.in: New file.
1129 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
1130 CLEANFILES): New variables.
1131 (Config.pm): New rule.
1132 * Makefile.am (maintainer-check): Adjust expected differences
1133 between automake.in and automake.
1134 * aclocal.in, automake.in: Use Automake::Config.
1136 2003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
1138 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
1140 * automake.in (handle_texinfo_helper): Use the user definition
1141 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
1142 * tests/txinfo22.test: New file.
1143 * tests/Makefile.am (TESTS): Add txinfo22.test.
1144 Report from Tom Tromey.
1146 2003-08-03 Raja R Harinath <harinath@acm.org>
1148 * lib/Automake/Variable.pm (@EXPORT): Remove
1149 traverse_variable_recursively and
1150 require_variables_for_variable.
1151 (require_variables_for_variable, traverse_variable_recursively)
1152 (_traverse_variable_recursively_worker): Convert to
1153 Automake::Variable methods, remove support for being
1154 invoked with variable names, and rename to ...
1155 (requires_variables, traverse_recursively)
1156 (_do_recursive_traversal): ... these.
1157 (_value_as_list_recursive_worker, transform_variable_recursively):
1158 Update to reflect changes.
1159 * automake.in (handle_LIBOBJS, handle_ALLOCA)
1160 (handle_libraries, handle_ltlibraries, am_primary_prefixes):
1162 (define_objects_from_sources): Fix typo in comment.
1164 2003-08-02 Raja R Harinath <harinath@acm.org>
1166 * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1167 (register_language): Replace 'grep' with 'foreach' modifier.
1169 2003-08-01 Raja R Harinath <harinath@acm.org>
1171 * lib/Automake/Variables.pm (variables): Return a list of
1172 Automake::Variable instances, not a list of strings.
1173 (dump): Remove support for being invoked with a string.
1174 (variables_dump): Adapt to these changes.
1175 * automake.in (check_typos): Likewise.
1176 (am_primary_prefixes): Likewise.
1178 2003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1180 * lib/depcomp (aix): Support AIX Compiler version 6.
1182 2003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
1184 * automake.texi (A Shared Library): Rewrite and split into
1185 subsections. Valuable comments from Norman Gray, Harlan Stenn,
1186 Tim Van Holder, and Guido Draheim.
1187 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1188 * tests/Makefile.am (TESTS): Add them.
1190 2003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
1192 * automake.in (handle_single_transform_list): Complain about
1193 foo.$(OBJEXT) being created both with libtool and without, not
1195 Report from Tim Van Holder.
1197 2003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
1199 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1201 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1204 2003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
1206 * automake.in (handle_configure): Cosmetic change to avoid
1207 a maintainer-check complaint.
1209 2003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1211 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1212 (variable_dump): Replace by ...
1213 (dump): ... this method.
1214 (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1215 (define, variables_dump): Adjust to use Automake::Variable::dump
1217 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1218 * automake.texi (Built sources example): Adjust example.
1220 2003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
1222 * automake.in (get_object_extension, handle_languages)
1223 (handle_single_transform_list, handle_compile, handle_compile)
1224 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1225 (handle_tests, handle_minor_options, check_gnu_standards)
1226 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1227 Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1229 Complete changes from 2003-07-08.
1230 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1231 replaced by $options{'no-dependencies'}.
1232 ($global_options): Remove.
1233 (%global_options): New variable.
1234 (initialize_per_input): Empty %options.
1235 (process_option_list): Take a location and %options ref argument,
1236 process no-dependencies as other options.
1237 (handle_options): Do not reparse the global options, just initialize
1238 %options from %global_options and fill it with local options.
1239 (handle_languages, handle_single_transform_list)
1240 (handle_configure, check_cygnus): Adjust usage of
1241 $options{'no-dependencies'}.
1242 (make_paragraphs): Adjust usage of $options{'cygnus'}.
1243 (parse_arguments): Set cygnus and no-dependencies in %global_options.
1244 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1245 to fill %global_options.
1247 2003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
1249 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1250 avoid the use of tar.
1252 2003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
1254 * tests/gnuwarn2.test: Typo.
1256 * tests/insthook.test: Use $MAKE, not make.
1258 Fix missing rebuilds during `make dist' with BSD make.
1259 * automake.in (generate_makefile): Do not push Makefile.in, and
1260 Makefile.am into DIST_COMMON here.
1261 * lib/am/configure.am (DIST_COMMON): Do it here, and use
1262 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1263 actually match the targets. Prefix `configure' with `$(srcdir)/'
1264 to match the target.
1265 * tests/remake4.test: New file.
1266 * tests/Makefile.am (TESTS): Add remake4.test.
1267 Report from Akim Demaille.
1269 2003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
1271 * automake.in (handle_multilib): Register all-multi.
1272 (file_contents_internal): Insert \n when concatenating actions
1273 from "factored" rules.
1274 * lib/config-ml.in: New file, from GCC, including a patch
1275 from Ralf Corsepius (see GCC's PR 11526).
1276 * lib/symlink-tree.in: New file, from GCC.
1277 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1279 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1280 (distclean, maintainer-clean): ... do it here.
1281 * lib/am/depend.am (distclean-depend): Likewise, replace by
1282 (distclean, maintainer-clean): ... these.
1283 * lib/am/multilib.am (all-recursive, install-recursive,
1284 mostlyclean-recursive, clean-recursive, distclean-recursive,
1285 maintainer-clean-recursive): Remove these rules.
1286 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1288 (mostlyclean, clean, distclean, maintainer-clean): ... these.
1289 (all-am): Remove, done in handle_multilib.
1290 (install-am): Replace by ...
1291 (install-exec-am): ... this.
1292 * tests/Makefile.am (TESTS): Add multlib.test.
1293 * tests/multlib.test: New file, based on a test case by
1296 2003-07-23 Tom Tromey <tromey@redhat.com>
1298 * lib/missing (autom4te): Typo.
1300 2003-07-16 Derek Price <derek@ximbiot.com>
1302 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1303 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1304 distclean targets (CONFIG_CLEAN_FILES makefile var).
1305 * NEWS: Note new handling of AC_CONFIG_LINKS.
1306 * automake.texi (Other things Automake recognizes): Ditto.
1307 * tests/Makefile.am (TESTS): Add new tests.
1308 * tests/conflnk.test: New test that links are cleaned on distclean.
1309 * tests/conflnk2.test: New test that source files for links are
1312 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1314 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1315 render $seen_multilib functional again.
1317 2003-07-10 Raja R Harinath <harinath@cs.umn.edu>
1319 Avoid using refs as hash keys.
1320 * lib/Automake/Variable.pm ($_traversal): New.
1321 (reset): Reset $_traversal.
1322 (_new): New attribute 'scanned'.
1323 (%_vars_scanned): Remove.
1324 (traverse_variable_recursively)
1325 (traverse_variable_recursively_worker):
1326 Use $_traversal instead of %_vars_scanned to detect recursively
1329 * lib/am/configure.am (am--refresh): Silence.
1331 2003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1333 * lib/Automake/Variable.pm (define): Make clear the diagnostic
1334 about variable names starting with `_' is about *Make* variables.
1336 For Debian Bug #193907:
1337 * automake.texi (Clean): make maintainer-clean should still
1338 allow ./configure && make to run.
1340 * automake.texi (CVS): Typo.
1342 2003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1344 * aclocal.in: Use Automake::FileUtils.
1345 (parse_arguments, scan_configure, scan_m4_files): Never call
1346 "die" to print an error message. Use print and exit.
1347 * automake.in: Use Automake::FileUtils.
1348 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
1349 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
1350 (END): Do not massage Perl's exit code. Do not clean any temporary
1352 (find_file, mtime, update_file, xsystem, contents): Move to ...
1353 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
1354 report errors using Channels.
1355 (handle_exec_errors, xqx): New functions, from Autoconf.
1356 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
1358 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1359 Return the empty list on recursively defined variable. This
1360 supersedes my change of 2003-07-02.
1362 2003-07-08 Akim Demaille <akim@epita.fr>
1364 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
1365 Adjust all dependencies.
1366 (&depend): Move next to %dependencies and prototype.
1367 (&initialize_per_input): Initialize the 'cygnus' field of
1368 '%options' to spare the code from 'exists' or 'defined' when
1370 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
1371 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
1372 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
1375 2003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
1377 * automake.in (generate_makefile): Move near the end of the
1378 file, after the definition of all called functions, so that
1379 prototypes can be enforced.
1381 2003-07-06 Akim Demaille <akim@epita.fr>
1383 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
1384 install-exec-recursive, install-data-recursive and
1385 uninstall-recursive addition to...
1386 * lib/am/texinfos.am: here.
1387 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
1388 declaration of RECURSIVE_TARGETS.
1390 2003-07-06 Akim Demaille <akim@epita.fr>
1392 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
1395 * automake.in (&handle_subdirs): Prototype.
1397 Make RECURSIVE_TARGETS a VAR_SORTED.
1399 2003-07-06 Akim Demaille <akim@epita.fr>
1401 * automake.in (&define_files_variable): New.
1402 (&handle_texinfo_helper): Move the handling of user variables from
1404 (&handle_texinfo): here.
1405 This is to balance the size of these functions, and to match the
1406 convention of other _helper functions.
1407 (&handle_texinfo_helper): Use &define_files_variable.
1408 Move some code to use less variables.
1409 Rename $info_cursor as $texi.
1410 (&handle_texinfo): Do not call handle_texinfo_helper if there are
1412 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
1414 Remove *-recursive targets from .PHONY, they are part of
1415 $(RECURSIVE_TARGETS) anyway.
1416 (install-info, mostlyclean-aminfo): Are .PHONY.
1418 2003-07-05 Akim Demaille <akim@epita.fr>
1420 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
1421 sed complex commands, as required by NetBSD sed.
1422 Reported by Patrick Welche.
1424 2003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
1426 * lib/config.guess, lib/config.sub: New upstream version.
1428 2003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
1430 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
1431 are automatically distributed.
1433 * lib/depcomp (icc): Update to grok ICC 7.1's output.
1434 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
1435 in a subdirectory, and with many dependencies. This
1436 catches more failures of depcomp.
1437 Reports from Ralf Wildenhues and Akim Demaille.
1439 2003-07-04 Akim Demaille <akim@epita.fr>
1441 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
1442 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
1444 Don't use & when calling functions.
1446 2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
1448 * NEWS: Categorize entries.
1449 Suggested by Jim Meyering.
1451 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
1452 Ignore @...@ substitutions in comments.
1453 * tests/defs.in: Try to make the shell more POSIX compliant.
1454 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
1455 * tests/README: Mention AUTOMAKE_fails.
1456 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
1457 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
1458 * tests/badline.test, tests/badopt.test, tests/canon.test,
1459 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
1460 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
1461 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
1462 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
1463 * tests/dejagnu2.test, tests/dirforbid.test,
1464 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
1465 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
1466 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1467 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
1468 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
1469 * tests/libobj12.test, tests/libobj13.test,
1470 * tests/libobj3.test, tests/library2.test,
1471 * tests/library3.test, tests/libtool4.test,
1472 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
1473 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
1474 * tests/percent.test, tests/percent2.test,
1475 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
1476 * tests/pr211.test, tests/primary.test, tests/primary2.test,
1477 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
1478 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
1479 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
1480 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
1481 * tests/substtarg.test, tests/suffix11.test,
1482 * tests/symlink.test, tests/syntax.test,
1483 * tests/targetclash.test, tests/txinfo4.test,
1484 * tests/version3.test, tests/warnopts.test,
1485 * tests/xsource.test, tests/yacc2.test: Use set -e,
1486 AUTOMAKE_fails, and always grep error message.
1488 * automake.in (handle_ltlibraries): Fix call to msg.
1490 * tests/stamph.test: Delete.
1491 * tests/Makefile.am (TESTS): Remove stamph.test.
1493 * automake.in (handle_single_transform_list): Use $var->name
1494 to print variable in the configure-substitution diagnostic.
1495 Do not mention the parent when it is the variable itself.
1497 * tests/package.test: Delete.
1498 * tests/Makefile.am (TESTS): Remove package.test.
1500 * automake.in (cond_stack_else): Return FALSE if `if' was not
1502 (cond_stack_endif): Return TRUE if `if' was not used. Do not
1503 display $negate and $cond, they are irrelevant and maybe undefined.
1505 2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1507 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1508 Do not return undef when a variable is recursively defined, this
1509 causes warnings all over the place. Return the empty string instead.
1511 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
1512 from empty DIST_ARCHIVES.
1514 2003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
1516 * automake.in (scan_autoconf_traces): Check the expected
1517 number of arguments of each traced macro.
1518 * tests/overrid.test: Fix call to AM_CONDITIONAL.
1519 * tests/conff2.test: New files.
1520 * tests/Makefile.am (TESTS): Add conff2.test.
1521 Report from Paolo Bonzini.
1523 2003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1525 * automake.in ($SUBST_REF_PATTERN): Do not define.
1526 (%gen_varname): Move to Variable.pm, as %_gen_varname.
1527 (initialize_per_input): Do not clean %gen_varname.
1528 (handle_options, check_libobjs_sources, handle_source_transform,
1529 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
1530 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
1531 am_install_var): Adjust to use value_as_list_recursive,
1532 loc_and_value_as_list_recursive, and has_conditional_contents.
1533 (require_file_with_macro): Accept an Automake::Variable as argument.
1534 (traverse_variable_recursively,
1535 traverse_variable_recursively_worker, gen_varname,
1536 transform_variable_recursively): Move ...
1537 * lib/Automake/Variable.pm (traverse_variable_recursively,
1538 _traverse_variable_recursively_worker,
1539 _gen_varname, transform_variable_recursively): ... here.
1540 * automake.in (variable_conditionally_defined,
1541 variable_value_as_list_recursive_worker,
1542 variable_value_as_list_recursive
1543 variable_loc_and_value_as_list_recursive): Move ...
1544 * lib/Automake/Variable.pm (has_conditional_contents,
1545 _value_as_list_recursive_worker,
1546 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
1547 (reset): Reset %_gen_varname.
1548 (require_variables_for_variable): Accept an Automake::Variable
1551 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1553 * tests/aclocal6.test: Test maintainer-clean in VPATH
1554 builds. (For Ralf's fix.)
1556 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1558 * lib/am/configure.am (maintainer-clean): Remove
1559 $(top_srcdir)/autom4te.cache, not autom4te.cache.
1561 2003-06-27 Akim Demaille <akim@epita.fr>
1563 * automake.texi: Use @node with a single argument.
1565 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1567 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
1569 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
1570 at the end of distcheck. This was mistakenly removed on
1572 * tests/subpkg.test: Make sure distcheck cleans up after itself.
1574 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
1575 ($(top_srcdir)/m4/amversion.m4): ... this.
1576 (DISTCLEANFILES): Remove.
1577 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
1579 (EXTRA_DIST): Add amversion.in.
1581 2003-06-25 Akim Demaille <akim@epita.fr>
1583 * automake.texi (Top): Use @copying and @insertcopying.
1584 Make Alexandre an author.
1585 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
1586 * lib/depcomp: Likewise.
1588 2003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
1590 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
1591 (variable_defined, examine_variable): Remove.
1592 (%_ac_macro_for_var): Add an entry for ALLOCA.
1593 (require_variables): Use vardef instead of variable_defined.
1595 * automake.in (generate_makefile): Do not push $(SOURCE) into
1596 @sources. Use define_pretty_variable to define SOURCES.
1597 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
1598 to require LIBOBJS, LTLIBOBJS and ALLOCA.
1599 (handle_programs, handle_ltlibraries): Do not define an empty
1600 _DEPENDENCIES or _LDFLAGS variable when none is defined.
1601 (define_configure_variable): Do not check whether the variable
1602 already exists (it's Automake::Variable::define's job).
1603 (require_build_directory): Likewise, do not check
1604 the existence of am__dirstamp.
1605 (generate_makefile, handle_options, handle_languages)
1606 (check_libobjs_sources, handle_single_transform_list)
1607 (traverse_variable_recursively_worker, handle_source_transform)
1608 (handle_lib_objects, handle_LIBOBJS, handle_compile)
1609 (handle_libtool, handle_programs, handle_libraries)
1610 (handle_ltlibraries, check_typos, handle_texinfo_helper)
1611 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
1612 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
1613 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
1614 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
1615 (define_compiler_variable, define_linker_variable)
1616 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
1617 call var, vardef, or set_seen, instead of variable_defined. Use
1618 set_seen only for variables which are actually checked by
1620 * tests/target.test: Delete.
1621 * tests/alloca.test, tests/alloca2.test: New files.
1622 * tests/libobj3.test: Check error message.
1623 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
1624 This replace confdist.test.
1625 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
1626 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
1628 2003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
1630 * automake.in (handle_dist): Delete DIST_COMMON before redefining
1631 it. Bug report from Akim Demaille.
1632 (rewrite_inputs_into_dependencies): Make sure we always return
1633 something, even when $add_srcdir is 0.
1634 * tests/distcom4.test, tests/distcom5.test: New files.
1635 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
1637 * tests/cond29.test: Also check for _SOURCES.
1638 Report from Paolo Bonzini.
1640 2003-06-20 Akim Demaille <akim@epita.fr>
1642 * lib/am/configure.am: Replace leading spaces with a real tab.
1644 2003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
1646 * tests/nogzip.test, tests/nogzip2.test: New files.
1647 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
1649 2003-06-15 Akim Demaille <akim@epita.fr>
1651 * automake.in (&make_paragraphs): Define %GZIP%.
1652 (&process_option_list): Accept no-dist-gzip2.
1653 (&handle_dist): Complain when no archive format is enabled.
1654 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
1655 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
1657 (dist): Build $(distdir).tar.gz conditionally.
1658 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
1659 to list built archives. Run $(MAKE) dist instead of dist-gzip.
1660 * automake.texi (Options, The types of distributions): Adjust.
1662 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
1664 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
1667 2003-06-14 Karl Berry <karl@gnu.org>
1668 Alexandre Duret-Lutz <adl@gnu.org>
1670 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
1671 to update it each time the file is written, as in install-sh.
1672 (usage): Improve message.
1673 (--version): New option.
1674 (--help): Output to stdout, not stderr.
1676 2003-06-13 Paul Eggert <eggert@twinsun.com>
1678 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
1679 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
1680 Bug reported by Bernard Giroud in:
1681 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
1683 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
1685 * automake.in (check_gnu_standards): Use no-installman and
1686 no-installinfo's locations.
1687 (process_option_list): Fill %options with locations.
1688 (check_cygnus) Fill $options{'no-installinfo'} and
1689 $options{'no-dependencies'} with $cygnus_mode, so that it
1691 * tests/gnuwarn2.test: New file.
1692 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
1694 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
1696 * automake.in (process_option_list): Record the location
1697 of ansi2knr's definition.
1698 (handle_compile): Use it.
1699 * tests/ansi3.test: Make sure the location appears correctly.
1700 Update to use set -e.
1701 * tests/ansi3b.test: New file.
1702 * tests/Makefile.am (TESTS): Add ansi3b.test.
1704 * tests/alpha.test: Really run $MAKE. Augment to test
1705 subdirectories, and check-news report.
1706 * tests/alpha2.test: New file. Bug report from Akim Demaille.
1707 * tests/gnits2.test: Make sure README-alpha is not distributed.
1708 * tests/Makefile.am (TESTS): Add alpha2.test.
1709 * automake.in (handle_minor_options): Distribute README-alpha
1710 using push_dist_common, not require_file_with_macro.
1712 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
1714 * lib/Automake/Configure_ac.pm
1715 (search_configure_ac, find_configure_ac): Rename as ...
1716 (find_configure_ac, require_configure_ac): ... these.
1717 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
1718 * automake.in (scan_autoconf_files): Likewise.
1719 Suggested by Tim Van Holder.
1721 * alocal.in: Use Automake::Configure_ac.
1722 ($configure_ac): Delete.
1723 (scan_configure): Adjust use of find_configure_ac;
1724 * automake.in: Use Automake::Configure_ac.
1725 ($configure_ac): Delete.
1726 (scan_autoconf_files): Adjust use of find_configure_ac;
1727 * lib/Automake/Configure_ac.pm: New file.
1728 * lib/Automake/General.pm (find_configure_ac): Delete. Now
1729 replaced by Automake::Configure_ac::search_configure_ac.
1730 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
1731 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
1732 (require_variables): Adjust use of $configure_ac.
1734 2003-06-02 Akim Demaille <akim@epita.fr>
1736 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
1737 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
1738 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
1739 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
1740 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
1741 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
1742 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
1743 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
1744 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
1745 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
1746 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
1747 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
1748 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
1749 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
1750 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
1751 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
1752 * m4/Makefile.am: White space changes and Copyright updates.
1754 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
1756 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
1757 the $parent_cond argument.
1758 (output): Use $self->name in diagnostic not $self.
1759 (variable_value_as_list): Rename as ...
1760 (value_as_list): ... this. Declare as a method. Take a $parent_cond
1761 argument and pass it to check_defined_unconditionally. Do not call
1762 variable_assert, now that this is a method.
1763 (variable_assert): Delete (unused).
1764 * automake.in (traverse_variable_recursively_worker): Adjust to
1765 use check_defined_unconditionally and value_as_list as a methods.
1767 * lib/Automake/Variable.pm (output): Declare as a method, since it
1768 is only used this way.
1769 (define): Fix documentation of $cond.
1770 Suggested by Raja R. Harinath.
1772 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
1774 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
1775 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
1777 * automake.in: Use Automake::Variable and Automake::VarDef.
1778 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
1779 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
1780 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
1781 (silent_variable_override): Delete. Now
1782 Automake::Variable::_silent_variable_override.
1783 (var_value, var_location, var_comment, var_type, var_owner,
1784 var_pretty, content_seen): Delete. This functionality is now
1785 offered by Automake::Variable and Automake::VarDef.
1786 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
1787 Delete. Now defined in Automake::VarDef.
1788 (var_order): Delete. Now Automake::Variable::_var_order.
1789 (appendvar): Delete. Now Automake::Variable::_appendvar.
1790 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
1791 (initialize_per_input): Call Automake::Variable::reset.
1792 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
1793 defined in Automake::Variable.
1794 (generate_makefile, process_option_list, handle_languages)
1795 (traverse_variable_recursively_worker)
1796 (transform_variable_recursively, handle_compile)
1797 (handle_libraries, handle_ltlibraries)
1798 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
1799 Adjust to use Automake::Variable functions.
1800 (check_ambiguous_condition): Delete. Now
1801 Automake::Variable::_check_ambiguous_condition.
1802 (condition_ambiguous_p): Delete. Now
1803 Automake::Variable::condition_ambiguous_p.
1804 (variable_not_always_defined_in_cond): Delete. Now
1805 Automake::Variable::not_always_defined_in_cond.
1806 (macro_define): Delete. Now Automake::Variable::define.
1807 (macro_delete): Delete. Now Automake::Variable::variable_delete.
1808 (macro_dump): Delete. Now Automake::Variable::variable_dump.
1809 (macros_dump): Delete. Now Automake::Variable::variables_dump.
1810 (variable_defined): Delete. Now
1811 Automake::Variable::variable_defined, with the target check
1812 temporarily disabled.
1813 (variable_assert): Delete. Now Automake::Variable::variable_assert.
1814 (examine_variable): Delete. Now
1815 Automake::Variable::examine_variable.
1816 (variable_conditions): Delete. Now Automake::Variable::conditions.
1817 (scan_variable_expansions): Delete. Now
1818 Automake::Variable::scan_variable_expansions.
1819 (check_variable_expansions): Delete. Now
1820 Automake::Variable::check_variable_expansions.
1821 (check_variable_defined_unconditionally): Delete. Now
1822 Automake::Variable::check_defined_unconditionally.
1823 (variable_value): Delete. Now Automake::Variable::variable_value.
1824 (variable_value_as_list): Delete. Now
1825 Automake::Variable::variable_value_as_list.
1826 (variable_value_as_list_recursive_worker): Adjust to use
1827 Automake::Variable functions.
1828 (variable_output): Delete. Now Automake::Variable::output.
1829 (define_pretty_variable, define_configure_variable, read_am_file)
1830 (define_standard_variables, read_main_am_file): Adjust to use
1831 Automake::Variable functions.
1832 (handle_variables): Delete. Now Automake::Variable::output_variables.
1833 (file_contents_internal, am_primary_prefixes, am_install_var)
1834 (require_file_with_macro, require_conf_file_with_macro)
1835 (push_dist_common): : Adjust to use
1836 Automake::Variable functions.
1837 (require_variables): Delete. Now
1838 Automake::Variable::require_variables.
1839 (require_variables_for_macro): Delete. Now
1840 Automake::Variable::require_variables_for_variable.
1841 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
1843 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
1845 * tests/dejagnu7.test: Check if runtest supports --status.
1847 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
1849 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
1852 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
1853 $self contains only one Condition.
1855 * automake.in: Use plain strict, including refs.
1856 (macro_define, handle_single_transform_list): Use \&{'name'} to
1857 build references to named subroutines.
1859 2003-05-22 Karl Berry <karl@gnu.org>
1861 * automake.texi: Update @dircategory to match the Free Software
1862 Directory. End directory entries with dots.
1864 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1866 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
1868 * lib/elisp-comp: s/François/Franc,ois/.
1869 Suggested by Paul Eggert.
1871 * automake.in: Move the "main" code at the end.
1872 (parse_arguments): Move near the end.
1873 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
1874 accept_extensions, var_SUFFIXES_trigger): Move these definitions
1875 before any call to register_language.
1876 (am_file): Move the definition with all other global variables,
1877 do not use local to define it.
1878 * Makefile.am (maintainer-check): Expect no `local' in Automake.
1880 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
1882 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
1883 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
1884 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
1885 * automake.in (handle_texinfo_helper, pretty_print_rule)
1886 (variable_output): Adjust to use makefile_wrap instead of
1887 pretty_print_internal.
1888 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
1889 and augmented to accept the $eol and $max_len arguments.
1891 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
1893 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
1894 lib/texinfo.tex: New upstream versions.
1896 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
1898 * lib/am/install.am (install, install-exec, install-data, uninstall):
1899 Declare conditionally using a if/else/endif block instead of
1900 using ?SUBDIRS?-style conditions. The latter fail when
1901 %maybe_BUILT_SOURCES% is replaced by several lines.
1902 This fixes a bug introduced on 2003-04-06.
1903 * tests/bsource.test: New file.
1904 * tests/Makefile.am (TESTS): Add bsource.test.
1905 Reported by Bruno Haible.
1907 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
1909 * automake.texi (renamed objects): New node.
1910 (Program and Library Variables): Move maude_DEPENDENCIES closer
1911 to maude_LDADD. Define and use `per-target compilation flags' in the
1912 explanation for maude_CFLAGS et al. Link to the `renamed objects'
1913 node. Illustrate maude_SHORTNAME.
1915 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
1917 * lib/install-sh: Update copyright notice and license to that of
1918 X11R6. This removes an advertising clause reported as Debian bug
1921 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1923 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
1925 * m4/make.m4: Rename the doit target as am__doit,
1927 Reported by Philip S Tellis.
1929 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1931 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
1933 * tests/makej.test: New file (test Autom4te's cache locking,
1934 new in CVS Autoconf).
1935 * tests/Makefile.am (TESTS): Add makej.test.
1937 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
1939 * lib/Automake/General.pm (contents): New function.
1940 * aclocal.in (greatest_mtime, force_output): New globals.
1941 (scan_configure, add_file): Update $greatest_mtime.
1942 (parse_arguments): Parse --force.
1943 (write_aclocal): Do not overwrite $output_file unless needed.
1944 * automake.texi (aclocal options): Document --force.
1945 * tests/aclocal7.test: New file.
1946 * tests/Makefile.am (TESTS): Add aclocal7.test.
1948 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
1950 * automake.texi (Optional): Document m4_include.
1951 (Invoking aclocal): Shake a bit to introduce the various uses
1952 of aclocal and explain that aclocal will use m4_include for
1954 (Extending aclocal): Show how to install installable macros
1955 in $(datadir)/aclocal, and make it clearer that writing installable
1956 macros is not the only way to extend aclocal.
1957 (Local Macros, Future of aclocal): New sections.
1959 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
1961 * automake.in (@common_files): Remove acinclude.m4 since
1962 it will be m4_included by aclocal.m4 and files are always
1964 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
1965 We will get this dependency when tracing m4_includes.
1966 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
1968 * tests/acinclude.test: Delete.
1969 * tests/Makefile.am (TESTS): Remove acinclude.test.
1971 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
1973 * automake.in (handle_configure): Don't add @configure_deps to
1974 DIST_COMMON, we do this from lib/am/configure.am now.
1975 Define the am__configure_deps variable instead of substituing
1977 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
1978 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
1979 (DIST_COMMON): Add $(am__configure_deps).
1981 * tests/aclocal6.test: New file.
1982 * lib/am/configure.am (am--refresh): New rule.
1983 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
1984 $(top_srcdir)/configure): Call the top-level am--refresh from
1986 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
1987 top-level am--refresh when not in the top-level directory.
1988 Fix jump directories for VPATH builds.
1989 Suggested by Raja R. Harinath.
1991 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
1993 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
1994 and glob for m4_files (We've got all local m4 files while
1995 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
1996 Distribute aclocal.m4 only at the top-level.
1997 (my_glob): Remove. This fixes PR automake/11.
1998 (handle_dist): Strip leading `./' from directories.
1999 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
2000 of copying local files.
2001 (write_aclocal, parse_arguments): Bump copyright date.
2002 * configure.in: De not build m4/amversion.m4 from here ...
2003 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
2004 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
2006 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
2007 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
2008 * tests/aclocal2.test: Delete (pointless).
2009 * tests/aclocal5.test: Make sure configure's dependencies are
2011 * tests/acinclude.test: Adjust to search for m4_include.
2012 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
2013 configure instead of aclocal.m4.
2016 * automake.in (scan_aclocal_m4): Work in all directories, not only
2017 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
2019 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
2020 Define rebuild rules in each directory.
2021 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
2022 from the top-level directory.
2023 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
2024 from a subdirectory.
2025 * tests/Makefile.am (TESTS): Add aclocal5.test.
2026 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
2028 2003-04-24 Akim Demaille <akim@epita.fr>
2029 Alexandre Duret-Lutz <adl@gnu.org>
2032 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
2033 because of one of configure's dependencies, run automake without
2034 argument to update the whole tree at once. Depend upon
2036 (%MAKEFILE%): If Makefile is rebuilt because config.status has
2037 been updated, run config.status without arguments.
2038 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
2039 before all files in @configure_deps.
2040 * tests/subdir5.test: Modernize configure.in, make sure
2041 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
2042 * tests/subdir8.test: New file.
2043 * tests/Makefile.am (TESTS): Add subdir8.test.
2044 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
2046 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
2048 * automake.texi (Requirements): Typo in index
2049 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
2051 * lib/texinfo.tex: New upstream version.
2053 2003-04-21 Jim Meyering <jim@meyering.net>
2055 * lib/mkinstalldirs: Remove each sequence of spaces before a
2057 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
2059 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2061 Fix for PR automake/389:
2062 * automake.in (handle_configure): Don't put $colon_infile in
2064 * tests/conff.test: New file.
2065 * tests/Makefile.am (TESTS): Add conff.test.
2066 Reported by Alexander Turbov.
2068 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
2070 * tests/defs.in: Handle required=etags to work around
2073 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2076 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
2077 Distribute dejagnu test cases, so that distcheck actually runs them.
2079 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2081 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
2082 because we set that by invoking runtest with --tool.
2083 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
2084 dejagnu6.test, dejagnu7.test.
2085 * tests/dejagnu4.test: New test.
2086 * tests/dejagnu5.test: New test.
2087 * tests/dejagnu6.test: New test.
2088 * tests/dejagnu7.test: New test.
2090 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
2092 2003-04-18 Jim Meyering <jim@meyering.net>
2094 * automake.in (variable_output): Fix typo in comment s/is/if/.
2096 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
2097 directly to $@. Instead, redirect to $@t and rename upon success.
2098 Also, move the commands that update $@ so they are last. Otherwise,
2099 this rule could leave the user with an up to date target (.c file)
2100 but with a missing or corrupted corresponding .h file.
2102 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2104 * tests/defs.in: Handle required=runtest, to detect runtest
2106 * tests/Makefile.am (TESTS): Add dejagnu3.test.
2107 * tests/dejagnu3.test: New test.
2109 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
2111 * automake.in (rule_define): If the user tries to override
2112 an Automake which has a -local variant, suggest using the
2113 -local variant in the -Woverride diagnostic.
2114 (handle_factored_dependencies): Register factored
2115 rules with rule_define, and define them only in undefined
2117 * tests/Makefile.am (TESTS): Add override.test.
2118 * tests/overrid.test: New file.
2119 * tests/phony.test: Count the number of .PHONY targets.
2121 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
2123 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
2124 these rules, so that we don't confuse users by echoing
2125 "echo ERROR:" commands which are not run.
2127 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
2128 Alexandre Duret-Lutz <adl@gnu.org>
2130 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
2131 initialize_per_input): Add infrastructure for generating HTML
2132 documentation from texinfo source.
2133 * lib/am/texinfos.am: Add rules for building HTML documentation
2134 from texinfo source.
2135 * lib/am/texibuild.am: Likewise.
2136 * automake.texi (Texinfo): Document rules for building
2137 HTML documentation from texinfo source.
2138 * tests/txinfo21.test: New file.
2139 * tests/Makefile.am (TESTS): Add txinfo21.test.
2140 * tests/defs.in: Handle required=makeinfo-html.
2142 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
2144 * automake.in (%silent_variable_override): New variable.
2145 (macro_define): Warn about variable definitions overriding
2147 (rule_define): Warn about target definitions overriding
2148 Automake variables. Fix $condmsg definition.
2149 * automake.texi (Invoking Automake): Document the `override'
2151 * lib/Automake/ChannelDefs.pm (usage): Likewise.
2152 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
2153 this is already done in m4/init.m4.
2154 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
2155 -Wno-override, and make sure we get a warning without.
2156 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
2157 and make sure we get a warning without.
2158 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
2159 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
2160 * tests/txinfo13.test: Use installcheck-local instead of overriding
2162 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
2163 used to succeed thanks to a failure...)
2164 * tests/location.test: Adjust expected messages.
2165 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2167 2003-04-12 Raja R Harinath <harinath@acm.org>
2169 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2170 (invert): Update comment.
2171 (_simplify): Remove.
2172 (simplify): Implement using invert().
2173 * lib/Automake/tests/DisjConditions.pl (test_simplify):
2174 Update to reflect changes.
2176 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
2178 * automake.in (scan_autoconf_files): Augment the error message
2179 about AM_INIT_AUTOMAKE not found.
2180 Suggested by Bruno Haible.
2182 * lib/Automake/Version.pm: New file.
2183 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2184 * lib/Automake/tests/Version.pl: New file.
2185 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2186 * tests/Makefile.am (TESTS): Remove version5.test.
2187 * tests/version5.test: Delete. Move the tests to Version.pl.
2188 * automake.in (version_split, version_compare, version_check): Move ...
2189 * lib/Automake/Version.pm (split, compare, check): ... here.
2191 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
2193 * lib/Automake/tests/Condition.pl (test_reduce_and)
2194 (test_reduce_or): Cosmetics.
2195 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2197 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2199 * tests/yacc8.test, configure.in: Update copyright year.
2201 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2203 * configure.in: Get the build platform name. Define
2204 MODIFICATION_DELAY as the time to wait after modifying a file,
2205 to cope with timestamp granularity issues, depending
2207 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2209 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
2211 * automake.texi (Public macros): Clarify that the new
2212 AM_INIT_AUTOMAKE variant is preferred, and the old one
2213 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2214 (Hello): Caution that the example uses the deprecated
2215 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2217 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
2219 Retain all variable definitions until the whole Makefile.am has
2220 been processed, then output all variables in one step, at the top
2221 of Makefile.in. (Older revisions used to output user variables
2222 before generating Automake targets, and to mix Automake variables
2223 with Automake targets, preventing redefinitions of previously
2226 * automake.in (%var_pretty): New variable.
2227 (VAR_ASIS, VAR_PRETTY): New constants.
2228 (@var_list): Rename as ...
2229 (@var_order): ... this.
2230 (initialize_per_input): Clear %var_pretty.
2231 (handle_variables): New function, extracted from ...
2232 (read_main_am_file): ... here.
2233 (generate_makefile): Call handle_variable after everything else.
2234 (handle_dist): Use define_pretty_variable, not pretty_print.
2235 (pretty_print): Delete.
2236 (macro_define): Augment with $COMMENT and $PRETTY parameters.
2237 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
2238 (variable_pretty_output): Merge with ...
2239 (variable_output): ... this, and choose the prettiness on a
2240 per-condition basis.
2241 (append_comments): Delete. This work is now done by macro_define.
2242 (read_am_file, file_contents_internal): Don't call append_comments
2243 nor update @var_list, adjust calls to macro_define.
2244 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2245 just mark it as VAR_PRETTY.
2246 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2247 Report from Jim Meyering.
2249 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
2251 * automake.in (handle_installdirs): Rename as ...
2252 (handle_install): ... this. Define maybe_BUILT_SOURCES.
2253 (generate_makefile): Adjust call to handle_install.
2254 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2255 * automake.texi (Sources, Built sources example): BUILT_SOURCES
2256 is honored by `make install' too.
2257 * tests/check3.test: Make sure that `make install' also depends
2259 Report from Alexander Turbov.
2261 * lib/am/libs.am (ARFLAGS): Define.
2262 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2264 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2265 are used, and how they can be overridden.
2266 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2268 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2269 * tests/ranlib.test: Delete, obsoleted by ar.test.
2270 * tests/Makefile.am (TESTS): Remove ranlib.test.
2271 Report from Paul Thomas.
2273 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
2275 * automake.in (check_trailing_slash): New function (variation on
2276 a patch by Peter Muir). Diagnose whitespaces following trailing
2278 (read_am_file): Use it.
2279 * tests/backsl4.test: New file.
2280 * tests/Makefile.am (TESTS): Add backsl4.test.
2281 Reported by Peter Muir.
2283 2003-03-29 Raja R Harinath <harinath@acm.org>
2285 Speedup Automake::DisjConditions::invert().
2286 * lib/Automake/Condition.pm (multiply): New.
2287 * lib/Automake/DisjConditions.pm (_multiply): Use it.
2288 (sub_conditions): Likewise.
2290 * lib/Automake/Condition.pm (reduce): Rename to ...
2291 (reduce_and): ... this.
2293 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2294 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2295 (test_reduce_and): ... this.
2296 (test_reduce_or): New.
2297 * lib/Automake/tests/DisjConditions.pl
2298 (test_invert): Update to reflect effect of reduce_or().
2299 (test_simplify): Don't skip invert() on larger inputs.
2301 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
2303 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2304 that timestamp will change.
2306 2003-03-23 Akim Demaille <akim@epita.fr>
2307 Alexandre Duret-Lutz <adl@gnu.org>
2309 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2310 when supported by etags (Exuberant Ctags).
2311 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2313 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
2315 For Debian Bug #185388:
2316 * automake.texi (Extending): Augment the install-exec-hook
2317 discussion with an example how to symlink a versioned binary.
2318 * tests/insthook.test: Rewrite to test the above example.
2319 Report from James R. Van Zandt.
2321 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2323 * Makefile.am (maintainer-check): Allow `automake:' tokens,
2324 occuring in location.test. Automake now has 5 legitimate
2325 unsubstituted @strings@.
2327 * tests/aclocal4.test: Require GNU make.
2329 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
2331 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
2332 * tests/Makefile.am (TESTS): Add aclocal4.test.
2334 2003-03-14 Jim Meyering <jim@meyering.net>
2336 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2337 subdirectories. Makefile.in depends on that variable.
2339 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
2341 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
2343 Fix for PR automake/386:
2344 * m4/init.m4: Require Autoconf 2.55.
2345 Reported by Owen Taylor.
2347 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2348 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
2349 Suggested by Matthias Andree.
2351 * tests/README: Typo.
2353 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
2355 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2356 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
2357 Just echo the gcc command.
2358 Suggested by Karl Berry.
2360 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
2362 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
2363 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
2364 outputing suffix rules. This follows 2003-02-25's change.
2365 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2366 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2368 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
2370 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
2371 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
2373 Reported by Rafael Laboissiere.
2375 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
2377 * lib/mdate-sh: Find out which column of the ls -l output contains
2378 the month. Do not assume it is at least the fifth column.
2380 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
2382 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
2384 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
2385 instead of lisp_LISP when they don't want byte-compilation.
2386 Don't mention ELCFILES anymore.
2387 * automake.in (handle_data): Allow lisp_DATA.
2388 * tests/lisp5.test: New file.
2389 * tests/Makefile.am (TESTS): Add lisp5.test.
2391 * automake.in (handle_emacs_lisp): Don't build *.elc files
2392 if ELCFILES was set empty.
2393 * tests/lisp4.test: New file.
2394 * tests/Makefile.am (TESTS): Add lisp4.test.
2395 Reported by Simon Josefsson.
2397 * tests/lex3.test, tests/lex5.test: Require flex.
2398 Reported by Leo Davis.
2400 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
2402 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
2403 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
2404 when outputing suffix rules.
2405 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
2406 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
2407 Suggested by Bruno Haible.
2409 * automake.in (read_am_file): Catch trailing backslashes on last line.
2410 * tests/backsl3.test: New file.
2411 * tests/Makefile.am (TESTS): Add backsl3.test.
2412 Reported by Akim Demaille.
2414 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
2416 * ChangeLog: Move 2002's entries to ...
2417 * ChangeLog.02: ... this new file.
2418 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
2420 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
2422 * tests/version7.test: Use $sleep to sleep before updating
2423 the version, to work around timestamp inconsistencies in Windows.
2425 2003-02-24 Bruno Haible <bruno@clisp.org>
2426 Alexandre Duret-Lutz <adl@gnu.org>
2428 * lib/am/texibuild.am: Don't remove the target info files. Instead,
2429 back up and restore them if makeinfo fails.
2430 * tests/txinfo20.test: New file.
2431 * tests/Makefile.am (TESTS): Add txinfo20.test.
2433 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
2435 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2436 (distcleancheck): Fix typos and other errors reported by Karl
2439 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2441 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
2444 * tests/defs.in: Handle required=ro-dir.
2445 * tests/destdir.test: Use this.
2447 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
2449 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
2450 from dc_install_base.
2452 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
2454 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
2455 DJGPP-style *.iNN info files.
2456 (maintainer-clean-aminfo): Rewrite using the same pattern
2457 as in uninstall-info-am.
2458 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
2459 DJGPP-style *.iNN info files before running $(MAKEINFO).
2460 * tests/txinfo19.test: New file.
2461 * tests/Makefile.am (TESTS): Add txinfo19.test.
2463 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2465 * lib/depcomp (dashmstdout): Cope with DOS filenames in
2468 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
2470 * lib/depcomp (makedepend): Don't pass $object to makedepend.
2471 Reported by Stepan Kasal.
2473 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
2475 * tests/defs.in: Handle required=makedepend.
2477 * Makefile.am (maintainer-check): Update the diff check
2478 to account for the recent @SHELL@ substitution.
2480 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
2482 * lib/depcomp: Do not put comments on the `icc)' line.
2484 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2487 Fix for PR automake/381:
2488 * automake.in (handle_gettext): Do not print diagnostics
2489 about po/ and intl/ missing from SUBDIRS if po/ does not
2490 exist. Warn if `SUBDIRS = intl' is used although libintl
2492 * tests/gettext.test: Make sure diagnostics are not output
2493 when po/ does not exist.
2494 * tests/gettext2.test: Test for unwanted intl/.
2495 PR from Alexander Turbov, fix suggested by Bruno Haible.
2497 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
2499 * lib/depcomp (icc): New mode.
2500 * tests/depcomp5.test: New file.
2501 * tests/defs.in: Handle required=icc.
2502 * tests/Makefile.am (TESTS): Add it.
2504 Temporary hack for PR automake/381:
2505 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
2506 into -Wsyntax warnings.
2508 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2510 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
2511 This makes the setting of SHELL work for DJGPP.
2513 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
2515 For PR automake/385:
2516 * lib/depcomp (makedepend): Strip any libtool call, before
2517 running makedepends.
2518 * tests/depcomp4.test: New file.
2519 * tests/Makefile.am (TESTS): Add it.
2520 Reported by Jeff Squyres.
2522 Related to PR automake/385:
2523 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
2524 write dependencies to /dev/null. `-o /dev/null' was added
2525 on 2002-06-13 just because I tried to replace `-o foo.o' by something
2526 else and didn't thought about removing it entirely.
2527 * tests/depcomp3.test: New file.
2528 * tests/Makefile.am (TESTS): Add it.
2530 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
2532 Suggested by Richard Dawe.
2534 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
2536 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2537 (distcleancheck): New nodes.
2539 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
2541 * automake.in (scan_autoconf_files): Don't complain that
2542 AM_INIT_AUTOMAKE comes from an old version if it was not found.
2544 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
2546 * automake.in (am_install_var): Simplify filtering of
2547 variable_loc_and_value_as_list_recursive's output.
2549 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
2551 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
2552 indexes of header files so we create stamp files with
2553 the right numbers when config.status is run on some headers.
2554 * tests/stamph2.test: Check for this.
2555 Reported by Sander Niemeijer.
2557 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2559 * automake.in (vars_scanned): Move near traverse_variable_recursively.
2560 (traverse_variable_recursively,
2561 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
2562 to filter out conditions during recursion. Don't recurse into
2563 undefined variables. Don't pass empty results to &FUN_COLLECT.
2564 (value_to_list): Remove, was used by
2565 variable_value_as_list_recursive_worker only.
2566 (variable_value_as_list_recursive_worker): Rewrite using
2567 traverse_variable_recursively. Remove the $parent argument.
2568 (variable_value_as_list_recursive,
2569 variable_loc_and_value_as_list_recursive): Adjust calls
2570 to variable_value_as_list_recursive_worker. Don't reset
2572 * tests/cond3.test: Don't expect empty helper variables,
2573 we don't output them anymore.
2574 * tests/cond30.test: Use an undefined variable.
2576 * automake.in (handle_programs): Strip $(EXEEXT) before
2577 calling &check_canonical_spelling.
2578 * tests/exeext.test: Make sure we don't use a
2579 maude3__EXEEXT__OBJECTS variable.
2581 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
2583 For Debian Bug #39542:
2584 * automake.texi (Invoking Automake, Optional): Document how
2585 AC_CONFIG_AUX_DIR interacts with missing files.
2587 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2589 * lib/Automake/DisjConditions.pm (_permutations_worker)
2590 (permutations): Remove, so that people aren't tempted to use it.
2591 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
2593 * automake.in (variable_conditions_recursive): Remove.
2594 (variable_conditionally_defined): Rewrite using
2595 traverse_variable_recursively.
2597 * automake.in (traverse_variable_recursively,
2598 traverse_variable_recursively_worker): Pass one merged Condition
2599 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
2600 (transform_variable_recursively, define_objects_from_sources)
2601 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
2603 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
2605 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
2606 using transform_variable_recursively instead of
2607 variable_conditions_recursive and variable_value_as_list_recursive
2608 to avoid combinatorial explosion.
2609 (handle_lib_objects_cond): Merge into handle_lib_objects.
2610 * tests/cond11.test: Don't grep internal details in Makefile.in,
2611 run $MAKE to make sure the resulting Makefile runs as expected.
2612 * tests/cond29.test: Also exercise conditional _LDADD.
2613 * tests/cond31.test, tests/cond32.test: New files.
2614 * tests/Makefile.am (TESTS): Add tests/cond31.test and
2617 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
2619 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
2620 -dlpreopen in _LIBADD variables too.
2621 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
2622 handle_lib_objects_cond.
2623 * tests/libtool7.test: New file.
2624 * tests/Makefile.am (TESTS): Add libtool7.test.
2626 * automake.texi (Program and Library Variables): Clarify that
2627 _LIBADD is for libraries and _LDADD for programs.
2629 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
2631 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
2633 Fix for PR automake/352:
2634 * automake.in (transform_variable_recursively): If the destination
2635 and the source variables are the same, delete the source variable
2636 before defining the destination variable.
2637 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
2638 or this will confuse handle_source_transform.
2639 (append_exeext): Rewrite using transform_variable_recursively.
2640 * tests/cond29.test, tests/cond30.test: New files.
2641 * tests/exeext.test: Run ./configure and make, this uncovered
2642 the above handle_programs issue.
2643 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
2645 * automake.in (%subobjvar): Replace by ...
2646 (%gen_varname): ... this.
2647 (subobjname): Replace by ...
2648 (gen_varname): ... this.
2649 (initialize_per_input): Clean gen_varname instead of subobjname.
2650 (transform_variable_recursively): New function, extracted
2651 from define_objects_from_sources.
2652 (define_objects_from_sources): Use transform_variable_recursively.
2653 Remove the unused $parent argument.
2654 (handle_source_transform): Adjust call to define_objects_from_sources.
2656 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
2658 * automake.in (@substfroms, @substtos): Move near
2659 traverse_variable_recursively.
2660 (traverse_variable_recursively, traverse_variable_recursively_worker):
2661 New functions, extracted from define_objects_from_sources.
2662 (define_objects_from_sources): Rewrite using
2663 traverse_variable_recursively.
2664 (handle_source_transform): Use variables_conditionally_defined
2665 instead of calling variable_conditions_recursive directly.
2666 Adjust the call to define_objects_from_sources; there is no need
2667 to reset @substtos, @substfroms, and %vars_scanned now.
2668 (variable_conditions_recursive): Rewrite using
2669 traverse_variable_recursively.
2670 (variable_conditions_recursive_sub): Remove.
2671 (variable_conditionally_defined): Fix condition comparison (the
2672 consequence was that DIST_SUBDIRS was always output).
2673 * lib/Automake/Condition.pm (merge): Allow merging several
2676 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
2678 * automake.texi (Python): Explain that directory variables start
2679 with either ${prefix} or ${exec_prefix}, and point to the
2680 `Installation Directory Variables' section of the Autoconf manual.
2682 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
2684 * lib/am/distdir.am (top_distdir, distdir): Define these
2685 variables only in top level Makefile. Redefine $(top_distdir)
2687 (distdir): Fix passing of $(top_distdir) to sub-makes.
2688 * automake.in (handle_dist): Do not define the DISTDIR and
2689 TOP_DISTDIR transformations. We don't need them anymore.
2690 * automake.texi (Dist): Reorder the dist-hook section, and move
2691 the DIST_SUBDIRS paragraph earlier. Document distdir and
2693 * tests/subpkg.test: Update to check for $(distdir) and
2696 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
2698 Rename more files to accomodate 8+3 file systems, and adjust the
2699 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
2700 and we call "condition" a conjunction of "conditionals".
2701 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
2702 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
2703 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
2704 * lib/am/tests/ConditionalSet.pl: Rename to
2705 lib/am/tests/DisjConditions.pl
2706 * lib/am/Conditional.pm (condition_negate): Rename to ...
2707 * lib/am/Condition.pm (conditional_negate): ... this.
2708 * automake.in: Adjust references to Condition and DisjConditions.
2709 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
2710 (check_ambiguous_condition, condition_ambiguous_p): ... these.
2712 * tests/README: New file.
2714 * automake.texi (Conditional Programs): Show a sample Makefile.am.
2715 Remind $(EXEEXT) must be appended to configure substitutions.
2716 Show how Automake conditionals can be used instead.
2717 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
2718 appended to conditionally defined programs.
2720 2003-01-16 Jim Meyering <jim@meyering.net>
2722 Accept --help and --version, and lots of syntactic clean-up.
2723 * lib/install-sh: Use consistent indentation, two spaces per level.
2724 (scriptversion): New variable.
2725 Change initializations like `variable=""' to `variable='.
2726 (usage): New variable.
2727 Use `test', not `['.
2728 Use `test -z "$var"', not `[ x"$var" = x ]'.
2729 Use `test -n "$var"', not `[ x"$var" != x ]'.
2730 Alphabetize case entries.
2731 Accept --help and --version options.
2732 Remove unnecessary `else :' clauses.
2733 Add a `Local variables' eval block to help emacs users update
2734 the time-stamp variable added above.
2735 Mostly from Karl Berry.
2737 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
2739 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
2742 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
2743 or `pyexecdir', for the sake of 64-bit distributions that usually
2744 use lib64/ instead of lib/. Fall back to the default directory
2746 Suggested by Gwenole Beauchesne.
2748 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
2750 For PR automake/382:
2751 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
2752 Explain BUILT_SOURCES is usually needed in this case.
2753 Reported by William S Fulton.
2755 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2757 Rename some files for the sake of 8+3 file systems.
2758 * tests/aclocali.test: Rename to tests/aclocal.test.
2759 * tests/aclocali1.test: Rename to tests/aclocal2.test.
2760 * tests/aclocalii.test: Rename to tests/aclocal3.test.
2761 * tests/acoutput.test: Rename to tests/acoutpt.test.
2762 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
2763 * tests/acouttbs.test: Rename to tests/acoutbs.test.
2764 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
2765 * tests/autoheader.test: Rename to tests/autohdr.test.
2766 * tests/autoheader2.test: Rename to tests/autohdr2.test.
2767 * tests/condincl.test: Rename to tests/condinc.test.
2768 * tests/condincl2.test: Rename to tests/condinc2.test.
2769 * tests/distcommon.test: Rename to tests/distcom.test.
2770 * tests/distcommon2.test: Rename to tests/distcom2.test.
2771 * tests/distcommon3.test: Rename to tests/distcom3.test.
2772 * tests/installsh.test: Rename to tests/instsh.test.
2773 * tests/installsh2.test: Rename to tests/instsh2.test.
2774 * tests/instdata.test: Rename to tests/instdat.test.
2775 * tests/instdata2.test: Rename to tests/instdat2.test.
2776 * tests/libobj12b.test: Rename to tests/libobj13.test.
2777 * tests/link_f_c.test: Rename to tests/link_fc.test.
2778 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
2779 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
2780 * tests/nodefine.test: Rename to tests/nodef.test.
2781 * tests/nodefine2.test: Rename to tests/nodef2.test.
2782 * tests/required.test: Rename to tests/reqd.test.
2783 * tests/required2.test: Rename to tests/reqd2.test.
2784 * tests/sourcesub.test: Rename to tests/srcsub.test.
2785 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
2786 * tests/specflags.test: Rename to tests/specflg.test.
2787 * tests/specflags2.test: Rename to tests/specflg2.test.
2788 * tests/specflags3.test: Rename to tests/specflg3.test.
2789 * tests/specflags6.test: Rename to tests/specflg6.test.
2790 * tests/specflags7.test: Rename to tests/specflg7.test.
2791 * tests/specflags8.test: Rename to tests/specflg8.test.
2792 * tests/specflags9.test: Rename to tests/specflg9.test.
2793 * tests/subdircond.test: Rename to tests/subcond.test.
2794 * tests/subdircond2.test: Rename to tests/subcond2.test.
2795 * tests/subdircond3.test: Rename to tests/subcond3.test.
2796 * tests/texinfo.test: Rename to tests/txinfo.test.
2797 * tests/texinfo2.test: Rename to tests/txinfo2.test.
2798 * tests/texinfo3.test: Rename to tests/txinfo3.test.
2799 * tests/texinfo4.test: Rename to tests/txinfo4.test.
2800 * tests/texinfo5.test: Rename to tests/txinfo5.test.
2801 * tests/texinfo6.test: Rename to tests/txinfo6.test.
2802 * tests/texinfo7.test: Rename to tests/txinfo7.test.
2803 * tests/texinfo8.test: Rename to tests/txinfo8.test.
2804 * tests/texinfo9.test: Rename to tests/txinfo9.test.
2805 * tests/texinfo10.test: Rename to tests/txinfo10.test.
2806 * tests/texinfo13.test: Rename to tests/txinfo13.test.
2807 * tests/texinfo16.test: Rename to tests/txinfo16.test.
2808 * tests/texinfo17.test: Rename to tests/txinfo17.test.
2809 * tests/texinfo18.test: Rename to tests/txinfo18.test.
2810 * tests/Makefile.am (TESTS): Adjust.
2811 * ChangeLog.1996: Rename to ChangeLog.96.
2812 * ChangeLog.1998: Rename to ChangeLog.98.
2813 * ChangeLog.2000: Rename to ChangeLog.00.
2814 * ChangeLog.2001: Rename to ChangeLog.01.
2815 * Makefile.am (EXTRA_DIST): Adjust.
2816 Reported by Richard Dawe.
2818 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
2820 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
2821 Use '_build' and '_inst' instead of '=build' and '=inst'.
2822 * tests/man2.test: Reflect change automake: check for files in
2823 '_build' and '_inst' directories instead of '=build' and '=inst'.
2825 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2827 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
2828 * m4/lead-dot.m4: New file.
2829 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
2830 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
2831 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
2832 DEPDIR using am__leading_dot.
2833 * automake.in (require_build_directory): Define am__dirstamp, a new
2834 variable for the dirstamp basename, based on am__leading_dot.
2835 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
2836 use $(am__dirstamp).
2837 Reported by Richard Dawe.
2839 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
2840 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
2841 testing for programs.
2842 Reported by Richard Dawe.
2844 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
2846 * Makefile.am (maintainer-check): Suggest using $sleep instead of
2848 * tests/defs.in (sleep): New variable.
2849 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
2850 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
2851 Use $sleep instead of sleep 2, to work around timestamp
2852 inconsistencies in Windows.
2853 Reported by Richard Dawe.
2855 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
2857 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
2858 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
2859 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
2860 $SHELL is overridden by tests/defs, so it won't hurt even
2861 if $MAKE -e uses the $SHELL envvar.
2862 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
2863 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
2864 Reported by Richard Dawe.
2866 Build elisp files all at once instead of one by one.
2867 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
2868 elc-stamp to all's dependencies.
2869 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
2870 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
2871 (clean-lisp): Clean elc-stamp.
2872 * lib/elisp-comp: Reindent. Erase the temporatry directory
2873 from a trap. Propagate Emacs's exit status.
2874 * tests/lisp3.test: New file.
2875 * tests/Makefile.am (TESTS): Add lisp3.test.
2876 Reported by Ryan T. Sammartino.
2878 2003-01-09 Akim Demaille <akim@epita.fr>
2880 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
2882 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
2884 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
2885 variables. Suggested by Ryan T. Sammartino.
2887 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2889 * automake.in (macro_define): Add missing `{$cond}' (typo from
2891 ($gen_copyright): Append year 2003.
2892 (version): Increase year.
2894 * tests/defs.in: Substitute aclocaldir instead of running
2895 the installed aclocal. Otherwise Libtool and Gettext
2896 tests get skipped when aclocal doesn't preexist.
2898 * tests/listval.test, tests/suffix2.test: Remove pointless -I
2899 argument to aclocal.
2903 Copyright (C) 2003 Free Software Foundation, Inc.
2905 This file is part of GNU Automake.
2907 GNU Automake is free software; you can redistribute it and/or modify
2908 it under the terms of the GNU General Public License as published by
2909 the Free Software Foundation; either version 2, or (at your option)
2912 GNU Automake is distributed in the hope that it will be useful,
2913 but WITHOUT ANY WARRANTY; without even the implied warranty of
2914 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2915 GNU General Public License for more details.
2917 You should have received a copy of the GNU General Public License
2918 along with autoconf; see the file COPYING. If not, write to
2919 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2920 Boston, MA 02111-1307, USA.