1 2001-10-28 Akim Demaille <akim@epita.fr>
3 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
4 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
5 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
6 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
7 * tests/conf2.test, tests/config.test, tests/depcomp.test,
8 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
9 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
10 * tests/libobj8.test, tests/output.test, tests/output2.test,
11 * tests/output3.test, tests/output4.test, tests/output5.test,
12 * tests/pr2.test, tests/remake.test, tests/remake2.test,
13 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
14 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
15 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
18 2001-10-28 Akim Demaille <akim@epita.fr>
20 * automake.in (&scan_autoconf_traces): Use eq for equality.
23 (&initialize_per_input): Don't initialize several times the same
27 2001-10-28 Akim Demaille <akim@epita.fr>
29 * automake.in (scan_one_autoconf_file): When using %generalize, be
30 sure to replace only words. AC_FUNC_OBSTACK was matching
33 2001-10-26 Akim Demaille <akim@epita.fr>
35 * tests/stamph2.test: Strengthen.
36 * tests/confh2.test, tests/confh3.test: Remove.
37 These are bad tests: they don't check the effects, but some
38 internal details in Makefile.
39 And they are covered by stamph2.test.
41 2001-10-26 Akim Demaille <akim@epita.fr>
43 Now that stamp-h's are created by config.status, we don't need to
44 handle them in Makefile's.
46 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
47 * m4/header.m4 (_AM_STAMP): New.
48 (_AM_CONFIG_HEADER): Use it.
50 2001-10-26 Akim Demaille <akim@epita.fr>
52 * automake.in (&generate_makefile, &handle_texinfo_helper)
53 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
54 (&define_pretty_variable, &read_am_file, &file_contents_internal)
55 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
56 `join (' ', @list)' into `"@list"'.
58 2001-10-26 Akim Demaille <akim@epita.fr>
60 * automake.in (@config_fullnames, @config_names): Remove.
61 (@config_headers): Now contains the actual spec used in
63 (&split_config_file_spec): New.
64 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
65 (&scan_one_autoconf_file): Adjust.
66 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
69 2001-10-26 Akim Demaille <akim@epita.fr>
71 * m4/header.m4 (_AM_CONFIG_HEADER): New.
72 (AM_CONFIG_HEADER): Use it.
74 2001-10-26 Akim Demaille <akim@epita.fr>
76 * automake.in (&handle_configure): Use the config.status 2.50
77 invocation syntax for config files and headers.
78 autoheader needs the name of the file to create, not from what it
79 must be created, hence CONFIG_HEADER_FULL is $one_name, not
81 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
82 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
84 Strengthen: Use the non-default config.hin source.
85 Strengthen: Make sure config.h is properly updated when config.hin
88 2001-10-26 Akim Demaille <akim@epita.fr>
90 * automake.in (&handle_configure): Seeing Automake files in
91 @other_input_files is a programming error, not merely something to
93 Factor slightly the code.
95 2001-10-26 Akim Demaille <akim@epita.fr>
97 * automake.in ($canonical_location): New.
99 (&require_config_file, $line_error): Remove.
101 2001-10-24 Akim Demaille <akim@epita.fr>
103 * automake.in: Use &verbose.
104 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
107 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
109 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
110 Have the basename step optional and use %NDIR% instead of %DIR% in
111 filenames in order to support 'nobase_'.
113 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
115 * automake.in (handle_languages, handle_single_transform_list,
116 lang_c_rewrite): Use require_conf_file instead of
117 require_config_file to require depcomp or compile from
118 Makefile.am. (This is a part of my patch of 2001-10-15 which got
119 mistakenly reverted.)
121 2001-10-24 Akim Demaille <akim@epita.fr>
123 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
126 2001-10-24 Akim Demaille <akim@epita.fr>
128 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
129 appear in Makefile.in in the clean rule.
131 * tests/cxxansi.test: Adjust.
133 2001-10-24 Akim Demaille <akim@epita.fr>
135 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
136 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
138 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
139 (&conf_error, &file_warning): these.
140 (&file_warning): Fix the prototype and argument handling.
141 (&am_line_warning): Remove, unused.
143 Also, repair the misapplication of previous patches.
145 2001-10-21 Akim Demaille <akim@epita.fr>
147 * automake.in ($ac_output_location): Replace with...
148 ($ac_config_files_location): this.
149 (&scan_autoconf_traces): We don't need $file and $line, $here is
151 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
152 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
154 2001-10-21 Akim Demaille <akim@epita.fr>
156 * automake.in (&require_file_with_macro): Use &require_file.
157 (&read_am_file): Move the definition of $here at its proper place.
159 2001-10-21 Akim Demaille <akim@epita.fr>
161 * automake.in ($libtool_line, $seen_pythondir): Replace with...
162 ($libtool_location, $pythondir_location): these.
163 (&require_conf_file_with_line, &require_conf_file_with_line):
165 (&require_file): Don't forget $where.
166 (&require_conf_file): Ahem... Fix the name.
167 (&require_config_file): Invoke &require_conf_file, not yourself.
168 (&am_line_error): Fix the default am_file_error invocation.
170 2001-10-21 Akim Demaille <akim@epita.fr>
172 * automake.in ($seen_lispdir): Replace with...
173 ($am_lispdir_location): this.
174 (&require_conf_file): New.
175 (&require_config_file, &require_conf_file_with_line,
176 (&require_conf_file_with_conf_line): Use it.
177 (&require_conf_file_with_macro): New.
179 2001-10-21 Akim Demaille <akim@epita.fr>
181 * automake.in ($config_header_line, $ac_output_line)
182 ($ac_gettext_line, $package_version_line): Replace with...
183 ($config_header_location, $ac_output_location)
184 ($ac_gettext_location, $package_version_location): these.
185 (&require_file_with_conf_line, &require_file_with_line): Remove,
188 2001-10-21 Akim Demaille <akim@epita.fr>
190 * automake.in (&require_file_internal): Instead of $file and $line,
191 take $where as first argument.
193 (&require_file_with_macro): New.
194 Use it where internal black magic was used to recover the location
195 of a macro definition.
197 2001-10-21 Akim Demaille <akim@epita.fr>
199 * automake.in (&read_am_file): Define and use `$here'.
200 Avoid using am_line_error.
202 2001-10-21 Akim Demaille <akim@epita.fr>
204 * automake.in (&am_target_error): New.
205 Use it where appropriate instead of...
206 (&am_line_error): this.
207 Using it for a target is a croak error.
209 2001-10-21 Akim Demaille <akim@epita.fr>
211 * automake.in (&am_macro_error): New.
212 Use it where appropriate instead of...
213 (&am_line_error): this.
214 Using it for a macro is a croak error.
216 2001-10-21 Akim Demaille <akim@epita.fr>
218 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
219 AC_OUTPUT a Makefile.
221 2001-10-21 Akim Demaille <akim@epita.fr>
223 * automake.in (%var_line): Rename as...
224 (%var_location): this.
225 Use it consistently as the location where the macro is defined,
226 file and line when possible, otherwise just file.
227 (&read_am_file): Rules have their own location tracking, don't
228 pollute %var_location.
230 2001-10-21 Akim Demaille <akim@epita.fr>
232 * automake.in (am_line_error): Clarify.
234 2001-10-21 Akim Demaille <akim@epita.fr>
236 * automake.in (&am_print_error): Set $exit_status since all your
238 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
240 (&am_conf_line_error, &am_conf_line_warning): Remove.
241 Adjust callers to use &am_file_error and...
242 (&am_file_warning): new.
244 2001-10-21 Akim Demaille <akim@epita.fr>
246 * m4/regex.m4: Use AC_LIBOBJ.
247 Require 2.50, and use AC_LIBSOURCES freely.
248 * tests/asm.tests: Formatting changes.
251 2001-10-21 Akim Demaille <akim@epita.fr>
253 * tests/install.test: This test is an empty shell, do not run
255 * tests/Makefile.am (TESTS): Don't run it.
256 * tests/defs (ACLOCAL): When using gettext, pass in the installed
258 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
260 * tests/obsolete2.test: Remove, merged into...
261 * tests/obsolete.test: here.
262 Both aclocal and automake should complain.
264 2001-10-21 Akim Demaille <akim@epita.fr>
266 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
267 for symbols which cannot be Make macro names.
268 (scan_one_autoconf_file): `$here' is new.
269 Use it consistently instead of `1' to remember a token was seen.
271 2001-10-21 Akim Demaille <akim@epita.fr>
273 * tests/subdircond.test: Requires gettext.
274 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
275 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
276 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
277 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
278 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
279 Produce valid configure.in, use aclocal appropriately, declare
280 when libtool is required.
282 2001-10-21 Akim Demaille <akim@epita.fr>
284 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
285 * automake.texi (Macros, Yacc and Lex): Adjust.
286 * automake.in ($seen_decl_yytext): Rename as...
287 ($seen_prog_lex): this.
288 (&scan_autoconf_traces): Add AC_PROG_LEX support.
289 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
291 2001-10-21 Akim Demaille <akim@epita.fr>
293 * automake.in (&scan_autoconf_traces): Add support for
294 AM_PATH_LISPDIR and AM_PATH_PYTHON.
296 2001-10-21 Akim Demaille <akim@epita.fr>
298 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
300 * tests/lex.test: Run AC_INIT once.
301 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
303 * tests/header.test: Built a correct configure.in.
304 * tests/defun2.test (configure.in): Be a bit respectful with
305 Autoconf, close the macro invocations.
306 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
309 * automake.in (scan_autoconf_traces): Add support for
310 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
311 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
312 * tests/condincl.test (target): Better pattern, to avoid matching
313 the definition of `target_alias' which is now properly discovered
314 as an AC_SUBST by traces.
315 * cond4.test: Better grep pattern: After all, why shouldn't
316 TWO_FALSE be AC_SUBST properly.
317 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
319 2001-10-20 Kevin Ryde <user42@zip.com.au>
321 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
322 actually using ansi2knr.
324 * automake.in (handle_configure): Always put a number on $stamp_name,
325 to match AM_CONFIG_HEADER.
327 2001-10-20 Tom Tromey <tromey@redhat.com>
329 * tests/Makefile.am (TESTS): Added condd.test.
330 (XFAIL_TESTS): Added condd.test.
331 * tests/condd.test: New file.
333 2001-10-20 Akim Demaille <akim@epita.fr>
335 * automake.in (&scan_autoconf_traces): Add support for
336 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
338 * tests/alpha.test (configure.in): Automake wants a Makefile.
340 2001-10-20 Akim Demaille <akim@epita.fr>
342 * automake.in (scan_autoconf_traces): Use an unlikely to be used
343 separator between trace arguments, in particular not `:' as it is
344 within AC_CONFIG_FILES's $1.
346 2001-10-20 Akim Demaille <akim@epita.fr>
348 * tests/alpha.test (configure.in): Create, don't append. A single
351 2001-10-20 Akim Demaille <akim@epita.fr>
353 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
354 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
355 * tests/alpha.test, tests/ansi.test, tests/asm.test,
356 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
357 * tests/badline.test, tests/block.test, tests/canon2.test,
358 * tests/check.test, tests/checkall.test, tests/clean.test,
359 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
360 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
361 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
362 * tests/comment.test, tests/comment3.test, tests/cond.test,
363 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
364 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
365 * tests/condman2.test, tests/confdist.test, tests/confh.test,
366 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
367 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
368 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
369 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
370 * tests/else.test, tests/empty.test, tests/exdir.test,
371 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
372 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
373 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
374 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
375 * tests/include.test, tests/info.test, tests/insh.test,
376 * tests/insh2.test, tests/install.test, tests/installsh.test,
377 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
378 * tests/insthook.test, tests/instman.test, tests/instman2.test,
379 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
380 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
381 * tests/man.test, tests/mclean.test, tests/mdate.test,
382 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
383 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
384 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
385 * tests/outdir.test, tests/output.test, tests/output2.test,
386 * tests/output3.test, tests/output4.test, tests/output5.test,
387 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
388 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
389 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
390 * tests/primary.test, tests/proginst.test, tests/python.test,
391 * tests/remake.test, tests/remake2.test, tests/remake3.test,
392 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
393 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
394 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
395 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
396 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
397 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
398 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
399 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
400 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
401 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
402 * tests/version.test, tests/version2.test, tests/version3.test,
403 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
404 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
406 2001-10-20 Akim Demaille <akim@epita.fr>
408 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
409 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
410 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
411 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
412 * tests/conf2.test, tests/confh.test, tests/confh2.test,
413 * tests/confh3.test, tests/confh4.test, tests/config.test,
414 * tests/confsub.test, tests/depend3.test, tests/discover.test,
415 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
416 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
417 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
418 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
419 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
420 * tests/output.test, tests/output2.test, tests/output3.test,
421 * tests/output4.test, tests/output5.test, tests/package.test,
422 * tests/parse.test, tests/pr2.test, tests/remake.test,
423 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
424 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
425 * tests/subdir4.test, tests/subdirbuiltsources.test,
426 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
427 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
428 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
429 since AM_INIT_AUTOMAKE requires them.
431 2001-10-20 Akim Demaille <akim@epita.fr>
433 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
435 Don't run AC_ARG_PROGRAM another time, it is required by
437 * tests/aclocal.test: Work on the default configure.in
438 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
439 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
441 Be realistic in testing: AC_INIT is required for Autoconf.
442 Broken so called optimized tests break trace handling.
444 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
445 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
446 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
447 * tests/colon.test, tests/colon2.test, tests/colon3.test,
448 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
449 * tests/colon7.test, tests/cond.test, tests/cond2.test,
450 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
451 * tests/confh.test, tests/confh2.test, tests/confh3.test,
452 * tests/confh4.test, tests/config.test, tests/confsub.test,
453 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
454 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
455 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
456 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
457 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
458 * tests/libobj9.test, tests/output.test, tests/output2.test,
459 * tests/output3.test, tests/output4.test, tests/parse.test,
460 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
461 * tests/remake.test, tests/remake2.test, tests/remake3.test,
462 * tests/req.test, tests/scripts.test, tests/subdir.test,
463 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
464 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
465 * tests/version2.test: Add AC_INIT in `configure.in'.
467 2001-10-20 Akim Demaille <akim@epita.fr>
469 * automake.in (&scan_autoconf_traces): Add support for
470 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
471 Let @args have a more natural M4 correspondence: $1 is args[1], no
473 (&scan_autoconf_files): Using autoconf traces is no longer a
474 complement of the previous ad hoc scheme: use either.
476 2001-10-20 Akim Demaille <akim@epita.fr>
478 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
479 factors dedicated $libsources assignments.
481 2001-10-20 Akim Demaille <akim@epita.fr>
483 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
484 Remove, since Autoconf 2.52 has them.
485 * automake.in, aclocal.in, automake.texi: Adjust.
487 2001-10-19 Akim Demaille <akim@epita.fr>
489 * automake.in (&read_main_am_file): s/generated automatically/
491 Insert @configure_input@, since 2.50 no longer output this
492 automatically for Makefiles.
494 2001-10-19 Kevin Ryde <user42@zip.com.au>
496 * lib/am/check.am (check-TESTS): Add an "else true" to work with
497 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
499 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
501 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
502 * tests/nobase.test: New file. Based on a bug report
503 from Martin Frydl <martin@idoox.com>.
505 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
507 * automake.in (am_install_var): Don't strip nobase_ from $X, do
508 this with $nodir_name only. Use $nodir_name where appropriate.
510 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
512 * automake.in (handle_languages, handle_single_transform_list,
513 lang_c_rewrite): Use require_conf_file instead of
514 require_config_file to require depcomp or compile from Makefile.am.
515 (require_aux_file_with_line): New function, adapted from
516 require_conf_gile_with_line.
517 (require_conf_file_with_line, require_conf_file_with_conf_line):
518 Simplify using require_aux_file_with_line.
519 (require_config_file): Simplify using require_conf_file_with_conf_line.
520 (require_conf_file): New function.
522 2001-10-15 Akim Demaille <akim@epita.fr>
524 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
525 normally, what is wrong is that automake outputs a variable
526 definition for it, hence...
527 * automake.in (scan_one_autoconf_file): don't.
529 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
531 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
532 Use AC_CONFIG_COMMANDS.
533 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
535 2001-10-15 Akim Demaille <akim@epita.fr>
537 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
539 2001-10-15 Akim Demaille <akim@epita.fr>
541 * automake.in (&variable_conditions): Be deterministic and Perl
542 version independent: sort the result.
543 (&variable_output, &variable_pretty_output): Sort all the @conds,
544 not only when defaulted.
545 * tests/cond3.test: Adjust.
547 2001-10-15 Akim Demaille <akim@epita.fr>
549 * automake.in: Formatting changes.
551 2001-10-15 Akim Demaille <akim@epita.fr>
553 * aclocal.in: Use Automake::General and Automake::XFile.
554 Use find_configure_ac.
555 Output the Emacs tags for Autoconf mode selection.
557 2001-10-10 Akim Demaille <akim@epita.fr>
559 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
562 2001-10-09 Akim Demaille <akim@epita.fr>
564 Do not use Autoconf internals.
566 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
567 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
568 m4_regexp and m4_patsubst, since the latter are reserved for ERE
571 2001-10-08 Akim Demaille <akim@epita.fr>
573 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
576 2001-10-05 Akim Demaille <akim@epita.fr>
578 * automake.in (scan_autoconf_files): Use find_configure_ac from
581 2001-10-02 Akim Demaille <akim@epita.fr>
583 * lib/Automake/Struct.pm: Update from Autoconf.
584 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
586 * automake.in: Use them.
587 (&uniq, $me): Remove, as they are provided by Automake::General.
589 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
592 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
593 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
594 * lib/am/distdir.am (distcheck): Likewise.
595 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
596 using cd so we don't have to fiddle with CDPATH.
597 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
598 DOSish path separator.
600 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
602 * lib/am/python.am (install-%DIR%PYTHON,
603 uninstall-%DIR%PYTHON): Strip path of source file.
604 (clean-python): Comment out.
606 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
608 * automake.in (handle_python): Use require_conf_file_with_conf_line
609 instead of require_file_with_conf_line, so that elisp-comp and
610 py-compile are installed in the aux-directory.
611 (handle_emacs_lisp): Likewise. Define elisp_comp.
612 * lib/am/lisp.am (.el.elc): Use elisp_comp.
614 2001-10-01 Akim Demaille <akim@epita.fr>
616 * lib/am/distdir.am (distcheck): Report the trailing files.
617 Run `dist-gzip', not `dist', as it may leave other distribution
620 2001-09-29 Paul Eggert <eggert@twinsun.com>
622 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
623 bugs when making file names with unusual characters. Quote chmod
624 arg "$dirmode", in case it contains white space.
626 Incorporate the following change from autoconf mkinstalldirs:
628 1999-04-10 Ben Elliston <bje@cygnus.com>
630 Add `-m' flag to specify the mode of a newly created
631 directory. Add command line usage and `-h', `--help' options.
632 Contributed by Jeff Garzik.
634 2001-09-27 Akim Demaille <akim@epita.fr>
636 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
638 2001-09-27 Akim Demaille <akim@epita.fr>
640 * lib/am/distdir.am (dist): Rename as...
642 (dist): Additional name for dist-all.
643 * automake.texi (Options, Dist): Adjust.
645 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
647 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
648 * automake.in (obsolete_macros): Likewise.
649 (seen_objext): Remove (unused).
650 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
651 * lib/am/header-vars.am (EXEEXT, OBJEXT,
652 PATH_SEPARATOR): New variables.
653 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
655 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
657 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
658 neutralize CDPATH for us.
659 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
660 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
663 2001-09-22 Akim Demaille <akim@epita.fr>
665 * configure.in, NEWS: Bump to 1.5a.
668 2001-09-22 Paul Eggert <eggert@twinsun.com>
670 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
671 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
672 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
673 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
674 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
675 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
676 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
677 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
678 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
679 m4/termios.m4, m4/winsz.m4: Add copyright notice.
681 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
682 which has a copyright notice.
684 * m4/strtod.m4: Correct the dates on the copyright notice.
686 2001-09-17 Akim Demaille <akim@epita.fr>
688 * lib/missing (autom4te): New.
689 (aclocal, autoconf, automake, autoheader, help2man): Propagate
692 2001-08-27 Tom Tromey <tromey@redhat.com>
694 * automake.texi (A Shared Library): Clarify installation
696 (Install): Typo. From Adrian Bunk.
698 2001-08-27 Tom Tromey <tromey@redhat.com>
700 * automake.texi (Macros): Typo fix.
701 From Christian Cornelssen
703 2001-08-27 Tom Tromey <tromey@redhat.com>
705 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
706 tests/cond4.test, tests/cond16.test, tests/cond18.test,
707 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
708 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
709 tests/substref.test: Clear CFLAGS.
711 * automake.texi (Yacc and Lex): Mention lex, not yacc.
712 From Alexey Mahotkin.
714 2001-08-27 Tom Tromey <tromey@redhat.com>
716 * tests/yacc7.test: Use test -f, not test -e.
718 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
720 * automake.texi (etags): Typo fix.
722 2001-08-27 Guido Draheim <guidod@gmx.de>
724 * automake.in : restrict ansi2knr option to be a filepath
726 2001-08-23 Richard Boulton <richard@tartarus.org>
728 * tests/yacc7.test: Actually add this file: was accidentally omitted.
730 2001-08-22 Tom Tromey <tromey@redhat.com>
732 * automake.texi (Conditionals): Mention that conditionals must
733 always be invoked. For PR automake/220.
735 2001-08-22 Richard Boulton <richard@tartarus.org>
736 Tom Tromey <tromey@redhat.com>
738 * automake.in (lang_yacc_target_hook): Make header file depend on
739 .c file, not .y file.
740 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
741 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
742 * tests/yacc7.test: New file.
743 * tests/Makefile.am (TESTS): Added yacc7.test.
745 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
747 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
749 2001-08-18 Tom Tromey <tromey@redhat.com>
751 * automake.texi (Dist): Mention dist-all.
753 2001-08-18 Tom Tromey <tromey@redhat.com>
755 * tests/cond3.test: Use portable sed expression.
756 From Richard Boulton.
758 2001-08-13 Richard Boulton <richard@tartarus.org>
760 * automake.in (handle_source_transform): Call
761 define_objects_from_sources() instead of calling
762 variable_value_as_list(), handle_single_transform_list() and
763 define_pretty_variable() directly.
764 (handle_single_transform_list): Add $topparent parameter, used for
765 error messages. Improved error message.
766 (define_objects_from_sources): New function.
767 (subobjname): New function.
768 (variable_conditions_recursive): New name for variable conditions.
769 (variable_value_as_list_recursive): New name for variable_value_as_list.
770 (variable_value_as_list_worker): Renamed to ...
771 (variable_value_as_list_recursive_worker): ... this.
772 (variable_conditions_sub): Renamed to ...
773 (variable_conditions_recursive_sub): ... this.
774 (variable_conditions): Rewritten: now doesn't recurse subvariables.
775 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
776 (substfroms): New global.
777 (substtos): New global.
778 (substnums): New global.
779 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
780 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
781 * tests/sourcesub2.test: New test.
782 * tests/Makefile.am (TEST): Added sourcesub2.test.
784 2001-08-11 Tom Tromey <tromey@redhat.com>
786 * configure.in: Upped to 1.4s.
788 2001-08-09 Richard Boulton <richard@tartarus.org>
790 * automake.in (handle_single_transform_list): Use new global,
791 `%linkers_used', to store the linkers used, rather than an internal
792 variable. Enables correct linker to be calculated across a group
793 of calls to &handle_single_transform_list. Return only list of
794 objects, since linker to be used is now externally determined.
795 (handle_source_transform): adapted for new calling conventions of
796 handle_single_transform_list. Calls resolve_linker() on a set of
797 all the linkers used for any prefix, rather than for each prefix in
799 (linkers_used): New global.
800 * tests/link_dist.test: New test.
801 * tests/Makefile.am (TESTS): Added link_dist.test.
803 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
805 Dissociate testsuite 'make' invocations from outer 'make'.
806 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
807 environment variables.
808 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
810 * tests/substref.test: Likewise.
812 2001-08-08 Richard Boulton <richard@tartarus.org>
814 * tests/cond18.test: New file.
815 * tests/cond19.test: New file.
816 * tests/cond20.test: New file.
817 * tests/cond4.test: Updated to check the generated _OBJECTS more
819 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
822 2001-08-08 Richard Boulton <richard@tartarus.org>
824 * automake.in (file_contents_internal): if a rule is conditionally
825 defined, define the standard automake definition for it for those
826 conditions which are not conditionally defined.
827 (invert_conditions): New function: invert a list of conditionals.
829 * tests/cond14.test: New file.
830 * tests/cond15.test: New file.
831 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
833 2001-08-05 Tom Tromey <tromey@redhat.com>
835 * tests/Makefile.am (TESTS): Added dejagnu2.test.
836 * tests/dejagnu2.test: New file.
837 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
838 * automake.in (handle_scripts): Removed dead code.
839 (handle_tests_dejagnu): Don't handle site.exp generation
842 2001-08-04 Richard Boulton <richard@tartarus.org>
844 * tests/cond17.test: New file: test for being able to define an
845 object to be generated in different ways according to a
847 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
848 (TESTS): Added cond17.test.
850 2001-08-02 Richard Boulton <richard@tartarus.org>
852 * automake.in (variable_conditions_sub): Handle variable
853 substitution refs when computing conditions based on subvariable
854 conditions. Fixes substitution refs of system variables when sub
855 variable is conditional.
856 (SUBST_REF_PATTERN): New global.
857 * tests/cond16.test: New file: regression test for variable
859 * test/Makefile.am (TESTS): Added cond16.test.
861 2001-08-03 Tom Tromey <tromey@redhat.com>
863 * tests/substref.test: Require GNU make; backed out previous
866 * tests/substref.test: Handle entering/leaving directory
869 2001-08-03 Richard Boulton <richard@tartarus.org>
871 * automake.in (value_to_list): Check for whether $from is defined,
872 rather than whether it is true, so that empty $froms are allowed in
873 substitution reference patterns.
875 * tests/substref.test: New file: test behavior of substitution
876 references when the $from side of the substitution is empty.
877 * tests/Makefile.am (TESTS): Added substref.test.
879 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
881 * m4/install-sh.m4: New file.
882 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
883 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
884 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
885 for install.sh any longer, always use install-sh, don't even
886 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
887 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
889 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
891 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
893 * automake.texi (EXEEXT): Clarify.
895 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
897 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
899 * m4/auxdir.m4: More comments.
901 2001-07-31 Richard Boulton <richard@tartarus.org>
902 Raja R Harinath <harinath@cs.umn.edu>
904 * automake.in (variable_conditions_sub): Remove @parent_conds
905 argument. This was old logic - duplicate or impossible
906 conditionals are removed later by &variable_conditions_reduce().
907 Fixes tests/cond13.test.
908 (conditionals_true_when): Removed.
909 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
911 2001-07-31 Tom Tromey <tromey@redhat.com>
913 * tests/Makefile.am (TESTS): Added cond13.test.
914 (XFAIL_TESTS): Likewise.
915 * tests/cond13.test: New file.
917 * configure.in: Upped to version 1.4k.
919 * configure.in: Released 1.4j.
921 * lib/config.guess: Updated from master sources.
922 * lib/config.sub: Likewise.
924 2001-07-30 Tom Tromey <tromey@redhat.com>
926 * automake.texi (A Program): Typo. Added subsections and more
927 text about conditional compilation.
928 (A Shared Library): Moved earlier.
929 (Program variables): Updated LINK text. Added AM_CFLAGS.
930 (C++ Support): Added AM_CXXFLAGS.
931 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
934 * tests/Makefile.am (TESTS): Added aclibobj.test.
935 * tests/aclibobj.test: New file.
936 * automake.in (handle_lib_objects_cond): Avoid undefined variable
938 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
940 * automake.texi (Dist): Mention other distribution types.
943 2001-07-29 Tom Tromey <tromey@redhat.com>
945 * automake.texi (Program and Library Variables): Texinfo fix.
946 From Alexey Mahotkin.
948 2001-07-28 Tom Tromey <tromey@redhat.com>
950 * automake.texi (Strictness): Mention Cygnus mode.
953 (Canonicalization): Likewise.
954 (Install): Add `nobase_' to example; typo fix.
956 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
958 (Options): Texinfo fixes; some text updates.
961 2001-07-27 Tom Tromey <tromey@redhat.com>
963 * automake.texi (Invoking Automake): Document --Werror and
966 2001-07-26 Tom Tromey <tromey@redhat.com>
968 * tests/nolink.test: Added no-exeext.
970 * automake.in (check_variable_defined_unconditionally): Don't call
973 * automake.texi (Optional): Don't mention ALL_LINGUAS.
975 * automake.in (seen_linguas, all_linguas, all_linguas_line):
977 (handle_gettext): Don't do any checking of the languages.
978 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
980 * automake.in (am_print_error): New function.
982 (am_file_error): Likewise.
983 (am_line_error): Likewise.
984 (am_conf_error): Likewise.
985 (am_conf_line_error): Likewise.
987 * automake.texi (Options): Document no-exeext.
988 * automake.in (handle_options): Recognize no-exeext.
989 (rule_define): Handle no-exeext.
990 * tests/Makefile.am (TESTS): Added new file.
991 * tests/exeext2.test: New file.
993 * automake.in (make_input_list): Removed.
994 (scan_autoconf_config_files): Don't add to make_input_list.
995 (scan_one_autoconf_file): Don't use make_input_list.
996 (scan_autoconf_files): Use make_list, not make_input_list.
997 (scan_autoconf_files): Likewise.
999 * automake.in (seen_exeext): Removed.
1000 (generate_makefile): Don't define EXEEXT or OBJEXT.
1001 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
1002 (am_install_var): Don't check $seen_exeext.
1003 (handle_programs): Likewise.
1004 (rule_define): Allow x to override x$(EXEEXT), for now.
1005 (file_contents_internal): Only define rule if rule_define allows
1007 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
1009 2001-07-25 Tom Tromey <tromey@redhat.com>
1012 * tests/pr9.test: Require GNU make.
1013 * tests/dirname.test: Don't use `-u'.
1015 2001-07-22 Tom Tromey <tromey@redhat.com>
1017 * tests/Makefile.am (TESTS): Added auxdir2.test.
1018 (XFAIL_TESTS): Likewise.
1019 * tests/auxdir2.test: New file.
1021 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
1022 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
1024 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
1025 * automake.in (am_install_var): Add $(EXEEXT) even if program name
1026 holds `.'. Don't add $(EXEEXT) if program name already has it.
1027 (handle_programs): Don't add $(EXEEXT) if user already did.
1028 (make_paragraphs): Don't compute EXEEXT.
1030 * tests/Makefile.am (TESTS): Added exeext.test.
1031 (XFAIL_TESTS): Likewise.
1032 * tests/exeext.test: New file.
1034 2001-07-22 Tom Tromey <tromey@redhat.com>
1036 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
1037 `prog.exe' on Cygwin with libtool. From Robert Collins.
1039 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1041 * tests/dirname.test: Explicitly use $SHELL to run the
1042 script; this avoids failures on DJGPP.
1043 * tests/install2.test: Skip if 'chmod 000' doesn't make
1046 2001-07-21 Tom Tromey <tromey@redhat.com>
1048 * tests/libtool2.test: Check for libtoolize.
1050 * tests/Makefile.am (TESTS): Added substtarg.test.
1051 (XFAIL_TESTS): Likewise.
1052 * tests/substtarg.test: New file.
1054 * automake.in (handle_dist): Handle case where aux dir doesn't
1055 have a Makefile. Fixes depdist.test.
1056 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
1057 * tests/depdist.test: Look for config/depcomp.
1059 * tests/Makefile.am (TESTS): Added depdist.test.
1060 (XFAIL_TESTS): Likewise.
1061 * tests/depdist.test: New file. From Eric Magnien.
1063 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
1064 AC_PROG_CC_C_O does require AC_PROG_CC.
1067 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
1069 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
1070 output is suitable for make.
1072 * automake.texi (Macros): Document AM_PROG_AS.
1073 (Assembly Support): New node.
1074 * m4/Makefile.am (m4data_DATA): Added as.m4.
1075 * m4/as.m4: New file.
1077 * automake.texi (Tags): Added uref to global tags.
1079 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1081 * automake.in (handle_single_transform_list): Use $(DEPDIR)
1082 instead of hardcoding '.deps'.
1083 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
1085 2001-07-20 Derek Price <dprice@collab.net>
1087 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
1089 * tests/dirname.test: New test.
1090 * tests/stamph2.test: New test.
1091 * tests/Makefile.am: Add new tests.
1092 * tests/Makefile.in: Regenerated.
1094 2001-07-19 Tom Tromey <tromey@redhat.com>
1096 * automake.texi (Tags): Document GTAGS_ARGS.
1097 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1099 2001-07-19 Tom Tromey <tromey@redhat.com>
1100 Alexandre Duret-Lutz <duret_g@epita.fr>
1102 Fix for ccnoco.test, subobj8.test:
1103 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1104 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1106 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1107 Use AM_AUX_DIR_EXPAND.
1108 * lib/compile: Handle case where `-o' argument is the name of an
1109 executable, not an object file.
1110 * m4/auxdir.m4: New file, from...
1111 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1112 * automake.in (handle_single_transform_list, lang_c_rewrite):
1113 Require compile using `require_config_file'.
1115 2001-07-19 Tom Tromey <tromey@redhat.com>
1117 * automake.texi (Program and Library Variables): Added X example
1120 2001-07-19 Tom Tromey <tromey@redhat.com>
1122 * automake.texi (Distributing): Updated to reflect new license.
1124 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1126 * automake.in (require_build_directory): New function, extracted
1128 (handle_single_transform_list): ... here.
1129 (require_build_directory_maybe): New function.
1130 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1131 require_build_directory_maybe() to ensure the subdirectory
1132 in which a target may lie will exist when the target is created.
1133 (handle_libraries, handle_ltlibraries): Use basename before
1134 checking library name.
1135 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1136 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1137 * lib/am/program.am (%PROGRAM%): Likewise.
1139 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1141 * m4/missing.m4: Reword comment.
1143 2001-07-18 Pavel Roskin <proski@gnu.org>
1145 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1146 * tests/gcj.test: Likewise.
1147 * tests/gcj2.test: Likewise.
1148 * tests/gcj3.test: Likewise.
1150 2001-07-18 Tom Tromey <tromey@redhat.com>
1152 * lib/compile: Change how lockdir is computed. If linking or
1153 compiling without `-o', just run the compiler.
1155 * tests/Makefile.am (TESTS): Added ccnoco.test.
1156 (XFAIL_TESTS): Likewise.
1157 * tests/ccnoco.test: New file.
1159 2001-07-17 Tom Tromey <tromey@redhat.com>
1161 * lib/ylwrap: Added special exception.
1162 * lib/py-compile: Added license.
1163 * lib/mdate-sh: Added special exception.
1164 * lib/elisp-comp: Added special exception.
1165 * lib/compile: Added special exception.
1166 * lib/depcomp: Added special exception.
1168 Report from Motoyuki Kasahara:
1169 * tests/make.test: Use am__include.
1170 * tests/exsource.test: Use am__include.
1171 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1172 * automake.in (handle_languages): Use am__include and am__quote.
1174 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1175 * m4/init.m4: Updated callers.
1177 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1179 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1180 * aclocal.in (scan_configure, add_file): Handle the full macro
1181 name even if it contains numbers, such as I18N.
1183 2001-07-16 Tom Tromey <tromey@redhat.com>
1185 * automake.texi (Dependencies): Link to dependency tracking page.
1186 (Data): Mention dist_.
1187 (Clean): Mention clean heuristics.
1188 (Install): Mention nobase_.
1190 * automake.texi (Program and Library Variables): Document _LINK.
1192 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1194 * automake.in (handle_libraries): Allow libraries to lie in
1195 a subdirectory by constraining only the basename to start
1196 with 'lib', not the whole path.
1198 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1200 * tests/subobj8.test: New file.
1201 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1203 2001-07-16 Tom Tromey <tromey@redhat.com>
1205 Fix for PR automake/212:
1206 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1207 (uninstall-%DIR%LISP): Likewise.
1209 2001-07-15 Tom Tromey <tromey@redhat.com>
1211 * automake.in (usage): Rewrote code to handle columnization.
1212 From Alexey Mahotkin and Maxim Sinev.
1214 Report from Ralf Corsepius:
1215 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1216 (SUFFIX_RULE_PATTERN): Likewise.
1217 * tests/Makefile.am (TESTS): Added cxx.test.
1218 * tests/cxx.test: New file.
1220 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1221 From Shigio Yamaguchi.
1223 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1225 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1226 remain after "make uninstall".
1228 2001-07-14 Tom Tromey <tromey@redhat.com>
1230 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1232 * lib/missing (makeinfo): Redirect stdout and stderr outside
1233 subshell. From Alexandre Oliva.
1235 2001-07-14 Akim Demaille <akim@epita.fr>
1237 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1238 `\b(foo|bar)\b' is what we want.
1239 * aclocal.in: Likewise.
1241 2001-07-14 Akim Demaille <akim@epita.fr>
1243 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1245 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1246 actually modified to require AM_DEPENDENCIES.
1247 Rename `confdir' as `conftest.dir' so that the configure trap
1250 2001-07-04 Tom Tromey <tromey@redhat.com>
1252 Fix for nolink.test:
1253 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1254 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1255 * automake.in (am_install_var): Only rewrite PROGRAMS if
1257 (make_paragraphs): Always define %EXEEXT%.
1259 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1261 * tests/nolink.test: New file.
1262 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1264 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1266 * automake.in (scan_texinfo_file): Add the second argument to
1267 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1268 itself may not be used directly.
1270 2001-07-04 Tom Tromey <tromey@redhat.com>
1273 * lib/missing (makeinfo): Use subshell, not explicit sh
1276 * automake.texi (Headers): Mention that we prefer uninstalled
1277 headers in _SOURCES.
1278 (ANSI): Mention cross-compilation limitation.
1280 2001-07-03 Tom Tromey <tromey@redhat.com>
1282 * configure.in: Upped to 1.4i.
1284 * configure.in: Released 1.4h.
1286 * lib/config.guess, lib/config.sub: Updated.
1288 2001-07-02 Tom Tromey <tromey@redhat.com>
1290 Fix for libtool2.test:
1291 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1292 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1293 * automake.in (generate_makefile): Call handle_libtool
1295 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1297 * tests/libtool2.test: Look for `.lo' files to be removed.
1299 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1301 * tests/Makefile.am (TESTS): Removed dup.test.
1302 * tests/dup.test: Removed.
1303 * aclocal.in (scan_file): Don't give error for duplicate macro.
1305 2001-07-01 Tom Tromey <tromey@redhat.com>
1307 * automake.texi (Program and Library Variables): Document
1308 subdir-objects. Document fact that per-object flags override AM_
1310 (Options): Likewise.
1311 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1312 (Multilibs): New node.
1313 (Macros): Documented missing macros.
1314 (Auxiliary Programs): New node.
1316 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1317 mode, then simply fail.
1319 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1321 * lib/ylwrap: Improve support for DOS paths (and paths
1322 containing backslashes in general).
1324 2001-07-01 Tom Tromey <tromey@redhat.com>
1326 * lib/missing: Added special exception to license.
1329 * lib/missing: Updated. Added comment explaining configure.ac
1332 * lib/depcomp: Reorder arguments to gcc3.
1333 From Per Oyvind Hvidsten.
1335 * tests/Makefile.am (TESTS): Added libtool2.test.
1336 * tests/libtool2.test: New file.
1338 * automake.texi (Program and Library Variables): Added example for
1341 2001-06-29 Tom Tromey <tromey@redhat.com>
1343 * tests/cond11.test: Use `=', not `=='.
1344 * tests/cond12.test: Look for automake in build directory, not
1347 2001-06-29 Richard Boulton <richard@tartarus.org>
1349 * automake.in (conditionals_true_when): Pass first parameters by
1350 reference, avoiding bug which put all parameters in @CONDS instead
1351 of @WHENS. Report by Kalle Olavi Niemitalo.
1352 Take a single WHEN instead of an array of WHENS.
1353 Remove FIXME; can't now have an empty @WHENS.
1354 (conditional_is_redundant): New sub.
1355 (variable_conditions_reduce): Check whether each condition is
1356 implied by any of the other conditions (other those already
1357 discarded), rather than checking only against those already
1358 considered (and kept). Also, fix sense of check: was keeping
1359 tautologous terms instead of discarding them. Use
1360 conditional_is_redundant instead of conditionals_true_when.
1361 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1362 * tests/cond11.test: New file.
1363 * tests/cond12.test: New file.
1365 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1367 * automake.in (saw_sources_p): Work even if there are more
1368 than one header files, and more than of one type of header.
1369 * tests/Makefile.am (TESTS): Added new file.
1370 * tests/depend4.test: New file.
1372 2001-06-28 Tom Tromey <tromey@redhat.com>
1374 * lib/am/libs.am (RANLIB): Don't define.
1376 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1378 * automake.in (am_install_var): Assign 1 to $first on
1381 2001-06-23 Tom Tromey <tromey@redhat.com>
1384 * lib/ylwrap: Changed usage.
1385 * lib/am/yacc.am: Rewrote to use new substitutions.
1386 * lib/am/lex.am: Likewise.
1387 * automake.in (handle_languages): Skip files whose language
1388 doesn't have a compiler. Handle `define_flag' attribute.
1389 Changed '$' to "\$" to aid Emacs fontification.
1390 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1391 `_target_hook' and `define_flag'.
1392 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1393 and `compiler' attributes. Removed `linker', `derived_autodep',
1394 and `ansi' attributes. Added `define_flag'.
1395 (yacc, yaccxx): Added `_target_hook'.
1396 (saw_extension): Count number of times extension seen.
1397 (count_files_for_language): New sub.
1398 (saw_sources_p): Use it.
1399 (handle_single_transform_list): Allow language rewrite function
1400 to return a new source extension. Call target_hook.
1401 (yacc_sources, lex_sources): Removed.
1402 (initialize_per_input): Don't initialize yacc_sources or
1404 (lang_yacc_rewrite): Rewrote.
1405 (lang_yaccxx_rewrite): Likewise.
1406 (lang_lex_rewrite): Likewise.
1407 (lang_lexxx_rewrite): Likewise.
1408 (output_yacc_build_rule): Removed.
1409 (output_lex_build_rule): Removed.
1410 (lang_yacc_finish): Removed build rule generation.
1411 (lang_lex_finish): Likewise.
1412 (DASH_D_PATTERN): New global.
1413 (lang_yacc_target_hook): New function.
1414 (_target_hook): New function.
1415 (register_language): Default `define_flag'.
1416 * tests/yacc5.test: Updated test.
1417 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1418 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1419 for all YFLAGS variables.
1421 2001-06-20 Tom Tromey <tromey@redhat.com>
1423 * tests/yacc5.test: Check for per-executable YFLAGS.
1425 2001-06-19 Tom Tromey <tromey@redhat.com>
1427 * tests/Makefile.am (TESTS): Added yacc5.test.
1428 * tests/yacc5.test: New file.
1430 2001-06-17 Tom Tromey <tromey@redhat.com>
1432 * automake.in (require_file_internal): Check for already-required
1433 file after searching for it, and only if it is not found. Don't
1434 use `readlink' when checking for dangling symlink. Work if
1435 --force-missing specified.
1436 * tests/acoutput2.test: Also test --force-missing.
1438 Fix for libtool.test:
1439 * automake.in (generate_makefile): Call handle_libtool.
1440 (handle_libtool): New sub.
1441 (handle_compile): Don't read `libtool' file.
1443 * tests/acoutput2.test: New file.
1444 * tests/Makefile.am (TESTS): Added acoutput2.test.
1446 2001-06-15 Tom Tromey <tromey@redhat.com>
1448 * tests/Makefile.am (TESTS): Added libtool.test.
1449 * tests/libtool.test: New file.
1451 2001-06-14 Tom Tromey <tromey@redhat.com>
1453 Fix some lisp bugs reported by Bruno Haible:
1454 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1456 (install-%DIR%LISP): Handle case where lispdir is not defined.
1457 (uninstall-%DIR%LISP): Likewise.
1458 (.el.elc): Added `else' clause.
1460 Fix for bug reported by Steve M. Robbins:
1461 * automake.in (handle_single_transform_list): When building a file
1462 from a subdirectory, continue to use `AM_' prefix.
1463 * tests/Makefile.am (TESTS): Added subobj7.test.
1464 * tests/subobj7.test: New file.
1466 * lib/am/configure.am ($(top_builddir)/config.status): Added
1467 $(top_builddir) prefix to work around problems with some vendor
1468 makes. From Nicholas Joly.
1470 * automake.in (yacc_lex_finish_helper): Find ylwrap in
1471 top_srcdir. From Tim Van Holder.
1472 * tests/Makefile.am (TESTS): Added yacc6.test.
1473 * tests/yacc6.test: New file.
1475 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
1477 * tests/defs, tests/installsh.test: Properly support
1480 2001-06-14 Tom Tromey <tromey@redhat.com>
1482 * tests/Makefile.am (TESTS): Added mdate4.test.
1483 * tests/mdate4.test: New file.
1485 * aclocal.in (scan_m4_files): Removed unused variable.
1487 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1489 * aclocal.in (scan_m4_files): Tweak the building of &search so
1490 that multiple macro names can be found on the same line. Ensure
1491 we match whole macro name, not only substrings.
1493 2001-06-12 Tom Tromey <tromey@redhat.com>
1495 * automake.texi (ANSI): Minor clarification.
1496 (Other GNU Tools): Don't mention Guile.
1498 (Java Support): Mention file extensions.
1499 (Man pages): Mention dist_. Don't mention info pages.
1501 2001-06-11 Tom Tromey <tromey@redhat.com>
1503 * automake.texi (Program variables): Document AM_CPPFLAGS.
1505 (Java Support): Document AM_GCJFLAGS.
1506 (Support for Other Languages): Removed `fixme'; added link to
1507 suffix rule handling.
1509 * automake.texi (Program and Library Variables): Document _LIBADD,
1510 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
1512 2001-06-11 Kevin Dalley <kevind@rahul.net>
1514 * missing: Support configure.ac.
1516 2001-06-08 Tom Tromey <tromey@redhat.com>
1518 * tests/version4.test: New file.
1519 * automake.in (version_check): New sub.
1520 (handle_options): Use it.
1521 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1522 (TESTS): Added version4.test.
1523 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1524 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
1526 2001-06-04 Kevin Dalley <kevind@rahul.net>
1528 * lib/am/dejagnu.am (site.exp): Fix typo.
1530 2001-06-02 Tom Tromey <tromey@redhat.com>
1532 * automake.in (variable_conditions_sub): Move parent-only code
1534 (variable_conditions): ... to here.
1535 (variable_conditions_sub): Include this variable's conditions in
1536 the resulting condition list.
1537 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
1539 2001-06-01 Tom Tromey <tromey@redhat.com>
1541 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
1543 * tests/ltdeps.test: New file. Report from Lars J. Aas.
1545 2001-05-31 Tom Tromey <tromey@redhat.com>
1547 * automake.texi (Alternative): New node.
1548 (Macros): Use new name for gcc.
1549 (Java Support): Likewise.
1550 (Dependencies): Rewrote.
1551 (Invoking Automake): (Re-)document -i, --ignore-deps, and
1554 * automake.texi (Top level): Removed erroneous spaces. Documented
1557 2001-05-29 Tom Tromey <tromey@redhat.com>
1559 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
1561 * automake.texi (Include): Rewrote.
1562 (Suffixes): Remove Java example.
1563 (Java): Added more explanation. Document variables.
1564 (Uniform): Mention JAVA as a primary.
1565 (Python): Updated for new Python support.
1566 (Sources): Added a weak example.
1568 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
1570 * automake.texi (A Program): Mention `check' prefix.
1571 (Program and Library Variables): New node.
1572 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
1574 (etags): Mention per-program flags.
1575 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
1578 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
1581 2001-05-28 Tom Tromey <tromey@redhat.com>
1583 * m4/Makefile.am (MAINT_CHARSET): Removed.
1584 * Makefile.am (MAINT_CHARSET): Removed.
1585 * automake.in (maint_charset, dist_charset): Removed.
1586 (local_maint_charset): Removed.
1587 (initialize_per_input): Don't use maint_charset.
1588 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
1590 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
1592 (.%SUFFIX%.dvi): Likewise.
1593 (.%SUFFIX%): Likewise.
1595 2001-05-27 Tom Tromey <tromey@redhat.com>
1597 * automake.in (handle_multilib): Only add multilib support code at
1599 * lib/am/multilib.am: Handle invocation of *-multi targets
1600 differently for SUBDIRS and non-SUBDIRS Makefiles.
1601 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
1602 Only add multilib code when the Makefile in question is actually
1605 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
1607 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1609 * automake.in (handle_single_transform_list): Skip unknown
1612 2001-05-25 Tom Tromey <tromey@redhat.com>
1614 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
1616 2001-05-24 Tom Tromey <tromey@redhat.com>
1618 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1619 directory in some situations.
1621 * automake.in (generate_makefile): Better explanation for ansi2knr
1624 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1626 * automake.in (handle_languages): Skip unknown extensions.
1627 (derive_suffix): Check whether $extension_map{$source_ext}
1628 is undefined, not empty.
1630 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1632 * automake.in (read_am_file): Ignore trailing backslash on
1635 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1637 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1639 2001-05-21 Akim Demaille <akim@epita.fr>
1641 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1642 multiple times'' warning.
1644 2001-05-20 Tom Tromey <tromey@redhat.com>
1646 * configure.in: Updated to 1.4g.
1648 * configure.in: Updated to 1.4f.
1650 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1652 * lib/ansi2knr.c: New version.
1654 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1657 2001-05-19 Tom Tromey <tromey@redhat.com>
1659 * config.guess, config.sub: New versions from FSF.
1661 * Makefile.am (fetch): Compare against files in srcdir.
1663 For for ansi2knr report from Harlan Stenn:
1664 * automake.in (generate_makefile): Run handle_compile before
1667 2001-05-18 Tom Tromey <tromey@redhat.com>
1669 * automake.in: Reverted erroneous checkin.
1671 2001-05-18 Akim Demaille <akim@epita.fr>
1673 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1674 to missing `install-info'.
1676 2001-05-17 Tom Tromey <tromey@redhat.com>
1678 * automake.in (lang_c_finish): Use `rm -f'.
1680 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1681 * tests/Makefile.am (TESTS): Added new file.
1682 * tests/ansi5.test: New file.
1684 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1686 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1688 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1689 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1690 * automake.texi (Requirements): Document the use of the STRIP
1691 variable in cross-compilation environments.
1693 2001-05-17 Tom Tromey <tromey@redhat.com>
1695 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1696 to no dependency tracking.
1697 * tests/Makefile.am (TESTS): Added depcomp2.test.
1698 * tests/depcomp2.test: New file. From Pavel Roskin.
1700 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1702 * lib/depcomp (tru64): New dependency tracking mode.
1704 Fix for PR automake/159:
1705 * lib/depcomp (aix): Rewrote.
1708 Fix for PR automake/174:
1709 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1710 * automake.in (read_am_file): Warn if `#' is at start of rule.
1712 2001-05-16 Tom Tromey <tromey@redhat.com>
1714 For PR automake/174:
1715 * tests/Makefile.am (TESTS): Added comment3.test.
1716 (XFAIL_TESTS): Likewise.
1717 * tests/comment3.test: New file.
1719 Fix for PR automake/175:
1720 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1721 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1722 `Leaving directory' messages.
1724 For PR automake/175:
1725 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1726 * tests/make.test: Run test with `make -w'.
1728 * tests/Makefile.am (TESTS): Removed maintclean.test.
1729 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1731 * lib/am/configure.am (maintainer-clean-am): Removed.
1732 (maintainer-clean-conf): Removed.
1733 * tests/maintclean.test: Removed.
1735 2001-05-15 Tom Tromey <tromey@redhat.com>
1737 Fix for PR automake/177:
1738 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1739 automake or aclocal.
1741 Fix for maintclean.test:
1742 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1743 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1745 (distclean, maintainer-clean): Moved to...
1746 * lib/am/configure.am: ... here.
1747 (distclean): Remove config.cache and config.log.
1748 (maintainer-clean): Removed.
1749 (maintainer-clean-conf): New target.
1750 (maintainer-clean-am): New target.
1752 * tests/Makefile.am (TESTS): Added maintclean.test.
1753 (XFAIL_TESTS): Likewise.
1754 * tests/maintclean.test: New file.
1756 Fixes PR automake/175:
1757 * tests/target-cflags.test: Use $needs_gnu_make.
1758 * tests/exsource.test: Use $needs_gnu_make.
1759 * tests/make.test: Require GNU make.
1760 * tests/defs (needs_gnu_make): Compute.
1762 2001-05-14 Tom Tromey <tromey@redhat.com>
1764 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1767 Fix for texinfo10.test.
1768 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1769 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1770 * automake.in (handle_texinfo_helper): New sub.
1771 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1772 * tests/texinfo10.test: Added more cases.
1774 Fix for yaccvpath.test:
1775 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1776 * lib/am/distdir.am (distdir): Always look for file in build
1778 * lib/ylwrap: Quote the `#line' regular expression.
1779 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1780 change; don't run sed on the generated file.
1781 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1782 to make sure parser will be rebuilt at dist time.
1784 2001-05-13 Pavel Roskin <proski@gnu.org>
1786 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1787 beginning with `##'.
1788 * automake.texi (General Operation): Document it.
1790 2001-05-13 Tom Tromey <tromey@redhat.com>
1792 Reported by Rainer Orth:
1793 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1795 * tests/Makefile.am (TESTS): Added distname.test.
1796 * tests/distname.test: New file.
1798 * Makefile.am (dist_pkgdata_DATA): Removed.
1800 * tests/defs: Find files to copy in lib/.
1801 * automake.in (perllibdir): Set to Automake directory.
1802 * ansi2knr.c, ansi2knr.1: Removed.
1803 * Makefile.am (dist_am_DATA): Removed.
1805 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1807 (scriptdir): Removed.
1808 (dist_script_DATA): Likewise.
1809 (install-data-hook): Likewise.
1810 (installcheck-local): Likewise.
1811 (TAGS_FILES): Removed amfiles.
1812 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1813 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1814 point it to the right directory.
1815 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1816 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1817 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1818 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1819 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1820 mans.am, multilib.am, program.am, progs.am, python.am,
1821 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1822 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1823 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1824 (AUTOMAKE): Use --libdir, not --amdir.
1825 Ues AC_CONFIG_AUX_DIR.
1826 * lib/Makefile.am (SUBDIRS): Added `am'.
1827 (scriptdir): New macro.
1828 (dist_script_DATA): Likewise.
1829 (dist_pkgdata_DATA): Likewise.
1830 (install-data-hook): New target.
1831 (installcheck-local): Likewise.
1832 * lib/am/Makefile.in: New file.
1833 * lib/am/Makefile.am: Removed everything except amdir and
1836 2001-05-13 Akim Demaille <akim@epita.fr>
1838 * automake.in ($pkgdata_dir): Rename as...
1840 ($am_dir): Remove, replace its uses with $libdir.
1841 (&parse_arguments): Replace --amdir with --libdir.
1842 * automake.texi (Invoking Automake): Document --libdir, not
1844 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1846 2001-05-13 Tom Tromey <tromey@redhat.com>
1848 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1850 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1851 Correctly look at AMDEP_TRUE, not AMDEP.
1853 Report from Robert Boehne:
1854 * tests/Makefile.am (TESTS): Added depend2.test.
1855 * tests/depend2.test: New file.
1857 2001-05-13 James Henstridge <james@daa.com.au>
1859 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1860 Point pythondir at site-packages directory. Rename
1861 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1862 pyexecdir. Removed package/module argument. Removed
1863 PYTHON_SITE_INSTALL. Added version checking.
1865 2001-05-14 Jim Meyering <meyering@lucent.com>
1867 * automake.in (macro_define): Change one remaining use of
1868 `variable_dump' to `macro_dump'.
1870 2001-05-13 Tom Tromey <tromey@redhat.com>
1872 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1875 2001-05-13 Akim Demaille <akim@epita.fr>
1877 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1878 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1879 (&am_primary_prefixes): Use `map' rather than `grep'.
1881 2001-05-13 Akim Demaille <akim@epita.fr>
1883 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1885 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1886 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1888 2001-05-13 Akim Demaille <akim@epita.fr>
1890 * lang-compile.am: New file, loaded once per language.
1891 * depend2.am: Move definitions loaded once per language in the
1892 aforementioned file.
1893 * automake.in (&handle_languages): Load it.
1894 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1895 handled by lang-compile.am.
1897 2001-05-13 Tom Tromey <tromey@redhat.com>
1899 * tests/Makefile.am (TESTS): Added python.test.
1900 * tests/python.test: New file.
1901 * automake.in (handle_languages): Use
1902 config_aux_dir_set_in_configure_in.
1903 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1904 py-compile, not py_comp. Define py_compile macro.
1906 2001-05-13 Derek Price <dprice@openavenue.com>
1908 * automake.in (require_file_with_conf_line,
1909 require_file_with_line, require_file): Pass a @require_file_path
1910 of $relative_dir instead of '.' to require_file_internal so that
1911 all the special casing of '.' can be removed elsewhere.
1912 (require_config_file, require_conf_file_with_line,
1913 require_conf_file_with_conf_line): Remove special casing for '.'
1914 and make sure $config_aux_dir is maintained properly.
1915 (require_file_internal): Remove special casing of '.' and set
1916 @require_file_path when missing files are added.
1917 (maybe_push_required_file): Remove special casing of '.'
1918 (handle_dependencies): Remove a workaround for a bug now fixed
1919 and remove $config_aux_dir special casing.
1920 (handle_configure): Remove special casing for $config_aux_dir
1921 (handle_python): Ditto.
1922 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1923 switch on the value of $config_aux_dir_set_in_configure_in.
1924 (handle_texinfo): Ditto.
1925 (scan_one_configure_file): Set $config_aux_dir and
1926 $config_aux_dir_set_in_configure_in properly so special casing
1927 on the value of $config_aux_dir can be removed elsewhere.
1928 * tests/depcomp.test: New file.
1929 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1930 first subdir containing a C file.
1931 * tests/libobj2.test: Ditto.
1932 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1934 2001-05-12 Tom Tromey <tromey@redhat.com>
1936 * tests/gcj.test: Updated for gcj dependency tracking.
1937 * tests/gcj2.test: Likewise.
1939 Fixes PR automake/169.
1940 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1942 * automake.in (java): Added autodep entry.
1943 * tests/Makefile.am (TESTS): Added gcj3.test.
1944 * tests/gcj3.test: New file.
1946 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1948 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1949 stop at the first '='.
1950 * tests/Makefile.am (TESTS): Added vars.test.
1951 * tests/vars.test: New file.
1953 2001-05-12 Akim Demaille <akim@epita.fr>
1955 * automake.in (&handle_single_transform_list): Simplify
1956 computation of $object and $this_obj_ext.
1957 * tests/lex3.test: Merge into...
1958 * tests/lex.test: here.
1959 * tests/pr19.test: Improve and rename as...
1960 * tests/lex3.test: this.
1962 2001-05-09 Tom Tromey <tromey@redhat.com>
1964 * automake.in (read_am_file): Correctly compute $saw_bk.
1965 (scan_autoconf_files): Ensure configure_dist_common is always
1967 * tests/defs (AUTOMAKE): Added --Werror.
1969 2001-05-09 Pavel Roskin <proski@gnu.org>
1971 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1974 2001-05-09 Tom Tromey <tromey@redhat.com>
1976 * tests/werror.test: Use `rm -f'.
1978 2001-05-09 Akim Demaille <akim@epita.fr>
1980 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1982 2001-05-09 Akim Demaille <akim@epita.fr>
1984 * automake.in: Remove some code left from bad patches.
1985 (&handle_dependency): Remove, for the same reason.
1987 2001-05-09 Akim Demaille <akim@epita.fr>
1989 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1990 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1991 (&define_standard_variables): Don't transform %top_builddir% since...
1992 * header-vars.am: Use %TOPDIR% instead.
1994 2001-05-09 Akim Demaille <akim@epita.fr>
1996 * automake.in (@objects): Remove, unused.
1997 Remove all the code related to it, and to former `$(OBJECTS)'.
1999 2001-05-08 Tom Tromey <tromey@redhat.com>
2002 * ylwrap: Handle arguments to program. Remove old code that tried
2003 to avoid absolute paths and add new code to do it in all cases.
2004 Removed ancient logic that tried to deal with relative path.
2005 * tests/Makefile.am (TESTS): Added yacc4.test.
2006 * tests/yacc4.test: New file.
2008 Fix for PR automake/149 and werror.test:
2009 * automake.in (require_file_internal): Use am_line_warning or
2010 am_conf_line_warning when suppressing error.
2011 (am_line_warning): New sub.
2012 (am_conf_line_warning): Save and restore warning signal.
2013 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
2015 Fix for PR automake/36:
2016 * tests/Makefile.am (TESTS): Added asm.test.
2017 * tests/asm.test: New file.
2018 * automake.in (asm): Use ASFLAGS and AS.
2019 (lang_asm_finish): New sub.
2021 * automake.in (read_am_file): Removed debugging code.
2023 For PR automake/149:
2024 * tests/Makefile.am (TESTS): Added werror.test.
2025 (XFAIL_TESTS): Likewise.
2026 * tests/werror.test: New file.
2028 * automake.in (conditional_true_when): Don't return if we see
2031 * tests/objc.test: Removed.
2032 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
2035 * automake.in (subst): New sub.
2036 (handle_languages): Use it.
2037 (output_lex_build_rule): Likewise; also use _am_quote.
2038 (check_libobjs_sources): Likewise.
2039 (make_paragraphs): Use subst.
2041 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
2044 * automake.in (file_contents_internal): Prototype now `$$%'.
2045 (register_language): Prototype now `%'.
2047 Fixes test subobj6.test and PR automake/160:
2048 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
2049 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
2050 (distclean-compile): Added DISTRMS.
2051 * tests/subobj6.test (wish_SOURCES): Updated to reflect
2052 `mostlyclean' use; added test for non-subdir case.
2053 * automake.in (compile_clean_files): New global.
2054 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
2055 (initialize_per_input): Initialize compile_clean_files.
2056 (handle_single_transform_list): Set compile_clean_files entries.
2057 (handle_compile): Handle compilation cleanups.
2059 2001-05-08 Lars J. Aas <larsa@sim.no>
2061 * automake.texi (Canonicalizing Automake macros): Document not
2062 canonicalizing strudels (@) anymore.
2064 2001-05-08 Akim Demaille <akim@epita.fr>
2066 * distdir.am (dist-all): Build all the flavors using a single
2069 2001-05-08 Akim Demaille <akim@epita.fr>
2071 * automake.in (&file_contents_internal): Apply the @cond_stack to
2072 the rules and assignments.
2073 Don't rely on `$.' as it's biased by &make_paragraphs.
2074 Don't remove backslashes in variable values.
2076 2001-05-08 Akim Demaille <akim@epita.fr>
2078 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
2079 ($RULE_PATTERN): Use that from `&make_paragraphs'.
2080 ($MACRO_PATTERN): Just catch the name of a macro.
2081 ($BOGUS_MACRO_PATTERN): Remove.
2082 ($ASSIGNMENT_PATTERN): New.
2083 (&file_contents_internal, &make_paragraphs): Adjust.
2084 (¯o_define): Catch bad macro names.
2085 (&cond_stack_endif): Better error message.
2086 (&file_contents_internal): Don't remove backslashes in variable
2088 (¯o_define): Do it for `+=' user variables.
2089 (&define_standard_variables): Use `undef' instead of a dummy
2091 (&make_paragraph): Be sure not to chop the trail of hash only
2092 lines: adjust the `##' regexp.
2093 (&rule_define): Fix a bug: don't read $1 but $target.
2094 * tests/condincl.test: Strengthen.
2096 2001-05-08 Akim Demaille <akim@epita.fr>
2098 * automake.in (Language): Add attributes `Name' and `config_vars'.
2099 (&finish): Work properly if there is no _finish.
2100 (Automake): Register language Names and AC_SUBST dependencies.
2101 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2102 (&handle_languages): Once per language, invoke
2103 `define_linker_variables', and check its config_vars.
2104 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2105 (&lang_java_finish): Remove.
2106 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2108 2001-05-08 Akim Demaille <akim@epita.fr>
2110 * automake.in (&file_contents_internal): Accept $IS_AM.
2111 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2113 2001-05-08 Akim Demaille <akim@epita.fr>
2115 * automake.in (am_install_var): Use `next' instead of `if' on the
2118 2001-05-08 Akim Demaille <akim@epita.fr>
2120 * automake.in (Language): Add attributes `lder' and `ld'.
2121 (®ister_language): Specify for cxx, objc, f77, gcj.
2122 (&define_linker_variable): New.
2123 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2124 (&lang_java_finish): Adjust.
2125 (&libtool_compiler): Remove.
2127 2001-05-08 Akim Demaille <akim@epita.fr>
2129 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2130 argument, as you don't use it.
2132 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2135 (&handle_programs): Don't mess with %lex_sources, as you don't use
2138 2001-05-08 Akim Demaille <akim@epita.fr>
2140 * automake.in (Language): Add attribute `link'.
2141 (®ister_language): Specify for cxx, objc, f77, gcj.
2142 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2143 (&lang_java_finish): Adjust.
2145 2001-05-08 Akim Demaille <akim@epita.fr>
2147 * automake.in (&define_compiler_variables): Use only $LANG as
2149 (&handle_languages): Adjust.
2151 2001-05-08 Akim Demaille <akim@epita.fr>
2153 * automake.in (&define_program_variable): Remove.
2154 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2156 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2157 * texinfos.am: Do it.
2159 2001-05-08 Akim Demaille <akim@epita.fr>
2161 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2163 * dejagnu.am: Do it.
2164 (site.exp): Use `if'.
2166 2001-05-08 Akim Demaille <akim@epita.fr>
2168 * automake.in: Formatting changes.
2169 (variable_dump, variables_dump): Rename as...
2170 (macro_dump, macros_dump): these.
2172 2001-05-08 Akim Demaille <akim@epita.fr>
2174 Support `if !COND', `else COND', `end COND'.
2176 * automake.texi (Conditionals): Document it.
2177 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2178 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2179 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2180 a leading `!' before the condition.
2181 (&handle_options): Use `\d'.
2182 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2183 (&read_am_file, &file_contents_internal): Use them.
2184 (&transform): No longer substitute `%!COND%', forcing the use of
2186 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2188 2001-05-08 Akim Demaille <akim@epita.fr>
2190 Uniform handling of per-object compilation rules.
2191 Note: Automake is repaired.
2193 * automake.in (&handle_languages): Output per object rules for all
2194 the objects, not only for those which language supports dependency
2196 Fix Automake: when outputting per-object rules, use `-o' if the
2197 language has no `output_flag', as it's really needed.
2198 (&handle_single_transform_list): Instead of special casing files
2199 which need per object rules but which language don't support
2200 dependency tracking, keep them in the queue for processing by
2201 `&handle_languages'.
2203 2001-05-08 Akim Demaille <akim@epita.fr>
2205 * automake.in (&handle_languages): `ext-compile.am' and
2206 `depend2.am' are now equivalent for generic rules: output only the
2208 * ext-compile.am: Remove.
2210 2001-05-08 Akim Demaille <akim@epita.fr>
2212 Note: This patch breaks Automake. Repaired within two patches.
2214 * automake.in (Language): Replace the attribute `output_arg' with
2215 `compile_flag' and `output_flag'.
2216 (Automake): Adjust language registrations.
2217 (&handle_languages): Transform `-c' and `-o' for both suffix and
2218 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2220 (&handle_single_transform_list): Adjust to `compile_flag' and
2222 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2224 2001-05-08 Akim Demaille <akim@epita.fr>
2226 * automake.in (&handle_languages): Don't transform %COMPILER%.
2227 Use `$lang->compiler' instead of `$pfx' to transform generic
2228 %COMPILE% and %LTCOMPILE%.
2229 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2230 of %COMPILER% and $<.
2232 2001-05-07 Akim Demaille <akim@epita.fr>
2234 * automake.in (&handle_languages): Use the same `%transform' for
2235 both `depend2.am' and `ext-compile.am'.
2236 Delay the definition of `$flag' so it is right before the first use,
2237 and rename as `$flags'.
2239 2001-05-07 Akim Demaille <akim@epita.fr>
2241 * automake.in (&handle_languages): Compute `$ltoutarg' and
2242 `$outarg' independently of dependency code.
2243 There is no use looping on a language's possible extensions since
2244 we loop over used extensions.
2245 Therefore, there is no use for a local `%transform'.
2247 2001-05-07 Akim Demaille <akim@epita.fr>
2249 * automake.in (&handle_languages): Don't use $comp.
2251 2001-05-07 Akim Demaille <akim@epita.fr>
2253 * automake.in (&handle_languages): Merge the two loops over
2254 %extension_seen/%languages into one and group code to be run once
2255 per language together.
2257 2001-05-07 Akim Demaille <akim@epita.fr>
2259 * automake.in (&handle_languages): Move the `if
2260 ($use_dependencies)' block so that loops over extensions and
2261 languages are next to each other.
2263 2001-05-07 Akim Demaille <akim@epita.fr>
2265 * automake.in (&depend2): Remove, merged into...
2266 (&handle_languages): here.
2268 2001-05-07 Akim Demaille <akim@epita.fr>
2270 * automake.in (&finish_languages): Rename as...
2271 (&handle_languages): this.
2272 Include the body of...
2273 (&handle_dependency): this.
2276 2001-05-06 Tom Tromey <tromey@redhat.com>
2279 * tests/Makefile.am (TESTS): Add subdir5.test.
2280 (XFAIL_TESTS): Likewise.
2281 * tests/subdir5.test: New file.
2283 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2284 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2286 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2288 (handle_options): Handle fork identifier in version number.
2290 * automake.texi (Dist): Document distcheck-hook.
2292 * tests/confh4.test: Update to reflect DEFS change.
2293 For PR automake/132.
2295 Fix for PR automake/132:
2296 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2298 (java): Remove INCLUDES and DEFS from compilation.
2299 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2300 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2301 (DEFAULT_INCLUDES): New macro.
2303 * automake.in (usage): Re-align explanatory text.
2304 Fixes PR automake/148.
2306 * automake.texi (Uniform): Don't use @PROGRAMS@.
2307 Fixes PR automake/154.
2309 For PR automake/160:
2310 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2311 (XFAIL_TESTS): Add subobj6.test.
2312 * tests/subobj6.test: New file.
2314 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2315 (Top level): Don't mention `flat'.
2316 (Extending): Likewise.
2317 (User Variables): New node.
2319 * distdir.am (distdir): Make subdirectory for each file.
2320 Fixes test subobj5.test.
2322 * tests/Makefile.am (TESTS): Add new file.
2323 (XFAIL_TESTS): Likewise.
2324 * tests/texinfo10.test: New file.
2326 2001-05-05 Pavel Roskin <proski@gnu.org>
2328 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2329 in the same way as @defcodeindex and @syncodeindex respectively.
2331 2001-05-05 Tom Tromey <tromey@redhat.com>
2333 * mans.am (install-man%SECTION%): Minor cleanup.
2334 (uninstall-man%SECTION%): Likewise.
2336 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2337 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2339 (uninstall-man%SECTION%): Likewise.
2340 * automake.in (handle_man_pages): Handle dist_ and nodist_
2343 * automake.texi (Future): Removed.
2345 (Hello): Don't mention `deep'.
2346 (Top level): Likewise.
2348 * automake.in (conditional_true_when): Use a hash, not index().
2349 Also, a TRUE component always results in a true return.
2350 Fixes test cond10.test. For PR automake/164.
2351 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2353 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2355 For PR automake/164:
2356 * tests/Makefile.am (TESTS): Added new file.
2357 (XFAIL_TESTS): Likewise.
2358 * tests/cond10.test: New file.
2360 2001-05-05 Tom Tromey <tromey@redhat.com>
2362 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2364 (install-info-am): Likewise.
2366 2001-05-05 Pavel Roskin <proski@gnu.org>
2368 * automake.in (scan_texinfo_file): Don't push undefined values
2371 2001-05-05 Richard Boulton <richard@tartarus.org>
2373 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2376 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2378 * automake.in (required_targets): Added uninstall-am.
2380 2001-05-05 Tom Tromey <tromey@redhat.com>
2382 Fix bug reported by Robert Boehne:
2383 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2385 (handle_dependencies): Likewise.
2386 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2387 substitution. Correct diff now has 30 lines. Look for space
2388 after losing `undef'.
2390 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2392 * m4/sanity.m4: Remove the temp file before possible error exits.
2394 2001-05-04 Akim Demaille <akim@epita.fr>
2396 * configure.in: Set perllibdir.
2399 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2401 * automake.in ($pkgdata_dir): New.
2402 (&require_file_internal): Use it.
2404 2001-05-03 Akim Demaille <akim@epita.fr>
2406 Case insensitive FS choke on Automake/ vs automake.
2407 Reported by Tim Van Holder.
2409 * Automake/: Move into...
2410 * lib/: this new directory.
2412 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2414 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2417 2001-04-30 Jim Meyering <meyering@lucent.com>
2419 * automake.in: Remove `/lib' from include directory.
2421 2001-04-27 Akim Demaille <akim@epita.fr>
2423 AM_INIT_AUTOMAKE is no longer optional.
2425 * automake.in ($seen_make_set, $seen_prog_install)
2426 ($seen_arg_prog): Remove.
2427 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2428 Remove related code.
2430 2001-04-27 Akim Demaille <akim@epita.fr>
2432 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2434 * tests/specflags3.test: here.
2436 2001-04-27 Akim Demaille <akim@epita.fr>
2438 * automake.in ($seen_path_xtra): Remove.
2439 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2440 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2442 2001-04-27 Akim Demaille <akim@epita.fr>
2444 * automake.in (&file_contents_internal): Declare it.
2446 2001-04-27 Akim Demaille <akim@epita.fr>
2448 * automake.in (&read_am_file, &file_contents_internal): Don't
2449 define macros when `FALSE', to avoid errors on doubly defined
2450 variables but under condition `FALSE'. In order to allow...
2451 (&am_install_var): When reading the associated file for the first
2452 time, enable `%?FIRST%'.
2453 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2454 * libs.am: Do it when `%?FIRST%'.
2456 2001-04-27 Akim Demaille <akim@epita.fr>
2458 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2459 * ansi2knr.am: Do it.
2460 Prefer `if %?FOO%' to `if %!FOO%'.
2462 2001-04-27 Akim Demaille <akim@epita.fr>
2464 * automake.in (®ister_language, &finish_languages): Use `pure'
2466 (®ister_language): Use %done properly with objects, not names.
2467 (&finish_languages): Replace `$non_c' with `$needs_c'.
2469 2001-04-27 Akim Demaille <akim@epita.fr>
2471 Unify LISP, PYTHON and JAVA primaries.
2473 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
2474 return if there are no files, hook elisp-comp on the Autoconf
2475 macro, rely on lisp.am to define variables.
2476 (&handle_python, &handle_java): Likewise.
2477 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
2478 `PYTHON' must be handled here, not in `&handle_python'.
2479 * java.am: Define needed variables and rules.
2481 2001-04-27 Akim Demaille <akim@epita.fr>
2483 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
2485 * header.am: Include data.am.
2487 2001-04-27 Akim Demaille <akim@epita.fr>
2489 * automake.in (&am_install_var): Transform `PRIMARY'.
2490 * data.am: Equip with %PRIMARY%.
2492 2001-04-27 Akim Demaille <akim@epita.fr>
2494 * automake.in (@conditional_stack): Rename as...
2495 (@cond_stack): this.
2496 (&file_contents_internal): Support inclusion of files.
2498 2001-04-27 Akim Demaille <akim@epita.fr>
2500 * automake.in (&lang_extensions): Remove.
2501 (&add_depend2, &saw_sources_p): Adjust.
2502 * depend2.am: `%EXT%' no longer includes the dot.
2504 2001-04-27 Akim Demaille <akim@epita.fr>
2506 * automake.in (&finish_languages, &handle_single_transform_list)
2507 (&add_depend2, &handle_dependencies): No longer use the language
2508 name in `$lang'. Rename `$lang_obj' as `$lang'.
2510 2001-04-27 Akim Demaille <akim@epita.fr>
2512 * automake.in (®ister_language): Use `new Language' with a hash.
2514 2001-04-27 Akim Demaille <akim@epita.fr>
2516 * automake.in (®ister_language): Rename `output-arg' and
2517 `derived-autodep' as `output_arg' and `derived_autodep' to match
2518 the Language attribute.
2519 Set the defaults in %option instead of $lang.
2521 2001-04-27 Akim Demaille <akim@epita.fr>
2523 * Automake/: New directory.
2524 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
2525 * automake.in (Language): Use Automake::Struct.
2526 * tests/defs: Adjust to find Struct.
2528 2001-04-23 Pavel Roskin <proski@gnu.org>
2530 * automake.in: Add forward declaration for register_language().
2531 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
2534 2001-04-20 Akim Demaille <akim@epita.fr>
2536 * automake.in (%required_targets): Add `uninstall'.
2537 From Robert Collins.
2539 2001-04-12 Akim Demaille <akim@epita.fr>
2541 * automake.in (Language): Add attribute `name'.
2542 (®ister_language): The name of the language is now given in the
2544 No longer use `$lang' as the name of the language.
2545 Rename `$lang_obj' as `$lang'.
2547 2001-04-12 Akim Demaille <akim@epita.fr>
2549 * automake.in (Language): Add attribute `_finish'.
2552 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
2553 (&lang_asm_finish): Remove.
2555 2001-04-12 Akim Demaille <akim@epita.fr>
2557 * automake.in (Language): Add attribute `extensions'.
2558 (Automake): Pass a hash to `®ister_language' instead of a
2559 list of pseudo assignments.
2560 (®ister_language): Adjust.
2561 (&finish_languages): Initialize `$ltoutarg'.
2563 2001-04-12 Akim Demaille <akim@epita.fr>
2565 * automake.in (Language): Add attribute `output_arg'.
2566 (%language_map): Remove.
2567 (®ister_language): Build only the object, and store in
2569 (&finish_languages, &handle_single_transform_list): Adjust.
2571 2001-04-12 Akim Demaille <akim@epita.fr>
2573 * automake.in (Language): Add attributes `flags', `compile' and
2575 (&finish_languages, &handle_single_transform_list, &handle_dist)
2576 (&add_depend2, ®ister_language): Use them and the `linker' and
2579 2001-04-12 Akim Demaille <akim@epita.fr>
2581 * automake.in (&handle_single_transform_list, &finish_languages)
2582 (&handle_dist, &handle_dependencies): Use the language object for
2583 autodep and derived-autodep too.
2585 2001-04-12 Akim Demaille <akim@epita.fr>
2587 * automake.in (¯o_define): Ignore Automake definition for
2588 ($var, $cond) if there is already a user definition for ($var, $cond).
2590 2001-04-12 Akim Demaille <akim@epita.fr>
2592 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
2593 but also @deffn and so on which push data in indexes.
2594 Reported by Derek R. Price.
2596 2001-04-12 Akim Demaille <akim@epita.fr>
2598 * automake.in (Language): New package, temporarily in this file.
2600 (Automake): New package.
2602 (&handle_single_transform_list): Use the language object's `ansi'
2603 attribute instead of `$language_map{"$lang-ansi-p"}'.
2604 (®ister_language): Build and register the language too.
2606 2001-04-11 Tom Tromey <tromey@redhat.com>
2608 Fixes report from Larry Jones:
2609 * automake.in (handle_dependencies): Add `@_am_quote@' where
2611 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2613 2001-04-11 Akim Demaille <akim@epita.fr>
2615 * depend2.am: Fix the `if' condition for Libtool.
2616 Reported by Robert Boehne.
2618 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2620 * tests/subobj5.test: New file.
2622 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2624 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2625 * tests/Makefile.am (TESTS): Added make.test.
2626 * tests/make.test: New file.
2628 2001-04-10 Tom Tromey <tromey@redhat.com>
2630 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2632 2001-04-10 Derek R. Price <dprice@collab.net>
2634 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2636 2001-04-10 Akim Demaille <akim@epita.fr>
2638 * distdir.am: Add a missing backslash.
2640 2001-04-10 Akim Demaille <akim@epita.fr>
2642 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2644 Specify to the caller whether $regen_aclocal_m4.
2645 (&handle_configure): Adjust.
2646 Transform `REGEN-ACLOCAL-M4'.
2648 * configure.am: Use it.
2649 * tests/defs (me): New.
2650 * tests/confdeps.test: New.
2652 2001-04-09 Tom Tromey <tromey@redhat.com>
2654 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2655 Fixes report from Jim Meyering.
2657 2001-04-09 Akim Demaille <akim@epita.fr>
2659 * automake.in (&handle_configure): Don't bother with optimizing
2662 2001-04-09 Akim Demaille <akim@epita.fr>
2664 * tests/cond3.test (expected): Adjust.
2666 2001-04-09 Akim Demaille <akim@epita.fr>
2668 * automake.in (&handle_single_transform_list): Remove $xbase,
2670 (&handle_source_transform): All the variables have conditions now,
2672 (&variable_delete): Admit an argument @conds.
2674 2001-04-09 Akim Demaille <akim@epita.fr>
2676 * automake.in ($source_suffix_pattern): Remove, unused.
2677 %extension_map seems to have replaced it.
2679 2001-04-09 Akim Demaille <akim@epita.fr>
2681 * ext-compile.am: New file.
2682 * automake.in (&finish_languages): Output it.
2683 Require a C linker if there are several registered source suffixes.
2684 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2685 extensions, which are discovered in ext-compile.am.
2686 With the help from Robert Boehne.
2688 2001-04-09 Akim Demaille <akim@epita.fr>
2690 * automake.in (&handle_compile): Extract from...
2691 (&get_object_extension): here.
2692 (&read_am_file): Call it.
2693 ($included_generic_compile, $included_knr_compile)
2694 ($included_libtool_compile): Remove.
2695 ($get_object_extension_was_run): New.
2697 2001-04-09 Akim Demaille <akim@epita.fr>
2699 Use AM_CONDITIONAL and if/endif for AMDEP.
2701 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2702 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2703 to a configure time if/endif), or to `FALSE' (static removal of
2705 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2706 * depend2.am: Use if/endif.
2708 Adjust the 101 tests that use dependencies so that they
2709 properly invoke aclocal before automake. They need to `see'
2710 `AM_CONDITIONAL([AMDEP], ...)'.
2712 2001-04-09 Akim Demaille <akim@epita.fr>
2714 * tags.am: Fix missing leading tabs.
2716 2001-04-09 Akim Demaille <akim@epita.fr>
2718 * automake.in: Use simple quotes to define the _PATTERN variables
2719 to unobfuscate the regexps.
2720 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2722 2001-04-09 Akim Demaille <akim@epita.fr>
2724 * automake.in (&rule_define): When you discover a suffix rules,
2725 register the extensions for .SUFFIXES.
2726 (&handle_texinfo): Don't register the suffixes.
2727 (&get_object_extension): Don't register suffixes, let them be
2728 discovered in depend2.am.
2729 (&handle_emacs_lisp): Depend on your lisp.am.
2730 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2732 2001-04-09 Akim Demaille <akim@epita.fr>
2734 * subdirs.am: Don't define info related recursive targets.
2737 2001-04-09 Akim Demaille <akim@epita.fr>
2739 * subdirs.am (RECURSIVE_TARGETS): New variable.
2741 * automake.in (&handle_subdirs): Output it.
2742 (&file_contents_internal): Support value spread on several lines.
2744 2001-04-09 Akim Demaille <akim@epita.fr>
2746 * automake.in (&handle_man_pages): Rely on mans.am to define
2747 man%SECTION%dir and MANS.
2750 2001-04-09 Akim Demaille <akim@epita.fr>
2752 * automake.in (&variable_dump): Use %var_type properly.
2753 (¯o_define): Enforce better overriding rules.
2754 Handle the special case that used to handle...
2755 (&define_pretty_variable): this.
2757 The variables you define are owned by Automake.
2758 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2760 (&variable_defined): Now independent of the owner.
2761 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2763 2001-04-09 Akim Demaille <akim@epita.fr>
2765 * automake.in (%var_was_plus_eq): Rename as...
2767 (%def_type): Remove.
2768 (¯o_define): %var_type may now hold `', `+', or `:'.
2769 (%conditional, %am_vars, %content_lines): Rename as...
2770 (%var_value, %var_comment, %var_line): these.
2772 2001-04-09 Akim Demaille <akim@epita.fr>
2774 * automake.in (&variable_output): Admit a list of @CONDS.
2775 (&variable_pretty_output): New.
2776 (&define_pretty_variable): Use it.
2777 (&read_am_file, &file_contents_internal): Prepend a separator to
2778 $am_vars only if there is none yet.
2779 (&file_contents_internal): Rename $separator as $spacing to
2780 harmonize with &read_am_file.
2782 2001-04-09 Akim Demaille <akim@epita.fr>
2784 * automake.in (&am_install_var): Transform DIST, and let the *.am
2785 files handle DIST_COMMON.
2786 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2789 2001-04-09 Akim Demaille <akim@epita.fr>
2791 * automake.in (%dist_common): Remove.
2792 (%configure_dist_common): Replace with...
2793 ($configure_dist_common): this.
2794 (&generate_makefile): Read the user file before using
2795 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2796 that no variable is defined before it is run.
2797 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2798 (&dist_cmp): Rename as...
2799 (&for_dist_common): this.
2800 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2802 Adjust to $configure_dist_common.
2803 * configure.am, texi-vers.am: Set DIST_COMMON.
2805 2001-04-09 Akim Demaille <akim@epita.fr>
2807 * automake.in (&handle_aclocal_m4): Rename as...
2808 (&scan_aclocal_m4): this.
2809 Return the list of aclocal.m4 dependencies.
2810 (&handle_configure): Invoke it, and use it when loading...
2811 * configure.am: Template the rules to recreate aclocal.m4.
2813 2001-04-09 Akim Demaille <akim@epita.fr>
2815 * automake.in (&get_object_extension): Use ansi2knr.am.
2816 * clean-kr.am, kr-extra.am: Remove, merged into...
2817 * ansi2knr.am: this new file.
2819 2001-04-09 Akim Demaille <akim@epita.fr>
2821 * automake.in (&transform): Fix an incredible bug which was
2822 breaking the if/endif system.
2823 ($ELSE_PATTERN): Admit an optional argument.
2825 2001-04-09 Akim Demaille <akim@epita.fr>
2827 * comp-vars.am: Remove, merged into...
2829 * automake.in (&get_object_extension): Adjust.
2831 2001-04-09 Akim Demaille <akim@epita.fr>
2833 * remake.am: Merge into...
2834 * configure.am: ... here.
2835 * automake.in (&handle_configure): Adjust.
2837 2001-04-09 Akim Demaille <akim@epita.fr>
2839 * automake.in (&output_lex_build_rule): Output this...
2842 2001-04-09 Akim Demaille <akim@epita.fr>
2844 * automake.in (&condition_negate): New.
2845 (&variable_conditions_permutations): Use it.
2846 (&read_am_file, &file_contents): Use it on `else' clauses to
2848 (&output_yacc_build_rule): Output this...
2849 * yacc.am: New file.
2851 2001-04-09 Akim Demaille <akim@epita.fr>
2853 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2854 (&handle_dist): Don't.
2855 (&handle_clean): Don't handle config.status here, let...
2856 * clean.am: ... do it.
2857 * distdir.am: Adjust.
2859 2001-04-09 Akim Demaille <akim@epita.fr>
2861 * automake.in: Use strict vars and subs.
2862 Declare `%require_file_found'.
2863 (&handle_source_transform, &make_paragraphs): Declare my variables.
2865 2001-04-09 Akim Demaille <akim@epita.fr>
2867 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2868 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2869 * java.am (_am_installdirs): Be sure to set it.
2871 2001-04-09 Akim Demaille <akim@epita.fr>
2873 * automake.in (&make_condition): Return '#' when FALSE.
2874 (&conditional_string): Return FALSE, not '#' in the corresponding
2876 (&file_contents_internal): Adjust.
2877 (&check_variable_defined_unconditional): Dump the guilty variable.
2879 2001-04-09 Akim Demaille <akim@epita.fr>
2881 * distdir.am: Use and abuse of if/endif.
2882 * scripts.am: Using if/endif with variables is fine.
2884 2001-04-09 Akim Demaille <akim@epita.fr>
2886 * automake.in (&make_paragraphs): Extract from &file_contents.
2887 Make it more robust than the previous RE based scheme.
2888 (&file_contents): Use it.
2890 2001-04-09 Akim Demaille <akim@epita.fr>
2892 * automake.in (&make_paragraphs): Extract from &file_contents.
2893 Make it more robust than the previous RE based scheme.
2894 (&file_contents): Use it.
2896 2001-04-09 Akim Demaille <akim@epita.fr>
2898 * tests/yacc2.test: Don't define several times a variable, as
2901 2001-04-09 Akim Demaille <akim@epita.fr>
2903 * automake.in (&handle_source_transform): Fix pr72: don't define
2904 $linker if there are no @files.
2906 2001-04-09 Akim Demaille <akim@epita.fr>
2908 Avoid reading twice header-vars.am as now macro_define
2911 * automake.in (&define_standard_variables): Don't output the
2913 (&read_main_am_file): Output first user variables, then Automake
2915 Don't call twice &define_standard_variables.
2916 Save variable comments in $am_vars.
2917 (&variable_output): New.
2918 (&file_contents_internal): New.
2919 Save variable comments in $am_vars.
2920 (&file_contents): Use it.
2922 2001-04-09 Akim Demaille <akim@epita.fr>
2924 * automake.in (¯o_define): The user is allowed to override
2925 a value if it was set by Automake, or if it was found in AC_SUBST.
2927 2001-04-09 Akim Demaille <akim@epita.fr>
2929 * automake.in (&handle_source_transform): Better locality of the
2931 Use `next' to skip nonexistent variables.
2933 2001-04-09 Akim Demaille <akim@epita.fr>
2935 * automake.in (&variable_dump): If a variable is undefined, say
2937 (&check_ambiguous_conditional): Give finer error messages.
2938 (¯o_define): Check that a `+=' variable is not set with `='.
2939 Check for ambiguous definitions each time you _set_ (even with `+=')
2941 (&read_main_am_file): Perform a deep copy of %conditional.
2943 2001-04-09 Akim Demaille <akim@epita.fr>
2945 * automake.in (&variable_defined): Some callers, e.g.,
2946 &am_primary_prefixes, really want to know if the variable is
2947 defined for any condition, not `TRUE' by default.
2948 (&am_primary_prefixes): Give a more precise error message.
2950 2001-04-09 Akim Demaille <akim@epita.fr>
2952 (&variable_conditions): Don't include `FALSE' in the result.
2954 2001-04-09 Akim Demaille <akim@epita.fr>
2956 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2957 (&variable_conditions): Don't include `FALSE' in the result.
2959 2001-04-09 Akim Demaille <akim@epita.fr>
2961 * tests/defs, tests/depend3.test: Remove useless code.
2963 2001-04-09 Akim Demaille <akim@epita.fr>
2965 * automake.in (&handle_source_transform): Use
2966 &variable_conditions, don't read $conditional{$var}.
2967 (&variable_conditions_sub): When the call is the top level call,
2968 generate all the permutations of the conditions.
2970 2001-04-09 Akim Demaille <akim@epita.fr>
2972 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2973 that it does not get noticed twice by automake, which now
2974 complains for multiple definitions.
2975 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2976 because we defined INSTALL.
2978 2001-04-09 Akim Demaille <akim@epita.fr>
2980 * automake.in (&generate_makefile) Use macro_define to define
2981 SOURCES and OBJECTS.
2982 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2983 this would make perl create $condition{VAR}, which we don't want.
2985 2001-04-09 Akim Demaille <akim@epita.fr>
2987 * automake.in (&variable_defined, &define_pretty_variable):
2988 Simplify code which used to handle the cases where not all
2989 variables were in %conditional.
2990 (&define_variable): Use &define_pretty_variable.
2991 (&variable_conditions_sub, &variable_value_as_list_worker)
2992 (&variable_value_as_list, &rule_define): Simplify syntax.
2993 (&read_main_am_file): Dump the guilty predefined variables.
2995 2001-04-09 Akim Demaille <akim@epita.fr>
2997 * automake.in (&variable_conditions_sub)
2998 (&variable_value_as_list_worker): Remove dead code which used to
2999 handle the cases where not all variables were in %conditional.
3001 2001-04-09 Akim Demaille <akim@epita.fr>
3003 * automake.in (&handle_source_transform, &read_main_am_file):
3004 Simplify loops which were split in two parts, conditional vs
3005 unconditional variables.
3007 2001-04-09 Akim Demaille <akim@epita.fr>
3009 Handle unconditional values of variables as conditioned by
3012 * automake.in (%contents): Remove.
3013 (&generate_makefile, &handle_ltlibraries, ¯o_define)
3014 (&read_am_file, &variable_defined, &variable_conditions_sub)
3015 (&variable_value, &variable_value_as_list_worker)
3016 (&variable_value_as_list, &define_pretty_variable)
3017 (&read_main_am_file): Use
3018 $conditional, not %contents.
3019 (&variable_conditions_permutations): Don't return TRUE and FALSE.
3020 (&variable_conditionally_defined): New.
3021 (&handle_dist): Use it.
3022 (&check_ambiguous_conditional): When multiply defined, specify
3023 under which condition.
3024 (¯o_define): Use it.
3025 (&variable_delete): New.
3026 (&read_am_file): Use it.
3027 (&am_install_var): Simplify, as all the variables are in
3030 2001-04-07 Tom Tromey <tromey@redhat.com>
3032 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
3034 * tests/man.test: New file.
3036 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3038 * depcomp (gcc3): Invert test condition.
3040 2001-04-07 Tom Tromey <tromey@redhat.com>
3042 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
3043 statement. Report from Larry Jones.
3045 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3047 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
3049 2001-04-01 Tom Tromey <tromey@redhat.com>
3051 * java.am (.PHONY clean-am): Removed trailing ":".
3052 From Per Bothner. Fixes PR automake/139.
3054 2001-03-28 Akim Demaille <akim@epita.fr>
3056 * program.am: Fix a stupid typo: now *all* (not none) the programs
3058 Reported by Robert Boehne.
3060 2001-03-23 Akim Demaille <akim@epita.fr>
3062 * automake.in (&read_am_file, &file_contents): Avoid name clashes
3065 2001-03-23 Akim Demaille <akim@epita.fr>
3067 * automake.in (&variable_conditionally_defined): Rename as...
3068 (&check_variable_unconditionally_defined): this.
3069 (&variable_dump): Fix the output.
3070 (&variable_defined, ¯o_define): Since conditions are
3071 canonicalized, don't use a loop to look for a condition: read the
3073 (¯o_define, &rule_define, &read_am_file, &file_contents):
3074 Rename $cond_string as $cond.
3075 * distdir.am (PACKAGE, VERSION): Remove; since they are already
3076 discovered via AC_SUBST, they now trigger a `defined twice' error.
3078 2001-03-23 Akim Demaille <akim@epita.fr>
3080 * automake.in (&handle_footer, &handle_installdirs)
3081 (&read_main_am_file): Don't read %contents directly, use
3084 2001-03-23 Akim Demaille <akim@epita.fr>
3086 * automake.in (&read_am_file): Define the variables in a single
3088 Factor the $saw_bk code.
3090 2001-03-23 Akim Demaille <akim@epita.fr>
3092 * automake.in (&read_am_file): Keep $cond_string up to date.
3094 2001-03-23 Akim Demaille <akim@epita.fr>
3096 * automake.in (&define_variable): Use ¯o_define.
3098 2001-03-23 Akim Demaille <akim@epita.fr>
3100 * automake.in (¯o_define): Don't lose the location if we
3101 redefine a variable.
3102 Don't push all the variables in @var_list, let...
3103 (&read_am_file, &file_contents): ... do it.
3104 (&define_pretty_variable): Use macro_define.
3105 (&am_install_var): Delete the value of variables being redefined
3106 to pacify ¯o_define which checks that variables are not
3109 2001-03-23 Akim Demaille <akim@epita.fr>
3111 * automake.in (&conditional_dump): Rename as...
3112 (&variables_dump): this. Use...
3113 (&variable_dump): this new sub.
3115 2001-03-23 Akim Demaille <akim@epita.fr>
3117 * automake.in (&file_contents): Maintain $cond_string sync with
3119 Output rules only if not under `FALSE'.
3120 Define variables under $cond_string.
3121 * scripts.am: For the time being if/endif does not work properly
3124 2001-03-23 Akim Demaille <akim@epita.fr>
3126 * automake.in (IF_PATTERN): Unobfuscate the parens.
3127 (ENDIF_PATTERN): Allow a condition to be specified.
3128 (&file_contents): Use a @cond_stack.
3129 (&transform): At least for an easy transition, also transform
3130 %?FOO% and %!FOO%, as suggested by Lars.
3131 * scripts.am: First test bed for static if/endif use.
3133 2001-03-23 Akim Demaille <akim@epita.fr>
3135 * automake.in (&file_contents): Use rule_define.
3137 2001-03-23 Akim Demaille <akim@epita.fr>
3139 * automake.in (¯o_define): Don't rely on $1.
3140 Initialize the variable.
3141 Set its Automakism only if not defined or if given to the user.
3142 When concatenating values, insert a separator only if the value
3144 (&read_am_file): When dumping the @var_list, skip Automake
3146 (&file_contents): Use macro_define.
3148 2001-03-23 Akim Demaille <akim@epita.fr>
3150 * automake.in (&rule_define): Extract from...
3151 (&read_am_file): here.
3153 2001-03-23 Akim Demaille <akim@epita.fr>
3155 * automake.in (¯o_define, &read_am_file): More work for the
3156 former from the latter. Reorganize the latter.
3158 2001-03-23 Akim Demaille <akim@epita.fr>
3160 * automake.in (¯o_define): Extract from...
3161 (&read_am_file): here.
3163 2001-03-23 Akim Demaille <akim@epita.fr>
3165 * automake.in (%am_var_defs): Replace with...
3167 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3168 (&file_contents, am_primary_&prefixes): Adjust.
3169 (&variable_defined, &define_variable): The actual semantics is
3171 (&read_main_am_file): Assert the var is user defined when
3172 outputting @var_list.
3174 2001-03-23 Akim Demaille <akim@epita.fr>
3176 * automake.in (read_am_file): TRUE and FALSE are predefined
3178 (&by_condition): Adjust.
3179 (&conditional_string): Recognize `TRUE' and `FALSE'.
3180 (&make_condition): Use it.
3181 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3182 * automake.texi (Conditionals): Adjust.
3183 * tests/cond9.test: s/FALSE/WRONG/.
3185 2001-03-12 Pavel Roskin <proski@gnu.org>
3187 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3190 2001-03-12 Akim Demaille <akim@epita.fr>
3192 * automake.in (&variable_conditions_permutations): Separate the
3194 * tests/cond3.test: Improve the sed expression.
3196 2001-03-09 Pavel Roskin <proski@gnu.org>
3198 * Makefile.am (maintainer-check): Scan all *.am files and tests
3199 for invocations of `rm' without `-f'.
3200 * tests/mclean.test: Adjusted to prevent triggering the above
3203 2001-03-09 Tom Tromey <tromey@redhat.com>
3205 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3206 maintainer-check failure.
3208 2001-03-09 Akim Demaille <akim@epita.fr>
3210 * tests/cond3.test: Strengthen.
3212 2001-03-09 Akim Demaille <akim@epita.fr>
3214 * automake.in (&conditional_string): Produce a unique string
3215 characterizing a condition stack.
3216 (&conditional_same): Remove, comparing two strings is now enough.
3217 (&variable_defined): Adjust.
3218 (&read_am_file): Use conditional_string.
3220 2001-03-08 Akim Demaille <akim@epita.fr>
3222 * automake.in: Use -w.
3223 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3224 (&parse_arguments): Support --Werror and --Wno-error as a
3225 temporary hack until --warning/-W is properly implemented.
3226 (&handle_single_transform_list): Prototype.
3227 Be sure to define $directory.
3228 Use `exists' instead of testing the value of a maybe undefined
3230 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3231 (&handle_factored_dependencies): Use defined values.
3232 (&scan_one_autoconf_file): Save $_.
3233 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3234 Run automake with --Wno-error.
3236 2001-03-07 Akim Demaille <akim@epita.fr>
3238 * automake.in (&handle_all): Use an array instead of a scalar for
3240 Get rid of all-redirect: let `all' be that target.
3242 2001-03-07 Akim Demaille <akim@epita.fr>
3244 * automake.in (&handle_merge_targets): Ventilate its non `all'
3245 related content into...
3246 (&generate_makefile): here.
3247 (&handle_merge_targets): Rename as...
3248 (&handle_all): this.
3249 Remove a useless `if': `@all' is obviously not empty, since it
3250 contains at least the `basename ($makefile)' which has just been
3253 2001-03-07 Akim Demaille <akim@epita.fr>
3255 * automake.in, aclocal.in: Backquote is inert in double quotes.
3257 2001-03-06 Akim Demaille <akim@epita.fr>
3259 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3262 2001-03-06 Pavel Roskin <proski@gnu.org>
3264 * java.am: Use `rm -f' instead of `rm'.
3266 2001-03-06 Akim Demaille <akim@epita.fr>
3268 * automake.in (&push_dist_common): Simplify.
3270 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3272 * ltlib.am: Replaced spaces with tab.
3274 2001-03-06 Pavel Roskin <proski@gnu.org>
3276 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3279 2001-03-05 Pavel Roskin <proski@gnu.org>
3281 * header.am, scripts.am: Use ?INSTALL? in the install and
3284 2001-03-05 Pavel Roskin <proski@gnu.org>
3286 * tests/copy.test: Never use `rm' without `-f' - it may ask
3287 questions, notably for read-only files during `make distcheck'.
3288 * tests/insh.test: Likewise.
3289 * tests/installsh.test: Likewise.
3290 * tests/symlink.test: Likewise.
3291 * tests/symlink2.test: Likewise.
3292 * tests/symlink3.test: Likewise.
3294 2001-03-05 Pavel Roskin <proski@gnu.org>
3296 * noinstdir.test: New test.
3297 * tests/Makefile.am (TESTS): Add noinstdir.test.
3298 (XFAIL_TESTS): Likewise.
3300 2001-03-05 Akim Demaille <akim@epita.fr>
3302 * automake.in (&handle_options): Change the RE so that the third
3303 part of the versions always exist.
3304 (&file_contents): Don't pass uninitialized values to &transform.
3306 2001-03-05 Akim Demaille <akim@epita.fr>
3308 * automake.in (&file_contents): Require a hash as second argument.
3311 2001-03-05 Akim Demaille <akim@epita.fr>
3313 Always use hashes with &file_contents.
3315 * automake.in (&handle_texinfo): texibuild.am does not need
3317 texinfos.am wants only TEXICLEANS.
3318 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3320 * texinfos.am: Adjust.
3322 2001-03-05 Akim Demaille <akim@epita.fr>
3324 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3325 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3326 (&am_install_var): Forget about `-clean'.
3327 Transform ?INSTALL?.
3328 Always output the *.am file.
3329 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3330 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3331 Remove, merged into the corresponding *.am file.
3332 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3335 2001-03-05 Pavel Roskin <proski@gnu.org>
3337 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3339 2001-03-05 Akim Demaille <akim@epita.fr>
3341 If OBJEXT and EXEEXT are not set, provide a default value, and use
3342 them unconditionally.
3344 * automake.in (&generate_makefile): Provide default values for
3346 (&get_object_extension, &finish_languages)
3347 (&handle_single_transform_list, &handle_programs, &add_depend2)
3348 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3349 them, they are defined.
3350 * compile.am, depend2.am, program.am, progs.am: Likewise.
3351 * remake-hdr.am: Fix a typo.
3352 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3353 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3354 * tests/suffix2.test: Adjust.
3356 2001-03-05 Akim Demaille <akim@epita.fr>
3358 * automake.in (&file_contents): Map MAINTAINER-MODE to
3359 @MAINTAINER_MODE_TRUE@ or nothing.
3360 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3363 2001-03-05 Akim Demaille <akim@epita.fr>
3365 * automake.in (&do_one_merge_target): Remove, was only called from...
3366 (&handle_merge_targets): here for `all'.
3369 2001-03-05 Akim Demaille <akim@epita.fr>
3371 Make the installation/uninstallation of Info pages follow the
3372 regular am/recursive scheme.
3374 * automake.in (%required_targets, %dependencies): Add
3376 (%dependencies): Add install-info, install-info-am, and
3378 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3379 reversed BTW. Does anybody use the option `no-installinfo'?
3380 (&handle_merge_targets): Let the handling of info related targets
3382 (&handle_factored_dependencies): this.
3383 * subdirs.am: Use ?INSTALL-INFO?.
3384 * texinfos.am: Define the install-info, uninstall-info and
3385 uninstall-info-am targets.
3387 2001-03-05 Akim Demaille <akim@epita.fr>
3389 * automake.in (%required_targets, %dependencies): Add dvi, info,
3391 (@info, @dvi): Remove.
3392 (&handle_texinfo, &handle_merge_targets): Adjust.
3393 (&handle_factored_dependencies): Required targets are phony.
3394 * texinfos.am: Build info, dvi, and the corresponding -am or
3397 2001-03-05 Akim Demaille <akim@epita.fr>
3399 * automake.in (&am_install_var): Remove $cygxform, unused.
3401 2001-03-05 Akim Demaille <akim@epita.fr>
3403 * automake.in (&file_contents): Transform LIBTOOL.
3404 (&am_install_var): Remove $ltxform.
3405 * ltlib.am, progs.am: Adjust.
3407 2001-03-05 Akim Demaille <akim@epita.fr>
3409 * automake.in: Require AC_PROG_INSTALL in...
3410 (&scan_autoconf_files): here.
3412 2001-03-05 Akim Demaille <akim@epita.fr>
3414 * configure.am: New file.
3415 * automake.in (&file_contents): Transform CONFIGURE-AC.
3416 (&handle_texinfo, &handle_configure): Don't transform
3418 (&handle_configure): Use `configure.am'.
3419 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3420 MAINTAINER-MODE and CONFIGURE-AC.
3422 2001-03-05 Akim Demaille <akim@epita.fr>
3424 * automake.in (&pretty_print_internal): Don't output useless
3426 (define_pretty_variable): Don't issue the space after the `=' sign
3427 to avoid trailing spaces in Makefile.ins.
3429 2001-03-05 Akim Demaille <akim@epita.fr>
3431 * automake.in (&generate_makefile): Invoke &initialize_per_input
3432 *before* setting $am_file_name and $in_file_name.
3434 2001-03-05 Akim Demaille <akim@epita.fr>
3436 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3437 Globals, initialized...
3438 (&initialize_per_input): here.
3440 2001-03-05 Akim Demaille <akim@epita.fr>
3442 * automake.in ($am_relative_dir): Global.
3443 (&initialize_per_input): Init it.
3444 (%make_list, @make_input_list): My them from
3445 (&scan_autoconf_files): here.
3446 (&require_file_internal): Mying changes.
3448 2001-03-05 Akim Demaille <akim@epita.fr>
3450 * automake.in (%am_vars, @var_list, %def_type): Globals.
3451 (&initialize_per_input): Initialize them.
3452 (&read_main_am_file): Don't local them.
3453 (&get_object_extension): $objext is private.
3454 (&handle_single_transform_list): $lang is.
3455 (&handle_ltlibraries): $libname_rx is.
3456 (&scan_autoconf_config_files): How about actually paying attention
3457 to your arguments, instead of working on $_? (this is no Perl
3458 variable, it's a Perl variable followed by a question mark).
3459 (&file_contents): $contents and $separator are private.
3460 (&am_install_var): Declare @condvals, not $condvals.
3463 2001-03-05 Akim Demaille <akim@epita.fr>
3465 * automake.in (&initialize_per_input): Move to the top.
3466 Precede with the `my' list of its variables.
3468 2001-03-05 Akim Demaille <akim@epita.fr>
3470 * automake.in ($am_file): Use vars.
3471 ($am_file_name, $in_file_name): Private to &generate_makefile.
3473 2001-03-05 Akim Demaille <akim@epita.fr>
3475 * automake.in: Preparation for `use strict': Move the
3476 initialization of the constants to the top, from...
3477 (&initialize_global_constants): here.
3479 2001-03-05 Akim Demaille <akim@epita.fr>
3481 * automake.in (&handle_single_transform_list, &add_depend2): Let
3482 $lang_specific_files{$lang} be a list instead of a string.
3484 2001-03-05 Akim Demaille <akim@epita.fr>
3486 Let's make it run ten times faster...
3488 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
3490 (&file_contents): Let `$command' remove the Automake commands, and
3491 normalize the series of `\n'.
3492 Slurp the file and apply $command in a single step.
3493 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
3494 is already normalized to be handled by &transform.
3496 2001-03-05 Tom Tromey <tromey@redhat.com>
3498 * automake.in (register_language): Add entry for `-pure'.
3499 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
3500 (finish_languages): Use `-pure' field of language map.
3502 2001-03-03 Tom Tromey <tromey@redhat.com>
3504 * tests/yaccvpath.test: No need to remove dummy files.
3505 * tests/subobj3.test: No need to remove dummy files.
3506 * tests/pr9.test: No need to remove dummy files.
3507 * tests/pr87.test: No need to remove dummy files.
3508 * tests/pr19.test: No need to remove dummy files.
3509 * tests/install2.test: No need to remove dummy files.
3510 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
3513 2001-02-27 Pavel Roskin <proski@gnu.org>
3515 * tests/yaccvpath.test: Add a delay to make parse.c really out
3516 of date. Detect the problem earlier, after `make distdir'. Drop
3517 dependency on flex. Always use the `-y' flag for bison. Comment
3519 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
3521 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3523 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
3525 2001-02-28 Akim Demaille <akim@epita.fr>
3527 * automake.in (&add_depend2): Transform `GENERIC'.
3528 Get rid of the ad hoc transformation of `@EXT@.o:' which in
3529 addition was broken by the `@ -> %' patch.
3530 * depend2.am: Adjust to use ?GENERIC?.
3532 2001-02-28 Akim Demaille <akim@epita.fr>
3534 * Makefile.am (maintainer-check): `undef $/' is OK.
3536 2001-02-28 Akim Demaille <akim@epita.fr>
3538 * automake.in (&handle_configure): Fortunately, $top_reldir,
3539 the definition of which was highly suspicious, was unused.
3541 2001-02-27 Akim Demaille <akim@epita.fr>
3543 * automake.in (%exec_dir_p): Move to the top so that it is visible
3546 2001-02-27 Pavel Roskin <proski@gnu.org>
3548 * tests/yaccvpath.test: Prevent automake from looking into ..
3549 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
3551 2001-02-27 Akim Demaille <akim@epita.fr>
3553 * automake.in (%exec_dir_p): Pulled out from...
3554 (&am_primary_prefixes): here.
3556 2001-02-27 Akim Demaille <akim@epita.fr>
3558 * automake.in (&usage): Display $0, not $me.
3560 2001-02-27 Akim Demaille <akim@epita.fr>
3562 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
3563 * automake.in (&handle_clean): Don't escape what's given to
3566 2001-02-27 Akim Demaille <akim@epita.fr>
3568 Distinguish automake substitutions from config.status
3571 * automake.in (&add_depend2): Transform AMDEP.
3572 (&handle_clean): Transform MCFILES and MFILES.
3573 (&file_contents): Transform MAINTAINER_MODE.
3574 (&transform, &am_install_var): Use `%', not `@'.
3575 Adjust all the *.am files.
3576 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
3577 * depend2.am: Display the double dependency on both ?AMDEP? and
3580 2001-02-27 Tom Tromey <tromey@redhat.com>
3582 * distdir.am (distcheck): Fixed new code.
3584 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
3585 Only configure once.
3587 * distdir.am (distcheck): Print error message if distclean failed
3590 2001-02-27 Pavel Roskin <proski@gnu.org>
3592 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
3594 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3596 * tests/Makefile.am (TESTS): Added yaccvpath.test.
3597 * tests/yaccvpath.test: New file.
3599 2001-02-26 Akim Demaille <akim@epita.fr>
3601 * automake.in (&am_install_var): Recognize whether predefined
3602 directories are `data' or `exec'.
3603 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
3605 * tests/instdata2.test: Update.
3607 2001-02-26 Akim Demaille <akim@epita.fr>
3609 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
3610 necessarily in infodir.
3612 2001-02-26 Akim Demaille <akim@epita.fr>
3614 * automake.in ($am_file): Be `local', as my'd variables used in
3615 `foreach' loops are always private to the loop.
3617 2001-02-26 Pavel Roskin <proski@gnu.org>
3619 * Makefile.am: Add install.am.
3621 2001-02-26 Akim Demaille <akim@epita.fr>
3623 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3624 routines, otherwise the elements to compare are passed in @_
3625 instead of $a and $b.
3627 2001-02-26 Akim Demaille <akim@epita.fr>
3629 * automake.in (%required_targets): `installcheck-am' is needed.
3631 2001-02-26 Akim Demaille <akim@epita.fr>
3633 * automake.in (&transform_cond): Merge into...
3637 2001-02-26 Akim Demaille <akim@epita.fr>
3639 * automake.in (&handle_dist): Use &transform instead of dedicated
3641 But be sure to always do it.
3642 * distdir.am: Adjust.
3644 2001-02-26 Akim Demaille <akim@epita.fr>
3646 * automake.in: Use File::Basename.
3647 (&dirname, &basename): Remove.
3649 2001-02-26 Akim Demaille <akim@epita.fr>
3651 * automake.in ($me): New.
3653 (&usage): Display your full name.
3655 2001-02-26 Akim Demaille <akim@epita.fr>
3657 * automake.texi (Invoking Automake): Remove dead options.
3659 2001-02-26 Akim Demaille <akim@epita.fr>
3661 * automake.in (&scan_texinfo_file): Also compute the list of files
3663 Handle local errors.
3664 (&handle_texinfo): Use it.
3666 2001-02-26 Akim Demaille <akim@epita.fr>
3668 * automake.in: Don't pass arguments to...
3669 (&parse_arguments): Work on @ARGV.
3671 Add support for `-f'.
3675 2001-02-26 Akim Demaille <akim@epita.fr>
3677 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3678 handle installcheck and installcheck-am.
3679 * install.am: Do it.
3681 2001-02-26 Akim Demaille <akim@epita.fr>
3683 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3684 handle install and install-am.
3685 * install.am: Do it.
3687 2001-02-26 Akim Demaille <akim@epita.fr>
3689 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3690 work on targets handled by %dependencies.
3691 (&handle_factored_dependencies): Do it.
3692 * install.am: Install install-exec, install-data and uninstall's
3695 2001-02-26 Akim Demaille <akim@epita.fr>
3697 * automake.in (&handle_merge_targets): Move `install-strip' from
3699 * install.am: to here.
3701 2001-02-26 Akim Demaille <akim@epita.fr>
3703 * automake.in (@installdirs): Remove.
3704 (&file_contents): Be able to grow Automake macros with `+='.
3705 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3706 files define _am_installdirs.
3707 (&handle_installdirs): Remove the code, just output `install.am'.
3709 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3710 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3712 2001-02-26 Akim Demaille <akim@epita.fr>
3714 * tests/instdata2.test (libexec_DATA): Exercise more
3717 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3719 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3721 2001-02-25 Tom Tromey <tromey@redhat.com>
3723 * tests/instdata2.test: Added `sbin_DATA' check.
3725 * tests/Makefile.am (TESTS): Added subdircond.test.
3726 * tests/subdircond.test: New file.
3727 * automake.in (handle_gettext): Don't fail if SUBDIRS
3728 conditionally defined.
3730 * automake.in: Use IO::File.
3731 (generate_makefile): Use IO::File.
3732 (scan_texinfo_file): Likewise.
3733 (handle_aclocal_m4): Likewise.
3734 (scan_autoconf_traces): Likewise.
3735 (scan_one_autoconf_file): Likewise.
3736 (read_am_file): Likewise.
3737 (file_contents): Likewise.
3740 2001-02-25 Akim Demaille <akim@epita.fr>
3742 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3744 2001-02-25 Akim Demaille <akim@epita.fr>
3746 * automake.in (&transform): Also call &transform_cond on your
3748 (&handle_dist): Adjust.
3749 (&handle_factored_dependencies): Uniq dependencies.
3751 2001-02-25 Akim Demaille <akim@epita.fr>
3753 * automake.in (&handle_gettext): Simplify redundant `if'.
3754 Used &variable_value, don't read %contents directly.
3756 2001-02-25 Akim Demaille <akim@epita.fr>
3758 * automake.in ($install_recursive): Remove, replaced with calls to
3759 `&variable_defined ('SUBDIRS')'.
3760 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3761 (&file_contents): now does.
3763 2001-02-25 Akim Demaille <akim@epita.fr>
3765 * automake.in (&handle_man_pages): $found is dead.
3767 2001-02-25 Akim Demaille <akim@epita.fr>
3769 Internally just store the conditionals as space separated lists of
3770 CONDITIONS (instead of @CONDITIONS@).
3772 * automake.in (&conditional_true_when, &variable_conditions_sub):
3773 Split conditions at spaces.
3774 (&handle_dependencies, &variable_conditions_permutations): Don't
3775 put @ around conditions.
3776 (&variable_conditions_cmp): There are no @ to strip.
3777 (&make_condition): New.
3778 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3780 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3781 Join @conditional_stack with spaces.
3782 (&read_main_am_file): Adjust the output of variables.
3783 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3784 true' and no longer `@TEST@TRUE = @TEST@true'.
3785 (&variable_conditions_cmp): Rename as...
3786 (&by_condition): this.
3787 Sort in a human pleasant order.
3788 Use it everywhere a human can see conditions.
3789 (&variable_conditions_reduce): Don't sort conditions, that's
3791 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3793 2001-02-25 Akim Demaille <akim@epita.fr>
3795 * automake.in: `my' the globals.
3797 2001-02-25 Akim Demaille <akim@epita.fr>
3799 * automake.in (&initialize_per_input): %targets_conditionals is
3801 (&read_am_file): When slurping a rule, set the target related
3802 variable, and no variable related variable.
3803 (&file_contents): Likewise.
3804 * tests/vartar.test, tests/ctarget1.test: New.
3806 2001-02-25 Akim Demaille <akim@epita.fr>
3808 * automake.in (&variable_defined, &variable_value_as_list_worker):
3809 If $VAR is effectively a variable, don't die if it's also a
3811 Plus some formatting changes.
3813 2001-02-25 Akim Demaille <akim@epita.fr>
3815 * automake.in: Mying changes.
3816 * Makefile.am (maintainer-check): Check the stability of the
3817 number of uses of `local'.
3819 2001-02-25 Akim Demaille <akim@epita.fr>
3821 * automake.in: Mying changes.
3823 2001-02-25 Akim Demaille <akim@epita.fr>
3825 * automake.in: Mying changes.
3827 2001-02-25 Akim Demaille <akim@epita.fr>
3829 * automake.in: Mying changes.
3830 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3831 transform CONFIG into $config, not $xform.
3833 2001-02-25 Akim Demaille <akim@epita.fr>
3835 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3836 Don't deal with install-data-am, install-exec-am and unstall-am.
3837 (&initialize_per_input): Add them to %dependencies.
3838 Remove %exec_dir_p since the *.am files are now in charge of it.
3839 Remove @uninstall, @install_data, @install_exec.
3840 (&handle_merge_targets): Adjust to these removals.
3841 (&file_contents): Also &transform_cond for --no-installman and
3843 (&do_one_merge_target): Add some magic to install hooks on
3844 %dependencies' targets.
3845 (%required_targets): New.
3846 (&handle_factored_dependencies): Output required targets.
3847 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3848 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3849 * texinfos.am: Declare your dependencies on install-data-am,
3850 install-exec-am and uninstall-am.
3851 * tests/instdata2.test (incldata_HEADERS): New test.
3853 2001-02-24 Tom Tromey <tromey@redhat.com>
3855 * Makefile.am (amfiles): Added texibuild.am.
3856 * texibuild.am: New file.
3857 * tests/Makefile.am (TESTS): Added texinfo9.test.
3858 * tests/texinfo9.test: New file.
3859 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3860 error if suffix unrecognized. Removed extraneous newline.
3862 2001-02-23 Akim Demaille <akim@epita.fr>
3864 * automake.in (&am_install_var): Don't hook on the clean targets
3866 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3867 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3870 2001-02-23 Akim Demaille <akim@epita.fr>
3872 * automake.in: Promote local `my' over `local'.
3874 2001-02-23 Akim Demaille <akim@epita.fr>
3876 * automake.in: Formatting and mying changes.
3878 2001-02-23 Akim Demaille <akim@epita.fr>
3880 * automake.in: Formatting and mying changes.
3882 2001-02-23 Akim Demaille <akim@epita.fr>
3884 * automake.in (&handle_man_pages): Let install-man and
3885 uninstall-man be handled by the dependency tracker.
3886 (&initialize_per_input): Let %dependencies track them.
3887 * mans.am: Add the needed hooks with the proper dependencies.
3889 2001-02-22 Pavel Roskin <proski@gnu.org>
3891 * tests/target-cflags.test: Don't use subshell to configure in
3892 subdirectory. Typo fix - run `./foo', not `/foo'.
3894 2001-02-22 Akim Demaille <akim@epita.fr>
3896 * automake.in: Formatting and mying changes.
3898 2001-02-21 Tom Tromey <tromey@redhat.com>
3900 * automake.in (handle_dist): Introduce new variable to avoid extra
3901 keys in %dist_dirs. Fixes distdir.test.
3903 * automake.in (handle_texinfo): Only remove suffixes we can
3906 * tests/distdir.test: Check to make sure directory isn't made in
3909 * automake.in (handle_dist): Do nothing in Cygnus mode.
3911 2001-02-21 Pavel Roskin <proski@gnu.org>
3913 * header-vars.am: Remove tabs before variable definitions.
3915 2001-02-21 Akim Demaille <akim@epita.fr>
3917 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3920 2001-02-21 Akim Demaille <akim@epita.fr>
3922 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3923 numeric value as required by Perl 5.6.
3925 2001-02-21 Akim Demaille <akim@epita.fr>
3927 * dist-vars.am: Remove, merge into...
3929 * automake.in (dirname, basename, backname): Move to the top of
3930 the file so that prototypes are checked,
3931 Use them without `&'.
3932 (&handle_dist): Adjust.
3934 2001-02-21 Akim Demaille <akim@epita.fr>
3936 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3937 Use a uniform naming scheme.
3938 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3939 (&read_am_file): Fix conditional definition of backslash continued
3942 2001-02-21 Akim Demaille <akim@epita.fr>
3944 Change the handling of conditionals: instead of using an ad-hoc
3945 encoding to store a hash in a string, use hashes.
3947 * automake.in (&conditional_dump): New.
3948 (&check_ambiguous_conditional, &variable_defined)
3949 (&variable_conditions_sub, &variable_value_as_list_worker)
3950 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3951 handle `$conditional{$vars}' as a hash instead of a plain string.
3953 2001-02-21 Akim Demaille <akim@epita.fr>
3955 * automake.in (&conditional_true_when): Modernize, simplify.
3956 Warning: `$comp' is now private (my), while it used to be
3957 `inherited' from a `local' elsewhere in the code. AFAICT it was
3958 wrong, but some dirty side effect might show up.
3959 (&conditionals_true_when): New.
3960 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3962 2001-02-21 Akim Demaille <akim@epita.fr>
3964 * automake.in ($top_builddir): Remove, used in one place.
3965 (&define_standard_variables): Adjust.
3966 Move the definition of triplet variables into...
3967 * header-vars.am: here.
3969 2001-02-21 Akim Demaille <akim@epita.fr>
3971 * automake.in (&initialize_global_constants): Don't define $USAGE.
3972 (&usage): Handle the former content of $USAGE.
3973 Don't pretend autoconf cares about Makefile.in.
3974 Classify the options.
3975 (&handle_tests): Formatting and mying changes.
3977 2001-02-21 Akim Demaille <akim@epita.fr>
3979 * automake.in (&handle_tests_dejagnu): Move the definition of a
3980 default `site.exp' into...
3981 * dejagnu.am (site.exp): here.
3982 Use DOS compliant file names.
3984 2001-02-21 Akim Demaille <akim@epita.fr>
3986 * automake.in (&dist_cmp): New.
3987 (&handle_dist): Use it.
3988 Promote `my' over `local'.
3990 2001-02-21 Akim Demaille <akim@epita.fr>
3992 * dist.am: Remove, merge into...
3993 * distdir.am: here. Use the neat sed snippet for banners.
3994 BTW, distcheck is phony.
3995 * automake.in (&handle_dist_worker): Remove, merge into...
3996 (&handle_dist): this.
3997 (&file_contents): Strip leading new lines.
3998 Be sure to end comments with new lines.
4000 2001-02-21 Akim Demaille <akim@epita.fr>
4002 * distdir.am (GZIP_ENV): Define.
4003 * automake.in (&handle_dist): Don't.
4005 (&handle_dist_worker, &am_install_var): Use it.
4007 2001-02-21 Akim Demaille <akim@epita.fr>
4009 * distdir.am (distdir): Handle the DIST-TARGETS.
4010 * automake.in (&handle_dist_worker): Don't.
4012 2001-02-21 Akim Demaille <akim@epita.fr>
4014 * automake.in (&file_contents): Transform the global options (such
4016 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
4018 2001-02-21 Akim Demaille <akim@epita.fr>
4020 * distdir.am (distdir): Be sure to have permissive rights on its
4022 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
4024 And BTW, all these guys are phony.
4025 * automake.in (&handle_dist_worker): As its name doesn't indicate,
4026 output distributions.
4027 (&handle_dist): As its name doesn't indicate, don't.
4028 (&initialize_global_constants): Don't define variables which
4029 content is now handled by distdir.am.
4030 But register `dist-all' as a factored target.
4031 (&handle_factored_dependencies): Don't output empty targets.
4033 2001-02-20 Tom Tromey <tromey@redhat.com>
4035 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
4038 2001-02-18 Tom Tromey <tromey@redhat.com>
4040 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
4041 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
4042 (AM_PROG_STRIP): Commented out.
4044 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
4046 * depcomp (gcc3): Protect against the compiler deleting
4047 the dependency output file.
4049 2001-02-17 Tom Tromey <tromey@redhat.com>
4051 * automake.in (handle_merge_targets): Use double quotes around
4052 setting of INSTALL_STRIP_PROGRAM.
4053 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
4054 to absolute path at runtime.
4055 (AM_PROG_STRIP): Don't explicitly test $STRIP.
4057 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
4059 * m4/strip.m4: New file.
4060 * m4/Makefile.am (m4data_DATA): Add strip.m4.
4061 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
4062 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
4063 * automake.in (handle_merge_targets): In the install-strip rule,
4064 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
4065 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
4066 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
4067 don't use INSTALL_STRIP_FLAG any longer.
4069 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4071 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
4074 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4076 * automake.in (unquote_m4_arg): New function.
4077 (scan_one_configure_file): Call unquote_m4_arg on
4078 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
4081 2001-02-15 Tom Tromey <tromey@redhat.com>
4083 * config.guess, config.sub: New versions from FSF.
4085 * Makefile.am (WGET): New macro.
4086 (FETCHFILES): New macro.
4087 (fetch): New target.
4089 * tests/subobj3.test: Exit with status 77 if gcc not found.
4090 * tests/pr9.test: Exit with status 77 if gzip not found.
4091 * tests/pr87.test: Exit with status 77 if gcc not found.
4092 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
4093 * tests/install2.test: Exit with status 77 if gzip not found.
4094 * tests/exsource.test: Exit with status 77 if GNU make not found.
4095 * tests/ansi3.test: Exit with status 77 if gcc not found.
4097 * tests/target-cflags.test: Require GNU make. Exit with status 77
4098 if gcc or make not found. Fixes PR automake/121.
4100 * configure.in: Require Perl 5.005.
4101 * automake.in: Require 5.005.
4103 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4104 Fixes PR automake/122.
4106 2001-02-14 Tom Tromey <tromey@redhat.com>
4108 * automake.in (add_depend2): Only emit a given object rule once.
4109 Fixes specflags6.test.
4111 2001-02-14 Richard Boulton <richard@tartarus.org>
4113 * tests/specflags6.test: New file.
4115 2001-02-14 Tom Tromey <tromey@redhat.com>
4117 * automake.texi (A Shared Library): Mention -module.
4119 2001-02-13 Tom Tromey <tromey@redhat.com>
4121 * automake.in (do_one_merge_target): Always register $name and
4124 * automake.in (do_one_merge_target): Register `all' as phony
4127 * configure.in: Updated to 1.4e for cvs.
4129 2001-02-12 Tom Tromey <tromey@redhat.com>
4131 * configure.in: Updated to 1.4d and released.
4133 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4134 names through autoconf.
4136 Fix for subdirbuiltsources.test:
4137 * automake.in (initialize_per_input): [all_target] Initialize to
4139 (handle_merge_targets): Use all-redirect target to handle built
4141 (do_one_merge_target): Don't generate all-redirect rule.
4143 2001-02-11 Peter Muir <iyhi@yahoo.com>
4145 * tests/subdirbuiltsources.test: New file.
4146 * tests/Makefile.am (TESTS): Added new file.
4148 2001-02-10 Tom Tromey <tromey@redhat.com>
4150 * tests/condlib.test: New file.
4151 * tests/Makefile.am (TESTS): Added new file.
4153 2001-02-10 Lars J. Aas <larsa@sim.no>
4155 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4156 (&canonicalize): New. Includes '@' in canonical range.
4157 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4158 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4160 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4162 * automake.in (handle_configure): Revert part of
4163 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4164 set CONFIG_COMMANDS explicitly.
4166 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4168 * depcomp (gcc3): Propagate exit code.
4170 2001-02-09 Lars J. Aas <larsa@sim.no>
4172 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4174 2001-02-09 Tom Tromey <tromey@redhat.com>
4176 Clean up maintainer-check warnings:
4177 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4179 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4181 2001-02-09 Akim Demaille <akim@epita.fr>
4183 * automake.in (&file_contents): Remove a dead branch.
4185 2001-02-09 Akim Demaille <akim@epita.fr>
4187 * automake.in (&transform): Use `my', not `local'.
4188 (&transform_cond): New.
4189 (&get_object_extension, &handle_texinfo, &handle_tags)
4190 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4191 (&handle_tests_dejagnu): Use it.
4192 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4193 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4195 2001-02-09 Akim Demaille <akim@epita.fr>
4197 * automake.in: Various formatting changes, and modernization of
4200 (&handle_configure, define_standard_variables): Use it.
4202 2001-02-08 Tom Tromey <tromey@redhat.com>
4204 * automake.in (file_contents): Only add $actions if any are
4205 found. Fixes new failure in pr87.test.
4207 2001-02-08 Pavel Roskin <proski@gnu.org>
4209 * tests/pr87.test: Check foo/Makfile.in after it is created.
4211 2001-02-08 Tom Tromey <tromey@redhat.com>
4213 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4214 Report from Lars J. Aas.
4216 2001-02-07 Lars J. Aas <larsa@sim.no>
4218 * lisp.am (install-@DIR@LISP): Removed extra space.
4219 * header.am (install-@DIR@HEADERS): Removed extra space.
4220 * data.am (install-@DIR@DATA): Removed extra space.
4222 2001-02-07 Tom Tromey <tromey@redhat.com>
4224 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4226 * automake.in (handle_dependencies): Use _am_include, not
4228 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4229 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4231 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4233 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4235 * automake.in (handle_configure): Handle case where output file is
4236 in subdir with no Makefile of its own. Fixes remake3.test,
4239 2001-02-06 Pavel Roskin <proski@gnu.org>
4241 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4243 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4244 * tests/exsource.test: Likewise.
4246 2001-02-06 Derek Price <derek.price@openavenue.com>
4248 * automake.in (handle_configure): Fix syntax error.
4250 2001-02-06 Akim Demaille <akim@epita.fr>
4252 * subdirs.am: This file is the exception: clean recursive targets
4253 are called by the clean targets, not the clean-am targets.
4254 Otherwise we have a circular dependency: clean -> clean-am ->
4255 clean-recursive -> clean.
4256 * automake.in (handle_clean): Bind `-local' targets to `-am'
4257 targets, not top targets.
4258 Don't declare -recursive dependencies of the clean targets:
4259 `subdirs.am' did it. Less hard coded knowledge, transfered
4263 2001-02-06 Akim Demaille <akim@epita.fr>
4265 Monstro unsplitable patch.
4267 The aim is to remove hard coded knowledge about clean targets from
4268 automake.in, leaving them in the *.am files.
4269 In addition to the mechanic needed to factor some dependencies, it
4270 appears some rules (most notably distclean and maintainer-clean)
4271 need factored actions. So first, be ready to catch factored
4274 * automake.in (&file_contents): For the time being, use an extended
4275 $RULE_PATTERN which is able to match any kind of rules, with or
4276 without dependency, with or without actions.
4277 Handle all the rules uniformly, storing in %actions the factored
4279 (&flatten, &target_cmp): New.
4280 (&handle_factored_dependencies): Output the %actions.
4281 No longer special case `clean'.
4282 Output the rules in alphabetical order, but keeping `.PHONY' last.
4284 Now we must not use &push_phony_cleaners, which is doing all sort
4285 of magic to push a bit of everything in all the clean targets.
4286 The biggest problem being that, making a Cartesian product, it
4287 requires many useless targets. The `*.am' file know better.
4288 But first, register the new factored rules.
4290 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4291 maintainer-clean, distclean and their `*-am' counterpart in
4293 Initialize %actions.
4294 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4295 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4296 (handle_emacs_lisp, handle_python): Don't play with
4297 &push_phony_cleaners nor &depend and `clean'.
4298 * texinfos.am, texi-vers.am, tags-clean.am:
4299 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4300 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4301 * clean-kr.am, clean-hdr.am: Do it.
4302 Whenever a target is empty, just remove it, it will no longer be
4305 There is still some magic about clean to hard code. But really,
4306 that's the end of &do_one_clean_target.
4308 * automake.in (&do_one_clean_target): Kaboom out.
4309 (&handle_clean): Rewrite the magic code.
4310 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4312 (&push_phony_cleaners): Kaboom too.
4314 2001-02-06 Akim Demaille <akim@epita.fr>
4316 * automake.in (do_one_clean_target): Don't hard code knowledge
4317 about libtool, and maintainer-clean.
4318 * clean.am, libtool.am: Handle these.
4320 2001-02-05 Akim Demaille <akim@epita.fr>
4322 * automake.in (handle_texinfo): No longer hard code the clean
4324 (texinfos.am): Include them.
4326 2001-02-05 Akim Demaille <akim@epita.fr>
4328 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4329 (maintainer-check): Don't be silent when you find a problem, and
4330 actually, even specify the locations.
4331 Also check that @_ is assigned to arrays.
4333 2001-02-05 Akim Demaille <akim@epita.fr>
4335 * m4/regex.m4: Use AC_LIBSOURCES.
4336 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4339 2001-02-04 Tom Tromey <tromey@redhat.com>
4341 * m4/Makefile.am (m4data_DATA): Added make.m4.
4342 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4344 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4345 Copy depcomp to subdir.
4346 * m4/make.m4: New file.
4348 2001-02-04 Pavel Roskin <proski@gnu.org>
4350 * automake.in (handle_dist_worker): Remove a line that is now
4353 2001-02-04 Kevin Ryde <user42@zip.com.au>
4355 * automake.in (handle_configure): Call config.status with empty
4356 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4358 2001-02-04 Tom Tromey <tromey@redhat.com>
4360 * depcomp (ddashmd): Removed case.
4361 (sgi): Handle failure exit correctly
4362 (aix): Likewise. Also, add dummy `.h' targets.
4364 2001-02-04 Akim Demaille <akim@epita.fr>
4366 * distdir.am (distdir): New file, extracted from...
4367 * automake.in (handle_dist_worker): here.
4370 2001-02-04 Akim Demaille <akim@epita.fr>
4372 * automake.in (@clean): Remove, replaced by...
4373 ($dependencies{'clean'}): this.
4374 Use `&depend' instead of push'ing into @clean.
4375 (handle_factored_dependencies): For the time being, skip 'clean'.
4376 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4377 always `clean', and `@clean'.
4379 2001-02-04 Akim Demaille <akim@epita.fr>
4381 * automake.in (%dependencies): Don't be initialize globally for
4382 all the files, but in...
4383 (&initialize_per_input): here.
4385 (@phony): Replace all occurrences with the corresponding &depend
4388 2001-02-03 Tom Tromey <tromey@redhat.com>
4390 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4391 * header-vars.am (INSTALL_HEADER): New macro.
4393 * automake.texi (Rebuilding): New node.
4397 Copyright 2001 Free Software Foundation, Inc.
4399 This file is part of GNU Automake.
4401 GNU Automake is free software; you can redistribute it and/or modify
4402 it under the terms of the GNU General Public License as published by
4403 the Free Software Foundation; either version 2, or (at your option)
4406 GNU Automake is distributed in the hope that it will be useful,
4407 but WITHOUT ANY WARRANTY; without even the implied warranty of
4408 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4409 GNU General Public License for more details.
4411 You should have received a copy of the GNU General Public License
4412 along with autoconf; see the file COPYING. If not, write to
4413 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4414 Boston, MA 02111-1307, USA.