1 2003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
3 * doc/automake.texi: s/target/rule/ where appropriate. A target
4 is the destination of a target rule, not the rule itself.
5 Suggested by Bruno Haible.
7 2003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
9 * configure.ac, NEWS: Bump version to 1.7g.
11 * configure.ac, NEWS: Bump version to 1.7f.
13 * automake.in (prepend_srcdir): Parenthesize @inputs to remove
14 a maintainer-check warning.
15 * tests/subst2.test: Rewrite the $MAKE invocation to please
18 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
21 * doc/automake.texi (Program variables): Mention per-target
22 _CPPFLAGS in the documentation of INCLUDES.
23 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
24 Report from Bob Friesenhahn.
26 * doc/automake.texi (Extending): Elaborate on overriding.
28 Suggested by Bruno Haible.
30 2003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
32 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
33 definitions that end with a line full of @substitutions@ that
34 would confuse HP-UX Make if it were blank.
35 (transform_variable_recursively): Make sure not to erase empty
37 * tests/Makefile.am (TESTS): Add subst2.test.
38 * tests/subst2.test: New file.
39 Report from Harlan Stenn.
41 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
43 Report from Dalibor Topic.
45 2003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
47 Fix for PR automake/411:
48 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
50 (prepend_srcdir): ... this.
51 (rewrite_inputs_into_dependencies): New function, extracted from ...
52 (handle_configure): ... here. Adjust to use prepend_srcdir
53 or rewrite_inputs_into_dependencies where needed. Especially,
54 using (the new) rewrite_inputs_into_dependencies to compute
55 Makefile dependencies will fix PR/411.
56 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
57 already distributed by rewrite_inputs_into_dependencies.
58 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
59 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
60 invocation refer to zardoz. Make sure two.in and three.in
61 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
62 * tests/distcom.test: Delete. This is covered by tests/output9.test.
63 * tests/output10.test: New file, for PR/411.
65 2003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
67 * automake.in (append_exeext): Do not append $(EXEEXT) to
69 * tests/exeext4.test: New file.
70 * tests/Makefile.am (TESTS): Add exeext4.test.
72 2003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
74 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
75 mistakenly added on 2001-03-05.
76 * tests/remake5.test: New file.
77 * tests/Makefile.am (TESTS): Add remake5.test.
78 Report from Ralf Corsepius.
80 2003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
82 * configure.ac, NEWS: Bump version to 1.7e.
84 * configure.ac, NEWS: Bump version to 1.7d.
86 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
89 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
90 Alexandre Duret-Lutz <adl@gnu.org>
92 * lib/am/texinfos.am (install-info): Depend on
93 install-info-recursive or install-info-am even if no-installinfo.
94 * tests/txinfo27.test: New file.
95 * tests/Makefile.am (TESTS): Add txinfo26.test.
97 2003-11-18 Paolo Bonzini <bonzini@gnu.org>
98 Alexandre Duret-Lutz <adl@gnu.org>
100 * lib/ylwrap: Do not overwrite headers if they haven't changed.
101 Fix the include guard substitution.
102 * tests/yacc6.test: Augment to run ylwrap, and make sure it
103 does not needlessly update headers.
104 * tests/yacc8.test: Make sure headers are not needlessly updated
105 with ylwrap is not used. Move `test -f foo.o' into the
106 Makefile as `test -f foo.$(OBJEXT)' for portability.
108 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
110 * automake.in (generate_makefile): Define SUBDIRS if it is
111 not defined and DIST_SUBDIRS is.
112 * tests/subpkg2.test: New file.
113 * tests/Makefile.am (TESTS): Add subpkg2.test.
114 Report from Gary V. Vaughan.
116 * tests/suffix11.test: Check for suffixes containing `-'.
117 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
120 * lib/Automake/Rule.pm (define): Suggest using target-local instead
121 of target-am, not target-am-local.
122 * tests/overrid.test: Check the diagnostic for clean-am.
123 Report from Bruno Haible.
125 2003-11-17 Jim Meyering <jim@meyering.net>
127 * bootstrap: Require not only that `perl' have the executable
128 bit set, but also that it is not a directory.
130 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
132 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
134 * automake.in (ac_config_files_location): Declare as a hash.
135 (handle_configure): Rewrite the computation of AC_CONFIG_FILES
136 dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
137 for inputs which are also outputs, and do not check inputs
138 relatively to the current directory.
139 (scan_autoconf_config_files): Take $where as argument, and
140 fill $ac_config_files_location.
141 * tests/output8.test, tests/output9.test: New files.
142 * tests/Makefile.am (TESTS): Add output8.test and output9.test.
143 Report from Bruno Haible.
145 2003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
147 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
148 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
149 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
150 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
151 tests/all.test, tests/alpha.test, tests/amassign.test,
152 tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
153 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
154 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
155 tests/ansi7.test, tests/ansi9.test, tests/ar.test,
156 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
157 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
158 tests/badprog.test, tests/block.test, tests/canon2.test,
159 tests/canon3.test, tests/canon4.test, tests/canon5.test,
160 tests/ccnoco.test, tests/check.test, tests/check2.test,
161 tests/check3.test, tests/checkall.test, tests/clean.test,
162 tests/colneq2.test, tests/colon.test, tests/colon2.test,
163 tests/colon3.test, tests/colon4.test, tests/colon5.test,
164 tests/colon6.test, tests/colon7.test, tests/comment.test,
165 tests/comment2.test, tests/comment4.test, tests/comment6.test,
166 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
167 tests/cond10.test, tests/cond11.test, tests/cond13.test,
168 tests/cond14.test, tests/cond15.test, tests/cond16.test,
169 tests/cond17.test, tests/cond18.test, tests/cond19.test,
170 tests/cond21.test, tests/cond22.test, tests/cond25.test,
171 tests/cond26.test, tests/cond28.test, tests/cond3.test,
172 tests/cond4.test, tests/cond5.test, tests/cond6.test,
173 tests/cond7.test, tests/cond8.test, tests/cond9.test,
174 tests/condd.test, tests/condinc.test, tests/condlib.test,
175 tests/condman.test, tests/condman2.test, tests/conf2.test,
176 tests/confdeps.test, tests/confh.test, tests/confh4.test,
177 tests/config.test, tests/confincl.test, tests/conflnk.test,
178 tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
179 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
180 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
181 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
182 tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
183 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
184 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
185 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
186 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
187 tests/depdist.test, tests/depend.test, tests/depend2.test,
188 tests/depend3.test, tests/depend4.test, tests/destdir.test,
189 tests/dirlist.test, tests/discover.test, tests/distcom.test,
190 tests/distcom2.test, tests/distdir.test, tests/distname.test,
191 tests/dollar.test, tests/double.test, tests/dup2.test,
192 tests/empty.test, tests/empty2.test, tests/empty3.test,
193 tests/empty4.test, tests/error.test, tests/exdir.test,
194 tests/exeext.test, tests/exeext3.test, tests/exsource.test,
195 tests/ext.test, tests/ext2.test, tests/extra.test,
196 tests/extra2.test, tests/extra3.test, tests/extra4.test,
197 tests/extra5.test, tests/extra6.test, tests/extra7.test,
198 tests/flibs.test, tests/fnoc.test, tests/fo.test,
199 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
200 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
201 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
202 tests/header.test, tests/implicit.test, tests/include.test,
203 tests/include2.test, tests/info.test, tests/insh2.test,
204 tests/install2.test, tests/installdir.test, tests/instdat.test,
205 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
206 tests/instman.test, tests/instman2.test, tests/instsh.test,
207 tests/instsh2.test, tests/interp.test, tests/interp2.test,
208 tests/java.test, tests/java2.test, tests/javaprim.test,
209 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
210 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
211 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
212 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
213 tests/library.test, tests/libtool.test, tests/libtool2.test,
214 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
215 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
216 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
217 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
218 tests/maintclean.test, tests/make.test, tests/makej.test,
219 tests/makevars.test, tests/man.test, tests/man2.test,
220 tests/mclean.test, tests/mdate.test, tests/mdate2.test,
221 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
222 tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
223 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
224 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
225 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
226 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
227 tests/order.test, tests/outdir.test, tests/output.test,
228 tests/output2.test, tests/output3.test, tests/output4.test,
229 tests/parse.test, tests/phony.test, tests/pluseq.test,
230 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
231 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
232 tests/postproc.test, tests/ppf77.test, tests/pr2.test,
233 tests/pr204.test, tests/pr220.test, tests/pr224.test,
234 tests/pr229.test, tests/pr243.test, tests/pr266.test,
235 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
236 tests/pr300-lib.test, tests/pr300-ltlib.test,
237 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
238 tests/pr87.test, tests/pr9.test, tests/prefix.test,
239 tests/proginst.test, tests/python.test, tests/python3.test,
240 tests/python4.test, tests/python5.test, tests/python6.test,
241 tests/python7.test, tests/python8.test, tests/python9.test,
242 tests/recurs2.test, tests/remake.test, tests/remake2.test,
243 tests/remake3.test, tests/req.test, tests/reqd.test,
244 tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
245 tests/space.test, tests/specflg3.test, tests/specflg6.test,
246 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
247 tests/spell3.test, tests/spelling.test, tests/spy.test,
248 tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
249 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
250 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
251 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
252 tests/subdirbuiltsources.test, tests/subobj.test,
253 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
254 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
255 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
256 tests/subpkg.test, tests/subst.test, tests/substref.test,
257 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
258 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
259 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
260 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
261 tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
262 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
263 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
264 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
265 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
266 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
267 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
268 tests/unused.test, tests/vars.test, tests/vars3.test,
269 tests/vartar.test, tests/version.test, tests/version2.test,
270 tests/version4.test, tests/version6.test, tests/version7.test,
271 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
272 tests/werror.test, tests/whoami.test, tests/yacc.test,
273 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
274 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
275 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
276 to Automake, not autoconf.
278 Fix for PR automake/408:
279 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
280 from $file, as already done for dist-info.
281 * tests/Makefile.am (TESTS): Add txinfo26.test.
282 * tests/txinfo26.test: New file.
283 Report from Nicholas Wourms.
285 2003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
287 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
288 running AC_CHECK_PROGS(EMACS).
289 * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
290 Report from Jens Petersen.
292 * tests/mkinst2.test: Rewrite.
294 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
296 2003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
298 * automake.in (scan_autoconf_traces): Honor sinclude.
299 * tests/sinclude.test: Check for sinclude.
300 Report from Roberto Bagnara.
302 2003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
304 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
305 already build the tarballs. Commit files right before tagging.
306 Check NEWS before running distcheck.
308 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
310 * configure.ac, NEWS: Bump version to 1.7c.
312 * configure.ac, NEWS: Bump version to 1.7b.
313 * Makefile.am (maintainer-check): Ignore comments while
314 scanning for rm without -f.
316 * Makefile.am (fetch): Get all files from savannah. Do not
317 postprocess Struct.pm and XFiles.pm, since we now are the master
319 * lib/config.sub, lib/config.guess, lib/config-ml.in,
320 lib/texinfo.tex: New upstream versions.
322 * configure.ac: Check that autoconf is installed, that it works,
323 and that it is recent enough in three steps, not one.
327 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
328 (dist_pkgvdata_DATA): ... here.
330 * tests/spy.test: Document overlapping ::-rules incompatibilities,
331 and check only non-overlapping ::-rules.
333 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
334 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
335 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
336 (Uniform): Do not speak of missing HTML support, this is
338 * lib/Automake/Variable.pm (_silent_variable_override): Add
339 AM_MAKEINFOHTMLFLAGS.
340 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
341 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
342 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
343 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
345 2003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
347 * tests/spy.test: New file.
348 * tests/Makefile.am (TESTS): Add spy.test.
350 * automake.in (handle_configure): Distribute and define mkinstalldirs
351 only if it is already present in the package.
352 (scan_autoconf_files): Do not require mkinstalldirs.
353 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
354 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
355 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
356 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
357 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
358 * m4/mkdirp.m4: New file.
359 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
360 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
361 * tests/Makefile.am (TESTS): Remove insh.test.
362 * tests/insh.test: Delete.
363 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
364 * tests/auxdir.test: Install mkinstalldirs.
365 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
366 $(mkdir_p), not $(mkinstalldirs).
367 * tests/empty.test: Run configure, do not substitute things by hand.
368 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
369 as an example, not mkinstalldirs.
370 (Auxiliary Programs) <mkinstalldirs>: Update.
372 * tests/defs.in: Handle required=bzip2.
374 * tests/defs.in: Export SHELL.
375 * tests/cond11.test: Missing quotes.
376 * tests/nogzip2.test: Require bzip2.
378 2003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
380 * NEWS: Add news entries from 1.6.x and 1.7.x.
382 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
384 * automake.in (check_gnu_standards): Install COPYING only if
385 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
386 overwrite the license otherwise.
387 * tests/Makefile.am (TESTS): Add license.test.
388 * tests/license.test: New file.
390 * lib/mkinstalldirs: Mention automake-patches@gnu.org and
391 bug-automake@gnu.org.
392 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
393 Likewise. Also add support for --help and --version.
394 * lib/py-compile, lib/ylwrap: Likewise, and reindent.
396 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
398 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
399 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
400 * lib/am/java.am (JAVACFLAGS): Remove.
401 * tests/dejagnu3.test: Check that the environment value
402 of RUNTESTFLAGS get passed down to runtest.
403 Suggested by Mark Mitchell.
405 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
406 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
407 breaks `make -s'. Instead, fold the compile command on two lines,
408 so that it take less space on the display.
409 Suggested by Karl Berry and William Fulton.
411 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
412 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
413 to select $(srcdir) or `.' builds.
414 (INFO_DEPS): Define here.
415 * lib/am/texinfos.am (dist-info): Strip filename starting with
417 * automake.in (output_texinfo_build_rules): Take a new argument
418 $insrc, and adjust substitutions in 'texibuild'.
419 (handle_texinfo_helper): Compute a regex of all user-cleaned
420 files, and use this to select whether to build .info files in `.'
421 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
422 Alway build the version.texi and stamp files in $(srcdir). Do not
424 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
426 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
428 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
429 tests/vtexi.test: Adjust to new rules.
431 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
433 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
434 * configure.ac: Require Autoconf 2.58a, and check for 2.58.
436 2003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
438 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
439 * tests/Makefile.am (TESTS): Add autohdr3.test
440 * tests/autohdr3.test: New file.
442 * automake.in (handle_configure): Rename am__configure_deps
443 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
444 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
445 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
446 ACLOCAL_M4_DEPS while processing configure.am.
447 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
448 (scan_aclocal_m4): Do not distribute aclocal.m4, this
449 is done from lib/am/configure.am.
450 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
451 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
452 $(am__configure_deps) or $(am__aclocal_m4_deps).
453 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
455 2003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
457 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
458 $(am__configure_deps).
460 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
461 sources, and without using require_file. Define %CONFIG_H_DEPS%
462 and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
463 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
464 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
465 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
466 * tests/autohdr4.test: New file.
467 * tests/Makefile.am (TESTS): Add autohdr4.test.
468 * tests/config.test: Do not grep, run things to see if they work.
470 2003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
472 * tests/output7.test: Populate sub/ with a dummy file, so that it
473 is not empty. This fixes a failure reported by Patrick Welche.
474 * lib/am/distdir.am: Add note about tar's `-o' option and empty
477 2003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
479 * lib/ylwrap: Typo in regex.
481 2003-10-23 Paul Eggert <eggert@twinsun.com>
483 * lib/Automake/XFile.pm: Don't assume -j is solo.
484 Issue a more-informative diagnostic.
485 Problems reported by Eric Sunshine.
487 2003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
489 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
490 Always define lispdir.
491 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
492 $(EMACS) to decide whether _LISP files must be installed,
494 * doc/automake.texi (Emacs Lisp): Mention the two ways to install
495 non byte-compiled Emacs lisp files.
496 * tests/lisp4.test, tests/lisp5.test: Check "make install"
498 Suggested by Simon Josefsson.
500 * NEWS: Clarify the entry about multiple conditional definitions
501 of _PROGRAMS, _LDADD, and _LIBADD.
502 Report from Simon Josefsson.
504 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
506 Report from Elmar Hoffmann.
508 2003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
510 * aclocal.in ("MAIN", usage, parse_arguments): Move near
511 the end, so "MAIN" can use prototypes.
512 (scan_configure): Move later too, for the sake of prototypes.
513 (scan_configure_dep): Fix setting of $scanned_configure_dep.
514 (trace_used_macros): Do not take any argument.
516 2003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
518 * tests/stdlib2.test: Check AM_LDFLAGS alone.
520 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
523 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
524 * tests/stdlib2.test: New file.
525 * tests/Makefile.am (TESTS): Add stdlib2.test.
526 Report from Kevin P. Fleming.
528 2003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
530 * tests/defs.in: For required=runtest, check that we are using
531 a DejaGnu that supports specifying the program on the command-line.
533 2003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
535 For Debian Bug #213524:
536 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
537 stderr and stdout, and grep only the first line while testing
538 install-info --version's output. This revert part of the change
541 2003-10-01 Akim Demaille <akim@epita.fr>
543 * m4/amversion.in: Add (C) to the Copyright notice.
545 2003-10-01 Paul Eggert <eggert@twinsun.com>
547 * lib/Automake/XFile.pm: Use Errno.
548 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
549 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
551 2003-09-30 Tom Tromey <tromey@redhat.com>
553 * lib/Automake/Options.pm (_process_option_list): Recognize
556 * doc/automake.texi (Options): Document no-dist.
557 * automake.in (check_cygnus): Set no-dist option.
558 (handle_dist): Recognize no-dist.
559 * tests/nodist3.test: New file.
560 * tests/Makefile.am (TESTS): Added nodist3.test.
562 2003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
564 * automake.in (handle_clean): Take $makefile as argument, and
565 define %MAKEFILE% while processing clean.am.
566 (generate_makefile): Pass $makefile to handle_clean.
567 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
569 * tests/gnumake.test: New file.
570 * tests/Makefile.am (TESTS): Add gnumake.test.
571 Report from Braden N. McDaniel.
573 2003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
575 * doc/automake.texi (Scripts): Update the example about automake.
576 Mention `dist_' for distributed scripts.
578 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
579 Suggested by Eric Sunshine.
581 2003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
583 * README: More mailing lists.
585 * NEWS: Mention the switch to GNU FDL for the manual.
587 2003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
589 * lib/install-sh (src, dst): Protect names starting with `-',
592 * configure.in: Rename as ...
593 * configure.ac: ... this.
594 * README: s/configure.in/configure.ac/.
596 * doc/fdl.texi: New file.
597 * doc/Makefile.am (automake_TEXINFOS): New variable.
598 * doc/automake.texi (Copying This Manual): New appendix, include
600 (Macro and Variable Index, General Index): Move as subsections of ...
601 (Indices): This new appendix.
603 * doc/automake.texi: Refer to configure.ac instead of configure.in.
605 * automake.texi: Move ...
606 * doc/automake.texi: ... here.
607 * doc/Makefile.am: New file.
608 * configure.in: Output doc/Makefile.
609 * Makefile.am (SUBDIRS): Add doc.
610 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
612 2003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
614 * aclocal.in (write_aclocal): Consider files with relative
615 paths as local to the project, i.e., subject to m4_include.
616 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
617 is also used for .m4 files in the outer project.
619 Support for multiple inputs in AC_CONFIG_FILES.
620 Requested long ago by Harlan Stenn.
621 * automake.in (handle_dist): Remove unused argument $makefile.
622 (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
623 not $am_relative_dir.
624 (rewrite_inputs_into_dependencies): Allow $add_srcdir to
625 be a filename that must always be prefixed by $(srcdir) or
627 (handle_configure, generate_makefile): Revamp to make the
628 Makefile.am, Makefile.in, Makefile more independent.
629 (locate_am): New function.
630 (scan_configure_dep, parse_arguments): Use locate_am.
631 (MAIN): Adjust call to generate_makefile.
632 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
633 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
634 * tests/output6.test, tests/output7.test: New files.
635 * tests/Makefile.am (TESTS): Add them.
636 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
637 multiple inputs are scanned.
639 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
641 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
642 and lib/Automake/Struct.pm from Autoconf.
643 * lib/Automake/XFile.pm: Update comment, Automake is now
644 the master for this file. Cosmetic changes.
646 2003-09-09 Akim Demaille <akim@epita.fr>
648 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
649 Reported by Gary Vaughan.
650 (&find_file): Walk the @include in forward order.
652 2003-09-09 Akim Demaille <akim@epita.fr>
654 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
657 2003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
659 Changes to m4_included files should also cause aclocal.m4 to change.
660 * aclocal.in (m4_include_rx): New variable.
661 (scan_configure_dep): New function.
662 (scan_configure, add_file): Simplify using scan_configure_dep.
663 * tests/Makefile.am (TESTS): Add acloca13.test.
664 * tests/aclocal13.test: New file.
666 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
667 that we have fake version in the $PATH.
669 * aclocal.in (add_file): Remove useless filling of $output, probably
670 left a after CVS conflict. This code is now in write_aclocal.
672 * aclocal.in (configure_ac): Do not call require_configure_ac
673 before parsing the options.
674 * automake.in (configure_ac): Likewise.
675 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
677 * lib/Automake/Configure_ac.pm (require_configure_ac):
678 find_configure_ac never return an undefined value, so test
679 the file's existence instead.
680 * tests/Makefile.am (TESTS): Add help.test.
681 * tests/help.test: New file.
683 2003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
685 * lib/Automake/XFile.pm: Update to use ChannelDefs.
686 (close): Call Automake::FileUtils::handle_exec_errors on errors.
687 * automake.in (scan_autoconf_files): Exit with $?=63 on version
689 (scan_autoconf_traces): Likewise. Close the autoconf pipe to
690 capture abnormal exits.
691 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
693 (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
694 * lib/missing: When a tool has run and exited with $?=63, emulate
695 it. Adjust the diagnostic and pretend the tool is tool old in this
696 case. Use an emacs-updated "scriptversion" variable.
697 * configure.in: Output tests/aclocal-${APIVERSION} and
698 tests/automake-${APIVERSION}.
699 * tests/aclocal.in, tests/automake.in,
700 tests/missing.test, tests/missing2.test: New files.
701 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
702 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
703 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
704 already testing for this.
705 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
706 configure.in so that aclocal works.
707 * tests/defun.test: Quote the AC_DEFUN body.
708 * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
709 and remove dup3.test.
710 (check_SCRIPTS): Add aclocal and automake.
712 * tests/unused.test: Quote AC_DEFUN arguments.
714 2003-09-05 Paul Eggert <eggert@twinsun.com>
716 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
717 lib/depcomp, lib/missing, lib/py-compile,
718 lib/Automake/Channels.pm, lib/Automake/Rule.pm,
719 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
720 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
721 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
722 m4/python.m4, tests/backsl4.test, tests/defs.in,
723 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
724 tests/error.test, tests/getopt.test, tests/gnuwarn.test,
725 tests/include2.test, tests/libobj10.test, tests/libtool5.test,
726 tests/libtool6.test, tests/lisp3.test, tests/phony.test,
727 tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
729 Spelling and minor grammar fixes.
731 2003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
733 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
734 lib/config-ml.in, lib/symlink-tree: New upstream versions.
736 2003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
738 * tests/yacc7.test: Require bison.
740 2003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
742 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
743 ($underquoted_manual_once): New variable.
744 * automake.texi (Extending aclocal): Document this.
746 2003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
748 * aclocal.in (@file_order): New variable, to make sure
749 files are output in the opposite order of the -I arguments.
750 (scan_file): Fill it.
751 (trace_used_macros, write_aclocal): Use it.
752 (scan_m4_files): Reverse the directory contents, so that
753 macros from the lexicographically greatest files are preferred.
754 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
756 * tests/Makefile.am (TESTS): Add them.
758 2003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
760 For Debian Bug #206299:
761 * automake.in ($configure_deps_greatest_timestamp,
762 $output_deps_greatest_timestamp): New variables.
763 (initialize_per_input): Reset $output_deps_greatest_timestamp.
764 (scan_autoconf_traces, scan_autoconf_files, read_am_file):
765 Update $configure_deps_greatest_timestamp and
766 $output_deps_greatest_timestamp
767 (generate_makefile): Rewrite the logic to decide whether
768 to rewrite the output. Move the leading dup_channel_setup
769 and trailing drop_channel_setup to MAIN, so that
770 drop_channel_setup is executed for all exit paths.
771 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
772 * tests/distcom6.test: New file. Report from Scott James Remnant.
773 * tests/Makefile.am (TESTS): Add distcom6.test.
775 * configure.in: Require Autoconf 2.57b to be sure
776 aclocal can use autom4te --language Autoconf-without-aclocal-m4.
777 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
778 calls inside the AM_INIT_AUTOMAKE macro.
779 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
780 AC_PREREQ calls inside the macros.
781 * m4/header.m4: Remove AC_PREREQ.
783 * automake.in (file_contents_internal): Do not add newlines before
786 * aclocal.in (write_aclocal): Take an output file and list of
787 used macros in arguments and make up the file contents here.
788 (trace_used_macros): New function.
789 (add_file): Do not update $output.
791 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
792 for these traced macros. This should shorten aclocal.m4 by
793 stripping out unused macros.
794 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
795 * tests/aclibobj.test: Make sure configure.in exists by the time
797 * tests/aclocal8.test: New file.
798 * tests/Makefile.am (TESTS): Add aclocal8.test.
799 Suggested by Bruno Haible and Akim Demaille.
801 2003-08-21 Akim Demaille <akim@epita.fr>
803 * lib/Automake/Configure_ac.pm (&find_configure_ac)
804 (&require_configure_ac): Accept an optional directory argument.
805 ($configure_ac): Remove.
806 * aclocal.in, automake.in ($configure_ac): New.
807 * lib/Automake/Variable.pm: Don't use $configure_ac, just
810 2003-08-20 Akim Demaille <akim@epita.fr>
812 * lib/Automake/FileUtils.pm: More perldoc.
813 (&up_to_date_p): New.
815 2003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
817 Fix for PR automake/398:
818 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
819 set. Display `none' instead of `:' and $PYTHON is set to `:'
820 when no suitable interpreter is found. Honor ACTION-IF-FOUND and
822 * automake.texi (Python): Document ACTION-IF-FOUND and
824 * tests/python4.test, tests/python5.test, tests/python6.test,
825 tests/python7.test, tests/python8.test, tests/python9.test: New
827 * tests/Makefile.am (TESTS): Add them.
828 Report from Per Cederqvist.
830 2003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
832 Fix for PR automake/399:
833 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
834 Report from Per Cederqvist.
836 2003-08-12 Raja R Harinath <harinath@acm.org>
838 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
839 (not): Replace loop with 'map'.
840 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
841 * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
842 Don't 'simplify' result of 'invert', since it's already in
844 * lib/Automake/Rule.pm (define): Replace loop with
845 'not_always_defined_in_cond'.
847 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
848 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
849 (define): Reword comment slightly.
850 * Variable.pm (_var_order, msg_cond_var): Typo in comment.
851 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
852 spurious automake error exit.
854 2003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
856 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
857 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
858 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
859 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
860 (new): Adjust to call Automake::ItemDef::new.
861 (comment, location, owner): Delete. Now inherited from ItemDef.
862 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
863 (_new): Adjust to call Automake::Item::new.
864 (name, def, rdef, _set, conditions, not_always_defined_in_cond):
865 Delete. How inherited from Item, where `_set' is called `set'.
866 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
867 (suffix_rules_default): Delete. Now
868 Automake::Rule::_suffix_rules_default
869 (suffixes): Delete. Now Automake::Rule::suffixes.
870 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
871 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
872 (%targets, %target_source, %target_name, %target_owner): Delete,
873 replaced by the Rule and RuleDef classes.
874 (dependencies, depend, actions): Delete. Now in Automake::Rule.
875 (suffix_rules, register_suffix_rule): Likewise.
876 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
877 (known_extensions_list): Delete. Now
878 Automake::Rule::_known_extensions_list.
879 (target_conditions): Delete. Now inherited by Automake::Rule
880 from Automake::Item::conditions.
881 (rule_define): Delete. Now Automake::Rule::define. Adjust all
883 (target_defined): Delete. Now Automake::Rule::rule. Adjust all
885 (initialize_per_input): Adjust to call Automake::Rule::reset.
886 (err_target, err_cond_target, msg_cond_target, msg_target,
887 reject_target): Delete. Now defined in Automake::Rule as
888 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
890 (handle_languages): Call suffix_rules_count.
891 * tests/location.test: Adjust expected diagnostics. We now display
892 $(EXEEXT) accurately.
894 2003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
896 Revert the fix for PR automake/291:
897 * lib/Automake/Variable.pm (define): Do not warn about variables
898 starting with `_' which are an issue on NEWS-OS 4.2R. According
899 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
900 was released on 1996 and is not in wide use. On the other hand,
901 variables starting with `_' are mandatory in several situations,
902 so diagnosing them is more annoying than useful.
903 * tests/canon5.test: Do not use -Wno-portability.
904 * tests/vars2.test: Delete.
905 * tests/Makefile.am (TESTS): Remove vars2.test.
906 Suggested by Jim Meyering.
908 2003-08-09 Raja R Harinath <harinath@acm.org>
910 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
911 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
912 Automake::Disjunctions::ambiguous_p.
914 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
916 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
917 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
918 * automake.in (rule_define): Adjust usage.
919 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
921 * lib/Automake/Options.pm: New file.
922 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
923 * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
924 ($default_strictness_name, $strictness, $strictness_name)
925 (%options, %global_options, process_option_list)
926 (set_strictness): Remove, now in Options.pm.
927 (initialize_per_input): Call Automake::Options::reset.
928 (handle_options, get_object_extension, get_object_extension)
929 (handle_languages, handle_single_transform_list, handle_compile)
930 (handle_texinfo_helper, handle_man_pages, handle_dist)
931 (handle_configure, do_check_merge_target)
932 (handle_factored_dependencies, handle_tests)
933 (handle_minor_options, scan_autoconf_traces, check_cygnus)
934 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
935 (make_paragraphs, am_install_var, parse_arguments): Adjust
936 to set and read options via the new interface.
938 2003-08-07 Raja R Harinath <harinath@acm.org>
940 * Makefile.am (maintainer-check): Update perllibdir.
941 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
942 (EXTRA_DIST): Add Config.in.
943 * Makefile.in, lib/Automake/Makefile.in: Regenerate.
944 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
947 2003-08-06 Raja R Harinath <harinath@acm.org>
949 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
950 from the builddir too, to pick up Automake::Config.
951 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
952 * configure: Regenerate.
953 * automake.in (BEGIN): Handle multiple directories in $perllibdir.
954 * aclocal.in (BEGIN): Likewise.
956 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
958 * tests/ltcond.test: Thinko.
960 2003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
962 * lib/Automake/Config.in: New file.
963 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
964 CLEANFILES): New variables.
965 (Config.pm): New rule.
966 * Makefile.am (maintainer-check): Adjust expected differences
967 between automake.in and automake.
968 * aclocal.in, automake.in: Use Automake::Config.
970 2003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
972 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
974 * automake.in (handle_texinfo_helper): Use the user definition
975 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
976 * tests/txinfo22.test: New file.
977 * tests/Makefile.am (TESTS): Add txinfo22.test.
978 Report from Tom Tromey.
980 2003-08-03 Raja R Harinath <harinath@acm.org>
982 * lib/Automake/Variable.pm (@EXPORT): Remove
983 traverse_variable_recursively and
984 require_variables_for_variable.
985 (require_variables_for_variable, traverse_variable_recursively)
986 (_traverse_variable_recursively_worker): Convert to
987 Automake::Variable methods, remove support for being
988 invoked with variable names, and rename to ...
989 (requires_variables, traverse_recursively)
990 (_do_recursive_traversal): ... these.
991 (_value_as_list_recursive_worker, transform_variable_recursively):
992 Update to reflect changes.
993 * automake.in (handle_LIBOBJS, handle_ALLOCA)
994 (handle_libraries, handle_ltlibraries, am_primary_prefixes):
996 (define_objects_from_sources): Fix typo in comment.
998 2003-08-02 Raja R Harinath <harinath@acm.org>
1000 * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1001 (register_language): Replace 'grep' with 'foreach' modifier.
1003 2003-08-01 Raja R Harinath <harinath@acm.org>
1005 * lib/Automake/Variables.pm (variables): Return a list of
1006 Automake::Variable instances, not a list of strings.
1007 (dump): Remove support for being invoked with a string.
1008 (variables_dump): Adapt to these changes.
1009 * automake.in (check_typos): Likewise.
1010 (am_primary_prefixes): Likewise.
1012 2003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1014 * lib/depcomp (aix): Support AIX Compiler version 6.
1016 2003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
1018 * automake.texi (A Shared Library): Rewrite and split into
1019 subsections. Valuable comments from Norman Gray, Harlan Stenn,
1020 Tim Van Holder, and Guido Draheim.
1021 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1022 * tests/Makefile.am (TESTS): Add them.
1024 2003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
1026 * automake.in (handle_single_transform_list): Complain about
1027 foo.$(OBJEXT) being created both with libtool and without, not
1029 Report from Tim Van Holder.
1031 2003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
1033 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1035 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1038 2003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
1040 * automake.in (handle_configure): Cosmetic change to avoid
1041 a maintainer-check complaint.
1043 2003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1045 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1046 (variable_dump): Replace by ...
1047 (dump): ... this method.
1048 (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1049 (define, variables_dump): Adjust to use Automake::Variable::dump
1051 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1052 * automake.texi (Built sources example): Adjust example.
1054 2003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
1056 * automake.in (get_object_extension, handle_languages)
1057 (handle_single_transform_list, handle_compile, handle_compile)
1058 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1059 (handle_tests, handle_minor_options, check_gnu_standards)
1060 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1061 Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1063 Complete changes from 2003-07-08.
1064 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1065 replaced by $options{'no-dependencies'}.
1066 ($global_options): Remove.
1067 (%global_options): New variable.
1068 (initialize_per_input): Empty %options.
1069 (process_option_list): Take a location and %options ref argument,
1070 process no-dependencies as other options.
1071 (handle_options): Do not reparse the global options, just initialize
1072 %options from %global_options and fill it with local options.
1073 (handle_languages, handle_single_transform_list)
1074 (handle_configure, check_cygnus): Adjust usage of
1075 $options{'no-dependencies'}.
1076 (make_paragraphs): Adjust usage of $options{'cygnus'}.
1077 (parse_arguments): Set cygnus and no-dependencies in %global_options.
1078 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1079 to fill %global_options.
1081 2003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
1083 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1084 avoid the use of tar.
1086 2003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
1088 * tests/gnuwarn2.test: Typo.
1090 * tests/insthook.test: Use $MAKE, not make.
1092 Fix missing rebuilds during `make dist' with BSD make.
1093 * automake.in (generate_makefile): Do not push Makefile.in, and
1094 Makefile.am into DIST_COMMON here.
1095 * lib/am/configure.am (DIST_COMMON): Do it here, and use
1096 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1097 actually match the targets. Prefix `configure' with `$(srcdir)/'
1098 to match the target.
1099 * tests/remake4.test: New file.
1100 * tests/Makefile.am (TESTS): Add remake4.test.
1101 Report from Akim Demaille.
1103 2003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
1105 * automake.in (handle_multilib): Register all-multi.
1106 (file_contents_internal): Insert \n when concatenating actions
1107 from "factored" rules.
1108 * lib/config-ml.in: New file, from GCC, including a patch
1109 from Ralf Corsepius (see GCC's PR 11526).
1110 * lib/symlink-tree.in: New file, from GCC.
1111 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1113 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1114 (distclean, maintainer-clean): ... do it here.
1115 * lib/am/depend.am (distclean-depend): Likewise, replace by
1116 (distclean, maintainer-clean): ... these.
1117 * lib/am/multilib.am (all-recursive, install-recursive,
1118 mostlyclean-recursive, clean-recursive, distclean-recursive,
1119 maintainer-clean-recursive): Remove these rules.
1120 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1122 (mostlyclean, clean, distclean, maintainer-clean): ... these.
1123 (all-am): Remove, done in handle_multilib.
1124 (install-am): Replace by ...
1125 (install-exec-am): ... this.
1126 * tests/Makefile.am (TESTS): Add multlib.test.
1127 * tests/multlib.test: New file, based on a test case by
1130 2003-07-23 Tom Tromey <tromey@redhat.com>
1132 * lib/missing (autom4te): Typo.
1134 2003-07-16 Derek Price <derek@ximbiot.com>
1136 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1137 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1138 distclean targets (CONFIG_CLEAN_FILES makefile var).
1139 * NEWS: Note new handling of AC_CONFIG_LINKS.
1140 * automake.texi (Other things Automake recognizes): Ditto.
1141 * tests/Makefile.am (TESTS): Add new tests.
1142 * tests/conflnk.test: New test that links are cleaned on distclean.
1143 * tests/conflnk2.test: New test that source files for links are
1146 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1148 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1149 render $seen_multilib functional again.
1151 2003-07-10 Raja R Harinath <harinath@cs.umn.edu>
1153 Avoid using refs as hash keys.
1154 * lib/Automake/Variable.pm ($_traversal): New.
1155 (reset): Reset $_traversal.
1156 (_new): New attribute 'scanned'.
1157 (%_vars_scanned): Remove.
1158 (traverse_variable_recursively)
1159 (traverse_variable_recursively_worker):
1160 Use $_traversal instead of %_vars_scanned to detect recursively
1163 * lib/am/configure.am (am--refresh): Silence.
1165 2003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1167 * lib/Automake/Variable.pm (define): Make clear the diagnostic
1168 about variable names starting with `_' is about *Make* variables.
1170 For Debian Bug #193907:
1171 * automake.texi (Clean): make maintainer-clean should still
1172 allow ./configure && make to run.
1174 * automake.texi (CVS): Typo.
1176 2003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1178 * aclocal.in: Use Automake::FileUtils.
1179 (parse_arguments, scan_configure, scan_m4_files): Never call
1180 "die" to print an error message. Use print and exit.
1181 * automake.in: Use Automake::FileUtils.
1182 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
1183 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
1184 (END): Do not massage Perl's exit code. Do not clean any temporary
1186 (find_file, mtime, update_file, xsystem, contents): Move to ...
1187 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
1188 report errors using Channels.
1189 (handle_exec_errors, xqx): New functions, from Autoconf.
1190 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
1192 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1193 Return the empty list on recursively defined variable. This
1194 supersedes my change of 2003-07-02.
1196 2003-07-08 Akim Demaille <akim@epita.fr>
1198 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
1199 Adjust all dependencies.
1200 (&depend): Move next to %dependencies and prototype.
1201 (&initialize_per_input): Initialize the 'cygnus' field of
1202 '%options' to spare the code from 'exists' or 'defined' when
1204 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
1205 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
1206 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
1209 2003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
1211 * automake.in (generate_makefile): Move near the end of the
1212 file, after the definition of all called functions, so that
1213 prototypes can be enforced.
1215 2003-07-06 Akim Demaille <akim@epita.fr>
1217 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
1218 install-exec-recursive, install-data-recursive and
1219 uninstall-recursive addition to...
1220 * lib/am/texinfos.am: here.
1221 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
1222 declaration of RECURSIVE_TARGETS.
1224 2003-07-06 Akim Demaille <akim@epita.fr>
1226 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
1229 * automake.in (&handle_subdirs): Prototype.
1231 Make RECURSIVE_TARGETS a VAR_SORTED.
1233 2003-07-06 Akim Demaille <akim@epita.fr>
1235 * automake.in (&define_files_variable): New.
1236 (&handle_texinfo_helper): Move the handling of user variables from
1238 (&handle_texinfo): here.
1239 This is to balance the size of these functions, and to match the
1240 convention of other _helper functions.
1241 (&handle_texinfo_helper): Use &define_files_variable.
1242 Move some code to use less variables.
1243 Rename $info_cursor as $texi.
1244 (&handle_texinfo): Do not call handle_texinfo_helper if there are
1246 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
1248 Remove *-recursive targets from .PHONY, they are part of
1249 $(RECURSIVE_TARGETS) anyway.
1250 (install-info, mostlyclean-aminfo): Are .PHONY.
1252 2003-07-05 Akim Demaille <akim@epita.fr>
1254 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
1255 sed complex commands, as required by NetBSD sed.
1256 Reported by Patrick Welche.
1258 2003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
1260 * lib/config.guess, lib/config.sub: New upstream version.
1262 2003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
1264 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
1265 are automatically distributed.
1267 * lib/depcomp (icc): Update to grok ICC 7.1's output.
1268 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
1269 in a subdirectory, and with many dependencies. This
1270 catches more failures of depcomp.
1271 Reports from Ralf Wildenhues and Akim Demaille.
1273 2003-07-04 Akim Demaille <akim@epita.fr>
1275 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
1276 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
1278 Don't use & when calling functions.
1280 2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
1282 * NEWS: Categorize entries.
1283 Suggested by Jim Meyering.
1285 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
1286 Ignore @...@ substitutions in comments.
1287 * tests/defs.in: Try to make the shell more POSIX compliant.
1288 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
1289 * tests/README: Mention AUTOMAKE_fails.
1290 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
1291 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
1292 * tests/badline.test, tests/badopt.test, tests/canon.test,
1293 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
1294 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
1295 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
1296 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
1297 * tests/dejagnu2.test, tests/dirforbid.test,
1298 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
1299 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
1300 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1301 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
1302 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
1303 * tests/libobj12.test, tests/libobj13.test,
1304 * tests/libobj3.test, tests/library2.test,
1305 * tests/library3.test, tests/libtool4.test,
1306 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
1307 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
1308 * tests/percent.test, tests/percent2.test,
1309 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
1310 * tests/pr211.test, tests/primary.test, tests/primary2.test,
1311 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
1312 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
1313 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
1314 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
1315 * tests/substtarg.test, tests/suffix11.test,
1316 * tests/symlink.test, tests/syntax.test,
1317 * tests/targetclash.test, tests/txinfo4.test,
1318 * tests/version3.test, tests/warnopts.test,
1319 * tests/xsource.test, tests/yacc2.test: Use set -e,
1320 AUTOMAKE_fails, and always grep error message.
1322 * automake.in (handle_ltlibraries): Fix call to msg.
1324 * tests/stamph.test: Delete.
1325 * tests/Makefile.am (TESTS): Remove stamph.test.
1327 * automake.in (handle_single_transform_list): Use $var->name
1328 to print variable in the configure-substitution diagnostic.
1329 Do not mention the parent when it is the variable itself.
1331 * tests/package.test: Delete.
1332 * tests/Makefile.am (TESTS): Remove package.test.
1334 * automake.in (cond_stack_else): Return FALSE if `if' was not
1336 (cond_stack_endif): Return TRUE if `if' was not used. Do not
1337 display $negate and $cond, they are irrelevant and maybe undefined.
1339 2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1341 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1342 Do not return undef when a variable is recursively defined, this
1343 causes warnings all over the place. Return the empty string instead.
1345 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
1346 from empty DIST_ARCHIVES.
1348 2003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
1350 * automake.in (scan_autoconf_traces): Check the expected
1351 number of arguments of each traced macro.
1352 * tests/overrid.test: Fix call to AM_CONDITIONAL.
1353 * tests/conff2.test: New files.
1354 * tests/Makefile.am (TESTS): Add conff2.test.
1355 Report from Paolo Bonzini.
1357 2003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1359 * automake.in ($SUBST_REF_PATTERN): Do not define.
1360 (%gen_varname): Move to Variable.pm, as %_gen_varname.
1361 (initialize_per_input): Do not clean %gen_varname.
1362 (handle_options, check_libobjs_sources, handle_source_transform,
1363 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
1364 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
1365 am_install_var): Adjust to use value_as_list_recursive,
1366 loc_and_value_as_list_recursive, and has_conditional_contents.
1367 (require_file_with_macro): Accept an Automake::Variable as argument.
1368 (traverse_variable_recursively,
1369 traverse_variable_recursively_worker, gen_varname,
1370 transform_variable_recursively): Move ...
1371 * lib/Automake/Variable.pm (traverse_variable_recursively,
1372 _traverse_variable_recursively_worker,
1373 _gen_varname, transform_variable_recursively): ... here.
1374 * automake.in (variable_conditionally_defined,
1375 variable_value_as_list_recursive_worker,
1376 variable_value_as_list_recursive
1377 variable_loc_and_value_as_list_recursive): Move ...
1378 * lib/Automake/Variable.pm (has_conditional_contents,
1379 _value_as_list_recursive_worker,
1380 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
1381 (reset): Reset %_gen_varname.
1382 (require_variables_for_variable): Accept an Automake::Variable
1385 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1387 * tests/aclocal6.test: Test maintainer-clean in VPATH
1388 builds. (For Ralf's fix.)
1390 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1392 * lib/am/configure.am (maintainer-clean): Remove
1393 $(top_srcdir)/autom4te.cache, not autom4te.cache.
1395 2003-06-27 Akim Demaille <akim@epita.fr>
1397 * automake.texi: Use @node with a single argument.
1399 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1401 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
1403 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
1404 at the end of distcheck. This was mistakenly removed on
1406 * tests/subpkg.test: Make sure distcheck cleans up after itself.
1408 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
1409 ($(top_srcdir)/m4/amversion.m4): ... this.
1410 (DISTCLEANFILES): Remove.
1411 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
1413 (EXTRA_DIST): Add amversion.in.
1415 2003-06-25 Akim Demaille <akim@epita.fr>
1417 * automake.texi (Top): Use @copying and @insertcopying.
1418 Make Alexandre an author.
1419 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
1420 * lib/depcomp: Likewise.
1422 2003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
1424 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
1425 (variable_defined, examine_variable): Remove.
1426 (%_ac_macro_for_var): Add an entry for ALLOCA.
1427 (require_variables): Use vardef instead of variable_defined.
1429 * automake.in (generate_makefile): Do not push $(SOURCE) into
1430 @sources. Use define_pretty_variable to define SOURCES.
1431 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
1432 to require LIBOBJS, LTLIBOBJS and ALLOCA.
1433 (handle_programs, handle_ltlibraries): Do not define an empty
1434 _DEPENDENCIES or _LDFLAGS variable when none is defined.
1435 (define_configure_variable): Do not check whether the variable
1436 already exists (it's Automake::Variable::define's job).
1437 (require_build_directory): Likewise, do not check
1438 the existence of am__dirstamp.
1439 (generate_makefile, handle_options, handle_languages)
1440 (check_libobjs_sources, handle_single_transform_list)
1441 (traverse_variable_recursively_worker, handle_source_transform)
1442 (handle_lib_objects, handle_LIBOBJS, handle_compile)
1443 (handle_libtool, handle_programs, handle_libraries)
1444 (handle_ltlibraries, check_typos, handle_texinfo_helper)
1445 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
1446 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
1447 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
1448 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
1449 (define_compiler_variable, define_linker_variable)
1450 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
1451 call var, vardef, or set_seen, instead of variable_defined. Use
1452 set_seen only for variables which are actually checked by
1454 * tests/target.test: Delete.
1455 * tests/alloca.test, tests/alloca2.test: New files.
1456 * tests/libobj3.test: Check error message.
1457 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
1458 This replace confdist.test.
1459 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
1460 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
1462 2003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
1464 * automake.in (handle_dist): Delete DIST_COMMON before redefining
1465 it. Bug report from Akim Demaille.
1466 (rewrite_inputs_into_dependencies): Make sure we always return
1467 something, even when $add_srcdir is 0.
1468 * tests/distcom4.test, tests/distcom5.test: New files.
1469 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
1471 * tests/cond29.test: Also check for _SOURCES.
1472 Report from Paolo Bonzini.
1474 2003-06-20 Akim Demaille <akim@epita.fr>
1476 * lib/am/configure.am: Replace leading spaces with a real tab.
1478 2003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
1480 * tests/nogzip.test, tests/nogzip2.test: New files.
1481 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
1483 2003-06-15 Akim Demaille <akim@epita.fr>
1485 * automake.in (&make_paragraphs): Define %GZIP%.
1486 (&process_option_list): Accept no-dist-gzip2.
1487 (&handle_dist): Complain when no archive format is enabled.
1488 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
1489 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
1491 (dist): Build $(distdir).tar.gz conditionally.
1492 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
1493 to list built archives. Run $(MAKE) dist instead of dist-gzip.
1494 * automake.texi (Options, The types of distributions): Adjust.
1496 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
1498 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
1501 2003-06-14 Karl Berry <karl@gnu.org>
1502 Alexandre Duret-Lutz <adl@gnu.org>
1504 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
1505 to update it each time the file is written, as in install-sh.
1506 (usage): Improve message.
1507 (--version): New option.
1508 (--help): Output to stdout, not stderr.
1510 2003-06-13 Paul Eggert <eggert@twinsun.com>
1512 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
1513 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
1514 Bug reported by Bernard Giroud in:
1515 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
1517 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
1519 * automake.in (check_gnu_standards): Use no-installman and
1520 no-installinfo's locations.
1521 (process_option_list): Fill %options with locations.
1522 (check_cygnus) Fill $options{'no-installinfo'} and
1523 $options{'no-dependencies'} with $cygnus_mode, so that it
1525 * tests/gnuwarn2.test: New file.
1526 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
1528 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
1530 * automake.in (process_option_list): Record the location
1531 of ansi2knr's definition.
1532 (handle_compile): Use it.
1533 * tests/ansi3.test: Make sure the location appears correctly.
1534 Update to use set -e.
1535 * tests/ansi3b.test: New file.
1536 * tests/Makefile.am (TESTS): Add ansi3b.test.
1538 * tests/alpha.test: Really run $MAKE. Augment to test
1539 subdirectories, and check-news report.
1540 * tests/alpha2.test: New file. Bug report from Akim Demaille.
1541 * tests/gnits2.test: Make sure README-alpha is not distributed.
1542 * tests/Makefile.am (TESTS): Add alpha2.test.
1543 * automake.in (handle_minor_options): Distribute README-alpha
1544 using push_dist_common, not require_file_with_macro.
1546 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
1548 * lib/Automake/Configure_ac.pm
1549 (search_configure_ac, find_configure_ac): Rename as ...
1550 (find_configure_ac, require_configure_ac): ... these.
1551 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
1552 * automake.in (scan_autoconf_files): Likewise.
1553 Suggested by Tim Van Holder.
1555 * alocal.in: Use Automake::Configure_ac.
1556 ($configure_ac): Delete.
1557 (scan_configure): Adjust use of find_configure_ac;
1558 * automake.in: Use Automake::Configure_ac.
1559 ($configure_ac): Delete.
1560 (scan_autoconf_files): Adjust use of find_configure_ac;
1561 * lib/Automake/Configure_ac.pm: New file.
1562 * lib/Automake/General.pm (find_configure_ac): Delete. Now
1563 replaced by Automake::Configure_ac::search_configure_ac.
1564 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
1565 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
1566 (require_variables): Adjust use of $configure_ac.
1568 2003-06-02 Akim Demaille <akim@epita.fr>
1570 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
1571 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
1572 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
1573 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
1574 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
1575 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
1576 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
1577 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
1578 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
1579 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
1580 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
1581 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
1582 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
1583 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
1584 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
1585 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
1586 * m4/Makefile.am: White space changes and Copyright updates.
1588 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
1590 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
1591 the $parent_cond argument.
1592 (output): Use $self->name in diagnostic not $self.
1593 (variable_value_as_list): Rename as ...
1594 (value_as_list): ... this. Declare as a method. Take a $parent_cond
1595 argument and pass it to check_defined_unconditionally. Do not call
1596 variable_assert, now that this is a method.
1597 (variable_assert): Delete (unused).
1598 * automake.in (traverse_variable_recursively_worker): Adjust to
1599 use check_defined_unconditionally and value_as_list as a methods.
1601 * lib/Automake/Variable.pm (output): Declare as a method, since it
1602 is only used this way.
1603 (define): Fix documentation of $cond.
1604 Suggested by Raja R. Harinath.
1606 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
1608 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
1609 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
1611 * automake.in: Use Automake::Variable and Automake::VarDef.
1612 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
1613 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
1614 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
1615 (silent_variable_override): Delete. Now
1616 Automake::Variable::_silent_variable_override.
1617 (var_value, var_location, var_comment, var_type, var_owner,
1618 var_pretty, content_seen): Delete. This functionality is now
1619 offered by Automake::Variable and Automake::VarDef.
1620 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
1621 Delete. Now defined in Automake::VarDef.
1622 (var_order): Delete. Now Automake::Variable::_var_order.
1623 (appendvar): Delete. Now Automake::Variable::_appendvar.
1624 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
1625 (initialize_per_input): Call Automake::Variable::reset.
1626 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
1627 defined in Automake::Variable.
1628 (generate_makefile, process_option_list, handle_languages)
1629 (traverse_variable_recursively_worker)
1630 (transform_variable_recursively, handle_compile)
1631 (handle_libraries, handle_ltlibraries)
1632 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
1633 Adjust to use Automake::Variable functions.
1634 (check_ambiguous_condition): Delete. Now
1635 Automake::Variable::_check_ambiguous_condition.
1636 (condition_ambiguous_p): Delete. Now
1637 Automake::Variable::condition_ambiguous_p.
1638 (variable_not_always_defined_in_cond): Delete. Now
1639 Automake::Variable::not_always_defined_in_cond.
1640 (macro_define): Delete. Now Automake::Variable::define.
1641 (macro_delete): Delete. Now Automake::Variable::variable_delete.
1642 (macro_dump): Delete. Now Automake::Variable::variable_dump.
1643 (macros_dump): Delete. Now Automake::Variable::variables_dump.
1644 (variable_defined): Delete. Now
1645 Automake::Variable::variable_defined, with the target check
1646 temporarily disabled.
1647 (variable_assert): Delete. Now Automake::Variable::variable_assert.
1648 (examine_variable): Delete. Now
1649 Automake::Variable::examine_variable.
1650 (variable_conditions): Delete. Now Automake::Variable::conditions.
1651 (scan_variable_expansions): Delete. Now
1652 Automake::Variable::scan_variable_expansions.
1653 (check_variable_expansions): Delete. Now
1654 Automake::Variable::check_variable_expansions.
1655 (check_variable_defined_unconditionally): Delete. Now
1656 Automake::Variable::check_defined_unconditionally.
1657 (variable_value): Delete. Now Automake::Variable::variable_value.
1658 (variable_value_as_list): Delete. Now
1659 Automake::Variable::variable_value_as_list.
1660 (variable_value_as_list_recursive_worker): Adjust to use
1661 Automake::Variable functions.
1662 (variable_output): Delete. Now Automake::Variable::output.
1663 (define_pretty_variable, define_configure_variable, read_am_file)
1664 (define_standard_variables, read_main_am_file): Adjust to use
1665 Automake::Variable functions.
1666 (handle_variables): Delete. Now Automake::Variable::output_variables.
1667 (file_contents_internal, am_primary_prefixes, am_install_var)
1668 (require_file_with_macro, require_conf_file_with_macro)
1669 (push_dist_common): : Adjust to use
1670 Automake::Variable functions.
1671 (require_variables): Delete. Now
1672 Automake::Variable::require_variables.
1673 (require_variables_for_macro): Delete. Now
1674 Automake::Variable::require_variables_for_variable.
1675 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
1677 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
1679 * tests/dejagnu7.test: Check if runtest supports --status.
1681 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
1683 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
1686 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
1687 $self contains only one Condition.
1689 * automake.in: Use plain strict, including refs.
1690 (macro_define, handle_single_transform_list): Use \&{'name'} to
1691 build references to named subroutines.
1693 2003-05-22 Karl Berry <karl@gnu.org>
1695 * automake.texi: Update @dircategory to match the Free Software
1696 Directory. End directory entries with dots.
1698 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1700 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
1702 * lib/elisp-comp: s/François/Franc,ois/.
1703 Suggested by Paul Eggert.
1705 * automake.in: Move the "main" code at the end.
1706 (parse_arguments): Move near the end.
1707 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
1708 accept_extensions, var_SUFFIXES_trigger): Move these definitions
1709 before any call to register_language.
1710 (am_file): Move the definition with all other global variables,
1711 do not use local to define it.
1712 * Makefile.am (maintainer-check): Expect no `local' in Automake.
1714 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
1716 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
1717 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
1718 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
1719 * automake.in (handle_texinfo_helper, pretty_print_rule)
1720 (variable_output): Adjust to use makefile_wrap instead of
1721 pretty_print_internal.
1722 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
1723 and augmented to accept the $eol and $max_len arguments.
1725 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
1727 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
1728 lib/texinfo.tex: New upstream versions.
1730 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
1732 * lib/am/install.am (install, install-exec, install-data, uninstall):
1733 Declare conditionally using a if/else/endif block instead of
1734 using ?SUBDIRS?-style conditions. The latter fail when
1735 %maybe_BUILT_SOURCES% is replaced by several lines.
1736 This fixes a bug introduced on 2003-04-06.
1737 * tests/bsource.test: New file.
1738 * tests/Makefile.am (TESTS): Add bsource.test.
1739 Reported by Bruno Haible.
1741 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
1743 * automake.texi (renamed objects): New node.
1744 (Program and Library Variables): Move maude_DEPENDENCIES closer
1745 to maude_LDADD. Define and use `per-target compilation flags' in the
1746 explanation for maude_CFLAGS et al. Link to the `renamed objects'
1747 node. Illustrate maude_SHORTNAME.
1749 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
1751 * lib/install-sh: Update copyright notice and license to that of
1752 X11R6. This removes an advertising clause reported as Debian bug
1755 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1757 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
1759 * m4/make.m4: Rename the doit target as am__doit,
1761 Reported by Philip S Tellis.
1763 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1765 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
1767 * tests/makej.test: New file (test Autom4te's cache locking,
1768 new in CVS Autoconf).
1769 * tests/Makefile.am (TESTS): Add makej.test.
1771 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
1773 * lib/Automake/General.pm (contents): New function.
1774 * aclocal.in (greatest_mtime, force_output): New globals.
1775 (scan_configure, add_file): Update $greatest_mtime.
1776 (parse_arguments): Parse --force.
1777 (write_aclocal): Do not overwrite $output_file unless needed.
1778 * automake.texi (aclocal options): Document --force.
1779 * tests/aclocal7.test: New file.
1780 * tests/Makefile.am (TESTS): Add aclocal7.test.
1782 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
1784 * automake.texi (Optional): Document m4_include.
1785 (Invoking aclocal): Shake a bit to introduce the various uses
1786 of aclocal and explain that aclocal will use m4_include for
1788 (Extending aclocal): Show how to install installable macros
1789 in $(datadir)/aclocal, and make it clearer that writing installable
1790 macros is not the only way to extend aclocal.
1791 (Local Macros, Future of aclocal): New sections.
1793 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
1795 * automake.in (@common_files): Remove acinclude.m4 since
1796 it will be m4_included by aclocal.m4 and files are always
1798 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
1799 We will get this dependency when tracing m4_includes.
1800 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
1802 * tests/acinclude.test: Delete.
1803 * tests/Makefile.am (TESTS): Remove acinclude.test.
1805 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
1807 * automake.in (handle_configure): Don't add @configure_deps to
1808 DIST_COMMON, we do this from lib/am/configure.am now.
1809 Define the am__configure_deps variable instead of substituing
1811 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
1812 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
1813 (DIST_COMMON): Add $(am__configure_deps).
1815 * tests/aclocal6.test: New file.
1816 * lib/am/configure.am (am--refresh): New rule.
1817 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
1818 $(top_srcdir)/configure): Call the top-level am--refresh from
1820 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
1821 top-level am--refresh when not in the top-level directory.
1822 Fix jump directories for VPATH builds.
1823 Suggested by Raja R. Harinath.
1825 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
1827 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
1828 and glob for m4_files (We've got all local m4 files while
1829 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
1830 Distribute aclocal.m4 only at the top-level.
1831 (my_glob): Remove. This fixes PR automake/11.
1832 (handle_dist): Strip leading `./' from directories.
1833 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
1834 of copying local files.
1835 (write_aclocal, parse_arguments): Bump copyright date.
1836 * configure.in: De not build m4/amversion.m4 from here ...
1837 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
1838 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
1840 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
1841 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
1842 * tests/aclocal2.test: Delete (pointless).
1843 * tests/aclocal5.test: Make sure configure's dependencies are
1845 * tests/acinclude.test: Adjust to search for m4_include.
1846 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
1847 configure instead of aclocal.m4.
1850 * automake.in (scan_aclocal_m4): Work in all directories, not only
1851 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
1853 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
1854 Define rebuild rules in each directory.
1855 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
1856 from the top-level directory.
1857 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
1858 from a subdirectory.
1859 * tests/Makefile.am (TESTS): Add aclocal5.test.
1860 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
1862 2003-04-24 Akim Demaille <akim@epita.fr>
1863 Alexandre Duret-Lutz <adl@gnu.org>
1866 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
1867 because of one of configure's dependencies, run automake without
1868 argument to update the whole tree at once. Depend upon
1870 (%MAKEFILE%): If Makefile is rebuilt because config.status has
1871 been updated, run config.status without arguments.
1872 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
1873 before all files in @configure_deps.
1874 * tests/subdir5.test: Modernize configure.in, make sure
1875 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
1876 * tests/subdir8.test: New file.
1877 * tests/Makefile.am (TESTS): Add subdir8.test.
1878 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
1880 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
1882 * automake.texi (Requirements): Typo in index
1883 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
1885 * lib/texinfo.tex: New upstream version.
1887 2003-04-21 Jim Meyering <jim@meyering.net>
1889 * lib/mkinstalldirs: Remove each sequence of spaces before a
1891 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
1893 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
1895 Fix for PR automake/389:
1896 * automake.in (handle_configure): Don't put $colon_infile in
1898 * tests/conff.test: New file.
1899 * tests/Makefile.am (TESTS): Add conff.test.
1900 Reported by Alexander Turbov.
1902 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
1904 * tests/defs.in: Handle required=etags to work around
1907 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1910 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
1911 Distribute dejagnu test cases, so that distcheck actually runs them.
1913 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
1915 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
1916 because we set that by invoking runtest with --tool.
1917 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
1918 dejagnu6.test, dejagnu7.test.
1919 * tests/dejagnu4.test: New test.
1920 * tests/dejagnu5.test: New test.
1921 * tests/dejagnu6.test: New test.
1922 * tests/dejagnu7.test: New test.
1924 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
1926 2003-04-18 Jim Meyering <jim@meyering.net>
1928 * automake.in (variable_output): Fix typo in comment s/is/if/.
1930 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
1931 directly to $@. Instead, redirect to $@t and rename upon success.
1932 Also, move the commands that update $@ so they are last. Otherwise,
1933 this rule could leave the user with an up to date target (.c file)
1934 but with a missing or corrupted corresponding .h file.
1936 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
1938 * tests/defs.in: Handle required=runtest, to detect runtest
1940 * tests/Makefile.am (TESTS): Add dejagnu3.test.
1941 * tests/dejagnu3.test: New test.
1943 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
1945 * automake.in (rule_define): If the user tries to override
1946 an Automake which has a -local variant, suggest using the
1947 -local variant in the -Woverride diagnostic.
1948 (handle_factored_dependencies): Register factored
1949 rules with rule_define, and define them only in undefined
1951 * tests/Makefile.am (TESTS): Add override.test.
1952 * tests/overrid.test: New file.
1953 * tests/phony.test: Count the number of .PHONY targets.
1955 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
1957 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
1958 these rules, so that we don't confuse users by echoing
1959 "echo ERROR:" commands which are not run.
1961 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
1962 Alexandre Duret-Lutz <adl@gnu.org>
1964 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
1965 initialize_per_input): Add infrastructure for generating HTML
1966 documentation from texinfo source.
1967 * lib/am/texinfos.am: Add rules for building HTML documentation
1968 from texinfo source.
1969 * lib/am/texibuild.am: Likewise.
1970 * automake.texi (Texinfo): Document rules for building
1971 HTML documentation from texinfo source.
1972 * tests/txinfo21.test: New file.
1973 * tests/Makefile.am (TESTS): Add txinfo21.test.
1974 * tests/defs.in: Handle required=makeinfo-html.
1976 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
1978 * automake.in (%silent_variable_override): New variable.
1979 (macro_define): Warn about variable definitions overriding
1981 (rule_define): Warn about target definitions overriding
1982 Automake variables. Fix $condmsg definition.
1983 * automake.texi (Invoking Automake): Document the `override'
1985 * lib/Automake/ChannelDefs.pm (usage): Likewise.
1986 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
1987 this is already done in m4/init.m4.
1988 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
1989 -Wno-override, and make sure we get a warning without.
1990 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
1991 and make sure we get a warning without.
1992 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
1993 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
1994 * tests/txinfo13.test: Use installcheck-local instead of overriding
1996 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
1997 used to succeed thanks to a failure...)
1998 * tests/location.test: Adjust expected messages.
1999 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2001 2003-04-12 Raja R Harinath <harinath@acm.org>
2003 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2004 (invert): Update comment.
2005 (_simplify): Remove.
2006 (simplify): Implement using invert().
2007 * lib/Automake/tests/DisjConditions.pl (test_simplify):
2008 Update to reflect changes.
2010 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
2012 * automake.in (scan_autoconf_files): Augment the error message
2013 about AM_INIT_AUTOMAKE not found.
2014 Suggested by Bruno Haible.
2016 * lib/Automake/Version.pm: New file.
2017 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2018 * lib/Automake/tests/Version.pl: New file.
2019 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2020 * tests/Makefile.am (TESTS): Remove version5.test.
2021 * tests/version5.test: Delete. Move the tests to Version.pl.
2022 * automake.in (version_split, version_compare, version_check): Move ...
2023 * lib/Automake/Version.pm (split, compare, check): ... here.
2025 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
2027 * lib/Automake/tests/Condition.pl (test_reduce_and)
2028 (test_reduce_or): Cosmetics.
2029 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2031 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2033 * tests/yacc8.test, configure.in: Update copyright year.
2035 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2037 * configure.in: Get the build platform name. Define
2038 MODIFICATION_DELAY as the time to wait after modifying a file,
2039 to cope with timestamp granularity issues, depending
2041 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2043 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
2045 * automake.texi (Public macros): Clarify that the new
2046 AM_INIT_AUTOMAKE variant is preferred, and the old one
2047 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2048 (Hello): Caution that the example uses the deprecated
2049 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2051 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
2053 Retain all variable definitions until the whole Makefile.am has
2054 been processed, then output all variables in one step, at the top
2055 of Makefile.in. (Older revisions used to output user variables
2056 before generating Automake targets, and to mix Automake variables
2057 with Automake targets, preventing redefinitions of previously
2060 * automake.in (%var_pretty): New variable.
2061 (VAR_ASIS, VAR_PRETTY): New constants.
2062 (@var_list): Rename as ...
2063 (@var_order): ... this.
2064 (initialize_per_input): Clear %var_pretty.
2065 (handle_variables): New function, extracted from ...
2066 (read_main_am_file): ... here.
2067 (generate_makefile): Call handle_variable after everything else.
2068 (handle_dist): Use define_pretty_variable, not pretty_print.
2069 (pretty_print): Delete.
2070 (macro_define): Augment with $COMMENT and $PRETTY parameters.
2071 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
2072 (variable_pretty_output): Merge with ...
2073 (variable_output): ... this, and choose the prettiness on a
2074 per-condition basis.
2075 (append_comments): Delete. This work is now done by macro_define.
2076 (read_am_file, file_contents_internal): Don't call append_comments
2077 nor update @var_list, adjust calls to macro_define.
2078 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2079 just mark it as VAR_PRETTY.
2080 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2081 Report from Jim Meyering.
2083 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
2085 * automake.in (handle_installdirs): Rename as ...
2086 (handle_install): ... this. Define maybe_BUILT_SOURCES.
2087 (generate_makefile): Adjust call to handle_install.
2088 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2089 * automake.texi (Sources, Built sources example): BUILT_SOURCES
2090 is honored by `make install' too.
2091 * tests/check3.test: Make sure that `make install' also depends
2093 Report from Alexander Turbov.
2095 * lib/am/libs.am (ARFLAGS): Define.
2096 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2098 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2099 are used, and how they can be overridden.
2100 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2102 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2103 * tests/ranlib.test: Delete, obsoleted by ar.test.
2104 * tests/Makefile.am (TESTS): Remove ranlib.test.
2105 Report from Paul Thomas.
2107 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
2109 * automake.in (check_trailing_slash): New function (variation on
2110 a patch by Peter Muir). Diagnose whitespaces following trailing
2112 (read_am_file): Use it.
2113 * tests/backsl4.test: New file.
2114 * tests/Makefile.am (TESTS): Add backsl4.test.
2115 Reported by Peter Muir.
2117 2003-03-29 Raja R Harinath <harinath@acm.org>
2119 Speedup Automake::DisjConditions::invert().
2120 * lib/Automake/Condition.pm (multiply): New.
2121 * lib/Automake/DisjConditions.pm (_multiply): Use it.
2122 (sub_conditions): Likewise.
2124 * lib/Automake/Condition.pm (reduce): Rename to ...
2125 (reduce_and): ... this.
2127 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2128 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2129 (test_reduce_and): ... this.
2130 (test_reduce_or): New.
2131 * lib/Automake/tests/DisjConditions.pl
2132 (test_invert): Update to reflect effect of reduce_or().
2133 (test_simplify): Don't skip invert() on larger inputs.
2135 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
2137 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2138 that timestamp will change.
2140 2003-03-23 Akim Demaille <akim@epita.fr>
2141 Alexandre Duret-Lutz <adl@gnu.org>
2143 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2144 when supported by etags (Exuberant Ctags).
2145 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2147 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
2149 For Debian Bug #185388:
2150 * automake.texi (Extending): Augment the install-exec-hook
2151 discussion with an example how to symlink a versioned binary.
2152 * tests/insthook.test: Rewrite to test the above example.
2153 Report from James R. Van Zandt.
2155 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2157 * Makefile.am (maintainer-check): Allow `automake:' tokens,
2158 occuring in location.test. Automake now has 5 legitimate
2159 unsubstituted @strings@.
2161 * tests/aclocal4.test: Require GNU make.
2163 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
2165 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
2166 * tests/Makefile.am (TESTS): Add aclocal4.test.
2168 2003-03-14 Jim Meyering <jim@meyering.net>
2170 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2171 subdirectories. Makefile.in depends on that variable.
2173 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
2175 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
2177 Fix for PR automake/386:
2178 * m4/init.m4: Require Autoconf 2.55.
2179 Reported by Owen Taylor.
2181 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2182 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
2183 Suggested by Matthias Andree.
2185 * tests/README: Typo.
2187 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
2189 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2190 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
2191 Just echo the gcc command.
2192 Suggested by Karl Berry.
2194 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
2196 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
2197 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
2198 outputing suffix rules. This follows 2003-02-25's change.
2199 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2200 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2202 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
2204 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
2205 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
2207 Reported by Rafael Laboissiere.
2209 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
2211 * lib/mdate-sh: Find out which column of the ls -l output contains
2212 the month. Do not assume it is at least the fifth column.
2214 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
2216 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
2218 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
2219 instead of lisp_LISP when they don't want byte-compilation.
2220 Don't mention ELCFILES anymore.
2221 * automake.in (handle_data): Allow lisp_DATA.
2222 * tests/lisp5.test: New file.
2223 * tests/Makefile.am (TESTS): Add lisp5.test.
2225 * automake.in (handle_emacs_lisp): Don't build *.elc files
2226 if ELCFILES was set empty.
2227 * tests/lisp4.test: New file.
2228 * tests/Makefile.am (TESTS): Add lisp4.test.
2229 Reported by Simon Josefsson.
2231 * tests/lex3.test, tests/lex5.test: Require flex.
2232 Reported by Leo Davis.
2234 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
2236 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
2237 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
2238 when outputing suffix rules.
2239 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
2240 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
2241 Suggested by Bruno Haible.
2243 * automake.in (read_am_file): Catch trailing backslashes on last line.
2244 * tests/backsl3.test: New file.
2245 * tests/Makefile.am (TESTS): Add backsl3.test.
2246 Reported by Akim Demaille.
2248 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
2250 * ChangeLog: Move 2002's entries to ...
2251 * ChangeLog.02: ... this new file.
2252 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
2254 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
2256 * tests/version7.test: Use $sleep to sleep before updating
2257 the version, to work around timestamp inconsistencies in Windows.
2259 2003-02-24 Bruno Haible <bruno@clisp.org>
2260 Alexandre Duret-Lutz <adl@gnu.org>
2262 * lib/am/texibuild.am: Don't remove the target info files. Instead,
2263 back up and restore them if makeinfo fails.
2264 * tests/txinfo20.test: New file.
2265 * tests/Makefile.am (TESTS): Add txinfo20.test.
2267 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
2269 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2270 (distcleancheck): Fix typos and other errors reported by Karl
2273 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2275 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
2278 * tests/defs.in: Handle required=ro-dir.
2279 * tests/destdir.test: Use this.
2281 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
2283 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
2284 from dc_install_base.
2286 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
2288 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
2289 DJGPP-style *.iNN info files.
2290 (maintainer-clean-aminfo): Rewrite using the same pattern
2291 as in uninstall-info-am.
2292 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
2293 DJGPP-style *.iNN info files before running $(MAKEINFO).
2294 * tests/txinfo19.test: New file.
2295 * tests/Makefile.am (TESTS): Add txinfo19.test.
2297 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2299 * lib/depcomp (dashmstdout): Cope with DOS filenames in
2302 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
2304 * lib/depcomp (makedepend): Don't pass $object to makedepend.
2305 Reported by Stepan Kasal.
2307 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
2309 * tests/defs.in: Handle required=makedepend.
2311 * Makefile.am (maintainer-check): Update the diff check
2312 to account for the recent @SHELL@ substitution.
2314 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
2316 * lib/depcomp: Do not put comments on the `icc)' line.
2318 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2321 Fix for PR automake/381:
2322 * automake.in (handle_gettext): Do not print diagnostics
2323 about po/ and intl/ missing from SUBDIRS if po/ does not
2324 exist. Warn if `SUBDIRS = intl' is used although libintl
2326 * tests/gettext.test: Make sure diagnostics are not output
2327 when po/ does not exist.
2328 * tests/gettext2.test: Test for unwanted intl/.
2329 PR from Alexander Turbov, fix suggested by Bruno Haible.
2331 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
2333 * lib/depcomp (icc): New mode.
2334 * tests/depcomp5.test: New file.
2335 * tests/defs.in: Handle required=icc.
2336 * tests/Makefile.am (TESTS): Add it.
2338 Temporary hack for PR automake/381:
2339 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
2340 into -Wsyntax warnings.
2342 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2344 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
2345 This makes the setting of SHELL work for DJGPP.
2347 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
2349 For PR automake/385:
2350 * lib/depcomp (makedepend): Strip any libtool call, before
2351 running makedepends.
2352 * tests/depcomp4.test: New file.
2353 * tests/Makefile.am (TESTS): Add it.
2354 Reported by Jeff Squyres.
2356 Related to PR automake/385:
2357 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
2358 write dependencies to /dev/null. `-o /dev/null' was added
2359 on 2002-06-13 just because I tried to replace `-o foo.o' by something
2360 else and didn't thought about removing it entirely.
2361 * tests/depcomp3.test: New file.
2362 * tests/Makefile.am (TESTS): Add it.
2364 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
2366 Suggested by Richard Dawe.
2368 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
2370 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2371 (distcleancheck): New nodes.
2373 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
2375 * automake.in (scan_autoconf_files): Don't complain that
2376 AM_INIT_AUTOMAKE comes from an old version if it was not found.
2378 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
2380 * automake.in (am_install_var): Simplify filtering of
2381 variable_loc_and_value_as_list_recursive's output.
2383 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
2385 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
2386 indexes of header files so we create stamp files with
2387 the right numbers when config.status is run on some headers.
2388 * tests/stamph2.test: Check for this.
2389 Reported by Sander Niemeijer.
2391 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2393 * automake.in (vars_scanned): Move near traverse_variable_recursively.
2394 (traverse_variable_recursively,
2395 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
2396 to filter out conditions during recursion. Don't recurse into
2397 undefined variables. Don't pass empty results to &FUN_COLLECT.
2398 (value_to_list): Remove, was used by
2399 variable_value_as_list_recursive_worker only.
2400 (variable_value_as_list_recursive_worker): Rewrite using
2401 traverse_variable_recursively. Remove the $parent argument.
2402 (variable_value_as_list_recursive,
2403 variable_loc_and_value_as_list_recursive): Adjust calls
2404 to variable_value_as_list_recursive_worker. Don't reset
2406 * tests/cond3.test: Don't expect empty helper variables,
2407 we don't output them anymore.
2408 * tests/cond30.test: Use an undefined variable.
2410 * automake.in (handle_programs): Strip $(EXEEXT) before
2411 calling &check_canonical_spelling.
2412 * tests/exeext.test: Make sure we don't use a
2413 maude3__EXEEXT__OBJECTS variable.
2415 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
2417 For Debian Bug #39542:
2418 * automake.texi (Invoking Automake, Optional): Document how
2419 AC_CONFIG_AUX_DIR interacts with missing files.
2421 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2423 * lib/Automake/DisjConditions.pm (_permutations_worker)
2424 (permutations): Remove, so that people aren't tempted to use it.
2425 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
2427 * automake.in (variable_conditions_recursive): Remove.
2428 (variable_conditionally_defined): Rewrite using
2429 traverse_variable_recursively.
2431 * automake.in (traverse_variable_recursively,
2432 traverse_variable_recursively_worker): Pass one merged Condition
2433 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
2434 (transform_variable_recursively, define_objects_from_sources)
2435 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
2437 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
2439 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
2440 using transform_variable_recursively instead of
2441 variable_conditions_recursive and variable_value_as_list_recursive
2442 to avoid combinatorial explosion.
2443 (handle_lib_objects_cond): Merge into handle_lib_objects.
2444 * tests/cond11.test: Don't grep internal details in Makefile.in,
2445 run $MAKE to make sure the resulting Makefile runs as expected.
2446 * tests/cond29.test: Also exercise conditional _LDADD.
2447 * tests/cond31.test, tests/cond32.test: New files.
2448 * tests/Makefile.am (TESTS): Add tests/cond31.test and
2451 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
2453 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
2454 -dlpreopen in _LIBADD variables too.
2455 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
2456 handle_lib_objects_cond.
2457 * tests/libtool7.test: New file.
2458 * tests/Makefile.am (TESTS): Add libtool7.test.
2460 * automake.texi (Program and Library Variables): Clarify that
2461 _LIBADD is for libraries and _LDADD for programs.
2463 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
2465 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
2467 Fix for PR automake/352:
2468 * automake.in (transform_variable_recursively): If the destination
2469 and the source variables are the same, delete the source variable
2470 before defining the destination variable.
2471 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
2472 or this will confuse handle_source_transform.
2473 (append_exeext): Rewrite using transform_variable_recursively.
2474 * tests/cond29.test, tests/cond30.test: New files.
2475 * tests/exeext.test: Run ./configure and make, this uncovered
2476 the above handle_programs issue.
2477 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
2479 * automake.in (%subobjvar): Replace by ...
2480 (%gen_varname): ... this.
2481 (subobjname): Replace by ...
2482 (gen_varname): ... this.
2483 (initialize_per_input): Clean gen_varname instead of subobjname.
2484 (transform_variable_recursively): New function, extracted
2485 from define_objects_from_sources.
2486 (define_objects_from_sources): Use transform_variable_recursively.
2487 Remove the unused $parent argument.
2488 (handle_source_transform): Adjust call to define_objects_from_sources.
2490 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
2492 * automake.in (@substfroms, @substtos): Move near
2493 traverse_variable_recursively.
2494 (traverse_variable_recursively, traverse_variable_recursively_worker):
2495 New functions, extracted from define_objects_from_sources.
2496 (define_objects_from_sources): Rewrite using
2497 traverse_variable_recursively.
2498 (handle_source_transform): Use variables_conditionally_defined
2499 instead of calling variable_conditions_recursive directly.
2500 Adjust the call to define_objects_from_sources; there is no need
2501 to reset @substtos, @substfroms, and %vars_scanned now.
2502 (variable_conditions_recursive): Rewrite using
2503 traverse_variable_recursively.
2504 (variable_conditions_recursive_sub): Remove.
2505 (variable_conditionally_defined): Fix condition comparison (the
2506 consequence was that DIST_SUBDIRS was always output).
2507 * lib/Automake/Condition.pm (merge): Allow merging several
2510 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
2512 * automake.texi (Python): Explain that directory variables start
2513 with either ${prefix} or ${exec_prefix}, and point to the
2514 `Installation Directory Variables' section of the Autoconf manual.
2516 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
2518 * lib/am/distdir.am (top_distdir, distdir): Define these
2519 variables only in top level Makefile. Redefine $(top_distdir)
2521 (distdir): Fix passing of $(top_distdir) to sub-makes.
2522 * automake.in (handle_dist): Do not define the DISTDIR and
2523 TOP_DISTDIR transformations. We don't need them anymore.
2524 * automake.texi (Dist): Reorder the dist-hook section, and move
2525 the DIST_SUBDIRS paragraph earlier. Document distdir and
2527 * tests/subpkg.test: Update to check for $(distdir) and
2530 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
2532 Rename more files to accomodate 8+3 file systems, and adjust the
2533 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
2534 and we call "condition" a conjunction of "conditionals".
2535 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
2536 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
2537 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
2538 * lib/am/tests/ConditionalSet.pl: Rename to
2539 lib/am/tests/DisjConditions.pl
2540 * lib/am/Conditional.pm (condition_negate): Rename to ...
2541 * lib/am/Condition.pm (conditional_negate): ... this.
2542 * automake.in: Adjust references to Condition and DisjConditions.
2543 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
2544 (check_ambiguous_condition, condition_ambiguous_p): ... these.
2546 * tests/README: New file.
2548 * automake.texi (Conditional Programs): Show a sample Makefile.am.
2549 Remind $(EXEEXT) must be appended to configure substitutions.
2550 Show how Automake conditionals can be used instead.
2551 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
2552 appended to conditionally defined programs.
2554 2003-01-16 Jim Meyering <jim@meyering.net>
2556 Accept --help and --version, and lots of syntactic clean-up.
2557 * lib/install-sh: Use consistent indentation, two spaces per level.
2558 (scriptversion): New variable.
2559 Change initializations like `variable=""' to `variable='.
2560 (usage): New variable.
2561 Use `test', not `['.
2562 Use `test -z "$var"', not `[ x"$var" = x ]'.
2563 Use `test -n "$var"', not `[ x"$var" != x ]'.
2564 Alphabetize case entries.
2565 Accept --help and --version options.
2566 Remove unnecessary `else :' clauses.
2567 Add a `Local variables' eval block to help emacs users update
2568 the time-stamp variable added above.
2569 Mostly from Karl Berry.
2571 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
2573 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
2576 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
2577 or `pyexecdir', for the sake of 64-bit distributions that usually
2578 use lib64/ instead of lib/. Fall back to the default directory
2580 Suggested by Gwenole Beauchesne.
2582 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
2584 For PR automake/382:
2585 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
2586 Explain BUILT_SOURCES is usually needed in this case.
2587 Reported by William S Fulton.
2589 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2591 Rename some files for the sake of 8+3 file systems.
2592 * tests/aclocali.test: Rename to tests/aclocal.test.
2593 * tests/aclocali1.test: Rename to tests/aclocal2.test.
2594 * tests/aclocalii.test: Rename to tests/aclocal3.test.
2595 * tests/acoutput.test: Rename to tests/acoutpt.test.
2596 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
2597 * tests/acouttbs.test: Rename to tests/acoutbs.test.
2598 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
2599 * tests/autoheader.test: Rename to tests/autohdr.test.
2600 * tests/autoheader2.test: Rename to tests/autohdr2.test.
2601 * tests/condincl.test: Rename to tests/condinc.test.
2602 * tests/condincl2.test: Rename to tests/condinc2.test.
2603 * tests/distcommon.test: Rename to tests/distcom.test.
2604 * tests/distcommon2.test: Rename to tests/distcom2.test.
2605 * tests/distcommon3.test: Rename to tests/distcom3.test.
2606 * tests/installsh.test: Rename to tests/instsh.test.
2607 * tests/installsh2.test: Rename to tests/instsh2.test.
2608 * tests/instdata.test: Rename to tests/instdat.test.
2609 * tests/instdata2.test: Rename to tests/instdat2.test.
2610 * tests/libobj12b.test: Rename to tests/libobj13.test.
2611 * tests/link_f_c.test: Rename to tests/link_fc.test.
2612 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
2613 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
2614 * tests/nodefine.test: Rename to tests/nodef.test.
2615 * tests/nodefine2.test: Rename to tests/nodef2.test.
2616 * tests/required.test: Rename to tests/reqd.test.
2617 * tests/required2.test: Rename to tests/reqd2.test.
2618 * tests/sourcesub.test: Rename to tests/srcsub.test.
2619 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
2620 * tests/specflags.test: Rename to tests/specflg.test.
2621 * tests/specflags2.test: Rename to tests/specflg2.test.
2622 * tests/specflags3.test: Rename to tests/specflg3.test.
2623 * tests/specflags6.test: Rename to tests/specflg6.test.
2624 * tests/specflags7.test: Rename to tests/specflg7.test.
2625 * tests/specflags8.test: Rename to tests/specflg8.test.
2626 * tests/specflags9.test: Rename to tests/specflg9.test.
2627 * tests/subdircond.test: Rename to tests/subcond.test.
2628 * tests/subdircond2.test: Rename to tests/subcond2.test.
2629 * tests/subdircond3.test: Rename to tests/subcond3.test.
2630 * tests/texinfo.test: Rename to tests/txinfo.test.
2631 * tests/texinfo2.test: Rename to tests/txinfo2.test.
2632 * tests/texinfo3.test: Rename to tests/txinfo3.test.
2633 * tests/texinfo4.test: Rename to tests/txinfo4.test.
2634 * tests/texinfo5.test: Rename to tests/txinfo5.test.
2635 * tests/texinfo6.test: Rename to tests/txinfo6.test.
2636 * tests/texinfo7.test: Rename to tests/txinfo7.test.
2637 * tests/texinfo8.test: Rename to tests/txinfo8.test.
2638 * tests/texinfo9.test: Rename to tests/txinfo9.test.
2639 * tests/texinfo10.test: Rename to tests/txinfo10.test.
2640 * tests/texinfo13.test: Rename to tests/txinfo13.test.
2641 * tests/texinfo16.test: Rename to tests/txinfo16.test.
2642 * tests/texinfo17.test: Rename to tests/txinfo17.test.
2643 * tests/texinfo18.test: Rename to tests/txinfo18.test.
2644 * tests/Makefile.am (TESTS): Adjust.
2645 * ChangeLog.1996: Rename to ChangeLog.96.
2646 * ChangeLog.1998: Rename to ChangeLog.98.
2647 * ChangeLog.2000: Rename to ChangeLog.00.
2648 * ChangeLog.2001: Rename to ChangeLog.01.
2649 * Makefile.am (EXTRA_DIST): Adjust.
2650 Reported by Richard Dawe.
2652 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
2654 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
2655 Use '_build' and '_inst' instead of '=build' and '=inst'.
2656 * tests/man2.test: Reflect change automake: check for files in
2657 '_build' and '_inst' directories instead of '=build' and '=inst'.
2659 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2661 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
2662 * m4/lead-dot.m4: New file.
2663 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
2664 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
2665 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
2666 DEPDIR using am__leading_dot.
2667 * automake.in (require_build_directory): Define am__dirstamp, a new
2668 variable for the dirstamp basename, based on am__leading_dot.
2669 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
2670 use $(am__dirstamp).
2671 Reported by Richard Dawe.
2673 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
2674 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
2675 testing for programs.
2676 Reported by Richard Dawe.
2678 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
2680 * Makefile.am (maintainer-check): Suggest using $sleep instead of
2682 * tests/defs.in (sleep): New variable.
2683 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
2684 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
2685 Use $sleep instead of sleep 2, to work around timestamp
2686 inconsistencies in Windows.
2687 Reported by Richard Dawe.
2689 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
2691 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
2692 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
2693 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
2694 $SHELL is overridden by tests/defs, so it won't hurt even
2695 if $MAKE -e uses the $SHELL envvar.
2696 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
2697 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
2698 Reported by Richard Dawe.
2700 Build elisp files all at once instead of one by one.
2701 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
2702 elc-stamp to all's dependencies.
2703 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
2704 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
2705 (clean-lisp): Clean elc-stamp.
2706 * lib/elisp-comp: Reindent. Erase the temporatry directory
2707 from a trap. Propagate Emacs's exit status.
2708 * tests/lisp3.test: New file.
2709 * tests/Makefile.am (TESTS): Add lisp3.test.
2710 Reported by Ryan T. Sammartino.
2712 2003-01-09 Akim Demaille <akim@epita.fr>
2714 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
2716 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
2718 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
2719 variables. Suggested by Ryan T. Sammartino.
2721 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2723 * automake.in (macro_define): Add missing `{$cond}' (typo from
2725 ($gen_copyright): Append year 2003.
2726 (version): Increase year.
2728 * tests/defs.in: Substitute aclocaldir instead of running
2729 the installed aclocal. Otherwise Libtool and Gettext
2730 tests get skipped when aclocal doesn't preexist.
2732 * tests/listval.test, tests/suffix2.test: Remove pointless -I
2733 argument to aclocal.
2737 Copyright (C) 2003 Free Software Foundation, Inc.
2739 This file is part of GNU Automake.
2741 GNU Automake is free software; you can redistribute it and/or modify
2742 it under the terms of the GNU General Public License as published by
2743 the Free Software Foundation; either version 2, or (at your option)
2746 GNU Automake is distributed in the hope that it will be useful,
2747 but WITHOUT ANY WARRANTY; without even the implied warranty of
2748 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2749 GNU General Public License for more details.
2751 You should have received a copy of the GNU General Public License
2752 along with autoconf; see the file COPYING. If not, write to
2753 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2754 Boston, MA 02111-1307, USA.