1 2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
3 * aclocal.in, automake.in: Requote each "@var@" as '@var@'.
5 2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr>
7 * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and
10 2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr>
12 * automake.texi (Building ctags and etags): Rename and adjust as ...
13 (Building true and false): ... this.
14 * tests/targetclash.test: New file.
15 * tests/specflags7.test, tests/specflags8.test: Adjust to build
17 * tests/Makefile.am (TESTS): Add targetclash.test.
19 Diagnose target clashes, for PR automake/344:
20 * automake.in (%targets): Record conditionals for definitions.
21 (%target_conditional): Remove (obsoleted by %targets).
22 (%target_source, %target_owner): New hashes.
23 (TARGET_AUTOMAKE, TARGET_USER): New constants.
24 (initialize_per_input): Adjust to reset new variables.
25 (err_cond_target, msg_cond_target): New functions.
26 (msg_target): Adjust usage of %targets.
27 (conditional_ambiguous_p): Take a list of conditional to check
28 as a third parameter, so this can be used for other things that
30 (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage.
31 (variable_defined): Restrict the target-with-same-name check
33 (rule_define): Add the $SOURCE argument, and take $OWNER instead
34 of $IS_AM. Diagnose target clashes (including ambugious
35 conditionals). Return a list of conditions where the rule should
36 be defined instead of a boolean. Fill %target_source and
38 (target_define): Use `exists', not `defined'.
39 (read_am_file): Adjust the call to rule_define.
40 (file_contents_internal): Add more FIXMEs. Simplify my moving
41 and documenting the "define rules in undefined conditions" to
43 * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and
46 2002-09-12 Akim Demaille <akim@epita.fr>
48 * aclocal.in: Prototype all the functions.
49 Add `(C)' to Copyrights.
50 (&add_file): Strip the comments before checking for `AC_REQUIRE'.
51 Remove Perl 4 hacks, since anyway we require 5.005 via General.pm.
53 2002-09-11 Akim Demaille <akim@epita.fr>
55 * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since
56 it was already supported when --pdf support was added.
58 2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
60 * lib/Automake/Channels.pm (_default_options): Add `backtrace'.
61 (msg): Die with backtrace if requested.
62 * automake.in: Enable `backtrace' on the `automake' channel.
64 * automake.in (process_option_list): Mention `Automake' in
65 version-mismatch error.
66 Suggested by Akim Demaille.
68 * tests/Makefile.am ($(TESTS)): Replace by ...
69 (check_SCRIPTS): ... this.
70 Suggested by Raja R Harinath.
72 2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr>
74 * tests/Makefile.am ($(TESTS)): New, depends on defs.
75 (BUILT_SOURCES): Remove (useless because of PR/359).
77 * m4/init.m4: Execute cygpath in a sub-shell.
79 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
81 * automake.in (macro_define): Warn about `:=' assignments.
82 * tests/colneq.test: Check for this warning.
84 * automake.texi (Include): Fragments are always distributed.
87 2002-09-08 Andreas Buening <andreas.buening@nexgo.de>
90 * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W).
91 * m4/init.m4: New make variable CYGPATH_W.
93 2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr>
95 * configure.in: Check for EGREP and FGREP. Create tests/defs.
96 * tests/defs: Rename as ...
97 * tests/defs.in: ... this. Add copyright notice. Use configure's
98 values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset.
99 * tests/Makefile.am (EXTRA_DIST): Remove defs.
100 (BUILT_SOURCES): New.
101 * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test,
102 tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test,
103 tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
104 tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test,
105 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
106 tests/all.test, tests/alpha.test, tests/amassign.test,
107 tests/ammissing.test, tests/ansi.test, tests/ansi2.test,
108 tests/ansi3.test, tests/ansi4.test, tests/ansi5.test,
109 tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
110 tests/ar.test, tests/asm.test, tests/autoheader.test,
111 tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test,
112 tests/backsl.test, tests/backsl2.test, tests/badline.test,
113 tests/badopt.test, tests/badprog.test, tests/block.test,
114 tests/canon.test, tests/canon2.test, tests/canon3.test,
115 tests/canon4.test, tests/canon5.test, tests/ccnoco.test,
116 tests/check.test, tests/checkall.test, tests/clean.test,
117 tests/colneq.test, tests/colneq2.test, tests/colon.test,
118 tests/colon2.test, tests/colon3.test, tests/colon4.test,
119 tests/colon5.test, tests/colon6.test, tests/colon7.test,
120 tests/comment.test, tests/comment2.test, tests/comment3.test,
121 tests/comment4.test, tests/comment5.test, tests/comment6.test,
122 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
123 tests/cond11.test, tests/cond12.test, tests/cond13.test,
124 tests/cond14.test, tests/cond15.test, tests/cond16.test,
125 tests/cond17.test, tests/cond18.test, tests/cond19.test,
126 tests/cond2.test, tests/cond20.test, tests/cond21.test,
127 tests/cond22.test, tests/cond23.test, tests/cond24.test,
128 tests/cond3.test, tests/cond4.test, tests/cond5.test,
129 tests/cond6.test, tests/cond7.test, tests/cond8.test,
130 tests/cond9.test, tests/condd.test, tests/condincl.test,
131 tests/condincl2.test, tests/condlib.test, tests/condman.test,
132 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
133 tests/confdist.test, tests/confh.test, tests/confh4.test,
134 tests/config.test, tests/confincl.test, tests/confsub.test,
135 tests/confvar.test, tests/confvar2.test, tests/copy.test,
136 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
137 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
138 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
139 tests/cygwin32.test, tests/dash.test, tests/defun.test,
140 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
141 tests/depacl.test, tests/depacl2.test, tests/depcomp.test,
142 tests/depcomp2.test, tests/depdist.test, tests/depend.test,
143 tests/depend2.test, tests/depend3.test, tests/depend4.test,
144 tests/destdir.test, tests/dirforbid.test, tests/dirlist.test,
145 tests/discover.test, tests/distcommon.test,
146 tests/distcommon2.test, tests/distcommon3.test,
147 tests/distdir.test, tests/distname.test, tests/dollar.test,
148 tests/double.test, tests/dup2.test, tests/dup3.test,
149 tests/else.test, tests/empty.test, tests/empty2.test,
150 tests/empty3.test, tests/empty4.test, tests/error.test,
151 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
152 tests/exeext2.test, tests/exsource.test, tests/ext.test,
153 tests/ext2.test, tests/extra.test, tests/extra2.test,
154 tests/extra3.test, tests/extra4.test, tests/extra5.test,
155 tests/extra6.test, tests/extra7.test, tests/flibs.test,
156 tests/fnoc.test, tests/fo.test, tests/fonly.test,
157 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
158 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
159 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
160 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
161 tests/gnits3.test, tests/gnuwarn.test, tests/header.test,
162 tests/implicit.test, tests/include.test, tests/include2.test,
163 tests/info.test, tests/insh.test, tests/insh2.test,
164 tests/install.test, tests/install2.test, tests/installdir.test,
165 tests/installsh.test, tests/instdata.test, tests/instdata2.test,
166 tests/instexec.test, tests/insthook.test, tests/instman.test,
167 tests/instman2.test, tests/interp.test, tests/interp2.test,
168 tests/java.test, tests/java2.test, tests/javaprim.test,
169 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
170 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
171 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
172 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
173 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
174 tests/library.test, tests/library2.test, tests/libtool.test,
175 tests/libtool2.test, tests/libtool3.test, tests/libtool4.test,
176 tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test,
177 tests/link_f_c_cxx.test, tests/link_f_cxx.test,
178 tests/link_f_only.test, tests/lisp.test, tests/lisp2.test,
179 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
180 tests/maintclean.test, tests/make.test, tests/makevars.test,
181 tests/man.test, tests/man2.test, tests/mclean.test,
182 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
183 tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test,
184 tests/nobase.test, tests/nodefine.test, tests/nodefine2.test,
185 tests/nodep.test, tests/nodepcomp.test, tests/nodist.test,
186 tests/nodist2.test, tests/noinst.test, tests/noinstdir.test,
187 tests/nolink.test, tests/nostdinc.test, tests/number.test,
188 tests/obsolete.test, tests/order.test, tests/outdir.test,
189 tests/output.test, tests/output2.test, tests/output3.test,
190 tests/output4.test, tests/output5.test, tests/package.test,
191 tests/parse.test, tests/percent.test, tests/pluseq.test,
192 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
193 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
194 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
195 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
196 tests/pr211.test, tests/pr220.test, tests/pr224.test,
197 tests/pr229.test, tests/pr243.test, tests/pr266.test,
198 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
199 tests/pr300-lib.test, tests/pr300-ltlib.test,
200 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
201 tests/pr87.test, tests/pr9.test, tests/prefix.test,
202 tests/primary.test, tests/primary2.test, tests/proginst.test,
203 tests/python.test, tests/python2.test, tests/ranlib.test,
204 tests/recurs.test, tests/recurs2.test, tests/remake.test,
205 tests/remake2.test, tests/remake3.test, tests/req.test,
206 tests/required.test, tests/required2.test, tests/rulepat.test,
207 tests/scripts.test, tests/seenc.test, tests/sinclude.test,
208 tests/sourcesub.test, tests/sourcesub2.test, tests/space.test,
209 tests/specflags.test, tests/specflags2.test,
210 tests/specflags3.test, tests/specflags6.test,
211 tests/specflags7.test, tests/specflags8.test,
212 tests/specflags9.test, tests/spell.test, tests/spell2.test,
213 tests/spell3.test, tests/spelling.test, tests/stamph.test,
214 tests/stamph2.test, tests/stdlib.test, tests/strip.test,
215 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
216 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
217 tests/subdir7.test, tests/subdirbuiltsources.test,
218 tests/subdircond.test, tests/subdircond2.test,
219 tests/subdircond3.test, tests/subobj.test, tests/subobj2.test,
220 tests/subobj3.test, tests/subobj4.test, tests/subobj5.test,
221 tests/subobj6.test, tests/subobj7.test, tests/subobj8.test,
222 tests/subobj9.test, tests/subobjname.test, tests/subpkg.test,
223 tests/subst.test, tests/substref.test, tests/substtarg.test,
224 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
225 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
226 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
227 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
228 tests/symlink3.test, tests/syntax.test, tests/tags.test,
229 tests/tagsub.test, tests/target-cflags.test, tests/target.test,
230 tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test,
231 tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test,
232 tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test,
233 tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test,
234 tests/transform.test, tests/unused.test, tests/vars.test,
235 tests/vars2.test, tests/vars3.test, tests/vartar.test,
236 tests/version.test, tests/version2.test, tests/version3.test,
237 tests/version4.test, tests/version5.test, tests/version6.test,
238 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
239 tests/warnopts.test, tests/werror.test, tests/whoami.test,
240 tests/xsource.test, tests/yacc.test, tests/yacc2.test,
241 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
242 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
243 tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice.
244 Source ./defs instead of $srcdir/defs.
246 2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr>
248 * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on
249 distributed files, to workaround Sun make VPATH munging.
250 This fixes subdircond2.test, subdircond3.test, and subpkg.test
252 * tests/extra6.test, tests/lex3.test, tests/pr87.test,
253 tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test,
254 tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test:
255 Don't require GNU make.
257 * lib/am/distdir.am (distcheck): Add missing `;'.
259 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for
260 Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.)
261 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise.
263 2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr>
266 * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf):
267 Don't use `-o' unless necessary.
269 2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr>
272 * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps,
274 (output_texinfo_build_rules): Define %DIRSTAMP% when processing
275 texibuild.am. Return $dirstamp and a list of files to clean.
276 (handle_texinfo_helper): Process texi-vers.am after the call to
277 output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%.
278 * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed.
279 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise.
280 (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%.
281 * tests/texinfo13.test: New file.
282 * tests/Makefile.am (TESTS): Add texinfo13.test.
283 * lib/am/texinfos.am (install-info-am, dist-info): Looks for
284 info files in build or source directory.
285 This completes the change from 2002-07-30 (for PR automake/168).
287 2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr>
289 * automake.in (CLEAN, MAINTAINER_CLEAN): New constants.
290 (maintainer_clean_files): Replace by ...
291 (clean_files): ... this new variable.
292 (initialize_per_input, lang_yacc_target_hook,
293 lang_lex_target_hook): Use %clean_files instead of
294 @maintainer_clean_files.
295 (handle_clean): Rewrite, using %clean_files.
296 (require_build_directory_maybe): Use %clean_files instead
297 of %compile_clean_files. This allows using
298 &require_build_directory_maybe for non-compiling targets.
299 * lib/am/clean.am (mostlyclean-generic, clean-generic,
300 distclean-generic, maintainer-clean-generic): Rewrite using
301 %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and
302 %MAINTAINER_CLEAN_RMS%.
304 For Debian Bug#157778:
305 * m4/python.m4: Fix output of `python' in checking messages
306 when no version of Python is required.
308 2002-08-23 Raja R Harinath <harinath@cs.umn.edu>
310 * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that
311 was generated by gcc -MF.
313 2002-08-23 Pavel Roskin <proski@gnu.org>
315 * lib/am/progs.am: Exit in case of install failure, otherwise
316 it is ignored on Cygwin because of the surrounding "for" loop.
318 2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr>
320 * automake.texi (Top level): More words about conditional
321 subdirectories. Don't mention AC_PROG_MAKE_SET.
322 * tests/subdircond2.test, tests/subdircond3.test: New files.
323 * tests/Makefile.am (TESTS): Add them.
326 * automake.in (MACRO_PATTERN): Allow `.' in variable names.
327 (scan_variable_expansions, check_variable_expansions): New functions.
328 (macro_define): Call check_variable_expansions.
329 (read_am_file): Likewise, when outputing rules.
330 (variable_conditions_recursive_sub): Simplify using
331 scan_variable_expansions.
332 * tests/vars3.test: New file.
333 * tests/Makefile.am (TESTS): Add vars3.test.
334 * tests/colneq.test: Use -Wno-portability.
336 * lib/Automake/Channels.pm (buffering, backlog): New variables.
337 (buffer_messages, flush_messages): New functions.
338 (@EXPORT): Add buffer_messages and flush_messages.
339 * automake.in (generate_makefile): Call buffer_messages and
340 flush_messages to buffer warnings until AUTOMAKE_OPTIONS has
343 * automake.in (read_am_file): Fix computation of path to
344 included file when $(top_srcdir) is not used.
345 * tests/include2.test: Augment.
347 2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr>
349 * automake.in (set_strictness): Never enable 'portability'
351 (usage): Adjust `-Wportability' doc.
352 * automake.texi (Invoking Automake): Likewise.
353 Suggested by Ralf Corsepius.
355 2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr>
357 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
358 so_location files in current directory.
360 Fix for PR automake/346:
361 * automake.texi (Optional): Supress the documentation for
362 AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
363 AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK,
364 AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT,
365 AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG,
366 AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the
367 documentation of AC_LIBSOURCE and AC_SUBST to explain this
368 applies to any macro that calls them.
370 2002-08-19 Tom Tromey <tromey@redhat.com>
373 * tests/Makefile.am (TESTS): Added include2.test.
374 * tests/include2.test: New file.
375 * tests/include.test: Check to make sure include file is
377 * automake.in (read_am_file): Distribute included files.
379 2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr>
381 Fix for PR automake/345:
382 * tests/defs: Add support for required=non-root, stolen
383 from fileutils' test suite.
384 * tests/destdir.test: Use required=non-root.
386 * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30.
388 2002-08-17 Tom Tromey <tromey@redhat.com>
391 * automake.in (rule_define): Given portability warning if "%" seen
393 (TARGET_PATTERN): Added `%'.
394 * tests/Makefile.am (TESTS): Added percent.test.
395 * tests/percent.test: New file.
397 2002-08-15 Art Haas <ahaas@neosoft.com>
399 * lib/am/depend2.am: Use correct name for dependency file in
400 libtool fastdep case.
402 2002-08-14 Art Haas <ahaas@neosoft.com>
404 * lib/am/depend2.am: Added missing `;'.
406 2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr>
408 * automake.texi (Python): Fix wording.
410 * tests/ext2.test: New file. This bug is present in Automake 1.6.3
411 and was fixed by the change on variable_conditions_permutations
412 and invert_conditions on 2002-05-16.
413 * tests/Makefile.am (TESTS): Add ext2.test.
414 Reported by Ladislav Strojil.
416 2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
418 * aclocal.in (parse_arguments): Add `dirlist' paths add the
419 very end of the search path, after aclocal-APIVERSION/ and
421 * automake.texi (Macro search path): Adjust to reflect the
423 * tests/dirlist.test: Check for this.
425 2002-07-31 Charles Wilson <cwilson@ece.gatech.edu>
427 * aclocal.in (parse_arguments): Add support for extending
428 default macro search path, using a `dirlist' file within
429 the aclocal directory.
430 * automake.texi (Invoking aclocal): Move option descriptions into ...
431 (aclocal options): ... this new node.
432 (Macro search path): New node.
433 * tests/dirlist.test: New file.
434 * tests/Makefile.am (TESTS): Add dirlist.test.
435 * m4/dirlist: New file.
436 * m4/Makefile.am (EXTRA_DIST): Add dirlist.
437 * tests/defs: Honor any installed dirlist when searching for
438 libtool.m4 and gettext.m4.
440 2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
442 Build info files in builddir instead of srcdir (for PR automake/168),
443 and prepare support for info files in subdirecties.
444 * automake.in (output_texinfo_build_rules): New function.
445 (handle_texinfo_helper): Use output_texinfo_build_rules, and
446 prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR.
447 * lib/am/texi-vers.am: Build version.texi and stamp-vti in the
448 current directory, not $(srcdir). Use %STAMPVTI% to name the stamp
450 * lib/am/texibuild.am: Rewrite to output files in the current
451 directory, not $(srcdir). Also, support both generic and
452 non-generic output. Pass `-o $@' to makeinfo, texinfo, and
453 texi2dvi (for PR automake/339).
454 * tests/texinfo3.test: Make sure the `.texi:' rule is output.
455 * tests/texinfo10.test: Use set -e, so the checks are not ignored.
456 * tests/texinfo16.test: New file.
457 * tests/Makefile.am (TESTS): Add texinfo16.test.
459 2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
461 * aclocal.in (write_aclocal): Don't write the filename ($output_file)
462 in the aclocal.m4 header.
464 * configure.in: Require Autoconf 2.53b.
466 2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr>
468 * configure.in: Bump version to 1.6c.
470 * configure.in: Bump version to 1.6b.
471 * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New
473 * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text,
474 since this file is processed by config.status.
476 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
478 * automake.in (read_am_file): Escaped newlines in comments are not
479 portable. If a comment line doesn't start with a `#', add it.
480 * tests/comment6.test: Ensure this is done.
482 2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
484 Fix failures reported by Patrick Welche on NetBSD.
485 * tests/gnits2.test, tests/gnits3.test: Don't trust the exit
487 * tests/obsolete.test: Source obs.1 and obs.2 from current
490 2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk>
492 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
495 2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
497 * tests/required2.test: New file.
498 * tests/Makefile.am (TESTS): Add required2.test.
499 * automake.in (initialize_per_input): Remove %require_file_found
500 setting. This reverts my change of 2002-04-19.
501 (require_file_internal): Use the full name of a file as a
502 key in %require_file_found, not only the basename.
503 Reported by Andrew Suffield.
505 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
507 * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS.
508 * tests/subdir7.test: New file.
509 * tests/Makefile.am (TESTS): Add subdir7.test.
511 * lib/mkinstalldirs: Remove Id keyword.
513 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor
514 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
515 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
516 * automake.texi (Options) <std-options>: Document
517 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT.
518 (Gnits): Reference std-options.
519 * tests/gnits3.test: New file.
520 * tests/Makefile.am (TESTS): Add gnits3.test.
521 Suggested by Jim Meyering.
523 2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr>
525 * tests/gnits2.test: Use --program-prefix. Test for scripts too.
526 Replace the sed script by calls to grep, easier to debug.
527 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase
529 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
531 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
532 Always strip the directory part before applying $(transform),
533 even for nobase_ targets.
534 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
536 * tests/nobase.test: Use --program-prefix while testing nobase
539 2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr>
541 * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore.
542 * tests/Makefile.am (TESTS): Remove dirname.test.
544 * m4/init.m4: Require Autoconf 2.53b.
545 * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN.
546 * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN.
547 * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise.
548 * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise.
549 * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise.
550 * m4/protos.m4 (fp_C_PROTOTYPES): Likewise.
551 * m4/regex.m4 (fp_WITH_REGEX): Likewise.
552 * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed
554 * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now
555 AU_DEFUNed in m4/obsolete.m4.
556 * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files.
557 * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4,
558 and obsolete.m4. Remove termios.m4 and winsz.m4.
559 * aclocal.in (obsolete, obsolete_rx): Remove.
560 (scan_configure): Don't grep for obsolete macros.
561 * tests/defs (AUTOUPDATE): Define.
562 * Makefile.am (maintainer-check): Check for misuses of autoupdate.
563 * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from
566 Fix for PR automake/338:
567 * automake.in (seen_gettext_external): New variable.
568 (handle_gettext): Conditionalize the intl/ check on
569 $seen_gettext_external. Fix grep usage.
570 (scan_autoconf_traces): Set $seen_gettext_external if
571 `external' is passed to AM_GNU_GETTEXT.
572 * tests/gettext.test, tests/gettext2.test: New files.
573 * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test.
575 2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
576 Akim Demaille <akim@epita.fr>
578 * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER,
579 _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ...
580 (AM_CONFIG_HEADER): ... this new definition for compatibility.
581 * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE.
582 (_AC_AM_CONFIG_HEADER_HOOK): New macro.
583 * tests/confh5.tests: Delete.
584 * tests/Makefile.am (TESTS): Remove confh5.tests.
586 2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
588 * automake.in (handle_single_transform_list): Typo.
590 * lib/Automake/Channels.pm (dup_channel_setup,
591 drop_channel_setup): New functions.
593 * automake.in (generate_makefile): Call dup_channel_setup and
595 (process_option_list): Recognize --warnings and -W options.
596 * automake.texi (Options): Document them.
597 * tests/pluseq5.test: Check that -Wno-obsolete will disable the
599 * tests/warnopts.test: New file.
600 * tests/Makefile.am (TESTS): Add warnopts.test.
602 2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr>
604 * automake.in: Register warning channel `gnu'.
605 (set_strictness): Turn on `gnu' in --gnu and --gnits.
606 (usage): Mention the `gnu' category.
607 (%var_is_am): Replace by ...
608 (%var_owner): ... this, which uses ...
609 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants.
610 Adjust all uses of %var_is_am.
611 (handle_languages): Warn about user variables being overriden.
612 (require_variables): Also check %configure_vars for the existence
613 of a required variable.
614 * automake.texi (Invoking Automake): Document -Wgnu.
615 * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when
617 * tests/gnuwarn.test: New file.
618 * tests/Makefile.am (TESTS): Add gnuwarn.test.
620 2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr>
622 Fix for PR automake/337:
623 * automake.in: Redefine the `flags' attribute of each language
624 as a list. List CPPFLAGS in `flags' when it is used.
625 (register_language): Set the default value of 'flags'.
626 (handle_single_transform_list): Adjust to treat `flags' as a list.
627 (handle_languages): Likewise. Don't bother defining the
628 configure variable for `c', this is always done since we trace
630 * automake.texi (etags): Use per-executable _CPPFLAGS.
631 (Program and Library Variables): Mention maude_CPPFLAGS.
632 (Program variables): Likewise.
633 * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS.
634 * tests/specflags9.test: New file.
635 * tests/Makefile.am (TESTS): Add specflag9.test.
637 2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr>
639 * automake.texi: Use `variable' instead of `macro' everywhere it
640 designates a Makefile variable.
641 (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are
642 `flags', not `macros'. `Macro' means something else in Texinfo.
643 Also show how to use these flags.
644 * automake.in (file_contents_internal): s/macro/variable/ in
647 * automake.in (parse_arguments): Call Getopt twice: once to catch
648 --help or --verbose, and once to process the other arguments.
649 (usage, verbose): Always exit 0, ignoring $exit_code (which anyway
650 should always be 0 because of the change to parse_arguments).
651 * tests/Makefile.am (TESTS): Add getopt.test.
652 * tests/getopt.test: New file.
654 2002-07-09 Tom Tromey <tromey@redhat.com>
657 * automake.texi (Tags): Document ctags.
658 * automake.in (handle_tags): Handle ctags.
659 * lib/am/tags.am (CTAGS): New macro.
660 (CTAGSFLAGS): Likewise.
662 (distclean-tags): Remove `tags'.
664 * lib/am/depend2.am: Reworked syntax to avoid parsing problem.
666 * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE%
667 before passing to cygpath. Partial fix for PR automake/334.
669 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
671 * automake.in (generate_makefile): Suggest using AM_CPPFLAGS
673 * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested.
675 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
677 * automake.in (usage, version): Honor $exit_code.
678 (parse_arguments): Use fatal.
680 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
682 * automake.texi (Invoking Automake): Document WARNINGS.
683 * automake.in (switch_warning, parse_WARNINGS): New function.
684 (setup_warnings): Rename to ...
685 (parse_warnings): ... this. Move most of the code to switch_warning.
686 Accept a comma separated list of categories.
687 * tests/vars2.test: Use a comma separated list of warning categories.
689 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
691 * NEWS (New in 1.6): Mention that libtoolize is no longer run
694 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
696 Fix for PR automake/291:
697 * automake.in (macro_define): Catch variable names starting
699 (handle_installdirs): Rename _am_installdirs to am__installdirs.
700 * lib/am/data.am, lib/am/install.am, lib/am/libs.am,
701 lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am,
702 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
703 lib/am/texinfos.am: Likewise.
704 * tests/canon5.test: Use -Wno-portability.
705 * tests/vars2.test: New file.
706 * tests/Makefile.am (TESTS): Add vars2.test.
708 2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
710 * tests/defs (AUTOMAKE): Add -Wall.
711 * tests/outdir.test: Use -Wno-obsolete.
713 2002-07-07 Tom Tromey <tromey@redhat.com>
715 * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
717 * automake.in (handle_languages): Compute FASTDEP.
718 * lib/am/depend2.am: Added %FASTDEP% mode.
720 2002-07-07 Tom Tromey <tromey@redhat.com>
722 * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode
723 now. Fixes PR automake/332.
725 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
727 * tests/nobase.test (test-install-exec): Move all the `test -f'
728 tests in the Makefile so we can use $(EXEEXT) on programs.
729 Reported by Charles Wilson.
731 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
733 * m4/header.m4 (AM_CONFIG_HEADER): New macro.
734 * tests/confh5.test: Make sure that Autoconf complains if
735 AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before
738 2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr>
740 * lib/Automake/Channels.pm: New file.
741 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm.
742 * automake.in: Use Automake::Channels and register some channels
743 for errors and warnings.
744 ($exit_status): Remove, replaced by Channels::$exit_code.
745 (%required_variables): Remove, Channels will filter-out duplicates
747 (initialize_per_input): Call reset_local_duplicates.
748 (prog_error): Adjust to all `msg'.
749 (setup_warnings): New functions.
750 (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY,
752 (usage): Update usage text accordingly.
753 (macro_dump, macros_dump): Return the dump as a string instead
755 (am_install_var) <$warned_about_extra>: Remove, Channels will
756 filter-out duplicates itself.
757 (set_strictness): Turn on/off channels for each stricness.
758 (err, fatal, err_var, err_target, err_am, err_ac, msg_var,
759 msg_target, msg_am, msg_ac, reject_var, reject_target, verb):
760 New functions, to replace ...
761 (print_error, am_error, file_error, macro_error, target_error,
762 conf_error, file_warning): ... these functions. Remove them.
763 Update all the code to use the new functions. The rough
767 macro_error -> err_var
768 target_error -> err_target
771 macro_error if defined -> reject_var
772 target_error if defined -> reject_target
774 * automake.texi (Invoking Automake): Document -W and --warnings.
775 Remove the documentation for --Werror and --Wno-error.
776 * tests/defs: Use -Werror, no --Werror.
777 * tests/exeext2.test: Test that the error message
778 is enabled with -Wobsolete.
779 * tests/output5.test: Rewrite to test that Automake complains
780 when there is no Makefile specified. (The original test was
781 succeeding for the wrong reason.)
782 * tests/seenc.test: Don't use --Wno-error, there is no reason now
783 that -Werror doesn't stop after the first error.
784 * tests/subobj.test: Use --add-missing, and check that
785 `compile' is installed and that Automake says so.
786 * tests/subobj2.test: Don't create `compile'.
788 2002-07-05 Tom Tromey <tromey@redhat.com>
790 * automake.texi (Java Support): Mention --main and _LDFLAGS.
793 2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
795 * tests/asm.test: Erase Autom4te's cache between each test.
797 2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr>
799 * automake.in (am_macro_for_var): Add LIBTOOL.
800 (ac_macro_for_var): Add RANLIB.
801 (seen_libtool): Remove.
802 (handle_libtool, lang_c_finish, define_compiler_variable,
803 make_paragraphs): Use
804 variable_defined ('LIBTOOL') instead of $seen_libtool.
805 (handle_languages) <%transform>: Don't set 'LIBTOOL', it is
806 already done in make_paragraphs.
807 (handle_libraries): Simplify by requiring RANLIB with
808 &require_variables_for_macro.
809 (handle_ltlibraries): Simplify by requiring LIBTOOL with
810 &require_variables_for_macro.
811 (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and
813 * tests/libtool4.test, tests/library2.test: New files.
814 * tests/Makefile.in (TESTS): Add libtool4.test and library2.test.
816 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
818 * automake.in (create, keyed_aclocal_warning): Delete, unused.
820 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
822 * automake.in (ac_macro_for_var): Add YACC.
824 2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr>
826 Handle multiple suffix rules with the same input extension.
829 * automake.in (suffix_rules_default): New variable.
830 (suffix_rules): Redefine as a hash of hashes of pairs.
831 (initialize_per_input): Setup suffix_rules_default from
832 suffix_rules on first call, an override suffix_rules
833 with suffix_rules_default on following calls.
834 (struct) <output_extensions>: New attribute.
835 (register_language): Set the default for output_extensions.
836 Call register_suffix_rule for each suffix.
837 (derive_suffix, handle_languages): Adjust to the new definition
839 (register_suffix_rule): New function.
840 (rule_define): Call register_suffix_rule.
841 * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test:
843 * tests/Makefile.am (TESTS): Add them.
845 2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr>
847 * automake.in (am_macro_for_var, ac_macro_for_var,
848 required_variables): New variables.
849 (am_c_prototypes, seen_prog_lex, am_lispdir_location,
850 pythondir_location): Remove.
851 (initialize_per_input): Clear %required_variables.
852 (require_variables, require_variables_for_macro): New functions.
853 (handle_languages): Call &require_variables for $lang->config_vars.
854 (handle_compile): Call &require_variables_for_macro for the
855 ANSI2KNR and U variables.
856 (handle_emacs_lisp): Call &require_variables for EMACS and libdir.
857 (handle_python): Call &require_variables for PYTHON. Don't
858 explicitly allow `python' as a prefix for PYTHON.
859 (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES,
860 AM_PATH_LISPDIR, and AM_PATH_PYTHON.
861 (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and
862 AMDEPBACKSLASH here...
863 (define_configure_variable): ... do this here.
864 (am_primary_prefixes): Probe the existence of ${X}dir using
865 &require_variables_for_macro. If a standard prefix is not
866 legitimate, say so. Ignore all configure variables.
867 * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test,
868 tests/lisp2.test, tests/python2.test: New files
869 * tests/Makefile.am (TESTS): Add them.
870 * tests/asm.test: Grep stderr.
871 * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX.
872 * tests/python.test: Make sure py-compile is installed.
874 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
876 * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR,
877 COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants.
878 Adjust all occurrences.
880 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
882 * aclocal.in: Add local variables so that Emacs setups GNU style
883 for perl-mode and cperl-mode.
884 * automake.in: Likewise.
885 (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN,
886 ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN,
887 INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please
890 2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
892 * Makefile.am (fetch): Fetch install-sh from Autoconf CVS.
893 * lib/config.sub, lib/install-sh: New upstream versions.
895 2002-06-26 Paul Eggert <eggert@twinsun.com>
897 * Makefile.am (maintainer-check): Don't assume that egrep exists;
898 this fixes a portability bug introduced in the 2002-06-08 fix for
901 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
903 * automake.in (required_targets): Add ps and ps-am.
904 (initialize_per_input): Reset them.
905 (handle_texinfo_helper): Fill @pss_list, and define the
907 * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive.
908 (ps, ps-am): New targets.
909 * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention
910 `make ps' and `make pdf'.
911 (Texinfo): Document `make ps', `make pdf', and `make dvi'.
912 (Extending): The `ps' and `pdf' targets support a `-local' version.
914 2002-06-26 Art Haas <ahaas@neosoft.com>
916 * automake.texi: s/.../@dots{}/.
918 2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr>
920 * configure.in: Check that ln works, fall back to `cp -p'.
921 * Makefile.am (install-exec-hook): Use $(LN) instead of ln.
922 Reported by Andreas Buening.
924 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
926 * automake.in: Register &lang_lex_target_hook for lex and lexxx.
927 (lang_lex_target_hook): New function.
928 * tests/lex3.c: Complete to check that maintainer-clean erases
930 Reported by Flavien Astraud. This was lost on 2001-06-23 too.
932 2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr>
934 * automake.in (lang_yacc_target_hook): Add $output to
935 @maintainer_clean_files. This was lost on 2001-06-23.
936 * tests/yacc7.test, tests/yacc4.test: Complete to check
937 that maintainer-clean erases YACC's output files,
938 respectively with and without `-d'.
939 Reported by Flavien Astraud.
941 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
943 * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now
944 traced from configure.ac.
946 * automake.in (macro_define): Don't accept to override an AC_SUBST
947 or Automake variable in a new condition.
948 * tests/cond23.test, tests/cond24.test: New file.
949 * tests/Makefile.am (TESTS): Add cond23.test and cond24.test.
950 Reported by Patrik Weiskirchre.
952 2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr>
954 * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test,
955 tests/pr300-ltlib.test, tests/pr300-prog.test,
956 tests/specflags7.test, tests/specflags8.test, tests/subdir5.test,
957 tests/subobj6.test, tests/subpkg.test, tests/transform.test:
960 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
962 * tests/libtool2.test: Use required=libtoolize.
963 * tests/install2.test: Use required=gzip.
965 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
967 * tests/defs (required): Handle bison; set YACC automatically.
968 * tests/pr204.test, tests/yacc4.test, tests/yacc8.test,
969 tests/yaccvpath.test: Require bison. Don't set YACC.
971 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
973 * tests/defs (required): Handle `gcc' and `g++'; automatically
974 export CC and CXX when they are required.
975 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
976 tests/cond4.test, tests/cond16.test, tests/cond18.test,
977 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
978 tests/lex3.test, tests/pr87.test, tests/pr220.test,
979 tests/substref.test, tests/target-cflags.test, tests/yacc4.test,
980 tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to
982 * tests/subobj9.test: Require g++.
984 2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr>
986 * tests/defs (required): Handle `GNUmake'.
987 (needs_gnu_make): Don't define anymore.
988 * tests/cond4.test, tests/cond18.test, tests/cond19.test,
989 tests/dollar.test, tests/exsource.test, tests/extra6.test,
990 tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test,
991 tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test,
992 tests/yaccvpath.test: Use `required=GNUmake' instead of
995 2002-06-17 Paolo Bonzini <bonzini@gnu.org>
997 * automake.in (process_option_list): Recognize std-options.
998 (handle_options): Enable std-options in gnits strictness.
999 (am_install_var): If std-options, enable CK-OPTS section.
1000 * lib/am/scripts.am (installcheck-am): New target.
1001 * lib/am/progs.am (installcheck-am): New target.
1002 * tests/gnits2.test: New file.
1003 * tests/Makefile.am (TESTS): Add gnits2.test.
1004 * automake.texi (Gnits, Options): Document std-options.
1006 2002-06-17 Kevin Ryde <user42@zip.com.au>
1008 * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes,
1009 as generated by recent texinfo.tex.
1011 2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1013 * m4/header.m4 (AM_CONFIG_HEADER): Rename to ...
1014 (_AM_CONFIG_HEADERS): ... this.
1015 (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to
1016 call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call
1018 * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS
1019 instead of AM_CONFIG_HEADER.
1020 * tests/autoheader2.test: New file.
1021 * tests/Makefile.am (TESTS): Add autoheader2.test.
1022 Suggested by Raja R Harinath.
1024 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1026 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead
1027 of m4_rename so that AC_CONFIG_HEADER is never undefined and
1028 therefore still traced after the redefinition.
1029 * tests/defs (AUTOHEADER): Define.
1030 * tests/autoheader.test: New file.
1031 * tests/Makefile.am (TESTS): Add autoheader.test.
1032 Reported by Braden McDaniel.
1034 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1036 * automake.in (check_gnu_standards): In --gnu mode, accept
1037 one of COPTING, COPYING.LESSER, or COPYING.LIB.
1038 (common_files): Add COPYING.LESSER.
1039 * automake.texi (Gnits): Document this.
1041 2002-06-13 Paolo Bonzini <bonzini@gnu.org>
1043 * automake.in (required_targets): Add the pdf and pdf-am targets.
1044 (initialize_per_input): Likewise.
1045 (scan_texinfo_file): Add pdf to @clean_suffixes.
1046 (handle_texinfo_helper): Output the .pdf dependencies, and define
1048 * lib/am/texinfos.am (TEXI2PDF): New variable.
1049 (pdf, pdf-am): New targets.
1050 (.PHONY): Add pdf, pdf-am, and pdf-recursive.
1051 * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule.
1053 2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1055 Fix pr307.test failure with gcc 3.x.
1056 * lib/depcomp (dashmstdout): Strip the call to libtool, and
1057 replace `-o $object' by `-o /dev/null' before running "$@"
1058 to generate dependencies.
1059 (cpp): Strip the call to libtool as well as `-o $object'.
1061 2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1063 * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as
1064 $base.lo.d, when libtool is used.
1065 Reported by Nicolas Joly.
1067 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1069 * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there
1070 is no file to compile.
1071 * tests/java2.test: New file.
1072 * tests/Makefile.am (TESTS): Add java2.test.
1073 Reported by Braden N. McDaniel.
1075 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1077 * tests/maintclean.test: Don't check for autom4te.cache if
1078 it's not created by Autoconf.
1079 Reported by Bernd Jendrissek.
1081 2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr>
1083 * automake.texi (Tests): Document site.exp. Update DejaGnu's url.
1085 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1087 * lib/am/header-vars.am (transform): Define.
1088 Was removed by mistake on 2002-04-13.
1089 * tests/transform.test: New file.
1090 * tests/Makefile.am (TESTS): Add transform.test.
1091 Reported by Nicolas Joly.
1093 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1095 * tests/dollar.test: Require GNU make.
1096 * tests/maintclean.test: Don't use `export YACC=false'. Pass
1097 YACC=false to configure instead.
1099 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1101 * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
1102 INSTALL: New upstream versions.
1104 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1106 * tests/sinclude.test: Check for m4_include too.
1108 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1110 * tests/sinclude.test: Rename the package as amsinclude;
1111 am__sinclude still trigers the sinclude macro once it has been
1112 converted to am--sinclude.
1113 Reported by Nicolas Joly.
1115 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1117 * automake.texi (API versioning): Typo.
1119 2002-06-10 Nicolas Joly <njoly@pasteur.fr>
1121 * THANKS (Nicolas Joly): Remove duplicate.
1123 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1125 * Makefile.am (maintainer-check): Fix $MAKE -e detection.
1126 * tests/yacc7.test: Use rm -f.
1128 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1130 * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths.
1131 * tests/subpkg.test: New file.
1132 * tests/Makefile.am (TESTS): Add subpkg.test.
1134 2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1136 For PR automake/318:
1137 * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS,
1138 _PROGRAMS, _LIBRARIES, and _LTLIBRARIES.
1139 * lib/am/scripts.am (install-%DIR%SCRIPTS,
1140 uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by
1142 (?%DIR%SCRIPT_INSTALL): New variable.
1143 * lib/am/header-vars.am (install_sh_SCRIPT): New variable.
1144 Reported by Eric Siegerman.
1146 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1148 * automake.in (lang_yacc_target_hook): Add rule to recover from
1149 the removal of $header.
1150 * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one
1151 output by lang_yacc_target_hook).
1152 * tests/yacc7.test: Try to recreate foo.h after its removal.
1153 * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate
1155 Reported by Bernd Jendrissek.
1157 2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr>
1159 For PR automake/317:
1160 * Makefile.am (maintainer-check): Disallow `for f in $(FILES)',
1161 suggest `list='$(FILES)'; for f in $$list' instead.
1162 * lib/am/distdir.am (distdir): Adjust `for' usage.
1163 * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise.
1164 * tests/dollar.test: New file.
1165 * tests/Makefile.am (TESTS): Add dollar.test.
1166 Reported by Eric Siegerman and Philip Fong.
1168 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1170 For PR automake/47 (fixed a long time ago):
1171 * tests/yacc7.test: Also check that parser sources are distributed.
1173 2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1175 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable.
1176 (distclean): Use it.
1177 (maintainer-clean): Delete autom4te.cache and
1178 $(am__CONFIG_DISTCLEAN_FILES).
1179 * tests/maintclean.test: New file.
1180 * tests/Makefile.am (TESTS): Add maintclean.test.
1182 2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz>
1184 * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and
1187 2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr>
1189 * Makefile.am (maintainer-check): Check for egrep and fgrep.
1191 * test/cond22.test: Set SHELL when calling $MAKE -e.
1193 2002-05-31 Richard Boulton <richard@tartarus.org>
1195 Fix PR automake/326:
1196 * automake.in (define_objects_from_sources): Calculate the result in
1197 all conditions before passing this to subobjname to pick a name to
1198 store the result in.
1199 (subobjname): Expect a list of condition/value pairs as input.
1200 Combine this list and use it as the key to determine the variable name.
1201 * test/cond22.test: New file.
1202 * tests/Makefile.am (TESTS): Add cond22.test
1204 2002-05-30 Paul Eggert <eggert@twinsun.com>
1206 * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works;
1207 instead, use shell pattern matching.
1209 2002-05-29 Paul Eggert <eggert@twinsun.com>
1211 Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no
1212 longer requires them.
1214 * Makefile.am (maintainer-check): Use grep -E and grep -F instead
1215 of egrep and fgrep. Omit unnecessary -E and -F.
1216 Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'".
1217 * lib/am/distdir.am (distdir): fgrep -> grep -F.
1218 Use $(), not ${}, for Make variables.
1219 * lib/am/texinfos.am (install-info-am, uninstall-info-am):
1221 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
1222 * tests/defs: Set FGREP and EGREP.
1224 * tests/aclocali.test, tests/acoutput2.test, tests/all.test,
1225 tests/ansi.test, tests/ansi4.test, tests/colon3.test,
1226 tests/cond21.test, tests/condlib.test, tests/confh4.test,
1227 tests/confsub.test, tests/cxxansi.test, tests/cxxo.test,
1228 tests/depend4.test, tests/discover.test, tests/distname.test,
1229 tests/dup3.test, tests/empty4.test, tests/fo.test,
1230 tests/implicit.test, tests/insh2.test, tests/interp.test,
1231 tests/lex.test, tests/lex3.test, tests/lex4.test,
1232 tests/libobj5.test, tests/libobj7.test, tests/make.test,
1233 tests/makevars.test, tests/nostdinc.test, tests/parse.test,
1234 tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test,
1235 tests/pr2.test, tests/pr9.test, tests/seenc.test,
1236 tests/specflags.test, tests/specflags3.test,
1237 tests/specflags6.test, tests/subobj.test, tests/subobj2.test,
1238 tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test,
1239 tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test,
1240 tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP
1242 2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1244 For PR automake/323:
1245 * m4/depend.m4: Missing comma.
1246 * tests/gcj4.test: New file.
1247 * tests/Makefile.am (TESTS): Add gcj4.test.
1248 Reported by David Pashley.
1250 2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1252 * tests/defs (configure.in): Don't double-quote $me.
1253 * tests/sinclude.test: Overwrite configure.in and use
1254 `am__sinclude' instead of `sinclude' as package name.
1255 Excercise `m4_sinclude' instead of `sinclude'.
1257 2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1259 * automake.in (conditional_implies_one_of): Rename as ...
1260 (conditional_implies_any): ... this.
1261 * tests/pluseq9.test: Exercise another case with the new
1263 Suggested by Raja R Harinath.
1265 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1267 * tests/defs (configure.in): Quote macro arguments.
1268 Reported by Nicolas Joly.
1270 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1272 * lib/am/header-vars.am (build_triplet, host_triplet,
1273 target_triplet): Define. Were removed by mistake on 2002-04-13.
1275 2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1277 For PR automake/186:
1278 * lib/am/distdir.am (distcheck): Attempt a DESTDIR install.
1279 * tests/destdir.test: New file.
1280 * tests/Makefile.am (TESTS): Add destdir.test.
1282 2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1284 * automake.in (conditional_true_when): Return false if $WHEN == FALSE.
1285 (conditional_is_redundant): Simplify.
1286 (conditional_implies_one_of,
1287 variable_not_always_defined_in_cond): New functions
1288 (macro_define): Reject appends if the variable is not defined in
1289 all conditions where `+=' applies.
1290 (invert_conditions): Rewrite. Before this patch,
1291 invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
1292 would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
1293 wrong (these conditions implies "A_FALSE"). Now it outputs (),
1294 which just means the input conditions cover all cases.
1295 (variable_conditions_permutations): Never output FALSE conditions.
1296 * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
1297 in the CHECK_FALSE condition to fix the test.
1298 * tests/pluseq5.test: Actually check the diagnostic.
1299 * tests/pluseq9.test: New file.
1300 * tests/Makefile.am (TESTS): Add pluseq9.test.
1302 2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1304 Fix for PR automake/322:
1305 * automake.in (read_am_file): Rename $was_rule as $prev_state, and
1306 set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate.
1307 Handle comments continued by backslashes.
1308 * tests/comment6.test: New file.
1309 * tests/Makefile.am (TESTS): Add comment6.test.
1310 Reported by Braden N. McDaniel.
1312 2002-05-08 Charles Wilson <cwilson@ece.gatech.edu>
1313 Alexandre Duret-Lutz <duret_g@epita.fr>
1315 * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean
1316 both `program$(EXEEXT)' and `program'; needed under Cygwin.
1317 * tests/libtool3.test: New file.
1318 * tests/Makefile.am (TESTS): Add libtool3.test.
1320 2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1324 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1326 * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS.
1328 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1330 Erase stamps from the Makefile that generates them.
1332 * automake.in (handle_configure): Append each used stamp to
1333 @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this
1334 file is not used anymore.
1335 * lib/am/clean.am (distclean-generic): Don't erase stamp-h and
1337 * tests/subdir6.test: New file.
1338 * tests/Makefile.am (TESTS): Add it.
1340 2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr>
1342 Fix for condd.test (conditional `+='):
1343 * automake.in (%appendvar): New.
1344 (initialize_per_input): Clear it.
1345 (macro_define): Handle += for variable defined in another condition.
1346 * automake.texi (Conditional Sources): Use conditional += in
1348 (General Operation, Conditionals): Remove note about broken +=.
1349 * tests/cond21.test: New file.
1350 * tests/condd.test: Also test conditional append to a _SOURCE
1351 variable. Create missing directories.
1352 * tests/Makefile.am (TESTS): Add cond21.test.
1353 (XFAILS): Remove condd.test.
1355 2002-05-05 Tom Tromey <tromey@redhat.com>
1357 * automake.texi (Program and Library Variables): Mention _LFLAGS.
1359 2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1361 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations
1362 files. Fix subobj9.test on OSF and IRIX.
1363 Reported by Nelson H. F. Beebe.
1365 2002-04-26 Tom Tromey <tromey@redhat.com>
1367 * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
1368 For Debian bug 144221.
1370 2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1372 * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
1374 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1376 * automake.in (subobjname): Use the length of %subobjvar
1377 instead of $subobjnamenum.
1378 (subobjnamenum): Remove.
1380 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1382 For PR automake/307:
1383 * lib/depcomp: Never compute dependencies in the background, this
1384 can cause races with libtool. Compute the dependencies after
1385 the actual compilation. Don't make libtool silent now that
1386 it's run in the foreground.
1387 * tests/pr307.test: New file.
1388 * tests/Makefile.am (TESTS): Add pr307.test.
1389 Reported by Laurent Morichetti.
1391 2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1393 * lib/am/check.am: Show skipped tests. Display the
1394 $(PACKAGE_BUGREPORT) address on failure.
1396 2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1398 Fix PR automake/315:
1399 * automake.in (subobjname): Rewrite to generate variable name
1400 unique for each content.
1401 (%substnums): Remove.
1402 (%subobjvar): New hash.
1403 (initialize_per_input): Clear %subobjvar.
1404 (define_objects_from_sources): Return the name of the variable
1405 defined, in addition to the linker. Call subobjname only once
1406 the content of the variable to define is known.
1407 (handle_source_transform): Adjust call to define_objects_from_sources.
1408 * tests/specflags8.test: Mention PR 315.
1409 * tests/subobjname.test: New file.
1410 * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test.
1411 (TESTS): Add subobjname.test.
1413 2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1415 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep
1416 the whole file for 'generated by automake', not only the
1417 first line. This accounts for post-processed Makefile.in's.
1418 * tests/postproc.test: New file.
1419 * tests/Makefile.am (TESTS): Add postproc.test.
1421 2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1423 For PR automake/151 and PR automake/314:
1424 * automake.texi (A Program): Split into
1425 (Program Sources, Linking, Conditional Sources, Conditional
1426 Programs): ... these subsections; moving the Linking node
1427 before the Conditional discussions.
1428 (Conditional Sources): More details. Notably, mention
1430 (Conditionals): Adjust reference to Conditional Programs.
1432 2002-04-19 Paul Eggert <eggert@twinsun.com>
1434 Fix some bugs when using "$@" when there might be zero positional
1435 arguments in cases where this matters. Zsh doesn't support
1436 the workaround ${1+"$@"} that has been used by Automake since
1437 the Mon Dec 4 11:55:36 1995 change.
1439 * aclocal.in: Use 'case' statement to work around problem.
1440 * automake.in: Likewise.
1441 * lib/ylwrap: Likewise.
1442 * lib/missing: No need for workaround, as the command is never
1443 invoked with zero arguments.
1444 * tests/ccnoco.test: Likewise.
1445 * missing: Update from lib/missing.
1447 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1449 * automake.in (initialize_per_input): Clear %require_file_found.
1450 (%require_file_found): Group the declaration with the other
1451 variables initialized by initialize_per_input.
1452 * tests/required.test: New file.
1453 * tests/Makefile.am (TESTS): Add it.
1454 Reported by Marius Vollmer.
1456 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1458 * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function,
1459 override AC_CONFIG_HEADERS with AM_CONFIG_HEADER.
1460 (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS.
1461 * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE.
1462 * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config
1464 * tests/confh5.test: New file.
1465 * tests/Makefile.am (TESTS): Add confh5.test.
1466 * automake.texi (Optional, Public macros): Update descriptions
1467 of AC_CONFIG_HEADERS and AM_CONFIG_HEADER.
1469 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1471 * tests/man2.test: New file.
1472 * tests/Makefile.am (TESTS): Add man2.test.
1473 * lib/am/mans.am (install-man%SECTION%): Change the extension
1474 of the man pages being installed, as documented.
1476 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1478 Enable traces; wipe out the old configure.in parser.
1480 * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of
1481 'autoconf'. Honnor the $filename argument.
1482 (scan_autoconf_files): Don't call scan_one_autoconf_file.
1483 Always call scan_autoconf_traces.
1484 (scan_one_autoconf_file): Remove, with it associated regexes.
1485 (obsolete, obsolete_rx): Remove.
1486 (register_language, handle_languages): Remove the 'define_flag'
1487 support. Remove it from the struct and language definitions too.
1488 (unquote_m4_arg): Remove.
1489 * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove
1490 the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They
1491 are now generated automatically.
1492 * aclocal.in (obsolete_macros): Don't mention obsolete_macros in
1494 * automake.texi (Invoking Automake): Mention the AUTOCONF envvar.
1496 2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr>
1498 * tests/version6.test: New file.
1499 * tests/Makefile.am (TESTS): Add tests/version6.test.
1500 * automake.in (version_check): Return 0 on equality.
1502 2002-04-13 Andreas Schwab <schwab@suse.de>
1504 * THANKS: Update my mail address.
1506 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1508 * tests/discover.test: Use a full configure.in that calls AC_INIT.
1509 Use AC_LIBOBJ. Grep the error message.
1510 * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in.
1511 Grep the error message. Require libtool.
1512 * tests/ldflags.test: Don't use LIBOBJS.
1513 * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the
1514 error messages for CC and CXX.
1516 2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr>
1518 * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR
1520 * tests/distcommon2.test: Use a full configure.in that calls AC_INIT.
1521 * tests/ext.test: Enable dependencies for OBJC.
1522 * tests/libobj.test, tests/libobj6.test, tests/libobj9.test:
1523 Delete. They tests for different flavors of $LIBOBJS assignments
1524 that wont be supported anymore.
1525 * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ.
1526 * tests/obsolete.test: Don't test Automake.
1527 * tests/suffix5.test: Require libtool.
1528 * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and
1531 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1533 * configure.in (APIVERSION): Fix definition.
1535 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1537 * NEWS: Catch up with changes since 1.6.
1539 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1541 * tests/yacc8.test: Don't assume GNU make, run config.status
1542 to regenerate the Makefile.
1544 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1546 * Makefile.am (maintainer-check): Make sure `$MAKE -e' is
1547 always followed by a SHELL setting.
1548 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set
1549 SHELL when calling `$MAKE -e'.
1551 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1553 * tests/subobj9.test: Use configure.in, not configure.ac,
1554 otherwise this fails with old libtool versions.
1556 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1558 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1561 2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
1563 * ChangeLog.2001: New file, extracted from ChangeLog.
1564 * Makefile.am (EXTRA_DIST): Add it.
1566 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
1568 * automake.texi (Canonicalization): The sources for libmumble++.a
1569 go into libmumble___a_SOURCES.
1571 2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1573 * Makefile.am (maintainer-check): Check for `sleep 1' uses in the
1574 test suite. Suggest `sleep 2' instead.
1575 * tests/confsub.test: Use `sleep 2'.
1577 2002-04-04 Paul Eggert <eggert@twinsun.com>
1579 * lib/am/subdirs.am:
1580 ($(RECURSIVE_TARGETS), maintainer-clean-recursive):
1581 $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if
1582 MAKEFLAGS contains '$(...)'.
1584 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1586 * tests/specflags8.test: Typo.
1588 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1590 * tests/specflags6.test: Run aclocal.
1591 * tests/Makefile.am (TESTS): Add specflags6.test.
1593 2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1595 * tests/specflags7.test, tests/specflags8.test: New files.
1596 * tests/Makefile.am (TESTS): Add them.
1597 (XFAIL_TESTS): Add specflags8.test.
1599 2002-03-29 Tom Tromey <tromey@redhat.com>
1601 * automake.in (check_typos): Examine AM_LDFLAGS.
1602 Fixes PR automake/311.
1604 For PR automake/312:
1605 * lib/am/libtool.am (clean-libtool): Use LTRMS.
1606 * automake.in (handle_single_transform_list): When processing a
1607 libtool object, clean the ordinary object and register the
1609 (libtool_clean_directories): New global.
1610 (initialize_per_input): Initialize it.
1611 (generate_makefile): Call handle_libtool later.
1612 (handle_libtool): Handle libtool_clean_directories.
1613 * tests/subobj9.test: New file.
1614 * tests/Makefile.am (TESTS): Added subobj9.test.
1616 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1618 * tests/extra6.test, tests/subdir5.test: Require GNU make.
1620 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1622 * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/.
1624 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1626 * tests/extra7.test: New file.
1627 * tests/Makefile.am: Add it.
1628 * lib/am/distdir.an (distdir): When a distribuable directory
1629 exists both in `.' and $(srcdir), merge both directories. This
1630 works around a failure of extra6.test on Tru64 reported by
1633 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1635 * tests/pr87.test, tests/yaccvpath.test: Require GNU make.
1637 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1639 * Makefile.am (maintainer-check): Catch occurrences of
1640 `$MAKE foo=bar' in the testsuite. Suggest using
1641 `foo=bar $MAKE -e' instead.
1642 * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test:
1643 Use $MAKE -e. This fixes a ansi5.test failure with Solaris make.
1644 * tests/defs: Unset $srcdir, and set $testsrcdir to its old value.
1645 * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir.
1647 2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
1649 Fix for PR automake/310:
1650 * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE%
1651 so it never appears as a plain word.
1653 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
1655 * lib/depcomp (tru64): Correctly compute `base'.
1657 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1659 * tests/pr211.test: s/requires/required/, otherwise the test fails
1660 if libtool is not installed.
1662 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1664 * tests/dirname.test: Don't use $SHELL when calling ./configure.
1666 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1668 * tests/dirname.test: Use --quiet to fix failure on installations
1669 using a site script.
1670 Reported by Nicolas Joly.
1672 2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr>
1674 * Makefile.am (maintainer-check): Check for misuses of make,
1675 autoconf, automake, aclocal, and perl in the testsuite. Suggest
1676 using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead.
1677 * tests/confsub.test: Use $AUTOCONF and $MAKE.
1678 * tests/extra5.test, tests/extra6.test, tests/lex5.test,
1679 tests/nobase.test, tests/nodist2.test, tests/pr204.test,
1680 tests/pr224.test, tests/pr287.test, tests/strip.test,
1681 tests/yacc8.test: Use $MAKE.
1683 2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr>
1685 Add support for two-dot versions.
1687 * tests/version5.test: New file.
1688 * tests/Makefile.am (TESTS): Add it.
1689 * automake.in (version_split, version_compare): New functions.
1690 (version_check): Rewrite using version_split and version_compare.
1691 (process_option_list): Adjust regex.
1693 2002-03-18 Richard Boulton <richard@tartarus.org>
1695 Fix for PR automake/306:
1696 * automake.texi (Generalities): Document +=.
1697 (Conditionals): Document limitations of += with conditionals.
1699 2002-03-17 Tom Tromey <tromey@redhat.com>
1701 Fix for PR automake/295:
1702 * automake.texi (Invoking Automake): Deprecate --output-dir.
1703 * automake.in (usage): Don't document --output-dir.
1704 (output_directory): Don't initialize.
1705 (parse_arguments): Deprecate --output-dir.
1707 * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes.
1708 Fixes PR automake/304.
1710 2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1712 * tests/dirforbid.test: Workaround for NetBSD sh bug.
1713 Fixes PR automake/305.
1715 2002-03-11 Richard Boulton <richard@tartarus.org>
1717 * automake.in (check_typos): Allow variables with reserved
1718 suffices (such as _LDFLAGS) and prefixes which aren't
1719 recognised if the variable is defined in configure.ac.
1722 2002-03-11 Richard Boulton <richard@tartarus.org>
1724 * tests/acsubst.test: New test, by Alexandre Duret-Lutz
1725 * tests/acsubst2.test: New test, by Alexandre Duret-Lutz
1726 * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test
1728 2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1730 * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check'
1733 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1735 Fix for PR automake/303:
1736 * automake.in (version_check): Move the error message ...
1737 (process_option_list): ... here, so we can distinguish between
1738 global and local options.
1740 2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
1742 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1743 tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so
1744 Autoconf doesn't complain about Makefile being output twice.
1746 2002-03-06 Tom Tromey <tromey@redhat.com>
1748 * configure.in: Upped version to 1.6a.
1750 2002-03-05 Tom Tromey <tromey@redhat.com>
1752 * configure.in: Released 1.6.
1754 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1756 Fix for PR automake/300:
1757 * tests/pr300-lib.test, tests/pr300-ltlib.test,
1758 tests/pr300-prog.test: New files.
1759 * tests/Makefile.am (TESTS): Add them.
1760 * automake.in (handle_ltlibraries): Strip nobase_ prefix to
1761 compute the directory.
1762 * lib/am/header-vars.am (install_sh_PROGRAM): New variable.
1763 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable.
1764 (install-%DIR%LIBRARIES): Use it. Honor nobase_.
1765 (uninstall-%DIR%LIBRARIES): Honor nobase_.
1766 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable.
1767 (install-%DIR%LTLIBRARIES): Use it. Honor nobase_.
1768 (uninstall-%DIR%LTLIBRARIES): Honor nobase_.
1769 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable.
1770 (install-%DIR%PROGRAMS): Use it. Honor nobase_.
1771 (uninstall-%DIR%PROGRAMS): Honor nobase_.
1772 See also the fix for nobase.test on 2001-11-09.
1774 2002-03-05 Tom Tromey <tromey@redhat.com>
1776 * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated.
1778 2002-03-05 Pavel Roskin <proski@gnu.org>
1780 * tests/yacc8.test: Add a command between "test" and "cd" to
1781 work around a bug in bash-2.05.
1783 2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr>
1785 Fix for PR automake/294:
1786 * tests/dirforbid.test: New file.
1787 * tests/Makefile.am (TESTS): Add it.
1788 * automake.in (standard_prefix): New hash.
1789 (am_primary_prefixes): Forbid standard_prefixes which are not
1790 explicitely allowed.
1791 * automake.texi (Uniform): Remove FIXME.
1793 2002-03-05 Jim Meyering <meyering@lucent.com>
1795 * automake.in (@common_files): Add config.rpath.
1797 2002-03-05 Kevin Ryde <user42@zip.com.au>
1799 For PR automake/297:
1800 * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until
1801 after AC_PROG_LEX, since it will try to run it and fail (in autoconf
1804 2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1806 * automake.in (scan_one_autoconf_file): Declare
1807 LEX_OUTPUT_ROOT and LEXLIB as configure variables when
1808 AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ...
1809 * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB
1810 definitions. Search %SOURCE% in $(srcdir). Use s||| instead
1811 of s/// in the sed invocation, to support filenames containing
1813 * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too.
1814 * tests/lex5.test, tests/yacc8.test: New files.
1815 * tests/Makefile.am (TESTS): Add them.
1817 2002-02-23 Per Bothner <per@bothner.com>
1819 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to
1822 2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1824 * tests/make.test: Revert the grep logic to work around a bug
1825 in NetBSD sh (see NetBSD Problem Report #11542).
1826 Reported by Patrick Welche.
1828 2002-02-20 Tim Van Holder <tim.van.holder@pandora.be>
1830 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS
1831 to try and prevent a non-lisp emacs from starting in interactive
1833 * automake.texi: Document this change.
1835 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1837 * automake.texi (Macros): Split into ...
1838 (Public Macros, Private Macros): ... these.
1840 2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr>
1842 * tests/insthook.test: Use sed instead of "tail +X".
1844 2002-02-18 Paul Eggert <eggert@twinsun.com>
1846 * lib/depcomp: Don't use "tail +3"; it's not portable to
1847 POSIX 1003.1-2001 hosts.
1849 2002-02-18 Jim Meyering <meyering@lucent.com>
1851 * tests/cond12.test: Use sed 1q, not `head -n 1'.
1852 The latter is not portable to some old systems.
1853 * m4/depout.m4: Don't use `head -1'; it's no longer portable.
1854 Use `sed 1q' instead.
1855 * tests/insthook.test: Likewise.
1857 2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1859 * automake.in (handle_lib_objects_cond): Tell the user to put
1860 global linker flags in AM_LDFLAGS, not LDFLAGS.
1862 * automake.texi (General Operation): AC_SUBST'ed variables
1863 override Automake's variables.
1864 (Uniform): More words and @refs.
1865 (Auxiliary Programs) <config.sub, config.guess>: Add URL.
1866 (etags): More explanations about the first example.
1867 (Invoking Automake): Mention autoreconf. More @refs.
1868 (Requirements): Mention AC_CONFIG_FILES.
1869 (Optional): AC_CHECK_TOOL will no longer install config.sub and
1870 config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES.
1871 (Invoking aclocal): aclocal no longer warn about duplicates.
1872 (Macros) <AM_INIT_AUTOMAKE>: More explanations.
1873 (Extending aclocal): Suggest using the output of
1874 `aclocal --print-ac-dir` to install third-party macros.
1875 (Alternative): Specify ordering of dist_, nodist_, and nobase_
1877 (A Program): Mention scripts. The global LDADD variable is not
1878 meant to hold link flags, suggest using AM_LDFLAGS instead.
1879 (Program and Library Variables) <maude_LIBADD, maude_LDADD>:
1880 _LIBADD and _LDADD are subject to the same restriction wrt to
1882 (Program and Library Variables) <maude_DEPENDECIES>: Is also
1883 derived from maude_LIBADD.
1884 (Program variables): Define AM_LDFLAGS.
1885 (Dependencies): Passing the no-dependencies option to
1886 AM_INIT_AUTOMAKE is prefered.
1887 (Scripts): Explain why automake is magically cleaned.
1888 Mention noinst_SCRIPTS and check_SCRIPTS.
1889 (Data): Use dist_ in Automake's example.
1890 (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION.
1891 Mention AC_CONFIG_FILES instead of AC_OUTPUT.
1893 2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1895 * Makefile.am (FETCHFILES): Add Automake/XFile.pm.
1896 (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead
1897 of asking the maintainer to do it manually.
1898 * lib/config.guess, lib/config.sub, lib/texinfo.tex,
1899 Automake/XFile.pm: New upstream versions.
1901 2002-02-02 Tom Tromey <tromey@redhat.com>
1903 * automake.texi (Macros): Warn about upgrading.
1905 2002-02-01 Tom Tromey <tromey@redhat.com>
1907 Change per GNU coding standards:
1908 * aclocal.in (parse_arguments): Only mention most recent year in
1910 * automake.in (version): Only mention most recent year.
1912 2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr>
1914 * automake.texi (API versioning): New Node.
1915 (Extending): Use $(DESTDIR) in examples.
1917 2002-01-28 Akim Demaille <akim@epita.fr>
1919 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5.
1920 Respect the --help layout.
1922 2002-01-27 Tom Tromey <tromey@redhat.com>
1924 * configure.in: Bumped to 1.5e.
1926 * lib/am/yacc.am: Use `rm -f'.
1928 * configure.in: Released 1.5d.
1930 * lib/config.guess: New version from FSF.
1932 * Makefile.am (uninstall-hook): New target.
1934 2002-01-24 Akim Demaille <akim@epita.fr>
1936 * lib/install-sh: Update, from Autoconf.
1938 2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
1940 * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL
1941 as AC_CANONICAL_HOST (the former does not require the latter since
1943 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip.
1944 * automake.texi (Requirements): Do not require STRIP to be
1945 defined by the user.
1947 2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1949 * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS).
1950 * automake.in (handle_languages): Compute and substitute %DEPDIRS%.
1951 * tests/pr224.test: Make sure .deps subdirectories are
1952 erased by distclean.
1954 2002-01-22 Tom Tromey <tromey@redhat.com>
1956 * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if
1957 no-dependencies option is set.
1958 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if
1959 no-dependencies option is set. Don't call AM_DEP_TRACK or
1962 2002-01-22 Pavel Roskin <proski@gnu.org>
1964 * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and
1967 2002-01-22 Akim Demaille <akim@epita.fr>
1969 * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex.
1972 2002-01-21 Tom Tromey <tromey@redhat.com>
1974 * Makefile.am (fetch): Don't fetch ansi2knr.
1976 * automake.texi (Macros): Updated for new variable names.
1977 (Program and Library Variables): Likewise.
1978 (Assembly Support): Likewise.
1979 * m4/as.m4: Use CCAS and CCASFLAGS.
1980 * automake.in (asm): Use CCAS and CCASFLAGS.
1982 2002-01-21 Akim Demaille <akim@epita.fr>
1984 * automake.in (&parse_arguments): Use a more GNUish error message
1987 2002-01-20 Tom Tromey <tromey@redhat.com>
1989 Fix for PR automake/231:
1990 * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ).
1991 * m4/depend.m4: Document `GCJ'.
1993 For PR automake/224:
1994 * tests/Makefile.am (TESTS): Added pr224.test.
1995 * tests/pr224.test: New file.
1996 * lib/depcomp: Fixed computation of depfile.
1997 * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR).
1998 * automake.in (handle_single_transform_list): Only reject `..'
1999 component for Java. Put dependencies in directory near object.
2000 (handle_languages): Set DEPBASE. Handle de-ansi-fication.
2002 2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr>
2004 * tests/defs: Export AUTOMAKE and ACLOCAL.
2006 2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2008 Fix for PR automake/204:
2009 * tests/pr204.test: New file.
2010 * tests/Makefile.am (TESTS): Add it.
2011 * automake.in (handle_single_transform_list): Don't distribute
2012 sources derived from non-distributed sources.
2014 2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr>
2016 Fix for PR automake/229:
2017 * tests/pr229.test: New file.
2018 * tests/Makefile.am (TESTS): Add it.
2019 * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN,
2020 AC_EMXOS2, and AC_MINGW32.
2022 2002-01-18 Tom Tromey <tromey@redhat.com>
2024 * tests/cond7.test: Fix test bug exposed by copyright update.
2026 For PR automake/288:
2027 * automake.in (lang_c_rewrite): Don't prepend directory to base if
2028 directory is `.'. Also, properly compute de_ansi_files entry in
2030 * tests/Makefile.am (TESTS): Added ansi7.test.
2031 * tests/ansi7.test: New file.
2033 * aclocal.in (parse_arguments): Added 2002.
2034 (write_aclocal): Likewise.
2035 (parse_arguments): Updated my email address.
2036 * automake.in (gen_copyright): Added 2002.
2037 (version): Likewise. Also, changed my email address.
2039 * configure.in (APIVERSION): Refined definition.
2041 2002-01-18 Tom Tromey <tromey@redhat.com>
2044 * lib/missing: Accept versioned aclocal.
2045 * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal.
2047 2002-01-17 Pavel Roskin <proski@gnu.org>
2049 * m4/Makefile.am (m4datadir): Use APIVERSION.
2051 2002-01-16 Tom Tromey <tromey@redhat.com>
2053 * Makefile.am (install-exec-hook): Use APIVERSION.
2054 * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version.
2055 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from
2057 * automake.in (perllibdir): Use APIVERSION.
2059 * aclocal.in (perllibdir): Use APIVERSION.
2060 (APIVERSION): New global.
2061 (parse_arguments): Use APIVERSION.
2062 * configure.in (APIVERSION): New subst.
2063 (pkgvdatadir): Use APIVERSION.
2065 2002-01-15 Tom Tromey <tromey@redhat.com>
2068 * lib/missing: Match against `automake*' to pick up versioned
2070 * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name.
2071 * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version
2073 * lib/am/Makefile.am (amdir): Use pkgvdatadir.
2074 * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use
2076 (scriptdir): Use pkgvdatadir.
2077 (installcheck-local): Likewise.
2078 * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir.
2079 * automake.in (perllibdir): Added VERSION.
2081 * aclocal.in (parse_arguments): Search versioned directory. Don't
2082 push unversioned directory unless it exists.
2083 (perllibdir): Added VERSION.
2084 (default_acdir): New global.
2085 * m4/Makefile.am (m4datadir): Added $(VERSION).
2086 * Makefile.am (install-exec-hook): New target.
2087 * configure.in (ACLOCAL): Search build directory.
2088 (pkgvdatadir): New subst.
2090 2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr>
2092 * lib/config.sub, lib/config.guess: New versions from FSF.
2094 2002-01-13 Tom Tromey <tromey@redhat.com>
2096 For PR automake/288:
2097 * automake.in (lang_c_rewrite): Set value for de_ansi_files entry
2099 (lang_c_finish): Likewise. Also, use directory information from
2102 2002-01-13 Kevin Ryde <user42@zip.com.au>
2104 For PR automake/288:
2105 * tests/Makefile.am (TESTS): Added ansi6.test.
2106 * tests/ansi6.test: New file.
2108 2002-01-13 Tom Tromey <tromey@redhat.com>
2110 For PR automake/287:
2111 * lib/am/distdir.am (distdir): Use `$$list' trick when looping
2113 * tests/Makefile.am (TESTS): Added pr287.test.
2114 * tests/pr287.test: New file.
2116 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2118 * lib/am/distdir.am (distdir): Handle subdirectories.
2119 * tests/extra6.test: New file.
2120 * tests/Makefile.am (TESTS): Add it.
2122 2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr>
2124 * tests/extra2.test: Run $ACLOCAL.
2126 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2128 * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from
2129 AM_INIT_AUTOMAKE arguments when using the old-style call.
2130 Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only.
2131 Suggested by Pavel Roskin.
2133 2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr>
2135 * test/nodefine.test, test/nodefine2.test: Check that no-define
2136 works, not the contrary...
2137 * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset.
2138 * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define,
2141 2002-01-12 Jim Meyering <meyering@lucent.com>
2143 * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument.
2144 * tests/libobj11.test: New file.
2145 * tests/Makefile.am (TESTS): Add libobj11.test.
2147 2002-01-09 Ryan T. Sammartino <ryants@shaw.ca>
2149 * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options.
2151 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2153 * automake.in (file_contents_internal): Introduce two variables,
2154 $is_rule and $discard_rules to track rules spanning across multiple
2155 paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin
2156 where only the first paragraph of such a multi-paragraph rule was
2157 discarded; but it leaves many similar latent bugs (see the FIXMEs).
2159 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2161 * tests/dup3.test: Remove all -I from $ACLOCAL before using it.
2162 * tests/error.test: Use some macro names which are not defined by
2165 2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2167 * automake.texi (Complete, Macros, Options): Document the new style
2168 AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion.
2169 * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from
2170 AC_INIT if they are available there. Support a new call form
2171 where the only argument is an optional space-separated list of
2173 * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove.
2174 (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS,
2175 _AM_IF_OPTION): New functions.
2176 * automake.in (AC_INIT_PATTERN): New variable.
2177 (global_options_line): Remove, use $seen_init_automake instead.
2178 (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version
2179 from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE.
2180 Remove the AM_AUTOMAKE_OPTIONS handling.
2181 * configure.in: Modernize.
2182 * tests/defs (configure.in): Modernize. One third of the tests
2183 still overwrite the default configure.in and use an old
2184 AM_INIT_AUTOMAKE call, so that makes testing for both.
2185 * tests/nodefine.test, tests/nodefine2.test: New files.
2186 * tests/Makefile.am (TESTS): Add them.
2188 2002-01-08 Raja R Harinath <harinath@cs.umn.edu>
2190 * automake.in (define_configure_variable): Propagate line numbers.
2192 2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr>
2194 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2.
2196 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2198 * configure.in: Run the Autoconf test in a subdirectory, then
2199 erase this directory.
2201 2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr>
2203 * configure.in (AUTOMAKE): Create m4/amversion.m4.
2204 * m4/amversion.in: New file.
2205 * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ...
2206 (dist_m4data_DATA): ... this.
2207 (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4.
2208 * m4/init.m4 (AM_INIT_AUTOMAKE): Require
2209 AM_SET_CURRENT_AUTOMAKE_VERSION.
2210 * automake.in (seen_automake_version): New variable.
2211 (scan_autoconf_traces, scan_one_autoconf_file,
2212 scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain
2213 when the version used in aclocal.m4 differs from Automake's.
2214 * tests/defs (ACLOCAL): Look in ../m4 too.
2215 * tests/installsh.test (ACLOCAL): Likewise.
2216 * tests/installdir.test (installdirs-local): Run $ACLOCAL.
2218 2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
2220 * automake.in (handle_languages): Emit an automake
2221 internal variable 'am__depfiles_maybe'.
2222 * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
2224 * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
2227 2002-01-06 Tom Tromey <tromey@redhat.com>
2229 * automake.texi (Tags): Document new variables.
2230 * lib/am/tags.am (ETAGS): New macro.
2231 (ETAGSFLAGS): Likewise.
2234 2002-01-04 Tom Tromey <tromey@redhat.com>
2236 * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly.
2238 2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr>
2240 * automake.in (read_am_file): Thinko in "comment following
2241 trailing backslash" detection.
2242 * tests/comment5.test: Test for this too.
2244 2002-01-02 Tom Tromey <tromey@redhat.com>
2246 * automake.texi (Extending): Added index for uninstall-hook.
2248 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2250 Fix for PR automake/278:
2251 * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope
2252 with versions such as '2.2c1'. Also, use `int' instead of the
2253 obsoleted `string.atoi'.
2254 Reported by Enrico Scholz.
2256 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2258 Fix for PR automake/280:
2259 * automake.in (read_am_file): Warn about trailing backslashes
2261 * tests/comment5.test: New file.
2262 * tests/Makefile.am (TESTS): Add comment5.test.
2263 Reported by Enrico Scholz.
2265 2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2267 * tests/comment4.test: New file.
2268 * tests/Makefile.am (TESTS): Add comment4.test.
2270 Fix for comment4.test:
2271 * automake.in (read_am_file): Output leading comments only when
2272 encountering white lines.
2274 2002-01-01 Tom Tromey <tromey@redhat.com>
2276 For PR automake/234:
2277 * tests/Makefile.am (TESTS): Added strip.test.
2278 * tests/strip.test: New file.
2280 * automake.texi (Extending): Mention uninstall-hook.
2281 (Install): Likewise.
2282 * automake.in (handle_factored_dependencies): Allow
2285 2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
2287 * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s,
2288 it is needed by install-%DIR%LTLIBRARIES in ltlib.am.
2289 This fixes a bug introduced on 2001-01-28.
2290 Reported by Jared Davis.
2294 Copyright (C) 2002 Free Software Foundation, Inc.
2296 This file is part of GNU Automake.
2298 GNU Automake is free software; you can redistribute it and/or modify
2299 it under the terms of the GNU General Public License as published by
2300 the Free Software Foundation; either version 2, or (at your option)
2303 GNU Automake is distributed in the hope that it will be useful,
2304 but WITHOUT ANY WARRANTY; without even the implied warranty of
2305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2306 GNU General Public License for more details.
2308 You should have received a copy of the GNU General Public License
2309 along with autoconf; see the file COPYING. If not, write to
2310 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2311 Boston, MA 02111-1307, USA.