1 2001-10-28 Akim Demaille <akim@epita.fr>
3 * automake.in (&am_primary_prefixes): Now returns a list, not a
5 (&handle_libraries, &handle_ltlibraries, &handle_java)
6 (&am_install_var): Adjust.
8 2001-10-28 Akim Demaille <akim@epita.fr>
10 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
12 (@libtool_files, @libtool_sometimes): these.
13 ($libtool_location): Remove, completely replaced by $seen_libtool.
14 (&require_file_internal): Do not run libtoolize, that's
17 2001-10-28 Akim Demaille <akim@epita.fr>
19 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
20 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
21 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
22 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
23 * tests/conf2.test, tests/config.test, tests/depcomp.test,
24 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
25 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
26 * tests/libobj8.test, tests/output.test, tests/output2.test,
27 * tests/output3.test, tests/output4.test, tests/output5.test,
28 * tests/pr2.test, tests/remake.test, tests/remake2.test,
29 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
30 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
31 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
34 2001-10-28 Akim Demaille <akim@epita.fr>
36 * automake.in (&scan_autoconf_traces): Use eq for equality.
39 (&initialize_per_input): Don't initialize several times the same
43 2001-10-28 Akim Demaille <akim@epita.fr>
45 * automake.in (scan_one_autoconf_file): When using %generalize, be
46 sure to replace only words. AC_FUNC_OBSTACK was matching
49 2001-10-26 Akim Demaille <akim@epita.fr>
51 * tests/stamph2.test: Strengthen.
52 * tests/confh2.test, tests/confh3.test: Remove.
53 These are bad tests: they don't check the effects, but some
54 internal details in Makefile.
55 And they are covered by stamph2.test.
57 2001-10-26 Akim Demaille <akim@epita.fr>
59 Now that stamp-h's are created by config.status, we don't need to
60 handle them in Makefile's.
62 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
63 * m4/header.m4 (_AM_STAMP): New.
64 (_AM_CONFIG_HEADER): Use it.
66 2001-10-26 Akim Demaille <akim@epita.fr>
68 * automake.in (&generate_makefile, &handle_texinfo_helper)
69 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
70 (&define_pretty_variable, &read_am_file, &file_contents_internal)
71 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
72 `join (' ', @list)' into `"@list"'.
74 2001-10-26 Akim Demaille <akim@epita.fr>
76 * automake.in (@config_fullnames, @config_names): Remove.
77 (@config_headers): Now contains the actual spec used in
79 (&split_config_file_spec): New.
80 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
81 (&scan_one_autoconf_file): Adjust.
82 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
85 2001-10-26 Akim Demaille <akim@epita.fr>
87 * m4/header.m4 (_AM_CONFIG_HEADER): New.
88 (AM_CONFIG_HEADER): Use it.
90 2001-10-26 Akim Demaille <akim@epita.fr>
92 * automake.in (&handle_configure): Use the config.status 2.50
93 invocation syntax for config files and headers.
94 autoheader needs the name of the file to create, not from what it
95 must be created, hence CONFIG_HEADER_FULL is $one_name, not
97 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
98 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
100 Strengthen: Use the non-default config.hin source.
101 Strengthen: Make sure config.h is properly updated when config.hin
104 2001-10-26 Akim Demaille <akim@epita.fr>
106 * automake.in (&handle_configure): Seeing Automake files in
107 @other_input_files is a programming error, not merely something to
109 Factor slightly the code.
111 2001-10-26 Akim Demaille <akim@epita.fr>
113 * automake.in ($canonical_location): New.
115 (&require_config_file, $line_error): Remove.
117 2001-10-24 Akim Demaille <akim@epita.fr>
119 * automake.in: Use &verbose.
120 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
123 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
125 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
126 Have the basename step optional and use %NDIR% instead of %DIR% in
127 filenames in order to support 'nobase_'.
129 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
131 * automake.in (handle_languages, handle_single_transform_list,
132 lang_c_rewrite): Use require_conf_file instead of
133 require_config_file to require depcomp or compile from
134 Makefile.am. (This is a part of my patch of 2001-10-15 which got
135 mistakenly reverted.)
137 2001-10-24 Akim Demaille <akim@epita.fr>
139 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
142 2001-10-24 Akim Demaille <akim@epita.fr>
144 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
145 appear in Makefile.in in the clean rule.
147 * tests/cxxansi.test: Adjust.
149 2001-10-24 Akim Demaille <akim@epita.fr>
151 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
152 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
154 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
155 (&conf_error, &file_warning): these.
156 (&file_warning): Fix the prototype and argument handling.
157 (&am_line_warning): Remove, unused.
159 Also, repair the misapplication of previous patches.
161 2001-10-21 Akim Demaille <akim@epita.fr>
163 * automake.in ($ac_output_location): Replace with...
164 ($ac_config_files_location): this.
165 (&scan_autoconf_traces): We don't need $file and $line, $here is
167 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
168 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
170 2001-10-21 Akim Demaille <akim@epita.fr>
172 * automake.in (&require_file_with_macro): Use &require_file.
173 (&read_am_file): Move the definition of $here at its proper place.
175 2001-10-21 Akim Demaille <akim@epita.fr>
177 * automake.in ($libtool_line, $seen_pythondir): Replace with...
178 ($libtool_location, $pythondir_location): these.
179 (&require_conf_file_with_line, &require_conf_file_with_line):
181 (&require_file): Don't forget $where.
182 (&require_conf_file): Ahem... Fix the name.
183 (&require_config_file): Invoke &require_conf_file, not yourself.
184 (&am_line_error): Fix the default am_file_error invocation.
186 2001-10-21 Akim Demaille <akim@epita.fr>
188 * automake.in ($seen_lispdir): Replace with...
189 ($am_lispdir_location): this.
190 (&require_conf_file): New.
191 (&require_config_file, &require_conf_file_with_line,
192 (&require_conf_file_with_conf_line): Use it.
193 (&require_conf_file_with_macro): New.
195 2001-10-21 Akim Demaille <akim@epita.fr>
197 * automake.in ($config_header_line, $ac_output_line)
198 ($ac_gettext_line, $package_version_line): Replace with...
199 ($config_header_location, $ac_output_location)
200 ($ac_gettext_location, $package_version_location): these.
201 (&require_file_with_conf_line, &require_file_with_line): Remove,
204 2001-10-21 Akim Demaille <akim@epita.fr>
206 * automake.in (&require_file_internal): Instead of $file and $line,
207 take $where as first argument.
209 (&require_file_with_macro): New.
210 Use it where internal black magic was used to recover the location
211 of a macro definition.
213 2001-10-21 Akim Demaille <akim@epita.fr>
215 * automake.in (&read_am_file): Define and use `$here'.
216 Avoid using am_line_error.
218 2001-10-21 Akim Demaille <akim@epita.fr>
220 * automake.in (&am_target_error): New.
221 Use it where appropriate instead of...
222 (&am_line_error): this.
223 Using it for a target is a croak error.
225 2001-10-21 Akim Demaille <akim@epita.fr>
227 * automake.in (&am_macro_error): New.
228 Use it where appropriate instead of...
229 (&am_line_error): this.
230 Using it for a macro is a croak error.
232 2001-10-21 Akim Demaille <akim@epita.fr>
234 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
235 AC_OUTPUT a Makefile.
237 2001-10-21 Akim Demaille <akim@epita.fr>
239 * automake.in (%var_line): Rename as...
240 (%var_location): this.
241 Use it consistently as the location where the macro is defined,
242 file and line when possible, otherwise just file.
243 (&read_am_file): Rules have their own location tracking, don't
244 pollute %var_location.
246 2001-10-21 Akim Demaille <akim@epita.fr>
248 * automake.in (am_line_error): Clarify.
250 2001-10-21 Akim Demaille <akim@epita.fr>
252 * automake.in (&am_print_error): Set $exit_status since all your
254 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
256 (&am_conf_line_error, &am_conf_line_warning): Remove.
257 Adjust callers to use &am_file_error and...
258 (&am_file_warning): new.
260 2001-10-21 Akim Demaille <akim@epita.fr>
262 * m4/regex.m4: Use AC_LIBOBJ.
263 Require 2.50, and use AC_LIBSOURCES freely.
264 * tests/asm.tests: Formatting changes.
267 2001-10-21 Akim Demaille <akim@epita.fr>
269 * tests/install.test: This test is an empty shell, do not run
271 * tests/Makefile.am (TESTS): Don't run it.
272 * tests/defs (ACLOCAL): When using gettext, pass in the installed
274 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
276 * tests/obsolete2.test: Remove, merged into...
277 * tests/obsolete.test: here.
278 Both aclocal and automake should complain.
280 2001-10-21 Akim Demaille <akim@epita.fr>
282 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
283 for symbols which cannot be Make macro names.
284 (scan_one_autoconf_file): `$here' is new.
285 Use it consistently instead of `1' to remember a token was seen.
287 2001-10-21 Akim Demaille <akim@epita.fr>
289 * tests/subdircond.test: Requires gettext.
290 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
291 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
292 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
293 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
294 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
295 Produce valid configure.in, use aclocal appropriately, declare
296 when libtool is required.
298 2001-10-21 Akim Demaille <akim@epita.fr>
300 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
301 * automake.texi (Macros, Yacc and Lex): Adjust.
302 * automake.in ($seen_decl_yytext): Rename as...
303 ($seen_prog_lex): this.
304 (&scan_autoconf_traces): Add AC_PROG_LEX support.
305 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
307 2001-10-21 Akim Demaille <akim@epita.fr>
309 * automake.in (&scan_autoconf_traces): Add support for
310 AM_PATH_LISPDIR and AM_PATH_PYTHON.
312 2001-10-21 Akim Demaille <akim@epita.fr>
314 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
316 * tests/lex.test: Run AC_INIT once.
317 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
319 * tests/header.test: Built a correct configure.in.
320 * tests/defun2.test (configure.in): Be a bit respectful with
321 Autoconf, close the macro invocations.
322 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
325 * automake.in (scan_autoconf_traces): Add support for
326 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
327 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
328 * tests/condincl.test (target): Better pattern, to avoid matching
329 the definition of `target_alias' which is now properly discovered
330 as an AC_SUBST by traces.
331 * cond4.test: Better grep pattern: After all, why shouldn't
332 TWO_FALSE be AC_SUBST properly.
333 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
335 2001-10-20 Kevin Ryde <user42@zip.com.au>
337 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
338 actually using ansi2knr.
340 * automake.in (handle_configure): Always put a number on $stamp_name,
341 to match AM_CONFIG_HEADER.
343 2001-10-20 Tom Tromey <tromey@redhat.com>
345 * tests/Makefile.am (TESTS): Added condd.test.
346 (XFAIL_TESTS): Added condd.test.
347 * tests/condd.test: New file.
349 2001-10-20 Akim Demaille <akim@epita.fr>
351 * automake.in (&scan_autoconf_traces): Add support for
352 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
354 * tests/alpha.test (configure.in): Automake wants a Makefile.
356 2001-10-20 Akim Demaille <akim@epita.fr>
358 * automake.in (scan_autoconf_traces): Use an unlikely to be used
359 separator between trace arguments, in particular not `:' as it is
360 within AC_CONFIG_FILES's $1.
362 2001-10-20 Akim Demaille <akim@epita.fr>
364 * tests/alpha.test (configure.in): Create, don't append. A single
367 2001-10-20 Akim Demaille <akim@epita.fr>
369 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
370 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
371 * tests/alpha.test, tests/ansi.test, tests/asm.test,
372 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
373 * tests/badline.test, tests/block.test, tests/canon2.test,
374 * tests/check.test, tests/checkall.test, tests/clean.test,
375 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
376 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
377 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
378 * tests/comment.test, tests/comment3.test, tests/cond.test,
379 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
380 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
381 * tests/condman2.test, tests/confdist.test, tests/confh.test,
382 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
383 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
384 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
385 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
386 * tests/else.test, tests/empty.test, tests/exdir.test,
387 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
388 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
389 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
390 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
391 * tests/include.test, tests/info.test, tests/insh.test,
392 * tests/insh2.test, tests/install.test, tests/installsh.test,
393 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
394 * tests/insthook.test, tests/instman.test, tests/instman2.test,
395 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
396 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
397 * tests/man.test, tests/mclean.test, tests/mdate.test,
398 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
399 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
400 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
401 * tests/outdir.test, tests/output.test, tests/output2.test,
402 * tests/output3.test, tests/output4.test, tests/output5.test,
403 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
404 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
405 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
406 * tests/primary.test, tests/proginst.test, tests/python.test,
407 * tests/remake.test, tests/remake2.test, tests/remake3.test,
408 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
409 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
410 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
411 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
412 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
413 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
414 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
415 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
416 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
417 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
418 * tests/version.test, tests/version2.test, tests/version3.test,
419 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
420 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
422 2001-10-20 Akim Demaille <akim@epita.fr>
424 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
425 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
426 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
427 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
428 * tests/conf2.test, tests/confh.test, tests/confh2.test,
429 * tests/confh3.test, tests/confh4.test, tests/config.test,
430 * tests/confsub.test, tests/depend3.test, tests/discover.test,
431 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
432 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
433 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
434 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
435 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
436 * tests/output.test, tests/output2.test, tests/output3.test,
437 * tests/output4.test, tests/output5.test, tests/package.test,
438 * tests/parse.test, tests/pr2.test, tests/remake.test,
439 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
440 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
441 * tests/subdir4.test, tests/subdirbuiltsources.test,
442 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
443 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
444 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
445 since AM_INIT_AUTOMAKE requires them.
447 2001-10-20 Akim Demaille <akim@epita.fr>
449 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
451 Don't run AC_ARG_PROGRAM another time, it is required by
453 * tests/aclocal.test: Work on the default configure.in
454 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
455 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
457 Be realistic in testing: AC_INIT is required for Autoconf.
458 Broken so called optimized tests break trace handling.
460 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
461 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
462 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
463 * tests/colon.test, tests/colon2.test, tests/colon3.test,
464 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
465 * tests/colon7.test, tests/cond.test, tests/cond2.test,
466 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
467 * tests/confh.test, tests/confh2.test, tests/confh3.test,
468 * tests/confh4.test, tests/config.test, tests/confsub.test,
469 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
470 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
471 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
472 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
473 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
474 * tests/libobj9.test, tests/output.test, tests/output2.test,
475 * tests/output3.test, tests/output4.test, tests/parse.test,
476 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
477 * tests/remake.test, tests/remake2.test, tests/remake3.test,
478 * tests/req.test, tests/scripts.test, tests/subdir.test,
479 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
480 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
481 * tests/version2.test: Add AC_INIT in `configure.in'.
483 2001-10-20 Akim Demaille <akim@epita.fr>
485 * automake.in (&scan_autoconf_traces): Add support for
486 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
487 Let @args have a more natural M4 correspondence: $1 is args[1], no
489 (&scan_autoconf_files): Using autoconf traces is no longer a
490 complement of the previous ad hoc scheme: use either.
492 2001-10-20 Akim Demaille <akim@epita.fr>
494 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
495 factors dedicated $libsources assignments.
497 2001-10-20 Akim Demaille <akim@epita.fr>
499 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
500 Remove, since Autoconf 2.52 has them.
501 * automake.in, aclocal.in, automake.texi: Adjust.
503 2001-10-19 Akim Demaille <akim@epita.fr>
505 * automake.in (&read_main_am_file): s/generated automatically/
507 Insert @configure_input@, since 2.50 no longer output this
508 automatically for Makefiles.
510 2001-10-19 Kevin Ryde <user42@zip.com.au>
512 * lib/am/check.am (check-TESTS): Add an "else true" to work with
513 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
515 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
517 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
518 * tests/nobase.test: New file. Based on a bug report
519 from Martin Frydl <martin@idoox.com>.
521 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
523 * automake.in (am_install_var): Don't strip nobase_ from $X, do
524 this with $nodir_name only. Use $nodir_name where appropriate.
526 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
528 * automake.in (handle_languages, handle_single_transform_list,
529 lang_c_rewrite): Use require_conf_file instead of
530 require_config_file to require depcomp or compile from Makefile.am.
531 (require_aux_file_with_line): New function, adapted from
532 require_conf_gile_with_line.
533 (require_conf_file_with_line, require_conf_file_with_conf_line):
534 Simplify using require_aux_file_with_line.
535 (require_config_file): Simplify using require_conf_file_with_conf_line.
536 (require_conf_file): New function.
538 2001-10-15 Akim Demaille <akim@epita.fr>
540 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
541 normally, what is wrong is that automake outputs a variable
542 definition for it, hence...
543 * automake.in (scan_one_autoconf_file): don't.
545 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
547 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
548 Use AC_CONFIG_COMMANDS.
549 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
551 2001-10-15 Akim Demaille <akim@epita.fr>
553 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
555 2001-10-15 Akim Demaille <akim@epita.fr>
557 * automake.in (&variable_conditions): Be deterministic and Perl
558 version independent: sort the result.
559 (&variable_output, &variable_pretty_output): Sort all the @conds,
560 not only when defaulted.
561 * tests/cond3.test: Adjust.
563 2001-10-15 Akim Demaille <akim@epita.fr>
565 * automake.in: Formatting changes.
567 2001-10-15 Akim Demaille <akim@epita.fr>
569 * aclocal.in: Use Automake::General and Automake::XFile.
570 Use find_configure_ac.
571 Output the Emacs tags for Autoconf mode selection.
573 2001-10-10 Akim Demaille <akim@epita.fr>
575 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
578 2001-10-09 Akim Demaille <akim@epita.fr>
580 Do not use Autoconf internals.
582 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
583 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
584 m4_regexp and m4_patsubst, since the latter are reserved for ERE
587 2001-10-08 Akim Demaille <akim@epita.fr>
589 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
592 2001-10-05 Akim Demaille <akim@epita.fr>
594 * automake.in (scan_autoconf_files): Use find_configure_ac from
597 2001-10-02 Akim Demaille <akim@epita.fr>
599 * lib/Automake/Struct.pm: Update from Autoconf.
600 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
602 * automake.in: Use them.
603 (&uniq, $me): Remove, as they are provided by Automake::General.
605 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
607 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
608 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
609 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
610 * lib/am/distdir.am (distcheck): Likewise.
611 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
612 using cd so we don't have to fiddle with CDPATH.
613 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
614 DOSish path separator.
616 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
618 * lib/am/python.am (install-%DIR%PYTHON,
619 uninstall-%DIR%PYTHON): Strip path of source file.
620 (clean-python): Comment out.
622 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
624 * automake.in (handle_python): Use require_conf_file_with_conf_line
625 instead of require_file_with_conf_line, so that elisp-comp and
626 py-compile are installed in the aux-directory.
627 (handle_emacs_lisp): Likewise. Define elisp_comp.
628 * lib/am/lisp.am (.el.elc): Use elisp_comp.
630 2001-10-01 Akim Demaille <akim@epita.fr>
632 * lib/am/distdir.am (distcheck): Report the trailing files.
633 Run `dist-gzip', not `dist', as it may leave other distribution
636 2001-09-29 Paul Eggert <eggert@twinsun.com>
638 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
639 bugs when making file names with unusual characters. Quote chmod
640 arg "$dirmode", in case it contains white space.
642 Incorporate the following change from autoconf mkinstalldirs:
644 1999-04-10 Ben Elliston <bje@cygnus.com>
646 Add `-m' flag to specify the mode of a newly created
647 directory. Add command line usage and `-h', `--help' options.
648 Contributed by Jeff Garzik.
650 2001-09-27 Akim Demaille <akim@epita.fr>
652 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
654 2001-09-27 Akim Demaille <akim@epita.fr>
656 * lib/am/distdir.am (dist): Rename as...
658 (dist): Additional name for dist-all.
659 * automake.texi (Options, Dist): Adjust.
661 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
663 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
664 * automake.in (obsolete_macros): Likewise.
665 (seen_objext): Remove (unused).
666 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
667 * lib/am/header-vars.am (EXEEXT, OBJEXT,
668 PATH_SEPARATOR): New variables.
669 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
671 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
673 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
674 neutralize CDPATH for us.
675 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
676 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
679 2001-09-22 Akim Demaille <akim@epita.fr>
681 * configure.in, NEWS: Bump to 1.5a.
684 2001-09-22 Paul Eggert <eggert@twinsun.com>
686 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
687 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
688 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
689 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
690 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
691 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
692 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
693 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
694 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
695 m4/termios.m4, m4/winsz.m4: Add copyright notice.
697 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
698 which has a copyright notice.
700 * m4/strtod.m4: Correct the dates on the copyright notice.
702 2001-09-17 Akim Demaille <akim@epita.fr>
704 * lib/missing (autom4te): New.
705 (aclocal, autoconf, automake, autoheader, help2man): Propagate
708 2001-08-27 Tom Tromey <tromey@redhat.com>
710 * automake.texi (A Shared Library): Clarify installation
712 (Install): Typo. From Adrian Bunk.
714 2001-08-27 Tom Tromey <tromey@redhat.com>
716 * automake.texi (Macros): Typo fix.
717 From Christian Cornelssen
719 2001-08-27 Tom Tromey <tromey@redhat.com>
721 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
722 tests/cond4.test, tests/cond16.test, tests/cond18.test,
723 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
724 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
725 tests/substref.test: Clear CFLAGS.
727 * automake.texi (Yacc and Lex): Mention lex, not yacc.
728 From Alexey Mahotkin.
730 2001-08-27 Tom Tromey <tromey@redhat.com>
732 * tests/yacc7.test: Use test -f, not test -e.
734 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
736 * automake.texi (etags): Typo fix.
738 2001-08-27 Guido Draheim <guidod@gmx.de>
740 * automake.in : restrict ansi2knr option to be a filepath
742 2001-08-23 Richard Boulton <richard@tartarus.org>
744 * tests/yacc7.test: Actually add this file: was accidentally omitted.
746 2001-08-22 Tom Tromey <tromey@redhat.com>
748 * automake.texi (Conditionals): Mention that conditionals must
749 always be invoked. For PR automake/220.
751 2001-08-22 Richard Boulton <richard@tartarus.org>
752 Tom Tromey <tromey@redhat.com>
754 * automake.in (lang_yacc_target_hook): Make header file depend on
755 .c file, not .y file.
756 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
757 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
758 * tests/yacc7.test: New file.
759 * tests/Makefile.am (TESTS): Added yacc7.test.
761 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
763 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
765 2001-08-18 Tom Tromey <tromey@redhat.com>
767 * automake.texi (Dist): Mention dist-all.
769 2001-08-18 Tom Tromey <tromey@redhat.com>
771 * tests/cond3.test: Use portable sed expression.
772 From Richard Boulton.
774 2001-08-13 Richard Boulton <richard@tartarus.org>
776 * automake.in (handle_source_transform): Call
777 define_objects_from_sources() instead of calling
778 variable_value_as_list(), handle_single_transform_list() and
779 define_pretty_variable() directly.
780 (handle_single_transform_list): Add $topparent parameter, used for
781 error messages. Improved error message.
782 (define_objects_from_sources): New function.
783 (subobjname): New function.
784 (variable_conditions_recursive): New name for variable conditions.
785 (variable_value_as_list_recursive): New name for variable_value_as_list.
786 (variable_value_as_list_worker): Renamed to ...
787 (variable_value_as_list_recursive_worker): ... this.
788 (variable_conditions_sub): Renamed to ...
789 (variable_conditions_recursive_sub): ... this.
790 (variable_conditions): Rewritten: now doesn't recurse subvariables.
791 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
792 (substfroms): New global.
793 (substtos): New global.
794 (substnums): New global.
795 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
796 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
797 * tests/sourcesub2.test: New test.
798 * tests/Makefile.am (TEST): Added sourcesub2.test.
800 2001-08-11 Tom Tromey <tromey@redhat.com>
802 * configure.in: Upped to 1.4s.
804 2001-08-09 Richard Boulton <richard@tartarus.org>
806 * automake.in (handle_single_transform_list): Use new global,
807 `%linkers_used', to store the linkers used, rather than an internal
808 variable. Enables correct linker to be calculated across a group
809 of calls to &handle_single_transform_list. Return only list of
810 objects, since linker to be used is now externally determined.
811 (handle_source_transform): adapted for new calling conventions of
812 handle_single_transform_list. Calls resolve_linker() on a set of
813 all the linkers used for any prefix, rather than for each prefix in
815 (linkers_used): New global.
816 * tests/link_dist.test: New test.
817 * tests/Makefile.am (TESTS): Added link_dist.test.
819 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
821 Dissociate testsuite 'make' invocations from outer 'make'.
822 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
823 environment variables.
824 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
826 * tests/substref.test: Likewise.
828 2001-08-08 Richard Boulton <richard@tartarus.org>
830 * tests/cond18.test: New file.
831 * tests/cond19.test: New file.
832 * tests/cond20.test: New file.
833 * tests/cond4.test: Updated to check the generated _OBJECTS more
835 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
838 2001-08-08 Richard Boulton <richard@tartarus.org>
840 * automake.in (file_contents_internal): if a rule is conditionally
841 defined, define the standard automake definition for it for those
842 conditions which are not conditionally defined.
843 (invert_conditions): New function: invert a list of conditionals.
845 * tests/cond14.test: New file.
846 * tests/cond15.test: New file.
847 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
849 2001-08-05 Tom Tromey <tromey@redhat.com>
851 * tests/Makefile.am (TESTS): Added dejagnu2.test.
852 * tests/dejagnu2.test: New file.
853 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
854 * automake.in (handle_scripts): Removed dead code.
855 (handle_tests_dejagnu): Don't handle site.exp generation
858 2001-08-04 Richard Boulton <richard@tartarus.org>
860 * tests/cond17.test: New file: test for being able to define an
861 object to be generated in different ways according to a
863 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
864 (TESTS): Added cond17.test.
866 2001-08-02 Richard Boulton <richard@tartarus.org>
868 * automake.in (variable_conditions_sub): Handle variable
869 substitution refs when computing conditions based on subvariable
870 conditions. Fixes substitution refs of system variables when sub
871 variable is conditional.
872 (SUBST_REF_PATTERN): New global.
873 * tests/cond16.test: New file: regression test for variable
875 * test/Makefile.am (TESTS): Added cond16.test.
877 2001-08-03 Tom Tromey <tromey@redhat.com>
879 * tests/substref.test: Require GNU make; backed out previous
882 * tests/substref.test: Handle entering/leaving directory
885 2001-08-03 Richard Boulton <richard@tartarus.org>
887 * automake.in (value_to_list): Check for whether $from is defined,
888 rather than whether it is true, so that empty $froms are allowed in
889 substitution reference patterns.
891 * tests/substref.test: New file: test behavior of substitution
892 references when the $from side of the substitution is empty.
893 * tests/Makefile.am (TESTS): Added substref.test.
895 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
897 * m4/install-sh.m4: New file.
898 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
899 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
900 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
901 for install.sh any longer, always use install-sh, don't even
902 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
903 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
905 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
907 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
909 * automake.texi (EXEEXT): Clarify.
911 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
913 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
915 * m4/auxdir.m4: More comments.
917 2001-07-31 Richard Boulton <richard@tartarus.org>
918 Raja R Harinath <harinath@cs.umn.edu>
920 * automake.in (variable_conditions_sub): Remove @parent_conds
921 argument. This was old logic - duplicate or impossible
922 conditionals are removed later by &variable_conditions_reduce().
923 Fixes tests/cond13.test.
924 (conditionals_true_when): Removed.
925 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
927 2001-07-31 Tom Tromey <tromey@redhat.com>
929 * tests/Makefile.am (TESTS): Added cond13.test.
930 (XFAIL_TESTS): Likewise.
931 * tests/cond13.test: New file.
933 * configure.in: Upped to version 1.4k.
935 * configure.in: Released 1.4j.
937 * lib/config.guess: Updated from master sources.
938 * lib/config.sub: Likewise.
940 2001-07-30 Tom Tromey <tromey@redhat.com>
942 * automake.texi (A Program): Typo. Added subsections and more
943 text about conditional compilation.
944 (A Shared Library): Moved earlier.
945 (Program variables): Updated LINK text. Added AM_CFLAGS.
946 (C++ Support): Added AM_CXXFLAGS.
947 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
950 * tests/Makefile.am (TESTS): Added aclibobj.test.
951 * tests/aclibobj.test: New file.
952 * automake.in (handle_lib_objects_cond): Avoid undefined variable
954 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
956 * automake.texi (Dist): Mention other distribution types.
959 2001-07-29 Tom Tromey <tromey@redhat.com>
961 * automake.texi (Program and Library Variables): Texinfo fix.
962 From Alexey Mahotkin.
964 2001-07-28 Tom Tromey <tromey@redhat.com>
966 * automake.texi (Strictness): Mention Cygnus mode.
969 (Canonicalization): Likewise.
970 (Install): Add `nobase_' to example; typo fix.
972 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
974 (Options): Texinfo fixes; some text updates.
977 2001-07-27 Tom Tromey <tromey@redhat.com>
979 * automake.texi (Invoking Automake): Document --Werror and
982 2001-07-26 Tom Tromey <tromey@redhat.com>
984 * tests/nolink.test: Added no-exeext.
986 * automake.in (check_variable_defined_unconditionally): Don't call
989 * automake.texi (Optional): Don't mention ALL_LINGUAS.
991 * automake.in (seen_linguas, all_linguas, all_linguas_line):
993 (handle_gettext): Don't do any checking of the languages.
994 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
996 * automake.in (am_print_error): New function.
998 (am_file_error): Likewise.
999 (am_line_error): Likewise.
1000 (am_conf_error): Likewise.
1001 (am_conf_line_error): Likewise.
1003 * automake.texi (Options): Document no-exeext.
1004 * automake.in (handle_options): Recognize no-exeext.
1005 (rule_define): Handle no-exeext.
1006 * tests/Makefile.am (TESTS): Added new file.
1007 * tests/exeext2.test: New file.
1009 * automake.in (make_input_list): Removed.
1010 (scan_autoconf_config_files): Don't add to make_input_list.
1011 (scan_one_autoconf_file): Don't use make_input_list.
1012 (scan_autoconf_files): Use make_list, not make_input_list.
1013 (scan_autoconf_files): Likewise.
1015 * automake.in (seen_exeext): Removed.
1016 (generate_makefile): Don't define EXEEXT or OBJEXT.
1017 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
1018 (am_install_var): Don't check $seen_exeext.
1019 (handle_programs): Likewise.
1020 (rule_define): Allow x to override x$(EXEEXT), for now.
1021 (file_contents_internal): Only define rule if rule_define allows
1023 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
1025 2001-07-25 Tom Tromey <tromey@redhat.com>
1028 * tests/pr9.test: Require GNU make.
1029 * tests/dirname.test: Don't use `-u'.
1031 2001-07-22 Tom Tromey <tromey@redhat.com>
1033 * tests/Makefile.am (TESTS): Added auxdir2.test.
1034 (XFAIL_TESTS): Likewise.
1035 * tests/auxdir2.test: New file.
1037 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
1038 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
1040 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
1041 * automake.in (am_install_var): Add $(EXEEXT) even if program name
1042 holds `.'. Don't add $(EXEEXT) if program name already has it.
1043 (handle_programs): Don't add $(EXEEXT) if user already did.
1044 (make_paragraphs): Don't compute EXEEXT.
1046 * tests/Makefile.am (TESTS): Added exeext.test.
1047 (XFAIL_TESTS): Likewise.
1048 * tests/exeext.test: New file.
1050 2001-07-22 Tom Tromey <tromey@redhat.com>
1052 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
1053 `prog.exe' on Cygwin with libtool. From Robert Collins.
1055 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1057 * tests/dirname.test: Explicitly use $SHELL to run the
1058 script; this avoids failures on DJGPP.
1059 * tests/install2.test: Skip if 'chmod 000' doesn't make
1062 2001-07-21 Tom Tromey <tromey@redhat.com>
1064 * tests/libtool2.test: Check for libtoolize.
1066 * tests/Makefile.am (TESTS): Added substtarg.test.
1067 (XFAIL_TESTS): Likewise.
1068 * tests/substtarg.test: New file.
1070 * automake.in (handle_dist): Handle case where aux dir doesn't
1071 have a Makefile. Fixes depdist.test.
1072 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
1073 * tests/depdist.test: Look for config/depcomp.
1075 * tests/Makefile.am (TESTS): Added depdist.test.
1076 (XFAIL_TESTS): Likewise.
1077 * tests/depdist.test: New file. From Eric Magnien.
1079 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
1080 AC_PROG_CC_C_O does require AC_PROG_CC.
1083 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
1085 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
1086 output is suitable for make.
1088 * automake.texi (Macros): Document AM_PROG_AS.
1089 (Assembly Support): New node.
1090 * m4/Makefile.am (m4data_DATA): Added as.m4.
1091 * m4/as.m4: New file.
1093 * automake.texi (Tags): Added uref to global tags.
1095 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1097 * automake.in (handle_single_transform_list): Use $(DEPDIR)
1098 instead of hardcoding '.deps'.
1099 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
1101 2001-07-20 Derek Price <dprice@collab.net>
1103 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
1105 * tests/dirname.test: New test.
1106 * tests/stamph2.test: New test.
1107 * tests/Makefile.am: Add new tests.
1108 * tests/Makefile.in: Regenerated.
1110 2001-07-19 Tom Tromey <tromey@redhat.com>
1112 * automake.texi (Tags): Document GTAGS_ARGS.
1113 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1115 2001-07-19 Tom Tromey <tromey@redhat.com>
1116 Alexandre Duret-Lutz <duret_g@epita.fr>
1118 Fix for ccnoco.test, subobj8.test:
1119 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1120 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1122 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1123 Use AM_AUX_DIR_EXPAND.
1124 * lib/compile: Handle case where `-o' argument is the name of an
1125 executable, not an object file.
1126 * m4/auxdir.m4: New file, from...
1127 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1128 * automake.in (handle_single_transform_list, lang_c_rewrite):
1129 Require compile using `require_config_file'.
1131 2001-07-19 Tom Tromey <tromey@redhat.com>
1133 * automake.texi (Program and Library Variables): Added X example
1136 2001-07-19 Tom Tromey <tromey@redhat.com>
1138 * automake.texi (Distributing): Updated to reflect new license.
1140 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1142 * automake.in (require_build_directory): New function, extracted
1144 (handle_single_transform_list): ... here.
1145 (require_build_directory_maybe): New function.
1146 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1147 require_build_directory_maybe() to ensure the subdirectory
1148 in which a target may lie will exist when the target is created.
1149 (handle_libraries, handle_ltlibraries): Use basename before
1150 checking library name.
1151 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1152 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1153 * lib/am/program.am (%PROGRAM%): Likewise.
1155 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1157 * m4/missing.m4: Reword comment.
1159 2001-07-18 Pavel Roskin <proski@gnu.org>
1161 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1162 * tests/gcj.test: Likewise.
1163 * tests/gcj2.test: Likewise.
1164 * tests/gcj3.test: Likewise.
1166 2001-07-18 Tom Tromey <tromey@redhat.com>
1168 * lib/compile: Change how lockdir is computed. If linking or
1169 compiling without `-o', just run the compiler.
1171 * tests/Makefile.am (TESTS): Added ccnoco.test.
1172 (XFAIL_TESTS): Likewise.
1173 * tests/ccnoco.test: New file.
1175 2001-07-17 Tom Tromey <tromey@redhat.com>
1177 * lib/ylwrap: Added special exception.
1178 * lib/py-compile: Added license.
1179 * lib/mdate-sh: Added special exception.
1180 * lib/elisp-comp: Added special exception.
1181 * lib/compile: Added special exception.
1182 * lib/depcomp: Added special exception.
1184 Report from Motoyuki Kasahara:
1185 * tests/make.test: Use am__include.
1186 * tests/exsource.test: Use am__include.
1187 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1188 * automake.in (handle_languages): Use am__include and am__quote.
1190 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1191 * m4/init.m4: Updated callers.
1193 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1195 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1196 * aclocal.in (scan_configure, add_file): Handle the full macro
1197 name even if it contains numbers, such as I18N.
1199 2001-07-16 Tom Tromey <tromey@redhat.com>
1201 * automake.texi (Dependencies): Link to dependency tracking page.
1202 (Data): Mention dist_.
1203 (Clean): Mention clean heuristics.
1204 (Install): Mention nobase_.
1206 * automake.texi (Program and Library Variables): Document _LINK.
1208 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1210 * automake.in (handle_libraries): Allow libraries to lie in
1211 a subdirectory by constraining only the basename to start
1212 with 'lib', not the whole path.
1214 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1216 * tests/subobj8.test: New file.
1217 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1219 2001-07-16 Tom Tromey <tromey@redhat.com>
1221 Fix for PR automake/212:
1222 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1223 (uninstall-%DIR%LISP): Likewise.
1225 2001-07-15 Tom Tromey <tromey@redhat.com>
1227 * automake.in (usage): Rewrote code to handle columnization.
1228 From Alexey Mahotkin and Maxim Sinev.
1230 Report from Ralf Corsepius:
1231 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1232 (SUFFIX_RULE_PATTERN): Likewise.
1233 * tests/Makefile.am (TESTS): Added cxx.test.
1234 * tests/cxx.test: New file.
1236 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1237 From Shigio Yamaguchi.
1239 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1241 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1242 remain after "make uninstall".
1244 2001-07-14 Tom Tromey <tromey@redhat.com>
1246 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1248 * lib/missing (makeinfo): Redirect stdout and stderr outside
1249 subshell. From Alexandre Oliva.
1251 2001-07-14 Akim Demaille <akim@epita.fr>
1253 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1254 `\b(foo|bar)\b' is what we want.
1255 * aclocal.in: Likewise.
1257 2001-07-14 Akim Demaille <akim@epita.fr>
1259 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1261 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1262 actually modified to require AM_DEPENDENCIES.
1263 Rename `confdir' as `conftest.dir' so that the configure trap
1266 2001-07-04 Tom Tromey <tromey@redhat.com>
1268 Fix for nolink.test:
1269 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1270 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1271 * automake.in (am_install_var): Only rewrite PROGRAMS if
1273 (make_paragraphs): Always define %EXEEXT%.
1275 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1277 * tests/nolink.test: New file.
1278 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1280 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1282 * automake.in (scan_texinfo_file): Add the second argument to
1283 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1284 itself may not be used directly.
1286 2001-07-04 Tom Tromey <tromey@redhat.com>
1289 * lib/missing (makeinfo): Use subshell, not explicit sh
1292 * automake.texi (Headers): Mention that we prefer uninstalled
1293 headers in _SOURCES.
1294 (ANSI): Mention cross-compilation limitation.
1296 2001-07-03 Tom Tromey <tromey@redhat.com>
1298 * configure.in: Upped to 1.4i.
1300 * configure.in: Released 1.4h.
1302 * lib/config.guess, lib/config.sub: Updated.
1304 2001-07-02 Tom Tromey <tromey@redhat.com>
1306 Fix for libtool2.test:
1307 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1308 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1309 * automake.in (generate_makefile): Call handle_libtool
1311 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1313 * tests/libtool2.test: Look for `.lo' files to be removed.
1315 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1317 * tests/Makefile.am (TESTS): Removed dup.test.
1318 * tests/dup.test: Removed.
1319 * aclocal.in (scan_file): Don't give error for duplicate macro.
1321 2001-07-01 Tom Tromey <tromey@redhat.com>
1323 * automake.texi (Program and Library Variables): Document
1324 subdir-objects. Document fact that per-object flags override AM_
1326 (Options): Likewise.
1327 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1328 (Multilibs): New node.
1329 (Macros): Documented missing macros.
1330 (Auxiliary Programs): New node.
1332 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1333 mode, then simply fail.
1335 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1337 * lib/ylwrap: Improve support for DOS paths (and paths
1338 containing backslashes in general).
1340 2001-07-01 Tom Tromey <tromey@redhat.com>
1342 * lib/missing: Added special exception to license.
1345 * lib/missing: Updated. Added comment explaining configure.ac
1348 * lib/depcomp: Reorder arguments to gcc3.
1349 From Per Oyvind Hvidsten.
1351 * tests/Makefile.am (TESTS): Added libtool2.test.
1352 * tests/libtool2.test: New file.
1354 * automake.texi (Program and Library Variables): Added example for
1357 2001-06-29 Tom Tromey <tromey@redhat.com>
1359 * tests/cond11.test: Use `=', not `=='.
1360 * tests/cond12.test: Look for automake in build directory, not
1363 2001-06-29 Richard Boulton <richard@tartarus.org>
1365 * automake.in (conditionals_true_when): Pass first parameters by
1366 reference, avoiding bug which put all parameters in @CONDS instead
1367 of @WHENS. Report by Kalle Olavi Niemitalo.
1368 Take a single WHEN instead of an array of WHENS.
1369 Remove FIXME; can't now have an empty @WHENS.
1370 (conditional_is_redundant): New sub.
1371 (variable_conditions_reduce): Check whether each condition is
1372 implied by any of the other conditions (other those already
1373 discarded), rather than checking only against those already
1374 considered (and kept). Also, fix sense of check: was keeping
1375 tautologous terms instead of discarding them. Use
1376 conditional_is_redundant instead of conditionals_true_when.
1377 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1378 * tests/cond11.test: New file.
1379 * tests/cond12.test: New file.
1381 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1383 * automake.in (saw_sources_p): Work even if there are more
1384 than one header files, and more than of one type of header.
1385 * tests/Makefile.am (TESTS): Added new file.
1386 * tests/depend4.test: New file.
1388 2001-06-28 Tom Tromey <tromey@redhat.com>
1390 * lib/am/libs.am (RANLIB): Don't define.
1392 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1394 * automake.in (am_install_var): Assign 1 to $first on
1397 2001-06-23 Tom Tromey <tromey@redhat.com>
1400 * lib/ylwrap: Changed usage.
1401 * lib/am/yacc.am: Rewrote to use new substitutions.
1402 * lib/am/lex.am: Likewise.
1403 * automake.in (handle_languages): Skip files whose language
1404 doesn't have a compiler. Handle `define_flag' attribute.
1405 Changed '$' to "\$" to aid Emacs fontification.
1406 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1407 `_target_hook' and `define_flag'.
1408 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1409 and `compiler' attributes. Removed `linker', `derived_autodep',
1410 and `ansi' attributes. Added `define_flag'.
1411 (yacc, yaccxx): Added `_target_hook'.
1412 (saw_extension): Count number of times extension seen.
1413 (count_files_for_language): New sub.
1414 (saw_sources_p): Use it.
1415 (handle_single_transform_list): Allow language rewrite function
1416 to return a new source extension. Call target_hook.
1417 (yacc_sources, lex_sources): Removed.
1418 (initialize_per_input): Don't initialize yacc_sources or
1420 (lang_yacc_rewrite): Rewrote.
1421 (lang_yaccxx_rewrite): Likewise.
1422 (lang_lex_rewrite): Likewise.
1423 (lang_lexxx_rewrite): Likewise.
1424 (output_yacc_build_rule): Removed.
1425 (output_lex_build_rule): Removed.
1426 (lang_yacc_finish): Removed build rule generation.
1427 (lang_lex_finish): Likewise.
1428 (DASH_D_PATTERN): New global.
1429 (lang_yacc_target_hook): New function.
1430 (_target_hook): New function.
1431 (register_language): Default `define_flag'.
1432 * tests/yacc5.test: Updated test.
1433 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1434 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1435 for all YFLAGS variables.
1437 2001-06-20 Tom Tromey <tromey@redhat.com>
1439 * tests/yacc5.test: Check for per-executable YFLAGS.
1441 2001-06-19 Tom Tromey <tromey@redhat.com>
1443 * tests/Makefile.am (TESTS): Added yacc5.test.
1444 * tests/yacc5.test: New file.
1446 2001-06-17 Tom Tromey <tromey@redhat.com>
1448 * automake.in (require_file_internal): Check for already-required
1449 file after searching for it, and only if it is not found. Don't
1450 use `readlink' when checking for dangling symlink. Work if
1451 --force-missing specified.
1452 * tests/acoutput2.test: Also test --force-missing.
1454 Fix for libtool.test:
1455 * automake.in (generate_makefile): Call handle_libtool.
1456 (handle_libtool): New sub.
1457 (handle_compile): Don't read `libtool' file.
1459 * tests/acoutput2.test: New file.
1460 * tests/Makefile.am (TESTS): Added acoutput2.test.
1462 2001-06-15 Tom Tromey <tromey@redhat.com>
1464 * tests/Makefile.am (TESTS): Added libtool.test.
1465 * tests/libtool.test: New file.
1467 2001-06-14 Tom Tromey <tromey@redhat.com>
1469 Fix some lisp bugs reported by Bruno Haible:
1470 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1472 (install-%DIR%LISP): Handle case where lispdir is not defined.
1473 (uninstall-%DIR%LISP): Likewise.
1474 (.el.elc): Added `else' clause.
1476 Fix for bug reported by Steve M. Robbins:
1477 * automake.in (handle_single_transform_list): When building a file
1478 from a subdirectory, continue to use `AM_' prefix.
1479 * tests/Makefile.am (TESTS): Added subobj7.test.
1480 * tests/subobj7.test: New file.
1482 * lib/am/configure.am ($(top_builddir)/config.status): Added
1483 $(top_builddir) prefix to work around problems with some vendor
1484 makes. From Nicholas Joly.
1486 * automake.in (yacc_lex_finish_helper): Find ylwrap in
1487 top_srcdir. From Tim Van Holder.
1488 * tests/Makefile.am (TESTS): Added yacc6.test.
1489 * tests/yacc6.test: New file.
1491 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
1493 * tests/defs, tests/installsh.test: Properly support
1496 2001-06-14 Tom Tromey <tromey@redhat.com>
1498 * tests/Makefile.am (TESTS): Added mdate4.test.
1499 * tests/mdate4.test: New file.
1501 * aclocal.in (scan_m4_files): Removed unused variable.
1503 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1505 * aclocal.in (scan_m4_files): Tweak the building of &search so
1506 that multiple macro names can be found on the same line. Ensure
1507 we match whole macro name, not only substrings.
1509 2001-06-12 Tom Tromey <tromey@redhat.com>
1511 * automake.texi (ANSI): Minor clarification.
1512 (Other GNU Tools): Don't mention Guile.
1514 (Java Support): Mention file extensions.
1515 (Man pages): Mention dist_. Don't mention info pages.
1517 2001-06-11 Tom Tromey <tromey@redhat.com>
1519 * automake.texi (Program variables): Document AM_CPPFLAGS.
1521 (Java Support): Document AM_GCJFLAGS.
1522 (Support for Other Languages): Removed `fixme'; added link to
1523 suffix rule handling.
1525 * automake.texi (Program and Library Variables): Document _LIBADD,
1526 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
1528 2001-06-11 Kevin Dalley <kevind@rahul.net>
1530 * missing: Support configure.ac.
1532 2001-06-08 Tom Tromey <tromey@redhat.com>
1534 * tests/version4.test: New file.
1535 * automake.in (version_check): New sub.
1536 (handle_options): Use it.
1537 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1538 (TESTS): Added version4.test.
1539 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1540 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
1542 2001-06-04 Kevin Dalley <kevind@rahul.net>
1544 * lib/am/dejagnu.am (site.exp): Fix typo.
1546 2001-06-02 Tom Tromey <tromey@redhat.com>
1548 * automake.in (variable_conditions_sub): Move parent-only code
1550 (variable_conditions): ... to here.
1551 (variable_conditions_sub): Include this variable's conditions in
1552 the resulting condition list.
1553 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
1555 2001-06-01 Tom Tromey <tromey@redhat.com>
1557 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
1559 * tests/ltdeps.test: New file. Report from Lars J. Aas.
1561 2001-05-31 Tom Tromey <tromey@redhat.com>
1563 * automake.texi (Alternative): New node.
1564 (Macros): Use new name for gcc.
1565 (Java Support): Likewise.
1566 (Dependencies): Rewrote.
1567 (Invoking Automake): (Re-)document -i, --ignore-deps, and
1570 * automake.texi (Top level): Removed erroneous spaces. Documented
1573 2001-05-29 Tom Tromey <tromey@redhat.com>
1575 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
1577 * automake.texi (Include): Rewrote.
1578 (Suffixes): Remove Java example.
1579 (Java): Added more explanation. Document variables.
1580 (Uniform): Mention JAVA as a primary.
1581 (Python): Updated for new Python support.
1582 (Sources): Added a weak example.
1584 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
1586 * automake.texi (A Program): Mention `check' prefix.
1587 (Program and Library Variables): New node.
1588 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
1590 (etags): Mention per-program flags.
1591 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
1594 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
1597 2001-05-28 Tom Tromey <tromey@redhat.com>
1599 * m4/Makefile.am (MAINT_CHARSET): Removed.
1600 * Makefile.am (MAINT_CHARSET): Removed.
1601 * automake.in (maint_charset, dist_charset): Removed.
1602 (local_maint_charset): Removed.
1603 (initialize_per_input): Don't use maint_charset.
1604 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
1606 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
1608 (.%SUFFIX%.dvi): Likewise.
1609 (.%SUFFIX%): Likewise.
1611 2001-05-27 Tom Tromey <tromey@redhat.com>
1613 * automake.in (handle_multilib): Only add multilib support code at
1615 * lib/am/multilib.am: Handle invocation of *-multi targets
1616 differently for SUBDIRS and non-SUBDIRS Makefiles.
1617 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
1618 Only add multilib code when the Makefile in question is actually
1621 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
1623 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1625 * automake.in (handle_single_transform_list): Skip unknown
1628 2001-05-25 Tom Tromey <tromey@redhat.com>
1630 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
1632 2001-05-24 Tom Tromey <tromey@redhat.com>
1634 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1635 directory in some situations.
1637 * automake.in (generate_makefile): Better explanation for ansi2knr
1640 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1642 * automake.in (handle_languages): Skip unknown extensions.
1643 (derive_suffix): Check whether $extension_map{$source_ext}
1644 is undefined, not empty.
1646 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1648 * automake.in (read_am_file): Ignore trailing backslash on
1651 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1653 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1655 2001-05-21 Akim Demaille <akim@epita.fr>
1657 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1658 multiple times'' warning.
1660 2001-05-20 Tom Tromey <tromey@redhat.com>
1662 * configure.in: Updated to 1.4g.
1664 * configure.in: Updated to 1.4f.
1666 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1668 * lib/ansi2knr.c: New version.
1670 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1673 2001-05-19 Tom Tromey <tromey@redhat.com>
1675 * config.guess, config.sub: New versions from FSF.
1677 * Makefile.am (fetch): Compare against files in srcdir.
1679 For for ansi2knr report from Harlan Stenn:
1680 * automake.in (generate_makefile): Run handle_compile before
1683 2001-05-18 Tom Tromey <tromey@redhat.com>
1685 * automake.in: Reverted erroneous checkin.
1687 2001-05-18 Akim Demaille <akim@epita.fr>
1689 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1690 to missing `install-info'.
1692 2001-05-17 Tom Tromey <tromey@redhat.com>
1694 * automake.in (lang_c_finish): Use `rm -f'.
1696 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1697 * tests/Makefile.am (TESTS): Added new file.
1698 * tests/ansi5.test: New file.
1700 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1702 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1704 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1705 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1706 * automake.texi (Requirements): Document the use of the STRIP
1707 variable in cross-compilation environments.
1709 2001-05-17 Tom Tromey <tromey@redhat.com>
1711 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1712 to no dependency tracking.
1713 * tests/Makefile.am (TESTS): Added depcomp2.test.
1714 * tests/depcomp2.test: New file. From Pavel Roskin.
1716 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1718 * lib/depcomp (tru64): New dependency tracking mode.
1720 Fix for PR automake/159:
1721 * lib/depcomp (aix): Rewrote.
1724 Fix for PR automake/174:
1725 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1726 * automake.in (read_am_file): Warn if `#' is at start of rule.
1728 2001-05-16 Tom Tromey <tromey@redhat.com>
1730 For PR automake/174:
1731 * tests/Makefile.am (TESTS): Added comment3.test.
1732 (XFAIL_TESTS): Likewise.
1733 * tests/comment3.test: New file.
1735 Fix for PR automake/175:
1736 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1737 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1738 `Leaving directory' messages.
1740 For PR automake/175:
1741 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1742 * tests/make.test: Run test with `make -w'.
1744 * tests/Makefile.am (TESTS): Removed maintclean.test.
1745 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1747 * lib/am/configure.am (maintainer-clean-am): Removed.
1748 (maintainer-clean-conf): Removed.
1749 * tests/maintclean.test: Removed.
1751 2001-05-15 Tom Tromey <tromey@redhat.com>
1753 Fix for PR automake/177:
1754 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1755 automake or aclocal.
1757 Fix for maintclean.test:
1758 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1759 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1761 (distclean, maintainer-clean): Moved to...
1762 * lib/am/configure.am: ... here.
1763 (distclean): Remove config.cache and config.log.
1764 (maintainer-clean): Removed.
1765 (maintainer-clean-conf): New target.
1766 (maintainer-clean-am): New target.
1768 * tests/Makefile.am (TESTS): Added maintclean.test.
1769 (XFAIL_TESTS): Likewise.
1770 * tests/maintclean.test: New file.
1772 Fixes PR automake/175:
1773 * tests/target-cflags.test: Use $needs_gnu_make.
1774 * tests/exsource.test: Use $needs_gnu_make.
1775 * tests/make.test: Require GNU make.
1776 * tests/defs (needs_gnu_make): Compute.
1778 2001-05-14 Tom Tromey <tromey@redhat.com>
1780 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1783 Fix for texinfo10.test.
1784 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1785 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1786 * automake.in (handle_texinfo_helper): New sub.
1787 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1788 * tests/texinfo10.test: Added more cases.
1790 Fix for yaccvpath.test:
1791 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1792 * lib/am/distdir.am (distdir): Always look for file in build
1794 * lib/ylwrap: Quote the `#line' regular expression.
1795 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1796 change; don't run sed on the generated file.
1797 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1798 to make sure parser will be rebuilt at dist time.
1800 2001-05-13 Pavel Roskin <proski@gnu.org>
1802 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1803 beginning with `##'.
1804 * automake.texi (General Operation): Document it.
1806 2001-05-13 Tom Tromey <tromey@redhat.com>
1808 Reported by Rainer Orth:
1809 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1811 * tests/Makefile.am (TESTS): Added distname.test.
1812 * tests/distname.test: New file.
1814 * Makefile.am (dist_pkgdata_DATA): Removed.
1816 * tests/defs: Find files to copy in lib/.
1817 * automake.in (perllibdir): Set to Automake directory.
1818 * ansi2knr.c, ansi2knr.1: Removed.
1819 * Makefile.am (dist_am_DATA): Removed.
1821 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1823 (scriptdir): Removed.
1824 (dist_script_DATA): Likewise.
1825 (install-data-hook): Likewise.
1826 (installcheck-local): Likewise.
1827 (TAGS_FILES): Removed amfiles.
1828 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1829 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1830 point it to the right directory.
1831 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1832 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1833 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1834 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1835 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1836 mans.am, multilib.am, program.am, progs.am, python.am,
1837 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1838 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1839 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1840 (AUTOMAKE): Use --libdir, not --amdir.
1841 Ues AC_CONFIG_AUX_DIR.
1842 * lib/Makefile.am (SUBDIRS): Added `am'.
1843 (scriptdir): New macro.
1844 (dist_script_DATA): Likewise.
1845 (dist_pkgdata_DATA): Likewise.
1846 (install-data-hook): New target.
1847 (installcheck-local): Likewise.
1848 * lib/am/Makefile.in: New file.
1849 * lib/am/Makefile.am: Removed everything except amdir and
1852 2001-05-13 Akim Demaille <akim@epita.fr>
1854 * automake.in ($pkgdata_dir): Rename as...
1856 ($am_dir): Remove, replace its uses with $libdir.
1857 (&parse_arguments): Replace --amdir with --libdir.
1858 * automake.texi (Invoking Automake): Document --libdir, not
1860 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1862 2001-05-13 Tom Tromey <tromey@redhat.com>
1864 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1866 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1867 Correctly look at AMDEP_TRUE, not AMDEP.
1869 Report from Robert Boehne:
1870 * tests/Makefile.am (TESTS): Added depend2.test.
1871 * tests/depend2.test: New file.
1873 2001-05-13 James Henstridge <james@daa.com.au>
1875 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1876 Point pythondir at site-packages directory. Rename
1877 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1878 pyexecdir. Removed package/module argument. Removed
1879 PYTHON_SITE_INSTALL. Added version checking.
1881 2001-05-14 Jim Meyering <meyering@lucent.com>
1883 * automake.in (macro_define): Change one remaining use of
1884 `variable_dump' to `macro_dump'.
1886 2001-05-13 Tom Tromey <tromey@redhat.com>
1888 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1891 2001-05-13 Akim Demaille <akim@epita.fr>
1893 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1894 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1895 (&am_primary_prefixes): Use `map' rather than `grep'.
1897 2001-05-13 Akim Demaille <akim@epita.fr>
1899 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1901 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1902 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1904 2001-05-13 Akim Demaille <akim@epita.fr>
1906 * lang-compile.am: New file, loaded once per language.
1907 * depend2.am: Move definitions loaded once per language in the
1908 aforementioned file.
1909 * automake.in (&handle_languages): Load it.
1910 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1911 handled by lang-compile.am.
1913 2001-05-13 Tom Tromey <tromey@redhat.com>
1915 * tests/Makefile.am (TESTS): Added python.test.
1916 * tests/python.test: New file.
1917 * automake.in (handle_languages): Use
1918 config_aux_dir_set_in_configure_in.
1919 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1920 py-compile, not py_comp. Define py_compile macro.
1922 2001-05-13 Derek Price <dprice@openavenue.com>
1924 * automake.in (require_file_with_conf_line,
1925 require_file_with_line, require_file): Pass a @require_file_path
1926 of $relative_dir instead of '.' to require_file_internal so that
1927 all the special casing of '.' can be removed elsewhere.
1928 (require_config_file, require_conf_file_with_line,
1929 require_conf_file_with_conf_line): Remove special casing for '.'
1930 and make sure $config_aux_dir is maintained properly.
1931 (require_file_internal): Remove special casing of '.' and set
1932 @require_file_path when missing files are added.
1933 (maybe_push_required_file): Remove special casing of '.'
1934 (handle_dependencies): Remove a workaround for a bug now fixed
1935 and remove $config_aux_dir special casing.
1936 (handle_configure): Remove special casing for $config_aux_dir
1937 (handle_python): Ditto.
1938 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1939 switch on the value of $config_aux_dir_set_in_configure_in.
1940 (handle_texinfo): Ditto.
1941 (scan_one_configure_file): Set $config_aux_dir and
1942 $config_aux_dir_set_in_configure_in properly so special casing
1943 on the value of $config_aux_dir can be removed elsewhere.
1944 * tests/depcomp.test: New file.
1945 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1946 first subdir containing a C file.
1947 * tests/libobj2.test: Ditto.
1948 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1950 2001-05-12 Tom Tromey <tromey@redhat.com>
1952 * tests/gcj.test: Updated for gcj dependency tracking.
1953 * tests/gcj2.test: Likewise.
1955 Fixes PR automake/169.
1956 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1958 * automake.in (java): Added autodep entry.
1959 * tests/Makefile.am (TESTS): Added gcj3.test.
1960 * tests/gcj3.test: New file.
1962 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1964 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1965 stop at the first '='.
1966 * tests/Makefile.am (TESTS): Added vars.test.
1967 * tests/vars.test: New file.
1969 2001-05-12 Akim Demaille <akim@epita.fr>
1971 * automake.in (&handle_single_transform_list): Simplify
1972 computation of $object and $this_obj_ext.
1973 * tests/lex3.test: Merge into...
1974 * tests/lex.test: here.
1975 * tests/pr19.test: Improve and rename as...
1976 * tests/lex3.test: this.
1978 2001-05-09 Tom Tromey <tromey@redhat.com>
1980 * automake.in (read_am_file): Correctly compute $saw_bk.
1981 (scan_autoconf_files): Ensure configure_dist_common is always
1983 * tests/defs (AUTOMAKE): Added --Werror.
1985 2001-05-09 Pavel Roskin <proski@gnu.org>
1987 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1990 2001-05-09 Tom Tromey <tromey@redhat.com>
1992 * tests/werror.test: Use `rm -f'.
1994 2001-05-09 Akim Demaille <akim@epita.fr>
1996 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1998 2001-05-09 Akim Demaille <akim@epita.fr>
2000 * automake.in: Remove some code left from bad patches.
2001 (&handle_dependency): Remove, for the same reason.
2003 2001-05-09 Akim Demaille <akim@epita.fr>
2005 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
2006 (&handle_tests_dejagnu, &define_standard_variables): Don't.
2007 (&define_standard_variables): Don't transform %top_builddir% since...
2008 * header-vars.am: Use %TOPDIR% instead.
2010 2001-05-09 Akim Demaille <akim@epita.fr>
2012 * automake.in (@objects): Remove, unused.
2013 Remove all the code related to it, and to former `$(OBJECTS)'.
2015 2001-05-08 Tom Tromey <tromey@redhat.com>
2018 * ylwrap: Handle arguments to program. Remove old code that tried
2019 to avoid absolute paths and add new code to do it in all cases.
2020 Removed ancient logic that tried to deal with relative path.
2021 * tests/Makefile.am (TESTS): Added yacc4.test.
2022 * tests/yacc4.test: New file.
2024 Fix for PR automake/149 and werror.test:
2025 * automake.in (require_file_internal): Use am_line_warning or
2026 am_conf_line_warning when suppressing error.
2027 (am_line_warning): New sub.
2028 (am_conf_line_warning): Save and restore warning signal.
2029 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
2031 Fix for PR automake/36:
2032 * tests/Makefile.am (TESTS): Added asm.test.
2033 * tests/asm.test: New file.
2034 * automake.in (asm): Use ASFLAGS and AS.
2035 (lang_asm_finish): New sub.
2037 * automake.in (read_am_file): Removed debugging code.
2039 For PR automake/149:
2040 * tests/Makefile.am (TESTS): Added werror.test.
2041 (XFAIL_TESTS): Likewise.
2042 * tests/werror.test: New file.
2044 * automake.in (conditional_true_when): Don't return if we see
2047 * tests/objc.test: Removed.
2048 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
2051 * automake.in (subst): New sub.
2052 (handle_languages): Use it.
2053 (output_lex_build_rule): Likewise; also use _am_quote.
2054 (check_libobjs_sources): Likewise.
2055 (make_paragraphs): Use subst.
2057 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
2060 * automake.in (file_contents_internal): Prototype now `$$%'.
2061 (register_language): Prototype now `%'.
2063 Fixes test subobj6.test and PR automake/160:
2064 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
2065 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
2066 (distclean-compile): Added DISTRMS.
2067 * tests/subobj6.test (wish_SOURCES): Updated to reflect
2068 `mostlyclean' use; added test for non-subdir case.
2069 * automake.in (compile_clean_files): New global.
2070 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
2071 (initialize_per_input): Initialize compile_clean_files.
2072 (handle_single_transform_list): Set compile_clean_files entries.
2073 (handle_compile): Handle compilation cleanups.
2075 2001-05-08 Lars J. Aas <larsa@sim.no>
2077 * automake.texi (Canonicalizing Automake macros): Document not
2078 canonicalizing strudels (@) anymore.
2080 2001-05-08 Akim Demaille <akim@epita.fr>
2082 * distdir.am (dist-all): Build all the flavors using a single
2085 2001-05-08 Akim Demaille <akim@epita.fr>
2087 * automake.in (&file_contents_internal): Apply the @cond_stack to
2088 the rules and assignments.
2089 Don't rely on `$.' as it's biased by &make_paragraphs.
2090 Don't remove backslashes in variable values.
2092 2001-05-08 Akim Demaille <akim@epita.fr>
2094 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
2095 ($RULE_PATTERN): Use that from `&make_paragraphs'.
2096 ($MACRO_PATTERN): Just catch the name of a macro.
2097 ($BOGUS_MACRO_PATTERN): Remove.
2098 ($ASSIGNMENT_PATTERN): New.
2099 (&file_contents_internal, &make_paragraphs): Adjust.
2100 (¯o_define): Catch bad macro names.
2101 (&cond_stack_endif): Better error message.
2102 (&file_contents_internal): Don't remove backslashes in variable
2104 (¯o_define): Do it for `+=' user variables.
2105 (&define_standard_variables): Use `undef' instead of a dummy
2107 (&make_paragraph): Be sure not to chop the trail of hash only
2108 lines: adjust the `##' regexp.
2109 (&rule_define): Fix a bug: don't read $1 but $target.
2110 * tests/condincl.test: Strengthen.
2112 2001-05-08 Akim Demaille <akim@epita.fr>
2114 * automake.in (Language): Add attributes `Name' and `config_vars'.
2115 (&finish): Work properly if there is no _finish.
2116 (Automake): Register language Names and AC_SUBST dependencies.
2117 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2118 (&handle_languages): Once per language, invoke
2119 `define_linker_variables', and check its config_vars.
2120 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2121 (&lang_java_finish): Remove.
2122 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2124 2001-05-08 Akim Demaille <akim@epita.fr>
2126 * automake.in (&file_contents_internal): Accept $IS_AM.
2127 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2129 2001-05-08 Akim Demaille <akim@epita.fr>
2131 * automake.in (am_install_var): Use `next' instead of `if' on the
2134 2001-05-08 Akim Demaille <akim@epita.fr>
2136 * automake.in (Language): Add attributes `lder' and `ld'.
2137 (®ister_language): Specify for cxx, objc, f77, gcj.
2138 (&define_linker_variable): New.
2139 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2140 (&lang_java_finish): Adjust.
2141 (&libtool_compiler): Remove.
2143 2001-05-08 Akim Demaille <akim@epita.fr>
2145 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2146 argument, as you don't use it.
2148 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2151 (&handle_programs): Don't mess with %lex_sources, as you don't use
2154 2001-05-08 Akim Demaille <akim@epita.fr>
2156 * automake.in (Language): Add attribute `link'.
2157 (®ister_language): Specify for cxx, objc, f77, gcj.
2158 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2159 (&lang_java_finish): Adjust.
2161 2001-05-08 Akim Demaille <akim@epita.fr>
2163 * automake.in (&define_compiler_variables): Use only $LANG as
2165 (&handle_languages): Adjust.
2167 2001-05-08 Akim Demaille <akim@epita.fr>
2169 * automake.in (&define_program_variable): Remove.
2170 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2172 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2173 * texinfos.am: Do it.
2175 2001-05-08 Akim Demaille <akim@epita.fr>
2177 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2179 * dejagnu.am: Do it.
2180 (site.exp): Use `if'.
2182 2001-05-08 Akim Demaille <akim@epita.fr>
2184 * automake.in: Formatting changes.
2185 (variable_dump, variables_dump): Rename as...
2186 (macro_dump, macros_dump): these.
2188 2001-05-08 Akim Demaille <akim@epita.fr>
2190 Support `if !COND', `else COND', `end COND'.
2192 * automake.texi (Conditionals): Document it.
2193 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2194 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2195 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2196 a leading `!' before the condition.
2197 (&handle_options): Use `\d'.
2198 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2199 (&read_am_file, &file_contents_internal): Use them.
2200 (&transform): No longer substitute `%!COND%', forcing the use of
2202 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2204 2001-05-08 Akim Demaille <akim@epita.fr>
2206 Uniform handling of per-object compilation rules.
2207 Note: Automake is repaired.
2209 * automake.in (&handle_languages): Output per object rules for all
2210 the objects, not only for those which language supports dependency
2212 Fix Automake: when outputting per-object rules, use `-o' if the
2213 language has no `output_flag', as it's really needed.
2214 (&handle_single_transform_list): Instead of special casing files
2215 which need per object rules but which language don't support
2216 dependency tracking, keep them in the queue for processing by
2217 `&handle_languages'.
2219 2001-05-08 Akim Demaille <akim@epita.fr>
2221 * automake.in (&handle_languages): `ext-compile.am' and
2222 `depend2.am' are now equivalent for generic rules: output only the
2224 * ext-compile.am: Remove.
2226 2001-05-08 Akim Demaille <akim@epita.fr>
2228 Note: This patch breaks Automake. Repaired within two patches.
2230 * automake.in (Language): Replace the attribute `output_arg' with
2231 `compile_flag' and `output_flag'.
2232 (Automake): Adjust language registrations.
2233 (&handle_languages): Transform `-c' and `-o' for both suffix and
2234 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2236 (&handle_single_transform_list): Adjust to `compile_flag' and
2238 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2240 2001-05-08 Akim Demaille <akim@epita.fr>
2242 * automake.in (&handle_languages): Don't transform %COMPILER%.
2243 Use `$lang->compiler' instead of `$pfx' to transform generic
2244 %COMPILE% and %LTCOMPILE%.
2245 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2246 of %COMPILER% and $<.
2248 2001-05-07 Akim Demaille <akim@epita.fr>
2250 * automake.in (&handle_languages): Use the same `%transform' for
2251 both `depend2.am' and `ext-compile.am'.
2252 Delay the definition of `$flag' so it is right before the first use,
2253 and rename as `$flags'.
2255 2001-05-07 Akim Demaille <akim@epita.fr>
2257 * automake.in (&handle_languages): Compute `$ltoutarg' and
2258 `$outarg' independently of dependency code.
2259 There is no use looping on a language's possible extensions since
2260 we loop over used extensions.
2261 Therefore, there is no use for a local `%transform'.
2263 2001-05-07 Akim Demaille <akim@epita.fr>
2265 * automake.in (&handle_languages): Don't use $comp.
2267 2001-05-07 Akim Demaille <akim@epita.fr>
2269 * automake.in (&handle_languages): Merge the two loops over
2270 %extension_seen/%languages into one and group code to be run once
2271 per language together.
2273 2001-05-07 Akim Demaille <akim@epita.fr>
2275 * automake.in (&handle_languages): Move the `if
2276 ($use_dependencies)' block so that loops over extensions and
2277 languages are next to each other.
2279 2001-05-07 Akim Demaille <akim@epita.fr>
2281 * automake.in (&depend2): Remove, merged into...
2282 (&handle_languages): here.
2284 2001-05-07 Akim Demaille <akim@epita.fr>
2286 * automake.in (&finish_languages): Rename as...
2287 (&handle_languages): this.
2288 Include the body of...
2289 (&handle_dependency): this.
2292 2001-05-06 Tom Tromey <tromey@redhat.com>
2295 * tests/Makefile.am (TESTS): Add subdir5.test.
2296 (XFAIL_TESTS): Likewise.
2297 * tests/subdir5.test: New file.
2299 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2300 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2302 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2304 (handle_options): Handle fork identifier in version number.
2306 * automake.texi (Dist): Document distcheck-hook.
2308 * tests/confh4.test: Update to reflect DEFS change.
2309 For PR automake/132.
2311 Fix for PR automake/132:
2312 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2314 (java): Remove INCLUDES and DEFS from compilation.
2315 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2316 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2317 (DEFAULT_INCLUDES): New macro.
2319 * automake.in (usage): Re-align explanatory text.
2320 Fixes PR automake/148.
2322 * automake.texi (Uniform): Don't use @PROGRAMS@.
2323 Fixes PR automake/154.
2325 For PR automake/160:
2326 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2327 (XFAIL_TESTS): Add subobj6.test.
2328 * tests/subobj6.test: New file.
2330 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2331 (Top level): Don't mention `flat'.
2332 (Extending): Likewise.
2333 (User Variables): New node.
2335 * distdir.am (distdir): Make subdirectory for each file.
2336 Fixes test subobj5.test.
2338 * tests/Makefile.am (TESTS): Add new file.
2339 (XFAIL_TESTS): Likewise.
2340 * tests/texinfo10.test: New file.
2342 2001-05-05 Pavel Roskin <proski@gnu.org>
2344 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2345 in the same way as @defcodeindex and @syncodeindex respectively.
2347 2001-05-05 Tom Tromey <tromey@redhat.com>
2349 * mans.am (install-man%SECTION%): Minor cleanup.
2350 (uninstall-man%SECTION%): Likewise.
2352 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2353 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2355 (uninstall-man%SECTION%): Likewise.
2356 * automake.in (handle_man_pages): Handle dist_ and nodist_
2359 * automake.texi (Future): Removed.
2361 (Hello): Don't mention `deep'.
2362 (Top level): Likewise.
2364 * automake.in (conditional_true_when): Use a hash, not index().
2365 Also, a TRUE component always results in a true return.
2366 Fixes test cond10.test. For PR automake/164.
2367 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2369 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2371 For PR automake/164:
2372 * tests/Makefile.am (TESTS): Added new file.
2373 (XFAIL_TESTS): Likewise.
2374 * tests/cond10.test: New file.
2376 2001-05-05 Tom Tromey <tromey@redhat.com>
2378 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2380 (install-info-am): Likewise.
2382 2001-05-05 Pavel Roskin <proski@gnu.org>
2384 * automake.in (scan_texinfo_file): Don't push undefined values
2387 2001-05-05 Richard Boulton <richard@tartarus.org>
2389 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2392 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2394 * automake.in (required_targets): Added uninstall-am.
2396 2001-05-05 Tom Tromey <tromey@redhat.com>
2398 Fix bug reported by Robert Boehne:
2399 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2401 (handle_dependencies): Likewise.
2402 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2403 substitution. Correct diff now has 30 lines. Look for space
2404 after losing `undef'.
2406 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2408 * m4/sanity.m4: Remove the temp file before possible error exits.
2410 2001-05-04 Akim Demaille <akim@epita.fr>
2412 * configure.in: Set perllibdir.
2415 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2417 * automake.in ($pkgdata_dir): New.
2418 (&require_file_internal): Use it.
2420 2001-05-03 Akim Demaille <akim@epita.fr>
2422 Case insensitive FS choke on Automake/ vs automake.
2423 Reported by Tim Van Holder.
2425 * Automake/: Move into...
2426 * lib/: this new directory.
2428 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2430 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2433 2001-04-30 Jim Meyering <meyering@lucent.com>
2435 * automake.in: Remove `/lib' from include directory.
2437 2001-04-27 Akim Demaille <akim@epita.fr>
2439 AM_INIT_AUTOMAKE is no longer optional.
2441 * automake.in ($seen_make_set, $seen_prog_install)
2442 ($seen_arg_prog): Remove.
2443 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2444 Remove related code.
2446 2001-04-27 Akim Demaille <akim@epita.fr>
2448 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2450 * tests/specflags3.test: here.
2452 2001-04-27 Akim Demaille <akim@epita.fr>
2454 * automake.in ($seen_path_xtra): Remove.
2455 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2456 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2458 2001-04-27 Akim Demaille <akim@epita.fr>
2460 * automake.in (&file_contents_internal): Declare it.
2462 2001-04-27 Akim Demaille <akim@epita.fr>
2464 * automake.in (&read_am_file, &file_contents_internal): Don't
2465 define macros when `FALSE', to avoid errors on doubly defined
2466 variables but under condition `FALSE'. In order to allow...
2467 (&am_install_var): When reading the associated file for the first
2468 time, enable `%?FIRST%'.
2469 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2470 * libs.am: Do it when `%?FIRST%'.
2472 2001-04-27 Akim Demaille <akim@epita.fr>
2474 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2475 * ansi2knr.am: Do it.
2476 Prefer `if %?FOO%' to `if %!FOO%'.
2478 2001-04-27 Akim Demaille <akim@epita.fr>
2480 * automake.in (®ister_language, &finish_languages): Use `pure'
2482 (®ister_language): Use %done properly with objects, not names.
2483 (&finish_languages): Replace `$non_c' with `$needs_c'.
2485 2001-04-27 Akim Demaille <akim@epita.fr>
2487 Unify LISP, PYTHON and JAVA primaries.
2489 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
2490 return if there are no files, hook elisp-comp on the Autoconf
2491 macro, rely on lisp.am to define variables.
2492 (&handle_python, &handle_java): Likewise.
2493 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
2494 `PYTHON' must be handled here, not in `&handle_python'.
2495 * java.am: Define needed variables and rules.
2497 2001-04-27 Akim Demaille <akim@epita.fr>
2499 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
2501 * header.am: Include data.am.
2503 2001-04-27 Akim Demaille <akim@epita.fr>
2505 * automake.in (&am_install_var): Transform `PRIMARY'.
2506 * data.am: Equip with %PRIMARY%.
2508 2001-04-27 Akim Demaille <akim@epita.fr>
2510 * automake.in (@conditional_stack): Rename as...
2511 (@cond_stack): this.
2512 (&file_contents_internal): Support inclusion of files.
2514 2001-04-27 Akim Demaille <akim@epita.fr>
2516 * automake.in (&lang_extensions): Remove.
2517 (&add_depend2, &saw_sources_p): Adjust.
2518 * depend2.am: `%EXT%' no longer includes the dot.
2520 2001-04-27 Akim Demaille <akim@epita.fr>
2522 * automake.in (&finish_languages, &handle_single_transform_list)
2523 (&add_depend2, &handle_dependencies): No longer use the language
2524 name in `$lang'. Rename `$lang_obj' as `$lang'.
2526 2001-04-27 Akim Demaille <akim@epita.fr>
2528 * automake.in (®ister_language): Use `new Language' with a hash.
2530 2001-04-27 Akim Demaille <akim@epita.fr>
2532 * automake.in (®ister_language): Rename `output-arg' and
2533 `derived-autodep' as `output_arg' and `derived_autodep' to match
2534 the Language attribute.
2535 Set the defaults in %option instead of $lang.
2537 2001-04-27 Akim Demaille <akim@epita.fr>
2539 * Automake/: New directory.
2540 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
2541 * automake.in (Language): Use Automake::Struct.
2542 * tests/defs: Adjust to find Struct.
2544 2001-04-23 Pavel Roskin <proski@gnu.org>
2546 * automake.in: Add forward declaration for register_language().
2547 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
2550 2001-04-20 Akim Demaille <akim@epita.fr>
2552 * automake.in (%required_targets): Add `uninstall'.
2553 From Robert Collins.
2555 2001-04-12 Akim Demaille <akim@epita.fr>
2557 * automake.in (Language): Add attribute `name'.
2558 (®ister_language): The name of the language is now given in the
2560 No longer use `$lang' as the name of the language.
2561 Rename `$lang_obj' as `$lang'.
2563 2001-04-12 Akim Demaille <akim@epita.fr>
2565 * automake.in (Language): Add attribute `_finish'.
2568 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
2569 (&lang_asm_finish): Remove.
2571 2001-04-12 Akim Demaille <akim@epita.fr>
2573 * automake.in (Language): Add attribute `extensions'.
2574 (Automake): Pass a hash to `®ister_language' instead of a
2575 list of pseudo assignments.
2576 (®ister_language): Adjust.
2577 (&finish_languages): Initialize `$ltoutarg'.
2579 2001-04-12 Akim Demaille <akim@epita.fr>
2581 * automake.in (Language): Add attribute `output_arg'.
2582 (%language_map): Remove.
2583 (®ister_language): Build only the object, and store in
2585 (&finish_languages, &handle_single_transform_list): Adjust.
2587 2001-04-12 Akim Demaille <akim@epita.fr>
2589 * automake.in (Language): Add attributes `flags', `compile' and
2591 (&finish_languages, &handle_single_transform_list, &handle_dist)
2592 (&add_depend2, ®ister_language): Use them and the `linker' and
2595 2001-04-12 Akim Demaille <akim@epita.fr>
2597 * automake.in (&handle_single_transform_list, &finish_languages)
2598 (&handle_dist, &handle_dependencies): Use the language object for
2599 autodep and derived-autodep too.
2601 2001-04-12 Akim Demaille <akim@epita.fr>
2603 * automake.in (¯o_define): Ignore Automake definition for
2604 ($var, $cond) if there is already a user definition for ($var, $cond).
2606 2001-04-12 Akim Demaille <akim@epita.fr>
2608 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
2609 but also @deffn and so on which push data in indexes.
2610 Reported by Derek R. Price.
2612 2001-04-12 Akim Demaille <akim@epita.fr>
2614 * automake.in (Language): New package, temporarily in this file.
2616 (Automake): New package.
2618 (&handle_single_transform_list): Use the language object's `ansi'
2619 attribute instead of `$language_map{"$lang-ansi-p"}'.
2620 (®ister_language): Build and register the language too.
2622 2001-04-11 Tom Tromey <tromey@redhat.com>
2624 Fixes report from Larry Jones:
2625 * automake.in (handle_dependencies): Add `@_am_quote@' where
2627 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2629 2001-04-11 Akim Demaille <akim@epita.fr>
2631 * depend2.am: Fix the `if' condition for Libtool.
2632 Reported by Robert Boehne.
2634 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2636 * tests/subobj5.test: New file.
2638 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2640 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2641 * tests/Makefile.am (TESTS): Added make.test.
2642 * tests/make.test: New file.
2644 2001-04-10 Tom Tromey <tromey@redhat.com>
2646 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2648 2001-04-10 Derek R. Price <dprice@collab.net>
2650 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2652 2001-04-10 Akim Demaille <akim@epita.fr>
2654 * distdir.am: Add a missing backslash.
2656 2001-04-10 Akim Demaille <akim@epita.fr>
2658 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2660 Specify to the caller whether $regen_aclocal_m4.
2661 (&handle_configure): Adjust.
2662 Transform `REGEN-ACLOCAL-M4'.
2664 * configure.am: Use it.
2665 * tests/defs (me): New.
2666 * tests/confdeps.test: New.
2668 2001-04-09 Tom Tromey <tromey@redhat.com>
2670 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2671 Fixes report from Jim Meyering.
2673 2001-04-09 Akim Demaille <akim@epita.fr>
2675 * automake.in (&handle_configure): Don't bother with optimizing
2678 2001-04-09 Akim Demaille <akim@epita.fr>
2680 * tests/cond3.test (expected): Adjust.
2682 2001-04-09 Akim Demaille <akim@epita.fr>
2684 * automake.in (&handle_single_transform_list): Remove $xbase,
2686 (&handle_source_transform): All the variables have conditions now,
2688 (&variable_delete): Admit an argument @conds.
2690 2001-04-09 Akim Demaille <akim@epita.fr>
2692 * automake.in ($source_suffix_pattern): Remove, unused.
2693 %extension_map seems to have replaced it.
2695 2001-04-09 Akim Demaille <akim@epita.fr>
2697 * ext-compile.am: New file.
2698 * automake.in (&finish_languages): Output it.
2699 Require a C linker if there are several registered source suffixes.
2700 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2701 extensions, which are discovered in ext-compile.am.
2702 With the help from Robert Boehne.
2704 2001-04-09 Akim Demaille <akim@epita.fr>
2706 * automake.in (&handle_compile): Extract from...
2707 (&get_object_extension): here.
2708 (&read_am_file): Call it.
2709 ($included_generic_compile, $included_knr_compile)
2710 ($included_libtool_compile): Remove.
2711 ($get_object_extension_was_run): New.
2713 2001-04-09 Akim Demaille <akim@epita.fr>
2715 Use AM_CONDITIONAL and if/endif for AMDEP.
2717 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2718 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2719 to a configure time if/endif), or to `FALSE' (static removal of
2721 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2722 * depend2.am: Use if/endif.
2724 Adjust the 101 tests that use dependencies so that they
2725 properly invoke aclocal before automake. They need to `see'
2726 `AM_CONDITIONAL([AMDEP], ...)'.
2728 2001-04-09 Akim Demaille <akim@epita.fr>
2730 * tags.am: Fix missing leading tabs.
2732 2001-04-09 Akim Demaille <akim@epita.fr>
2734 * automake.in: Use simple quotes to define the _PATTERN variables
2735 to unobfuscate the regexps.
2736 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2738 2001-04-09 Akim Demaille <akim@epita.fr>
2740 * automake.in (&rule_define): When you discover a suffix rules,
2741 register the extensions for .SUFFIXES.
2742 (&handle_texinfo): Don't register the suffixes.
2743 (&get_object_extension): Don't register suffixes, let them be
2744 discovered in depend2.am.
2745 (&handle_emacs_lisp): Depend on your lisp.am.
2746 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2748 2001-04-09 Akim Demaille <akim@epita.fr>
2750 * subdirs.am: Don't define info related recursive targets.
2753 2001-04-09 Akim Demaille <akim@epita.fr>
2755 * subdirs.am (RECURSIVE_TARGETS): New variable.
2757 * automake.in (&handle_subdirs): Output it.
2758 (&file_contents_internal): Support value spread on several lines.
2760 2001-04-09 Akim Demaille <akim@epita.fr>
2762 * automake.in (&handle_man_pages): Rely on mans.am to define
2763 man%SECTION%dir and MANS.
2766 2001-04-09 Akim Demaille <akim@epita.fr>
2768 * automake.in (&variable_dump): Use %var_type properly.
2769 (¯o_define): Enforce better overriding rules.
2770 Handle the special case that used to handle...
2771 (&define_pretty_variable): this.
2773 The variables you define are owned by Automake.
2774 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2776 (&variable_defined): Now independent of the owner.
2777 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2779 2001-04-09 Akim Demaille <akim@epita.fr>
2781 * automake.in (%var_was_plus_eq): Rename as...
2783 (%def_type): Remove.
2784 (¯o_define): %var_type may now hold `', `+', or `:'.
2785 (%conditional, %am_vars, %content_lines): Rename as...
2786 (%var_value, %var_comment, %var_line): these.
2788 2001-04-09 Akim Demaille <akim@epita.fr>
2790 * automake.in (&variable_output): Admit a list of @CONDS.
2791 (&variable_pretty_output): New.
2792 (&define_pretty_variable): Use it.
2793 (&read_am_file, &file_contents_internal): Prepend a separator to
2794 $am_vars only if there is none yet.
2795 (&file_contents_internal): Rename $separator as $spacing to
2796 harmonize with &read_am_file.
2798 2001-04-09 Akim Demaille <akim@epita.fr>
2800 * automake.in (&am_install_var): Transform DIST, and let the *.am
2801 files handle DIST_COMMON.
2802 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2805 2001-04-09 Akim Demaille <akim@epita.fr>
2807 * automake.in (%dist_common): Remove.
2808 (%configure_dist_common): Replace with...
2809 ($configure_dist_common): this.
2810 (&generate_makefile): Read the user file before using
2811 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2812 that no variable is defined before it is run.
2813 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2814 (&dist_cmp): Rename as...
2815 (&for_dist_common): this.
2816 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2818 Adjust to $configure_dist_common.
2819 * configure.am, texi-vers.am: Set DIST_COMMON.
2821 2001-04-09 Akim Demaille <akim@epita.fr>
2823 * automake.in (&handle_aclocal_m4): Rename as...
2824 (&scan_aclocal_m4): this.
2825 Return the list of aclocal.m4 dependencies.
2826 (&handle_configure): Invoke it, and use it when loading...
2827 * configure.am: Template the rules to recreate aclocal.m4.
2829 2001-04-09 Akim Demaille <akim@epita.fr>
2831 * automake.in (&get_object_extension): Use ansi2knr.am.
2832 * clean-kr.am, kr-extra.am: Remove, merged into...
2833 * ansi2knr.am: this new file.
2835 2001-04-09 Akim Demaille <akim@epita.fr>
2837 * automake.in (&transform): Fix an incredible bug which was
2838 breaking the if/endif system.
2839 ($ELSE_PATTERN): Admit an optional argument.
2841 2001-04-09 Akim Demaille <akim@epita.fr>
2843 * comp-vars.am: Remove, merged into...
2845 * automake.in (&get_object_extension): Adjust.
2847 2001-04-09 Akim Demaille <akim@epita.fr>
2849 * remake.am: Merge into...
2850 * configure.am: ... here.
2851 * automake.in (&handle_configure): Adjust.
2853 2001-04-09 Akim Demaille <akim@epita.fr>
2855 * automake.in (&output_lex_build_rule): Output this...
2858 2001-04-09 Akim Demaille <akim@epita.fr>
2860 * automake.in (&condition_negate): New.
2861 (&variable_conditions_permutations): Use it.
2862 (&read_am_file, &file_contents): Use it on `else' clauses to
2864 (&output_yacc_build_rule): Output this...
2865 * yacc.am: New file.
2867 2001-04-09 Akim Demaille <akim@epita.fr>
2869 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2870 (&handle_dist): Don't.
2871 (&handle_clean): Don't handle config.status here, let...
2872 * clean.am: ... do it.
2873 * distdir.am: Adjust.
2875 2001-04-09 Akim Demaille <akim@epita.fr>
2877 * automake.in: Use strict vars and subs.
2878 Declare `%require_file_found'.
2879 (&handle_source_transform, &make_paragraphs): Declare my variables.
2881 2001-04-09 Akim Demaille <akim@epita.fr>
2883 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2884 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2885 * java.am (_am_installdirs): Be sure to set it.
2887 2001-04-09 Akim Demaille <akim@epita.fr>
2889 * automake.in (&make_condition): Return '#' when FALSE.
2890 (&conditional_string): Return FALSE, not '#' in the corresponding
2892 (&file_contents_internal): Adjust.
2893 (&check_variable_defined_unconditional): Dump the guilty variable.
2895 2001-04-09 Akim Demaille <akim@epita.fr>
2897 * distdir.am: Use and abuse of if/endif.
2898 * scripts.am: Using if/endif with variables is fine.
2900 2001-04-09 Akim Demaille <akim@epita.fr>
2902 * automake.in (&make_paragraphs): Extract from &file_contents.
2903 Make it more robust than the previous RE based scheme.
2904 (&file_contents): Use it.
2906 2001-04-09 Akim Demaille <akim@epita.fr>
2908 * automake.in (&make_paragraphs): Extract from &file_contents.
2909 Make it more robust than the previous RE based scheme.
2910 (&file_contents): Use it.
2912 2001-04-09 Akim Demaille <akim@epita.fr>
2914 * tests/yacc2.test: Don't define several times a variable, as
2917 2001-04-09 Akim Demaille <akim@epita.fr>
2919 * automake.in (&handle_source_transform): Fix pr72: don't define
2920 $linker if there are no @files.
2922 2001-04-09 Akim Demaille <akim@epita.fr>
2924 Avoid reading twice header-vars.am as now macro_define
2927 * automake.in (&define_standard_variables): Don't output the
2929 (&read_main_am_file): Output first user variables, then Automake
2931 Don't call twice &define_standard_variables.
2932 Save variable comments in $am_vars.
2933 (&variable_output): New.
2934 (&file_contents_internal): New.
2935 Save variable comments in $am_vars.
2936 (&file_contents): Use it.
2938 2001-04-09 Akim Demaille <akim@epita.fr>
2940 * automake.in (¯o_define): The user is allowed to override
2941 a value if it was set by Automake, or if it was found in AC_SUBST.
2943 2001-04-09 Akim Demaille <akim@epita.fr>
2945 * automake.in (&handle_source_transform): Better locality of the
2947 Use `next' to skip nonexistent variables.
2949 2001-04-09 Akim Demaille <akim@epita.fr>
2951 * automake.in (&variable_dump): If a variable is undefined, say
2953 (&check_ambiguous_conditional): Give finer error messages.
2954 (¯o_define): Check that a `+=' variable is not set with `='.
2955 Check for ambiguous definitions each time you _set_ (even with `+=')
2957 (&read_main_am_file): Perform a deep copy of %conditional.
2959 2001-04-09 Akim Demaille <akim@epita.fr>
2961 * automake.in (&variable_defined): Some callers, e.g.,
2962 &am_primary_prefixes, really want to know if the variable is
2963 defined for any condition, not `TRUE' by default.
2964 (&am_primary_prefixes): Give a more precise error message.
2966 2001-04-09 Akim Demaille <akim@epita.fr>
2968 (&variable_conditions): Don't include `FALSE' in the result.
2970 2001-04-09 Akim Demaille <akim@epita.fr>
2972 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2973 (&variable_conditions): Don't include `FALSE' in the result.
2975 2001-04-09 Akim Demaille <akim@epita.fr>
2977 * tests/defs, tests/depend3.test: Remove useless code.
2979 2001-04-09 Akim Demaille <akim@epita.fr>
2981 * automake.in (&handle_source_transform): Use
2982 &variable_conditions, don't read $conditional{$var}.
2983 (&variable_conditions_sub): When the call is the top level call,
2984 generate all the permutations of the conditions.
2986 2001-04-09 Akim Demaille <akim@epita.fr>
2988 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2989 that it does not get noticed twice by automake, which now
2990 complains for multiple definitions.
2991 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2992 because we defined INSTALL.
2994 2001-04-09 Akim Demaille <akim@epita.fr>
2996 * automake.in (&generate_makefile) Use macro_define to define
2997 SOURCES and OBJECTS.
2998 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2999 this would make perl create $condition{VAR}, which we don't want.
3001 2001-04-09 Akim Demaille <akim@epita.fr>
3003 * automake.in (&variable_defined, &define_pretty_variable):
3004 Simplify code which used to handle the cases where not all
3005 variables were in %conditional.
3006 (&define_variable): Use &define_pretty_variable.
3007 (&variable_conditions_sub, &variable_value_as_list_worker)
3008 (&variable_value_as_list, &rule_define): Simplify syntax.
3009 (&read_main_am_file): Dump the guilty predefined variables.
3011 2001-04-09 Akim Demaille <akim@epita.fr>
3013 * automake.in (&variable_conditions_sub)
3014 (&variable_value_as_list_worker): Remove dead code which used to
3015 handle the cases where not all variables were in %conditional.
3017 2001-04-09 Akim Demaille <akim@epita.fr>
3019 * automake.in (&handle_source_transform, &read_main_am_file):
3020 Simplify loops which were split in two parts, conditional vs
3021 unconditional variables.
3023 2001-04-09 Akim Demaille <akim@epita.fr>
3025 Handle unconditional values of variables as conditioned by
3028 * automake.in (%contents): Remove.
3029 (&generate_makefile, &handle_ltlibraries, ¯o_define)
3030 (&read_am_file, &variable_defined, &variable_conditions_sub)
3031 (&variable_value, &variable_value_as_list_worker)
3032 (&variable_value_as_list, &define_pretty_variable)
3033 (&read_main_am_file): Use
3034 $conditional, not %contents.
3035 (&variable_conditions_permutations): Don't return TRUE and FALSE.
3036 (&variable_conditionally_defined): New.
3037 (&handle_dist): Use it.
3038 (&check_ambiguous_conditional): When multiply defined, specify
3039 under which condition.
3040 (¯o_define): Use it.
3041 (&variable_delete): New.
3042 (&read_am_file): Use it.
3043 (&am_install_var): Simplify, as all the variables are in
3046 2001-04-07 Tom Tromey <tromey@redhat.com>
3048 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
3050 * tests/man.test: New file.
3052 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3054 * depcomp (gcc3): Invert test condition.
3056 2001-04-07 Tom Tromey <tromey@redhat.com>
3058 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
3059 statement. Report from Larry Jones.
3061 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3063 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
3065 2001-04-01 Tom Tromey <tromey@redhat.com>
3067 * java.am (.PHONY clean-am): Removed trailing ":".
3068 From Per Bothner. Fixes PR automake/139.
3070 2001-03-28 Akim Demaille <akim@epita.fr>
3072 * program.am: Fix a stupid typo: now *all* (not none) the programs
3074 Reported by Robert Boehne.
3076 2001-03-23 Akim Demaille <akim@epita.fr>
3078 * automake.in (&read_am_file, &file_contents): Avoid name clashes
3081 2001-03-23 Akim Demaille <akim@epita.fr>
3083 * automake.in (&variable_conditionally_defined): Rename as...
3084 (&check_variable_unconditionally_defined): this.
3085 (&variable_dump): Fix the output.
3086 (&variable_defined, ¯o_define): Since conditions are
3087 canonicalized, don't use a loop to look for a condition: read the
3089 (¯o_define, &rule_define, &read_am_file, &file_contents):
3090 Rename $cond_string as $cond.
3091 * distdir.am (PACKAGE, VERSION): Remove; since they are already
3092 discovered via AC_SUBST, they now trigger a `defined twice' error.
3094 2001-03-23 Akim Demaille <akim@epita.fr>
3096 * automake.in (&handle_footer, &handle_installdirs)
3097 (&read_main_am_file): Don't read %contents directly, use
3100 2001-03-23 Akim Demaille <akim@epita.fr>
3102 * automake.in (&read_am_file): Define the variables in a single
3104 Factor the $saw_bk code.
3106 2001-03-23 Akim Demaille <akim@epita.fr>
3108 * automake.in (&read_am_file): Keep $cond_string up to date.
3110 2001-03-23 Akim Demaille <akim@epita.fr>
3112 * automake.in (&define_variable): Use ¯o_define.
3114 2001-03-23 Akim Demaille <akim@epita.fr>
3116 * automake.in (¯o_define): Don't lose the location if we
3117 redefine a variable.
3118 Don't push all the variables in @var_list, let...
3119 (&read_am_file, &file_contents): ... do it.
3120 (&define_pretty_variable): Use macro_define.
3121 (&am_install_var): Delete the value of variables being redefined
3122 to pacify ¯o_define which checks that variables are not
3125 2001-03-23 Akim Demaille <akim@epita.fr>
3127 * automake.in (&conditional_dump): Rename as...
3128 (&variables_dump): this. Use...
3129 (&variable_dump): this new sub.
3131 2001-03-23 Akim Demaille <akim@epita.fr>
3133 * automake.in (&file_contents): Maintain $cond_string sync with
3135 Output rules only if not under `FALSE'.
3136 Define variables under $cond_string.
3137 * scripts.am: For the time being if/endif does not work properly
3140 2001-03-23 Akim Demaille <akim@epita.fr>
3142 * automake.in (IF_PATTERN): Unobfuscate the parens.
3143 (ENDIF_PATTERN): Allow a condition to be specified.
3144 (&file_contents): Use a @cond_stack.
3145 (&transform): At least for an easy transition, also transform
3146 %?FOO% and %!FOO%, as suggested by Lars.
3147 * scripts.am: First test bed for static if/endif use.
3149 2001-03-23 Akim Demaille <akim@epita.fr>
3151 * automake.in (&file_contents): Use rule_define.
3153 2001-03-23 Akim Demaille <akim@epita.fr>
3155 * automake.in (¯o_define): Don't rely on $1.
3156 Initialize the variable.
3157 Set its Automakism only if not defined or if given to the user.
3158 When concatenating values, insert a separator only if the value
3160 (&read_am_file): When dumping the @var_list, skip Automake
3162 (&file_contents): Use macro_define.
3164 2001-03-23 Akim Demaille <akim@epita.fr>
3166 * automake.in (&rule_define): Extract from...
3167 (&read_am_file): here.
3169 2001-03-23 Akim Demaille <akim@epita.fr>
3171 * automake.in (¯o_define, &read_am_file): More work for the
3172 former from the latter. Reorganize the latter.
3174 2001-03-23 Akim Demaille <akim@epita.fr>
3176 * automake.in (¯o_define): Extract from...
3177 (&read_am_file): here.
3179 2001-03-23 Akim Demaille <akim@epita.fr>
3181 * automake.in (%am_var_defs): Replace with...
3183 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3184 (&file_contents, am_primary_&prefixes): Adjust.
3185 (&variable_defined, &define_variable): The actual semantics is
3187 (&read_main_am_file): Assert the var is user defined when
3188 outputting @var_list.
3190 2001-03-23 Akim Demaille <akim@epita.fr>
3192 * automake.in (read_am_file): TRUE and FALSE are predefined
3194 (&by_condition): Adjust.
3195 (&conditional_string): Recognize `TRUE' and `FALSE'.
3196 (&make_condition): Use it.
3197 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3198 * automake.texi (Conditionals): Adjust.
3199 * tests/cond9.test: s/FALSE/WRONG/.
3201 2001-03-12 Pavel Roskin <proski@gnu.org>
3203 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3206 2001-03-12 Akim Demaille <akim@epita.fr>
3208 * automake.in (&variable_conditions_permutations): Separate the
3210 * tests/cond3.test: Improve the sed expression.
3212 2001-03-09 Pavel Roskin <proski@gnu.org>
3214 * Makefile.am (maintainer-check): Scan all *.am files and tests
3215 for invocations of `rm' without `-f'.
3216 * tests/mclean.test: Adjusted to prevent triggering the above
3219 2001-03-09 Tom Tromey <tromey@redhat.com>
3221 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3222 maintainer-check failure.
3224 2001-03-09 Akim Demaille <akim@epita.fr>
3226 * tests/cond3.test: Strengthen.
3228 2001-03-09 Akim Demaille <akim@epita.fr>
3230 * automake.in (&conditional_string): Produce a unique string
3231 characterizing a condition stack.
3232 (&conditional_same): Remove, comparing two strings is now enough.
3233 (&variable_defined): Adjust.
3234 (&read_am_file): Use conditional_string.
3236 2001-03-08 Akim Demaille <akim@epita.fr>
3238 * automake.in: Use -w.
3239 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3240 (&parse_arguments): Support --Werror and --Wno-error as a
3241 temporary hack until --warning/-W is properly implemented.
3242 (&handle_single_transform_list): Prototype.
3243 Be sure to define $directory.
3244 Use `exists' instead of testing the value of a maybe undefined
3246 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3247 (&handle_factored_dependencies): Use defined values.
3248 (&scan_one_autoconf_file): Save $_.
3249 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3250 Run automake with --Wno-error.
3252 2001-03-07 Akim Demaille <akim@epita.fr>
3254 * automake.in (&handle_all): Use an array instead of a scalar for
3256 Get rid of all-redirect: let `all' be that target.
3258 2001-03-07 Akim Demaille <akim@epita.fr>
3260 * automake.in (&handle_merge_targets): Ventilate its non `all'
3261 related content into...
3262 (&generate_makefile): here.
3263 (&handle_merge_targets): Rename as...
3264 (&handle_all): this.
3265 Remove a useless `if': `@all' is obviously not empty, since it
3266 contains at least the `basename ($makefile)' which has just been
3269 2001-03-07 Akim Demaille <akim@epita.fr>
3271 * automake.in, aclocal.in: Backquote is inert in double quotes.
3273 2001-03-06 Akim Demaille <akim@epita.fr>
3275 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3278 2001-03-06 Pavel Roskin <proski@gnu.org>
3280 * java.am: Use `rm -f' instead of `rm'.
3282 2001-03-06 Akim Demaille <akim@epita.fr>
3284 * automake.in (&push_dist_common): Simplify.
3286 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3288 * ltlib.am: Replaced spaces with tab.
3290 2001-03-06 Pavel Roskin <proski@gnu.org>
3292 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3295 2001-03-05 Pavel Roskin <proski@gnu.org>
3297 * header.am, scripts.am: Use ?INSTALL? in the install and
3300 2001-03-05 Pavel Roskin <proski@gnu.org>
3302 * tests/copy.test: Never use `rm' without `-f' - it may ask
3303 questions, notably for read-only files during `make distcheck'.
3304 * tests/insh.test: Likewise.
3305 * tests/installsh.test: Likewise.
3306 * tests/symlink.test: Likewise.
3307 * tests/symlink2.test: Likewise.
3308 * tests/symlink3.test: Likewise.
3310 2001-03-05 Pavel Roskin <proski@gnu.org>
3312 * noinstdir.test: New test.
3313 * tests/Makefile.am (TESTS): Add noinstdir.test.
3314 (XFAIL_TESTS): Likewise.
3316 2001-03-05 Akim Demaille <akim@epita.fr>
3318 * automake.in (&handle_options): Change the RE so that the third
3319 part of the versions always exist.
3320 (&file_contents): Don't pass uninitialized values to &transform.
3322 2001-03-05 Akim Demaille <akim@epita.fr>
3324 * automake.in (&file_contents): Require a hash as second argument.
3327 2001-03-05 Akim Demaille <akim@epita.fr>
3329 Always use hashes with &file_contents.
3331 * automake.in (&handle_texinfo): texibuild.am does not need
3333 texinfos.am wants only TEXICLEANS.
3334 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3336 * texinfos.am: Adjust.
3338 2001-03-05 Akim Demaille <akim@epita.fr>
3340 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3341 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3342 (&am_install_var): Forget about `-clean'.
3343 Transform ?INSTALL?.
3344 Always output the *.am file.
3345 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3346 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3347 Remove, merged into the corresponding *.am file.
3348 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3351 2001-03-05 Pavel Roskin <proski@gnu.org>
3353 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3355 2001-03-05 Akim Demaille <akim@epita.fr>
3357 If OBJEXT and EXEEXT are not set, provide a default value, and use
3358 them unconditionally.
3360 * automake.in (&generate_makefile): Provide default values for
3362 (&get_object_extension, &finish_languages)
3363 (&handle_single_transform_list, &handle_programs, &add_depend2)
3364 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3365 them, they are defined.
3366 * compile.am, depend2.am, program.am, progs.am: Likewise.
3367 * remake-hdr.am: Fix a typo.
3368 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3369 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3370 * tests/suffix2.test: Adjust.
3372 2001-03-05 Akim Demaille <akim@epita.fr>
3374 * automake.in (&file_contents): Map MAINTAINER-MODE to
3375 @MAINTAINER_MODE_TRUE@ or nothing.
3376 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3379 2001-03-05 Akim Demaille <akim@epita.fr>
3381 * automake.in (&do_one_merge_target): Remove, was only called from...
3382 (&handle_merge_targets): here for `all'.
3385 2001-03-05 Akim Demaille <akim@epita.fr>
3387 Make the installation/uninstallation of Info pages follow the
3388 regular am/recursive scheme.
3390 * automake.in (%required_targets, %dependencies): Add
3392 (%dependencies): Add install-info, install-info-am, and
3394 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3395 reversed BTW. Does anybody use the option `no-installinfo'?
3396 (&handle_merge_targets): Let the handling of info related targets
3398 (&handle_factored_dependencies): this.
3399 * subdirs.am: Use ?INSTALL-INFO?.
3400 * texinfos.am: Define the install-info, uninstall-info and
3401 uninstall-info-am targets.
3403 2001-03-05 Akim Demaille <akim@epita.fr>
3405 * automake.in (%required_targets, %dependencies): Add dvi, info,
3407 (@info, @dvi): Remove.
3408 (&handle_texinfo, &handle_merge_targets): Adjust.
3409 (&handle_factored_dependencies): Required targets are phony.
3410 * texinfos.am: Build info, dvi, and the corresponding -am or
3413 2001-03-05 Akim Demaille <akim@epita.fr>
3415 * automake.in (&am_install_var): Remove $cygxform, unused.
3417 2001-03-05 Akim Demaille <akim@epita.fr>
3419 * automake.in (&file_contents): Transform LIBTOOL.
3420 (&am_install_var): Remove $ltxform.
3421 * ltlib.am, progs.am: Adjust.
3423 2001-03-05 Akim Demaille <akim@epita.fr>
3425 * automake.in: Require AC_PROG_INSTALL in...
3426 (&scan_autoconf_files): here.
3428 2001-03-05 Akim Demaille <akim@epita.fr>
3430 * configure.am: New file.
3431 * automake.in (&file_contents): Transform CONFIGURE-AC.
3432 (&handle_texinfo, &handle_configure): Don't transform
3434 (&handle_configure): Use `configure.am'.
3435 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3436 MAINTAINER-MODE and CONFIGURE-AC.
3438 2001-03-05 Akim Demaille <akim@epita.fr>
3440 * automake.in (&pretty_print_internal): Don't output useless
3442 (define_pretty_variable): Don't issue the space after the `=' sign
3443 to avoid trailing spaces in Makefile.ins.
3445 2001-03-05 Akim Demaille <akim@epita.fr>
3447 * automake.in (&generate_makefile): Invoke &initialize_per_input
3448 *before* setting $am_file_name and $in_file_name.
3450 2001-03-05 Akim Demaille <akim@epita.fr>
3452 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3453 Globals, initialized...
3454 (&initialize_per_input): here.
3456 2001-03-05 Akim Demaille <akim@epita.fr>
3458 * automake.in ($am_relative_dir): Global.
3459 (&initialize_per_input): Init it.
3460 (%make_list, @make_input_list): My them from
3461 (&scan_autoconf_files): here.
3462 (&require_file_internal): Mying changes.
3464 2001-03-05 Akim Demaille <akim@epita.fr>
3466 * automake.in (%am_vars, @var_list, %def_type): Globals.
3467 (&initialize_per_input): Initialize them.
3468 (&read_main_am_file): Don't local them.
3469 (&get_object_extension): $objext is private.
3470 (&handle_single_transform_list): $lang is.
3471 (&handle_ltlibraries): $libname_rx is.
3472 (&scan_autoconf_config_files): How about actually paying attention
3473 to your arguments, instead of working on $_? (this is no Perl
3474 variable, it's a Perl variable followed by a question mark).
3475 (&file_contents): $contents and $separator are private.
3476 (&am_install_var): Declare @condvals, not $condvals.
3479 2001-03-05 Akim Demaille <akim@epita.fr>
3481 * automake.in (&initialize_per_input): Move to the top.
3482 Precede with the `my' list of its variables.
3484 2001-03-05 Akim Demaille <akim@epita.fr>
3486 * automake.in ($am_file): Use vars.
3487 ($am_file_name, $in_file_name): Private to &generate_makefile.
3489 2001-03-05 Akim Demaille <akim@epita.fr>
3491 * automake.in: Preparation for `use strict': Move the
3492 initialization of the constants to the top, from...
3493 (&initialize_global_constants): here.
3495 2001-03-05 Akim Demaille <akim@epita.fr>
3497 * automake.in (&handle_single_transform_list, &add_depend2): Let
3498 $lang_specific_files{$lang} be a list instead of a string.
3500 2001-03-05 Akim Demaille <akim@epita.fr>
3502 Let's make it run ten times faster...
3504 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
3506 (&file_contents): Let `$command' remove the Automake commands, and
3507 normalize the series of `\n'.
3508 Slurp the file and apply $command in a single step.
3509 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
3510 is already normalized to be handled by &transform.
3512 2001-03-05 Tom Tromey <tromey@redhat.com>
3514 * automake.in (register_language): Add entry for `-pure'.
3515 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
3516 (finish_languages): Use `-pure' field of language map.
3518 2001-03-03 Tom Tromey <tromey@redhat.com>
3520 * tests/yaccvpath.test: No need to remove dummy files.
3521 * tests/subobj3.test: No need to remove dummy files.
3522 * tests/pr9.test: No need to remove dummy files.
3523 * tests/pr87.test: No need to remove dummy files.
3524 * tests/pr19.test: No need to remove dummy files.
3525 * tests/install2.test: No need to remove dummy files.
3526 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
3529 2001-02-27 Pavel Roskin <proski@gnu.org>
3531 * tests/yaccvpath.test: Add a delay to make parse.c really out
3532 of date. Detect the problem earlier, after `make distdir'. Drop
3533 dependency on flex. Always use the `-y' flag for bison. Comment
3535 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
3537 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3539 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
3541 2001-02-28 Akim Demaille <akim@epita.fr>
3543 * automake.in (&add_depend2): Transform `GENERIC'.
3544 Get rid of the ad hoc transformation of `@EXT@.o:' which in
3545 addition was broken by the `@ -> %' patch.
3546 * depend2.am: Adjust to use ?GENERIC?.
3548 2001-02-28 Akim Demaille <akim@epita.fr>
3550 * Makefile.am (maintainer-check): `undef $/' is OK.
3552 2001-02-28 Akim Demaille <akim@epita.fr>
3554 * automake.in (&handle_configure): Fortunately, $top_reldir,
3555 the definition of which was highly suspicious, was unused.
3557 2001-02-27 Akim Demaille <akim@epita.fr>
3559 * automake.in (%exec_dir_p): Move to the top so that it is visible
3562 2001-02-27 Pavel Roskin <proski@gnu.org>
3564 * tests/yaccvpath.test: Prevent automake from looking into ..
3565 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
3567 2001-02-27 Akim Demaille <akim@epita.fr>
3569 * automake.in (%exec_dir_p): Pulled out from...
3570 (&am_primary_prefixes): here.
3572 2001-02-27 Akim Demaille <akim@epita.fr>
3574 * automake.in (&usage): Display $0, not $me.
3576 2001-02-27 Akim Demaille <akim@epita.fr>
3578 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
3579 * automake.in (&handle_clean): Don't escape what's given to
3582 2001-02-27 Akim Demaille <akim@epita.fr>
3584 Distinguish automake substitutions from config.status
3587 * automake.in (&add_depend2): Transform AMDEP.
3588 (&handle_clean): Transform MCFILES and MFILES.
3589 (&file_contents): Transform MAINTAINER_MODE.
3590 (&transform, &am_install_var): Use `%', not `@'.
3591 Adjust all the *.am files.
3592 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
3593 * depend2.am: Display the double dependency on both ?AMDEP? and
3596 2001-02-27 Tom Tromey <tromey@redhat.com>
3598 * distdir.am (distcheck): Fixed new code.
3600 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
3601 Only configure once.
3603 * distdir.am (distcheck): Print error message if distclean failed
3606 2001-02-27 Pavel Roskin <proski@gnu.org>
3608 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
3610 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3612 * tests/Makefile.am (TESTS): Added yaccvpath.test.
3613 * tests/yaccvpath.test: New file.
3615 2001-02-26 Akim Demaille <akim@epita.fr>
3617 * automake.in (&am_install_var): Recognize whether predefined
3618 directories are `data' or `exec'.
3619 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
3621 * tests/instdata2.test: Update.
3623 2001-02-26 Akim Demaille <akim@epita.fr>
3625 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
3626 necessarily in infodir.
3628 2001-02-26 Akim Demaille <akim@epita.fr>
3630 * automake.in ($am_file): Be `local', as my'd variables used in
3631 `foreach' loops are always private to the loop.
3633 2001-02-26 Pavel Roskin <proski@gnu.org>
3635 * Makefile.am: Add install.am.
3637 2001-02-26 Akim Demaille <akim@epita.fr>
3639 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3640 routines, otherwise the elements to compare are passed in @_
3641 instead of $a and $b.
3643 2001-02-26 Akim Demaille <akim@epita.fr>
3645 * automake.in (%required_targets): `installcheck-am' is needed.
3647 2001-02-26 Akim Demaille <akim@epita.fr>
3649 * automake.in (&transform_cond): Merge into...
3653 2001-02-26 Akim Demaille <akim@epita.fr>
3655 * automake.in (&handle_dist): Use &transform instead of dedicated
3657 But be sure to always do it.
3658 * distdir.am: Adjust.
3660 2001-02-26 Akim Demaille <akim@epita.fr>
3662 * automake.in: Use File::Basename.
3663 (&dirname, &basename): Remove.
3665 2001-02-26 Akim Demaille <akim@epita.fr>
3667 * automake.in ($me): New.
3669 (&usage): Display your full name.
3671 2001-02-26 Akim Demaille <akim@epita.fr>
3673 * automake.texi (Invoking Automake): Remove dead options.
3675 2001-02-26 Akim Demaille <akim@epita.fr>
3677 * automake.in (&scan_texinfo_file): Also compute the list of files
3679 Handle local errors.
3680 (&handle_texinfo): Use it.
3682 2001-02-26 Akim Demaille <akim@epita.fr>
3684 * automake.in: Don't pass arguments to...
3685 (&parse_arguments): Work on @ARGV.
3687 Add support for `-f'.
3691 2001-02-26 Akim Demaille <akim@epita.fr>
3693 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3694 handle installcheck and installcheck-am.
3695 * install.am: Do it.
3697 2001-02-26 Akim Demaille <akim@epita.fr>
3699 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3700 handle install and install-am.
3701 * install.am: Do it.
3703 2001-02-26 Akim Demaille <akim@epita.fr>
3705 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3706 work on targets handled by %dependencies.
3707 (&handle_factored_dependencies): Do it.
3708 * install.am: Install install-exec, install-data and uninstall's
3711 2001-02-26 Akim Demaille <akim@epita.fr>
3713 * automake.in (&handle_merge_targets): Move `install-strip' from
3715 * install.am: to here.
3717 2001-02-26 Akim Demaille <akim@epita.fr>
3719 * automake.in (@installdirs): Remove.
3720 (&file_contents): Be able to grow Automake macros with `+='.
3721 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3722 files define _am_installdirs.
3723 (&handle_installdirs): Remove the code, just output `install.am'.
3725 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3726 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3728 2001-02-26 Akim Demaille <akim@epita.fr>
3730 * tests/instdata2.test (libexec_DATA): Exercise more
3733 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3735 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3737 2001-02-25 Tom Tromey <tromey@redhat.com>
3739 * tests/instdata2.test: Added `sbin_DATA' check.
3741 * tests/Makefile.am (TESTS): Added subdircond.test.
3742 * tests/subdircond.test: New file.
3743 * automake.in (handle_gettext): Don't fail if SUBDIRS
3744 conditionally defined.
3746 * automake.in: Use IO::File.
3747 (generate_makefile): Use IO::File.
3748 (scan_texinfo_file): Likewise.
3749 (handle_aclocal_m4): Likewise.
3750 (scan_autoconf_traces): Likewise.
3751 (scan_one_autoconf_file): Likewise.
3752 (read_am_file): Likewise.
3753 (file_contents): Likewise.
3756 2001-02-25 Akim Demaille <akim@epita.fr>
3758 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3760 2001-02-25 Akim Demaille <akim@epita.fr>
3762 * automake.in (&transform): Also call &transform_cond on your
3764 (&handle_dist): Adjust.
3765 (&handle_factored_dependencies): Uniq dependencies.
3767 2001-02-25 Akim Demaille <akim@epita.fr>
3769 * automake.in (&handle_gettext): Simplify redundant `if'.
3770 Used &variable_value, don't read %contents directly.
3772 2001-02-25 Akim Demaille <akim@epita.fr>
3774 * automake.in ($install_recursive): Remove, replaced with calls to
3775 `&variable_defined ('SUBDIRS')'.
3776 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3777 (&file_contents): now does.
3779 2001-02-25 Akim Demaille <akim@epita.fr>
3781 * automake.in (&handle_man_pages): $found is dead.
3783 2001-02-25 Akim Demaille <akim@epita.fr>
3785 Internally just store the conditionals as space separated lists of
3786 CONDITIONS (instead of @CONDITIONS@).
3788 * automake.in (&conditional_true_when, &variable_conditions_sub):
3789 Split conditions at spaces.
3790 (&handle_dependencies, &variable_conditions_permutations): Don't
3791 put @ around conditions.
3792 (&variable_conditions_cmp): There are no @ to strip.
3793 (&make_condition): New.
3794 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3796 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3797 Join @conditional_stack with spaces.
3798 (&read_main_am_file): Adjust the output of variables.
3799 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3800 true' and no longer `@TEST@TRUE = @TEST@true'.
3801 (&variable_conditions_cmp): Rename as...
3802 (&by_condition): this.
3803 Sort in a human pleasant order.
3804 Use it everywhere a human can see conditions.
3805 (&variable_conditions_reduce): Don't sort conditions, that's
3807 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3809 2001-02-25 Akim Demaille <akim@epita.fr>
3811 * automake.in: `my' the globals.
3813 2001-02-25 Akim Demaille <akim@epita.fr>
3815 * automake.in (&initialize_per_input): %targets_conditionals is
3817 (&read_am_file): When slurping a rule, set the target related
3818 variable, and no variable related variable.
3819 (&file_contents): Likewise.
3820 * tests/vartar.test, tests/ctarget1.test: New.
3822 2001-02-25 Akim Demaille <akim@epita.fr>
3824 * automake.in (&variable_defined, &variable_value_as_list_worker):
3825 If $VAR is effectively a variable, don't die if it's also a
3827 Plus some formatting changes.
3829 2001-02-25 Akim Demaille <akim@epita.fr>
3831 * automake.in: Mying changes.
3832 * Makefile.am (maintainer-check): Check the stability of the
3833 number of uses of `local'.
3835 2001-02-25 Akim Demaille <akim@epita.fr>
3837 * automake.in: Mying changes.
3839 2001-02-25 Akim Demaille <akim@epita.fr>
3841 * automake.in: Mying changes.
3843 2001-02-25 Akim Demaille <akim@epita.fr>
3845 * automake.in: Mying changes.
3846 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3847 transform CONFIG into $config, not $xform.
3849 2001-02-25 Akim Demaille <akim@epita.fr>
3851 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3852 Don't deal with install-data-am, install-exec-am and unstall-am.
3853 (&initialize_per_input): Add them to %dependencies.
3854 Remove %exec_dir_p since the *.am files are now in charge of it.
3855 Remove @uninstall, @install_data, @install_exec.
3856 (&handle_merge_targets): Adjust to these removals.
3857 (&file_contents): Also &transform_cond for --no-installman and
3859 (&do_one_merge_target): Add some magic to install hooks on
3860 %dependencies' targets.
3861 (%required_targets): New.
3862 (&handle_factored_dependencies): Output required targets.
3863 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3864 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3865 * texinfos.am: Declare your dependencies on install-data-am,
3866 install-exec-am and uninstall-am.
3867 * tests/instdata2.test (incldata_HEADERS): New test.
3869 2001-02-24 Tom Tromey <tromey@redhat.com>
3871 * Makefile.am (amfiles): Added texibuild.am.
3872 * texibuild.am: New file.
3873 * tests/Makefile.am (TESTS): Added texinfo9.test.
3874 * tests/texinfo9.test: New file.
3875 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3876 error if suffix unrecognized. Removed extraneous newline.
3878 2001-02-23 Akim Demaille <akim@epita.fr>
3880 * automake.in (&am_install_var): Don't hook on the clean targets
3882 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3883 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3886 2001-02-23 Akim Demaille <akim@epita.fr>
3888 * automake.in: Promote local `my' over `local'.
3890 2001-02-23 Akim Demaille <akim@epita.fr>
3892 * automake.in: Formatting and mying changes.
3894 2001-02-23 Akim Demaille <akim@epita.fr>
3896 * automake.in: Formatting and mying changes.
3898 2001-02-23 Akim Demaille <akim@epita.fr>
3900 * automake.in (&handle_man_pages): Let install-man and
3901 uninstall-man be handled by the dependency tracker.
3902 (&initialize_per_input): Let %dependencies track them.
3903 * mans.am: Add the needed hooks with the proper dependencies.
3905 2001-02-22 Pavel Roskin <proski@gnu.org>
3907 * tests/target-cflags.test: Don't use subshell to configure in
3908 subdirectory. Typo fix - run `./foo', not `/foo'.
3910 2001-02-22 Akim Demaille <akim@epita.fr>
3912 * automake.in: Formatting and mying changes.
3914 2001-02-21 Tom Tromey <tromey@redhat.com>
3916 * automake.in (handle_dist): Introduce new variable to avoid extra
3917 keys in %dist_dirs. Fixes distdir.test.
3919 * automake.in (handle_texinfo): Only remove suffixes we can
3922 * tests/distdir.test: Check to make sure directory isn't made in
3925 * automake.in (handle_dist): Do nothing in Cygnus mode.
3927 2001-02-21 Pavel Roskin <proski@gnu.org>
3929 * header-vars.am: Remove tabs before variable definitions.
3931 2001-02-21 Akim Demaille <akim@epita.fr>
3933 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3936 2001-02-21 Akim Demaille <akim@epita.fr>
3938 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3939 numeric value as required by Perl 5.6.
3941 2001-02-21 Akim Demaille <akim@epita.fr>
3943 * dist-vars.am: Remove, merge into...
3945 * automake.in (dirname, basename, backname): Move to the top of
3946 the file so that prototypes are checked,
3947 Use them without `&'.
3948 (&handle_dist): Adjust.
3950 2001-02-21 Akim Demaille <akim@epita.fr>
3952 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3953 Use a uniform naming scheme.
3954 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3955 (&read_am_file): Fix conditional definition of backslash continued
3958 2001-02-21 Akim Demaille <akim@epita.fr>
3960 Change the handling of conditionals: instead of using an ad-hoc
3961 encoding to store a hash in a string, use hashes.
3963 * automake.in (&conditional_dump): New.
3964 (&check_ambiguous_conditional, &variable_defined)
3965 (&variable_conditions_sub, &variable_value_as_list_worker)
3966 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3967 handle `$conditional{$vars}' as a hash instead of a plain string.
3969 2001-02-21 Akim Demaille <akim@epita.fr>
3971 * automake.in (&conditional_true_when): Modernize, simplify.
3972 Warning: `$comp' is now private (my), while it used to be
3973 `inherited' from a `local' elsewhere in the code. AFAICT it was
3974 wrong, but some dirty side effect might show up.
3975 (&conditionals_true_when): New.
3976 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3978 2001-02-21 Akim Demaille <akim@epita.fr>
3980 * automake.in ($top_builddir): Remove, used in one place.
3981 (&define_standard_variables): Adjust.
3982 Move the definition of triplet variables into...
3983 * header-vars.am: here.
3985 2001-02-21 Akim Demaille <akim@epita.fr>
3987 * automake.in (&initialize_global_constants): Don't define $USAGE.
3988 (&usage): Handle the former content of $USAGE.
3989 Don't pretend autoconf cares about Makefile.in.
3990 Classify the options.
3991 (&handle_tests): Formatting and mying changes.
3993 2001-02-21 Akim Demaille <akim@epita.fr>
3995 * automake.in (&handle_tests_dejagnu): Move the definition of a
3996 default `site.exp' into...
3997 * dejagnu.am (site.exp): here.
3998 Use DOS compliant file names.
4000 2001-02-21 Akim Demaille <akim@epita.fr>
4002 * automake.in (&dist_cmp): New.
4003 (&handle_dist): Use it.
4004 Promote `my' over `local'.
4006 2001-02-21 Akim Demaille <akim@epita.fr>
4008 * dist.am: Remove, merge into...
4009 * distdir.am: here. Use the neat sed snippet for banners.
4010 BTW, distcheck is phony.
4011 * automake.in (&handle_dist_worker): Remove, merge into...
4012 (&handle_dist): this.
4013 (&file_contents): Strip leading new lines.
4014 Be sure to end comments with new lines.
4016 2001-02-21 Akim Demaille <akim@epita.fr>
4018 * distdir.am (GZIP_ENV): Define.
4019 * automake.in (&handle_dist): Don't.
4021 (&handle_dist_worker, &am_install_var): Use it.
4023 2001-02-21 Akim Demaille <akim@epita.fr>
4025 * distdir.am (distdir): Handle the DIST-TARGETS.
4026 * automake.in (&handle_dist_worker): Don't.
4028 2001-02-21 Akim Demaille <akim@epita.fr>
4030 * automake.in (&file_contents): Transform the global options (such
4032 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
4034 2001-02-21 Akim Demaille <akim@epita.fr>
4036 * distdir.am (distdir): Be sure to have permissive rights on its
4038 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
4040 And BTW, all these guys are phony.
4041 * automake.in (&handle_dist_worker): As its name doesn't indicate,
4042 output distributions.
4043 (&handle_dist): As its name doesn't indicate, don't.
4044 (&initialize_global_constants): Don't define variables which
4045 content is now handled by distdir.am.
4046 But register `dist-all' as a factored target.
4047 (&handle_factored_dependencies): Don't output empty targets.
4049 2001-02-20 Tom Tromey <tromey@redhat.com>
4051 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
4054 2001-02-18 Tom Tromey <tromey@redhat.com>
4056 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
4057 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
4058 (AM_PROG_STRIP): Commented out.
4060 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
4062 * depcomp (gcc3): Protect against the compiler deleting
4063 the dependency output file.
4065 2001-02-17 Tom Tromey <tromey@redhat.com>
4067 * automake.in (handle_merge_targets): Use double quotes around
4068 setting of INSTALL_STRIP_PROGRAM.
4069 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
4070 to absolute path at runtime.
4071 (AM_PROG_STRIP): Don't explicitly test $STRIP.
4073 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
4075 * m4/strip.m4: New file.
4076 * m4/Makefile.am (m4data_DATA): Add strip.m4.
4077 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
4078 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
4079 * automake.in (handle_merge_targets): In the install-strip rule,
4080 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
4081 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
4082 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
4083 don't use INSTALL_STRIP_FLAG any longer.
4085 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4087 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
4090 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4092 * automake.in (unquote_m4_arg): New function.
4093 (scan_one_configure_file): Call unquote_m4_arg on
4094 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
4097 2001-02-15 Tom Tromey <tromey@redhat.com>
4099 * config.guess, config.sub: New versions from FSF.
4101 * Makefile.am (WGET): New macro.
4102 (FETCHFILES): New macro.
4103 (fetch): New target.
4105 * tests/subobj3.test: Exit with status 77 if gcc not found.
4106 * tests/pr9.test: Exit with status 77 if gzip not found.
4107 * tests/pr87.test: Exit with status 77 if gcc not found.
4108 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
4109 * tests/install2.test: Exit with status 77 if gzip not found.
4110 * tests/exsource.test: Exit with status 77 if GNU make not found.
4111 * tests/ansi3.test: Exit with status 77 if gcc not found.
4113 * tests/target-cflags.test: Require GNU make. Exit with status 77
4114 if gcc or make not found. Fixes PR automake/121.
4116 * configure.in: Require Perl 5.005.
4117 * automake.in: Require 5.005.
4119 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4120 Fixes PR automake/122.
4122 2001-02-14 Tom Tromey <tromey@redhat.com>
4124 * automake.in (add_depend2): Only emit a given object rule once.
4125 Fixes specflags6.test.
4127 2001-02-14 Richard Boulton <richard@tartarus.org>
4129 * tests/specflags6.test: New file.
4131 2001-02-14 Tom Tromey <tromey@redhat.com>
4133 * automake.texi (A Shared Library): Mention -module.
4135 2001-02-13 Tom Tromey <tromey@redhat.com>
4137 * automake.in (do_one_merge_target): Always register $name and
4140 * automake.in (do_one_merge_target): Register `all' as phony
4143 * configure.in: Updated to 1.4e for cvs.
4145 2001-02-12 Tom Tromey <tromey@redhat.com>
4147 * configure.in: Updated to 1.4d and released.
4149 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4150 names through autoconf.
4152 Fix for subdirbuiltsources.test:
4153 * automake.in (initialize_per_input): [all_target] Initialize to
4155 (handle_merge_targets): Use all-redirect target to handle built
4157 (do_one_merge_target): Don't generate all-redirect rule.
4159 2001-02-11 Peter Muir <iyhi@yahoo.com>
4161 * tests/subdirbuiltsources.test: New file.
4162 * tests/Makefile.am (TESTS): Added new file.
4164 2001-02-10 Tom Tromey <tromey@redhat.com>
4166 * tests/condlib.test: New file.
4167 * tests/Makefile.am (TESTS): Added new file.
4169 2001-02-10 Lars J. Aas <larsa@sim.no>
4171 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4172 (&canonicalize): New. Includes '@' in canonical range.
4173 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4174 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4176 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4178 * automake.in (handle_configure): Revert part of
4179 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4180 set CONFIG_COMMANDS explicitly.
4182 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4184 * depcomp (gcc3): Propagate exit code.
4186 2001-02-09 Lars J. Aas <larsa@sim.no>
4188 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4190 2001-02-09 Tom Tromey <tromey@redhat.com>
4192 Clean up maintainer-check warnings:
4193 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4195 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4197 2001-02-09 Akim Demaille <akim@epita.fr>
4199 * automake.in (&file_contents): Remove a dead branch.
4201 2001-02-09 Akim Demaille <akim@epita.fr>
4203 * automake.in (&transform): Use `my', not `local'.
4204 (&transform_cond): New.
4205 (&get_object_extension, &handle_texinfo, &handle_tags)
4206 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4207 (&handle_tests_dejagnu): Use it.
4208 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4209 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4211 2001-02-09 Akim Demaille <akim@epita.fr>
4213 * automake.in: Various formatting changes, and modernization of
4216 (&handle_configure, define_standard_variables): Use it.
4218 2001-02-08 Tom Tromey <tromey@redhat.com>
4220 * automake.in (file_contents): Only add $actions if any are
4221 found. Fixes new failure in pr87.test.
4223 2001-02-08 Pavel Roskin <proski@gnu.org>
4225 * tests/pr87.test: Check foo/Makfile.in after it is created.
4227 2001-02-08 Tom Tromey <tromey@redhat.com>
4229 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4230 Report from Lars J. Aas.
4232 2001-02-07 Lars J. Aas <larsa@sim.no>
4234 * lisp.am (install-@DIR@LISP): Removed extra space.
4235 * header.am (install-@DIR@HEADERS): Removed extra space.
4236 * data.am (install-@DIR@DATA): Removed extra space.
4238 2001-02-07 Tom Tromey <tromey@redhat.com>
4240 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4242 * automake.in (handle_dependencies): Use _am_include, not
4244 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4245 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4247 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4249 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4251 * automake.in (handle_configure): Handle case where output file is
4252 in subdir with no Makefile of its own. Fixes remake3.test,
4255 2001-02-06 Pavel Roskin <proski@gnu.org>
4257 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4259 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4260 * tests/exsource.test: Likewise.
4262 2001-02-06 Derek Price <derek.price@openavenue.com>
4264 * automake.in (handle_configure): Fix syntax error.
4266 2001-02-06 Akim Demaille <akim@epita.fr>
4268 * subdirs.am: This file is the exception: clean recursive targets
4269 are called by the clean targets, not the clean-am targets.
4270 Otherwise we have a circular dependency: clean -> clean-am ->
4271 clean-recursive -> clean.
4272 * automake.in (handle_clean): Bind `-local' targets to `-am'
4273 targets, not top targets.
4274 Don't declare -recursive dependencies of the clean targets:
4275 `subdirs.am' did it. Less hard coded knowledge, transfered
4279 2001-02-06 Akim Demaille <akim@epita.fr>
4281 Monstro unsplitable patch.
4283 The aim is to remove hard coded knowledge about clean targets from
4284 automake.in, leaving them in the *.am files.
4285 In addition to the mechanic needed to factor some dependencies, it
4286 appears some rules (most notably distclean and maintainer-clean)
4287 need factored actions. So first, be ready to catch factored
4290 * automake.in (&file_contents): For the time being, use an extended
4291 $RULE_PATTERN which is able to match any kind of rules, with or
4292 without dependency, with or without actions.
4293 Handle all the rules uniformly, storing in %actions the factored
4295 (&flatten, &target_cmp): New.
4296 (&handle_factored_dependencies): Output the %actions.
4297 No longer special case `clean'.
4298 Output the rules in alphabetical order, but keeping `.PHONY' last.
4300 Now we must not use &push_phony_cleaners, which is doing all sort
4301 of magic to push a bit of everything in all the clean targets.
4302 The biggest problem being that, making a Cartesian product, it
4303 requires many useless targets. The `*.am' file know better.
4304 But first, register the new factored rules.
4306 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4307 maintainer-clean, distclean and their `*-am' counterpart in
4309 Initialize %actions.
4310 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4311 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4312 (handle_emacs_lisp, handle_python): Don't play with
4313 &push_phony_cleaners nor &depend and `clean'.
4314 * texinfos.am, texi-vers.am, tags-clean.am:
4315 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4316 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4317 * clean-kr.am, clean-hdr.am: Do it.
4318 Whenever a target is empty, just remove it, it will no longer be
4321 There is still some magic about clean to hard code. But really,
4322 that's the end of &do_one_clean_target.
4324 * automake.in (&do_one_clean_target): Kaboom out.
4325 (&handle_clean): Rewrite the magic code.
4326 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4328 (&push_phony_cleaners): Kaboom too.
4330 2001-02-06 Akim Demaille <akim@epita.fr>
4332 * automake.in (do_one_clean_target): Don't hard code knowledge
4333 about libtool, and maintainer-clean.
4334 * clean.am, libtool.am: Handle these.
4336 2001-02-05 Akim Demaille <akim@epita.fr>
4338 * automake.in (handle_texinfo): No longer hard code the clean
4340 (texinfos.am): Include them.
4342 2001-02-05 Akim Demaille <akim@epita.fr>
4344 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4345 (maintainer-check): Don't be silent when you find a problem, and
4346 actually, even specify the locations.
4347 Also check that @_ is assigned to arrays.
4349 2001-02-05 Akim Demaille <akim@epita.fr>
4351 * m4/regex.m4: Use AC_LIBSOURCES.
4352 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4355 2001-02-04 Tom Tromey <tromey@redhat.com>
4357 * m4/Makefile.am (m4data_DATA): Added make.m4.
4358 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4360 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4361 Copy depcomp to subdir.
4362 * m4/make.m4: New file.
4364 2001-02-04 Pavel Roskin <proski@gnu.org>
4366 * automake.in (handle_dist_worker): Remove a line that is now
4369 2001-02-04 Kevin Ryde <user42@zip.com.au>
4371 * automake.in (handle_configure): Call config.status with empty
4372 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4374 2001-02-04 Tom Tromey <tromey@redhat.com>
4376 * depcomp (ddashmd): Removed case.
4377 (sgi): Handle failure exit correctly
4378 (aix): Likewise. Also, add dummy `.h' targets.
4380 2001-02-04 Akim Demaille <akim@epita.fr>
4382 * distdir.am (distdir): New file, extracted from...
4383 * automake.in (handle_dist_worker): here.
4386 2001-02-04 Akim Demaille <akim@epita.fr>
4388 * automake.in (@clean): Remove, replaced by...
4389 ($dependencies{'clean'}): this.
4390 Use `&depend' instead of push'ing into @clean.
4391 (handle_factored_dependencies): For the time being, skip 'clean'.
4392 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4393 always `clean', and `@clean'.
4395 2001-02-04 Akim Demaille <akim@epita.fr>
4397 * automake.in (%dependencies): Don't be initialize globally for
4398 all the files, but in...
4399 (&initialize_per_input): here.
4401 (@phony): Replace all occurrences with the corresponding &depend
4404 2001-02-03 Tom Tromey <tromey@redhat.com>
4406 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4407 * header-vars.am (INSTALL_HEADER): New macro.
4409 * automake.texi (Rebuilding): New node.
4413 Copyright 2001 Free Software Foundation, Inc.
4415 This file is part of GNU Automake.
4417 GNU Automake is free software; you can redistribute it and/or modify
4418 it under the terms of the GNU General Public License as published by
4419 the Free Software Foundation; either version 2, or (at your option)
4422 GNU Automake is distributed in the hope that it will be useful,
4423 but WITHOUT ANY WARRANTY; without even the implied warranty of
4424 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4425 GNU General Public License for more details.
4427 You should have received a copy of the GNU General Public License
4428 along with autoconf; see the file COPYING. If not, write to
4429 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4430 Boston, MA 02111-1307, USA.