1 2001-10-28 Akim Demaille <akim@epita.fr>
3 * automake.in (&scan_autoconf_traces): Use eq for equality.
6 (&initialize_per_input): Don't initialize several times the same
10 2001-10-28 Akim Demaille <akim@epita.fr>
12 * automake.in (scan_one_autoconf_file): When using %generalize, be
13 sure to replace only words. AC_FUNC_OBSTACK was matching
16 2001-10-26 Akim Demaille <akim@epita.fr>
18 * tests/stamph2.test: Strengthen.
19 * tests/confh2.test, tests/confh3.test: Remove.
20 These are bad tests: they don't check the effects, but some
21 internal details in Makefile.
22 And they are covered by stamph2.test.
24 2001-10-26 Akim Demaille <akim@epita.fr>
26 Now that stamp-h's are created by config.status, we don't need to
27 handle them in Makefile's.
29 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
30 * m4/header.m4 (_AM_STAMP): New.
31 (_AM_CONFIG_HEADER): Use it.
33 2001-10-26 Akim Demaille <akim@epita.fr>
35 * automake.in (&generate_makefile, &handle_texinfo_helper)
36 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
37 (&define_pretty_variable, &read_am_file, &file_contents_internal)
38 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
39 `join (' ', @list)' into `"@list"'.
41 2001-10-26 Akim Demaille <akim@epita.fr>
43 * automake.in (@config_fullnames, @config_names): Remove.
44 (@config_headers): Now contains the actual spec used in
46 (&split_config_file_spec): New.
47 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
48 (&scan_one_autoconf_file): Adjust.
49 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
52 2001-10-26 Akim Demaille <akim@epita.fr>
54 * m4/header.m4 (_AM_CONFIG_HEADER): New.
55 (AM_CONFIG_HEADER): Use it.
57 2001-10-26 Akim Demaille <akim@epita.fr>
59 * automake.in (&handle_configure): Use the config.status 2.50
60 invocation syntax for config files and headers.
61 autoheader needs the name of the file to create, not from what it
62 must be created, hence CONFIG_HEADER_FULL is $one_name, not
64 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
65 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
67 Strengthen: Use the non-default config.hin source.
68 Strengthen: Make sure config.h is properly updated when config.hin
71 2001-10-26 Akim Demaille <akim@epita.fr>
73 * automake.in (&handle_configure): Seeing Automake files in
74 @other_input_files is a programming error, not merely something to
76 Factor slightly the code.
78 2001-10-26 Akim Demaille <akim@epita.fr>
80 * automake.in ($canonical_location): New.
82 (&require_config_file, $line_error): Remove.
84 2001-10-24 Akim Demaille <akim@epita.fr>
86 * automake.in: Use &verbose.
87 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
90 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
92 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
93 Have the basename step optional and use %NDIR% instead of %DIR% in
94 filenames in order to support 'nobase_'.
96 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
98 * automake.in (handle_languages, handle_single_transform_list,
99 lang_c_rewrite): Use require_conf_file instead of
100 require_config_file to require depcomp or compile from
101 Makefile.am. (This is a part of my patch of 2001-10-15 which got
102 mistakenly reverted.)
104 2001-10-24 Akim Demaille <akim@epita.fr>
106 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
109 2001-10-24 Akim Demaille <akim@epita.fr>
111 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
112 appear in Makefile.in in the clean rule.
114 * tests/cxxansi.test: Adjust.
116 2001-10-24 Akim Demaille <akim@epita.fr>
118 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
119 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
121 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
122 (&conf_error, &file_warning): these.
123 (&file_warning): Fix the prototype and argument handling.
124 (&am_line_warning): Remove, unused.
126 Also, repair the misapplication of previous patches.
128 2001-10-21 Akim Demaille <akim@epita.fr>
130 * automake.in ($ac_output_location): Replace with...
131 ($ac_config_files_location): this.
132 (&scan_autoconf_traces): We don't need $file and $line, $here is
134 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
135 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
137 2001-10-21 Akim Demaille <akim@epita.fr>
139 * automake.in (&require_file_with_macro): Use &require_file.
140 (&read_am_file): Move the definition of $here at its proper place.
142 2001-10-21 Akim Demaille <akim@epita.fr>
144 * automake.in ($libtool_line, $seen_pythondir): Replace with...
145 ($libtool_location, $pythondir_location): these.
146 (&require_conf_file_with_line, &require_conf_file_with_line):
148 (&require_file): Don't forget $where.
149 (&require_conf_file): Ahem... Fix the name.
150 (&require_config_file): Invoke &require_conf_file, not yourself.
151 (&am_line_error): Fix the default am_file_error invocation.
153 2001-10-21 Akim Demaille <akim@epita.fr>
155 * automake.in ($seen_lispdir): Replace with...
156 ($am_lispdir_location): this.
157 (&require_conf_file): New.
158 (&require_config_file, &require_conf_file_with_line,
159 (&require_conf_file_with_conf_line): Use it.
160 (&require_conf_file_with_macro): New.
162 2001-10-21 Akim Demaille <akim@epita.fr>
164 * automake.in ($config_header_line, $ac_output_line)
165 ($ac_gettext_line, $package_version_line): Replace with...
166 ($config_header_location, $ac_output_location)
167 ($ac_gettext_location, $package_version_location): these.
168 (&require_file_with_conf_line, &require_file_with_line): Remove,
171 2001-10-21 Akim Demaille <akim@epita.fr>
173 * automake.in (&require_file_internal): Instead of $file and $line,
174 take $where as first argument.
176 (&require_file_with_macro): New.
177 Use it where internal black magic was used to recover the location
178 of a macro definition.
180 2001-10-21 Akim Demaille <akim@epita.fr>
182 * automake.in (&read_am_file): Define and use `$here'.
183 Avoid using am_line_error.
185 2001-10-21 Akim Demaille <akim@epita.fr>
187 * automake.in (&am_target_error): New.
188 Use it where appropriate instead of...
189 (&am_line_error): this.
190 Using it for a target is a croak error.
192 2001-10-21 Akim Demaille <akim@epita.fr>
194 * automake.in (&am_macro_error): New.
195 Use it where appropriate instead of...
196 (&am_line_error): this.
197 Using it for a macro is a croak error.
199 2001-10-21 Akim Demaille <akim@epita.fr>
201 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
202 AC_OUTPUT a Makefile.
204 2001-10-21 Akim Demaille <akim@epita.fr>
206 * automake.in (%var_line): Rename as...
207 (%var_location): this.
208 Use it consistently as the location where the macro is defined,
209 file and line when possible, otherwise just file.
210 (&read_am_file): Rules have their own location tracking, don't
211 pollute %var_location.
213 2001-10-21 Akim Demaille <akim@epita.fr>
215 * automake.in (am_line_error): Clarify.
217 2001-10-21 Akim Demaille <akim@epita.fr>
219 * automake.in (&am_print_error): Set $exit_status since all your
221 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
223 (&am_conf_line_error, &am_conf_line_warning): Remove.
224 Adjust callers to use &am_file_error and...
225 (&am_file_warning): new.
227 2001-10-21 Akim Demaille <akim@epita.fr>
229 * m4/regex.m4: Use AC_LIBOBJ.
230 Require 2.50, and use AC_LIBSOURCES freely.
231 * tests/asm.tests: Formatting changes.
234 2001-10-21 Akim Demaille <akim@epita.fr>
236 * tests/install.test: This test is an empty shell, do not run
238 * tests/Makefile.am (TESTS): Don't run it.
239 * tests/defs (ACLOCAL): When using gettext, pass in the installed
241 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
243 * tests/obsolete2.test: Remove, merged into...
244 * tests/obsolete.test: here.
245 Both aclocal and automake should complain.
247 2001-10-21 Akim Demaille <akim@epita.fr>
249 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
250 for symbols which cannot be Make macro names.
251 (scan_one_autoconf_file): `$here' is new.
252 Use it consistently instead of `1' to remember a token was seen.
254 2001-10-21 Akim Demaille <akim@epita.fr>
256 * tests/subdircond.test: Requires gettext.
257 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
258 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
259 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
260 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
261 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
262 Produce valid configure.in, use aclocal appropriately, declare
263 when libtool is required.
265 2001-10-21 Akim Demaille <akim@epita.fr>
267 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
268 * automake.texi (Macros, Yacc and Lex): Adjust.
269 * automake.in ($seen_decl_yytext): Rename as...
270 ($seen_prog_lex): this.
271 (&scan_autoconf_traces): Add AC_PROG_LEX support.
272 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
274 2001-10-21 Akim Demaille <akim@epita.fr>
276 * automake.in (&scan_autoconf_traces): Add support for
277 AM_PATH_LISPDIR and AM_PATH_PYTHON.
279 2001-10-21 Akim Demaille <akim@epita.fr>
281 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
283 * tests/lex.test: Run AC_INIT once.
284 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
286 * tests/header.test: Built a correct configure.in.
287 * tests/defun2.test (configure.in): Be a bit respectful with
288 Autoconf, close the macro invocations.
289 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
292 * automake.in (scan_autoconf_traces): Add support for
293 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
294 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
295 * tests/condincl.test (target): Better pattern, to avoid matching
296 the definition of `target_alias' which is now properly discovered
297 as an AC_SUBST by traces.
298 * cond4.test: Better grep pattern: After all, why shouldn't
299 TWO_FALSE be AC_SUBST properly.
300 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
302 2001-10-20 Kevin Ryde <user42@zip.com.au>
304 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
305 actually using ansi2knr.
307 * automake.in (handle_configure): Always put a number on $stamp_name,
308 to match AM_CONFIG_HEADER.
310 2001-10-20 Tom Tromey <tromey@redhat.com>
312 * tests/Makefile.am (TESTS): Added condd.test.
313 (XFAIL_TESTS): Added condd.test.
314 * tests/condd.test: New file.
316 2001-10-20 Akim Demaille <akim@epita.fr>
318 * automake.in (&scan_autoconf_traces): Add support for
319 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
321 * tests/alpha.test (configure.in): Automake wants a Makefile.
323 2001-10-20 Akim Demaille <akim@epita.fr>
325 * automake.in (scan_autoconf_traces): Use an unlikely to be used
326 separator between trace arguments, in particular not `:' as it is
327 within AC_CONFIG_FILES's $1.
329 2001-10-20 Akim Demaille <akim@epita.fr>
331 * tests/alpha.test (configure.in): Create, don't append. A single
334 2001-10-20 Akim Demaille <akim@epita.fr>
336 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
337 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
338 * tests/alpha.test, tests/ansi.test, tests/asm.test,
339 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
340 * tests/badline.test, tests/block.test, tests/canon2.test,
341 * tests/check.test, tests/checkall.test, tests/clean.test,
342 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
343 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
344 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
345 * tests/comment.test, tests/comment3.test, tests/cond.test,
346 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
347 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
348 * tests/condman2.test, tests/confdist.test, tests/confh.test,
349 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
350 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
351 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
352 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
353 * tests/else.test, tests/empty.test, tests/exdir.test,
354 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
355 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
356 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
357 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
358 * tests/include.test, tests/info.test, tests/insh.test,
359 * tests/insh2.test, tests/install.test, tests/installsh.test,
360 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
361 * tests/insthook.test, tests/instman.test, tests/instman2.test,
362 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
363 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
364 * tests/man.test, tests/mclean.test, tests/mdate.test,
365 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
366 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
367 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
368 * tests/outdir.test, tests/output.test, tests/output2.test,
369 * tests/output3.test, tests/output4.test, tests/output5.test,
370 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
371 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
372 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
373 * tests/primary.test, tests/proginst.test, tests/python.test,
374 * tests/remake.test, tests/remake2.test, tests/remake3.test,
375 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
376 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
377 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
378 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
379 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
380 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
381 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
382 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
383 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
384 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
385 * tests/version.test, tests/version2.test, tests/version3.test,
386 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
387 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
389 2001-10-20 Akim Demaille <akim@epita.fr>
391 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
392 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
393 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
394 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
395 * tests/conf2.test, tests/confh.test, tests/confh2.test,
396 * tests/confh3.test, tests/confh4.test, tests/config.test,
397 * tests/confsub.test, tests/depend3.test, tests/discover.test,
398 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
399 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
400 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
401 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
402 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
403 * tests/output.test, tests/output2.test, tests/output3.test,
404 * tests/output4.test, tests/output5.test, tests/package.test,
405 * tests/parse.test, tests/pr2.test, tests/remake.test,
406 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
407 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
408 * tests/subdir4.test, tests/subdirbuiltsources.test,
409 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
410 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
411 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
412 since AM_INIT_AUTOMAKE requires them.
414 2001-10-20 Akim Demaille <akim@epita.fr>
416 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
418 Don't run AC_ARG_PROGRAM another time, it is required by
420 * tests/aclocal.test: Work on the default configure.in
421 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
422 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
424 Be realistic in testing: AC_INIT is required for Autoconf.
425 Broken so called optimized tests break trace handling.
427 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
428 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
429 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
430 * tests/colon.test, tests/colon2.test, tests/colon3.test,
431 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
432 * tests/colon7.test, tests/cond.test, tests/cond2.test,
433 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
434 * tests/confh.test, tests/confh2.test, tests/confh3.test,
435 * tests/confh4.test, tests/config.test, tests/confsub.test,
436 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
437 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
438 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
439 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
440 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
441 * tests/libobj9.test, tests/output.test, tests/output2.test,
442 * tests/output3.test, tests/output4.test, tests/parse.test,
443 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
444 * tests/remake.test, tests/remake2.test, tests/remake3.test,
445 * tests/req.test, tests/scripts.test, tests/subdir.test,
446 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
447 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
448 * tests/version2.test: Add AC_INIT in `configure.in'.
450 2001-10-20 Akim Demaille <akim@epita.fr>
452 * automake.in (&scan_autoconf_traces): Add support for
453 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
454 Let @args have a more natural M4 correspondence: $1 is args[1], no
456 (&scan_autoconf_files): Using autoconf traces is no longer a
457 complement of the previous ad hoc scheme: use either.
459 2001-10-20 Akim Demaille <akim@epita.fr>
461 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
462 factors dedicated $libsources assignments.
464 2001-10-20 Akim Demaille <akim@epita.fr>
466 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
467 Remove, since Autoconf 2.52 has them.
468 * automake.in, aclocal.in, automake.texi: Adjust.
470 2001-10-19 Akim Demaille <akim@epita.fr>
472 * automake.in (&read_main_am_file): s/generated automatically/
474 Insert @configure_input@, since 2.50 no longer output this
475 automatically for Makefiles.
477 2001-10-19 Kevin Ryde <user42@zip.com.au>
479 * lib/am/check.am (check-TESTS): Add an "else true" to work with
480 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
482 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
484 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
485 * tests/nobase.test: New file. Based on a bug report
486 from Martin Frydl <martin@idoox.com>.
488 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
490 * automake.in (am_install_var): Don't strip nobase_ from $X, do
491 this with $nodir_name only. Use $nodir_name where appropriate.
493 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
495 * automake.in (handle_languages, handle_single_transform_list,
496 lang_c_rewrite): Use require_conf_file instead of
497 require_config_file to require depcomp or compile from Makefile.am.
498 (require_aux_file_with_line): New function, adapted from
499 require_conf_gile_with_line.
500 (require_conf_file_with_line, require_conf_file_with_conf_line):
501 Simplify using require_aux_file_with_line.
502 (require_config_file): Simplify using require_conf_file_with_conf_line.
503 (require_conf_file): New function.
505 2001-10-15 Akim Demaille <akim@epita.fr>
507 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
508 normally, what is wrong is that automake outputs a variable
509 definition for it, hence...
510 * automake.in (scan_one_autoconf_file): don't.
512 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
514 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
515 Use AC_CONFIG_COMMANDS.
516 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
518 2001-10-15 Akim Demaille <akim@epita.fr>
520 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
522 2001-10-15 Akim Demaille <akim@epita.fr>
524 * automake.in (&variable_conditions): Be deterministic and Perl
525 version independent: sort the result.
526 (&variable_output, &variable_pretty_output): Sort all the @conds,
527 not only when defaulted.
528 * tests/cond3.test: Adjust.
530 2001-10-15 Akim Demaille <akim@epita.fr>
532 * automake.in: Formatting changes.
534 2001-10-15 Akim Demaille <akim@epita.fr>
536 * aclocal.in: Use Automake::General and Automake::XFile.
537 Use find_configure_ac.
538 Output the Emacs tags for Autoconf mode selection.
540 2001-10-10 Akim Demaille <akim@epita.fr>
542 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
545 2001-10-09 Akim Demaille <akim@epita.fr>
547 Do not use Autoconf internals.
549 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
550 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
551 m4_regexp and m4_patsubst, since the latter are reserved for ERE
554 2001-10-08 Akim Demaille <akim@epita.fr>
556 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
559 2001-10-05 Akim Demaille <akim@epita.fr>
561 * automake.in (scan_autoconf_files): Use find_configure_ac from
564 2001-10-02 Akim Demaille <akim@epita.fr>
566 * lib/Automake/Struct.pm: Update from Autoconf.
567 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
569 * automake.in: Use them.
570 (&uniq, $me): Remove, as they are provided by Automake::General.
572 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
574 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
575 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
576 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
577 * lib/am/distdir.am (distcheck): Likewise.
578 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
579 using cd so we don't have to fiddle with CDPATH.
580 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
581 DOSish path separator.
583 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
585 * lib/am/python.am (install-%DIR%PYTHON,
586 uninstall-%DIR%PYTHON): Strip path of source file.
587 (clean-python): Comment out.
589 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
591 * automake.in (handle_python): Use require_conf_file_with_conf_line
592 instead of require_file_with_conf_line, so that elisp-comp and
593 py-compile are installed in the aux-directory.
594 (handle_emacs_lisp): Likewise. Define elisp_comp.
595 * lib/am/lisp.am (.el.elc): Use elisp_comp.
597 2001-10-01 Akim Demaille <akim@epita.fr>
599 * lib/am/distdir.am (distcheck): Report the trailing files.
600 Run `dist-gzip', not `dist', as it may leave other distribution
603 2001-09-29 Paul Eggert <eggert@twinsun.com>
605 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
606 bugs when making file names with unusual characters. Quote chmod
607 arg "$dirmode", in case it contains white space.
609 Incorporate the following change from autoconf mkinstalldirs:
611 1999-04-10 Ben Elliston <bje@cygnus.com>
613 Add `-m' flag to specify the mode of a newly created
614 directory. Add command line usage and `-h', `--help' options.
615 Contributed by Jeff Garzik.
617 2001-09-27 Akim Demaille <akim@epita.fr>
619 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
621 2001-09-27 Akim Demaille <akim@epita.fr>
623 * lib/am/distdir.am (dist): Rename as...
625 (dist): Additional name for dist-all.
626 * automake.texi (Options, Dist): Adjust.
628 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
630 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
631 * automake.in (obsolete_macros): Likewise.
632 (seen_objext): Remove (unused).
633 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
634 * lib/am/header-vars.am (EXEEXT, OBJEXT,
635 PATH_SEPARATOR): New variables.
636 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
638 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
640 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
641 neutralize CDPATH for us.
642 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
643 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
646 2001-09-22 Akim Demaille <akim@epita.fr>
648 * configure.in, NEWS: Bump to 1.5a.
651 2001-09-22 Paul Eggert <eggert@twinsun.com>
653 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
654 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
655 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
656 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
657 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
658 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
659 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
660 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
661 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
662 m4/termios.m4, m4/winsz.m4: Add copyright notice.
664 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
665 which has a copyright notice.
667 * m4/strtod.m4: Correct the dates on the copyright notice.
669 2001-09-17 Akim Demaille <akim@epita.fr>
671 * lib/missing (autom4te): New.
672 (aclocal, autoconf, automake, autoheader, help2man): Propagate
675 2001-08-27 Tom Tromey <tromey@redhat.com>
677 * automake.texi (A Shared Library): Clarify installation
679 (Install): Typo. From Adrian Bunk.
681 2001-08-27 Tom Tromey <tromey@redhat.com>
683 * automake.texi (Macros): Typo fix.
684 From Christian Cornelssen
686 2001-08-27 Tom Tromey <tromey@redhat.com>
688 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
689 tests/cond4.test, tests/cond16.test, tests/cond18.test,
690 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
691 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
692 tests/substref.test: Clear CFLAGS.
694 * automake.texi (Yacc and Lex): Mention lex, not yacc.
695 From Alexey Mahotkin.
697 2001-08-27 Tom Tromey <tromey@redhat.com>
699 * tests/yacc7.test: Use test -f, not test -e.
701 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
703 * automake.texi (etags): Typo fix.
705 2001-08-27 Guido Draheim <guidod@gmx.de>
707 * automake.in : restrict ansi2knr option to be a filepath
709 2001-08-23 Richard Boulton <richard@tartarus.org>
711 * tests/yacc7.test: Actually add this file: was accidentally omitted.
713 2001-08-22 Tom Tromey <tromey@redhat.com>
715 * automake.texi (Conditionals): Mention that conditionals must
716 always be invoked. For PR automake/220.
718 2001-08-22 Richard Boulton <richard@tartarus.org>
719 Tom Tromey <tromey@redhat.com>
721 * automake.in (lang_yacc_target_hook): Make header file depend on
722 .c file, not .y file.
723 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
724 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
725 * tests/yacc7.test: New file.
726 * tests/Makefile.am (TESTS): Added yacc7.test.
728 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
730 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
732 2001-08-18 Tom Tromey <tromey@redhat.com>
734 * automake.texi (Dist): Mention dist-all.
736 2001-08-18 Tom Tromey <tromey@redhat.com>
738 * tests/cond3.test: Use portable sed expression.
739 From Richard Boulton.
741 2001-08-13 Richard Boulton <richard@tartarus.org>
743 * automake.in (handle_source_transform): Call
744 define_objects_from_sources() instead of calling
745 variable_value_as_list(), handle_single_transform_list() and
746 define_pretty_variable() directly.
747 (handle_single_transform_list): Add $topparent parameter, used for
748 error messages. Improved error message.
749 (define_objects_from_sources): New function.
750 (subobjname): New function.
751 (variable_conditions_recursive): New name for variable conditions.
752 (variable_value_as_list_recursive): New name for variable_value_as_list.
753 (variable_value_as_list_worker): Renamed to ...
754 (variable_value_as_list_recursive_worker): ... this.
755 (variable_conditions_sub): Renamed to ...
756 (variable_conditions_recursive_sub): ... this.
757 (variable_conditions): Rewritten: now doesn't recurse subvariables.
758 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
759 (substfroms): New global.
760 (substtos): New global.
761 (substnums): New global.
762 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
763 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
764 * tests/sourcesub2.test: New test.
765 * tests/Makefile.am (TEST): Added sourcesub2.test.
767 2001-08-11 Tom Tromey <tromey@redhat.com>
769 * configure.in: Upped to 1.4s.
771 2001-08-09 Richard Boulton <richard@tartarus.org>
773 * automake.in (handle_single_transform_list): Use new global,
774 `%linkers_used', to store the linkers used, rather than an internal
775 variable. Enables correct linker to be calculated across a group
776 of calls to &handle_single_transform_list. Return only list of
777 objects, since linker to be used is now externally determined.
778 (handle_source_transform): adapted for new calling conventions of
779 handle_single_transform_list. Calls resolve_linker() on a set of
780 all the linkers used for any prefix, rather than for each prefix in
782 (linkers_used): New global.
783 * tests/link_dist.test: New test.
784 * tests/Makefile.am (TESTS): Added link_dist.test.
786 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
788 Dissociate testsuite 'make' invocations from outer 'make'.
789 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
790 environment variables.
791 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
793 * tests/substref.test: Likewise.
795 2001-08-08 Richard Boulton <richard@tartarus.org>
797 * tests/cond18.test: New file.
798 * tests/cond19.test: New file.
799 * tests/cond20.test: New file.
800 * tests/cond4.test: Updated to check the generated _OBJECTS more
802 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
805 2001-08-08 Richard Boulton <richard@tartarus.org>
807 * automake.in (file_contents_internal): if a rule is conditionally
808 defined, define the standard automake definition for it for those
809 conditions which are not conditionally defined.
810 (invert_conditions): New function: invert a list of conditionals.
812 * tests/cond14.test: New file.
813 * tests/cond15.test: New file.
814 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
816 2001-08-05 Tom Tromey <tromey@redhat.com>
818 * tests/Makefile.am (TESTS): Added dejagnu2.test.
819 * tests/dejagnu2.test: New file.
820 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
821 * automake.in (handle_scripts): Removed dead code.
822 (handle_tests_dejagnu): Don't handle site.exp generation
825 2001-08-04 Richard Boulton <richard@tartarus.org>
827 * tests/cond17.test: New file: test for being able to define an
828 object to be generated in different ways according to a
830 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
831 (TESTS): Added cond17.test.
833 2001-08-02 Richard Boulton <richard@tartarus.org>
835 * automake.in (variable_conditions_sub): Handle variable
836 substitution refs when computing conditions based on subvariable
837 conditions. Fixes substitution refs of system variables when sub
838 variable is conditional.
839 (SUBST_REF_PATTERN): New global.
840 * tests/cond16.test: New file: regression test for variable
842 * test/Makefile.am (TESTS): Added cond16.test.
844 2001-08-03 Tom Tromey <tromey@redhat.com>
846 * tests/substref.test: Require GNU make; backed out previous
849 * tests/substref.test: Handle entering/leaving directory
852 2001-08-03 Richard Boulton <richard@tartarus.org>
854 * automake.in (value_to_list): Check for whether $from is defined,
855 rather than whether it is true, so that empty $froms are allowed in
856 substitution reference patterns.
858 * tests/substref.test: New file: test behavior of substitution
859 references when the $from side of the substitution is empty.
860 * tests/Makefile.am (TESTS): Added substref.test.
862 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
864 * m4/install-sh.m4: New file.
865 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
866 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
867 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
868 for install.sh any longer, always use install-sh, don't even
869 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
870 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
872 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
874 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
876 * automake.texi (EXEEXT): Clarify.
878 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
882 * m4/auxdir.m4: More comments.
884 2001-07-31 Richard Boulton <richard@tartarus.org>
885 Raja R Harinath <harinath@cs.umn.edu>
887 * automake.in (variable_conditions_sub): Remove @parent_conds
888 argument. This was old logic - duplicate or impossible
889 conditionals are removed later by &variable_conditions_reduce().
890 Fixes tests/cond13.test.
891 (conditionals_true_when): Removed.
892 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
894 2001-07-31 Tom Tromey <tromey@redhat.com>
896 * tests/Makefile.am (TESTS): Added cond13.test.
897 (XFAIL_TESTS): Likewise.
898 * tests/cond13.test: New file.
900 * configure.in: Upped to version 1.4k.
902 * configure.in: Released 1.4j.
904 * lib/config.guess: Updated from master sources.
905 * lib/config.sub: Likewise.
907 2001-07-30 Tom Tromey <tromey@redhat.com>
909 * automake.texi (A Program): Typo. Added subsections and more
910 text about conditional compilation.
911 (A Shared Library): Moved earlier.
912 (Program variables): Updated LINK text. Added AM_CFLAGS.
913 (C++ Support): Added AM_CXXFLAGS.
914 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
917 * tests/Makefile.am (TESTS): Added aclibobj.test.
918 * tests/aclibobj.test: New file.
919 * automake.in (handle_lib_objects_cond): Avoid undefined variable
921 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
923 * automake.texi (Dist): Mention other distribution types.
926 2001-07-29 Tom Tromey <tromey@redhat.com>
928 * automake.texi (Program and Library Variables): Texinfo fix.
929 From Alexey Mahotkin.
931 2001-07-28 Tom Tromey <tromey@redhat.com>
933 * automake.texi (Strictness): Mention Cygnus mode.
936 (Canonicalization): Likewise.
937 (Install): Add `nobase_' to example; typo fix.
939 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
941 (Options): Texinfo fixes; some text updates.
944 2001-07-27 Tom Tromey <tromey@redhat.com>
946 * automake.texi (Invoking Automake): Document --Werror and
949 2001-07-26 Tom Tromey <tromey@redhat.com>
951 * tests/nolink.test: Added no-exeext.
953 * automake.in (check_variable_defined_unconditionally): Don't call
956 * automake.texi (Optional): Don't mention ALL_LINGUAS.
958 * automake.in (seen_linguas, all_linguas, all_linguas_line):
960 (handle_gettext): Don't do any checking of the languages.
961 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
963 * automake.in (am_print_error): New function.
965 (am_file_error): Likewise.
966 (am_line_error): Likewise.
967 (am_conf_error): Likewise.
968 (am_conf_line_error): Likewise.
970 * automake.texi (Options): Document no-exeext.
971 * automake.in (handle_options): Recognize no-exeext.
972 (rule_define): Handle no-exeext.
973 * tests/Makefile.am (TESTS): Added new file.
974 * tests/exeext2.test: New file.
976 * automake.in (make_input_list): Removed.
977 (scan_autoconf_config_files): Don't add to make_input_list.
978 (scan_one_autoconf_file): Don't use make_input_list.
979 (scan_autoconf_files): Use make_list, not make_input_list.
980 (scan_autoconf_files): Likewise.
982 * automake.in (seen_exeext): Removed.
983 (generate_makefile): Don't define EXEEXT or OBJEXT.
984 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
985 (am_install_var): Don't check $seen_exeext.
986 (handle_programs): Likewise.
987 (rule_define): Allow x to override x$(EXEEXT), for now.
988 (file_contents_internal): Only define rule if rule_define allows
990 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
992 2001-07-25 Tom Tromey <tromey@redhat.com>
995 * tests/pr9.test: Require GNU make.
996 * tests/dirname.test: Don't use `-u'.
998 2001-07-22 Tom Tromey <tromey@redhat.com>
1000 * tests/Makefile.am (TESTS): Added auxdir2.test.
1001 (XFAIL_TESTS): Likewise.
1002 * tests/auxdir2.test: New file.
1004 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
1005 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
1007 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
1008 * automake.in (am_install_var): Add $(EXEEXT) even if program name
1009 holds `.'. Don't add $(EXEEXT) if program name already has it.
1010 (handle_programs): Don't add $(EXEEXT) if user already did.
1011 (make_paragraphs): Don't compute EXEEXT.
1013 * tests/Makefile.am (TESTS): Added exeext.test.
1014 (XFAIL_TESTS): Likewise.
1015 * tests/exeext.test: New file.
1017 2001-07-22 Tom Tromey <tromey@redhat.com>
1019 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
1020 `prog.exe' on Cygwin with libtool. From Robert Collins.
1022 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1024 * tests/dirname.test: Explicitly use $SHELL to run the
1025 script; this avoids failures on DJGPP.
1026 * tests/install2.test: Skip if 'chmod 000' doesn't make
1029 2001-07-21 Tom Tromey <tromey@redhat.com>
1031 * tests/libtool2.test: Check for libtoolize.
1033 * tests/Makefile.am (TESTS): Added substtarg.test.
1034 (XFAIL_TESTS): Likewise.
1035 * tests/substtarg.test: New file.
1037 * automake.in (handle_dist): Handle case where aux dir doesn't
1038 have a Makefile. Fixes depdist.test.
1039 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
1040 * tests/depdist.test: Look for config/depcomp.
1042 * tests/Makefile.am (TESTS): Added depdist.test.
1043 (XFAIL_TESTS): Likewise.
1044 * tests/depdist.test: New file. From Eric Magnien.
1046 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
1047 AC_PROG_CC_C_O does require AC_PROG_CC.
1050 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
1052 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
1053 output is suitable for make.
1055 * automake.texi (Macros): Document AM_PROG_AS.
1056 (Assembly Support): New node.
1057 * m4/Makefile.am (m4data_DATA): Added as.m4.
1058 * m4/as.m4: New file.
1060 * automake.texi (Tags): Added uref to global tags.
1062 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1064 * automake.in (handle_single_transform_list): Use $(DEPDIR)
1065 instead of hardcoding '.deps'.
1066 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
1068 2001-07-20 Derek Price <dprice@collab.net>
1070 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
1072 * tests/dirname.test: New test.
1073 * tests/stamph2.test: New test.
1074 * tests/Makefile.am: Add new tests.
1075 * tests/Makefile.in: Regenerated.
1077 2001-07-19 Tom Tromey <tromey@redhat.com>
1079 * automake.texi (Tags): Document GTAGS_ARGS.
1080 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1082 2001-07-19 Tom Tromey <tromey@redhat.com>
1083 Alexandre Duret-Lutz <duret_g@epita.fr>
1085 Fix for ccnoco.test, subobj8.test:
1086 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1087 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1089 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1090 Use AM_AUX_DIR_EXPAND.
1091 * lib/compile: Handle case where `-o' argument is the name of an
1092 executable, not an object file.
1093 * m4/auxdir.m4: New file, from...
1094 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1095 * automake.in (handle_single_transform_list, lang_c_rewrite):
1096 Require compile using `require_config_file'.
1098 2001-07-19 Tom Tromey <tromey@redhat.com>
1100 * automake.texi (Program and Library Variables): Added X example
1103 2001-07-19 Tom Tromey <tromey@redhat.com>
1105 * automake.texi (Distributing): Updated to reflect new license.
1107 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1109 * automake.in (require_build_directory): New function, extracted
1111 (handle_single_transform_list): ... here.
1112 (require_build_directory_maybe): New function.
1113 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1114 require_build_directory_maybe() to ensure the subdirectory
1115 in which a target may lie will exist when the target is created.
1116 (handle_libraries, handle_ltlibraries): Use basename before
1117 checking library name.
1118 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1119 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1120 * lib/am/program.am (%PROGRAM%): Likewise.
1122 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1124 * m4/missing.m4: Reword comment.
1126 2001-07-18 Pavel Roskin <proski@gnu.org>
1128 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1129 * tests/gcj.test: Likewise.
1130 * tests/gcj2.test: Likewise.
1131 * tests/gcj3.test: Likewise.
1133 2001-07-18 Tom Tromey <tromey@redhat.com>
1135 * lib/compile: Change how lockdir is computed. If linking or
1136 compiling without `-o', just run the compiler.
1138 * tests/Makefile.am (TESTS): Added ccnoco.test.
1139 (XFAIL_TESTS): Likewise.
1140 * tests/ccnoco.test: New file.
1142 2001-07-17 Tom Tromey <tromey@redhat.com>
1144 * lib/ylwrap: Added special exception.
1145 * lib/py-compile: Added license.
1146 * lib/mdate-sh: Added special exception.
1147 * lib/elisp-comp: Added special exception.
1148 * lib/compile: Added special exception.
1149 * lib/depcomp: Added special exception.
1151 Report from Motoyuki Kasahara:
1152 * tests/make.test: Use am__include.
1153 * tests/exsource.test: Use am__include.
1154 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1155 * automake.in (handle_languages): Use am__include and am__quote.
1157 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1158 * m4/init.m4: Updated callers.
1160 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1162 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1163 * aclocal.in (scan_configure, add_file): Handle the full macro
1164 name even if it contains numbers, such as I18N.
1166 2001-07-16 Tom Tromey <tromey@redhat.com>
1168 * automake.texi (Dependencies): Link to dependency tracking page.
1169 (Data): Mention dist_.
1170 (Clean): Mention clean heuristics.
1171 (Install): Mention nobase_.
1173 * automake.texi (Program and Library Variables): Document _LINK.
1175 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1177 * automake.in (handle_libraries): Allow libraries to lie in
1178 a subdirectory by constraining only the basename to start
1179 with 'lib', not the whole path.
1181 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1183 * tests/subobj8.test: New file.
1184 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1186 2001-07-16 Tom Tromey <tromey@redhat.com>
1188 Fix for PR automake/212:
1189 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1190 (uninstall-%DIR%LISP): Likewise.
1192 2001-07-15 Tom Tromey <tromey@redhat.com>
1194 * automake.in (usage): Rewrote code to handle columnization.
1195 From Alexey Mahotkin and Maxim Sinev.
1197 Report from Ralf Corsepius:
1198 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1199 (SUFFIX_RULE_PATTERN): Likewise.
1200 * tests/Makefile.am (TESTS): Added cxx.test.
1201 * tests/cxx.test: New file.
1203 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1204 From Shigio Yamaguchi.
1206 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1208 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1209 remain after "make uninstall".
1211 2001-07-14 Tom Tromey <tromey@redhat.com>
1213 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1215 * lib/missing (makeinfo): Redirect stdout and stderr outside
1216 subshell. From Alexandre Oliva.
1218 2001-07-14 Akim Demaille <akim@epita.fr>
1220 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1221 `\b(foo|bar)\b' is what we want.
1222 * aclocal.in: Likewise.
1224 2001-07-14 Akim Demaille <akim@epita.fr>
1226 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1228 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1229 actually modified to require AM_DEPENDENCIES.
1230 Rename `confdir' as `conftest.dir' so that the configure trap
1233 2001-07-04 Tom Tromey <tromey@redhat.com>
1235 Fix for nolink.test:
1236 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1237 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1238 * automake.in (am_install_var): Only rewrite PROGRAMS if
1240 (make_paragraphs): Always define %EXEEXT%.
1242 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1244 * tests/nolink.test: New file.
1245 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1247 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1249 * automake.in (scan_texinfo_file): Add the second argument to
1250 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1251 itself may not be used directly.
1253 2001-07-04 Tom Tromey <tromey@redhat.com>
1256 * lib/missing (makeinfo): Use subshell, not explicit sh
1259 * automake.texi (Headers): Mention that we prefer uninstalled
1260 headers in _SOURCES.
1261 (ANSI): Mention cross-compilation limitation.
1263 2001-07-03 Tom Tromey <tromey@redhat.com>
1265 * configure.in: Upped to 1.4i.
1267 * configure.in: Released 1.4h.
1269 * lib/config.guess, lib/config.sub: Updated.
1271 2001-07-02 Tom Tromey <tromey@redhat.com>
1273 Fix for libtool2.test:
1274 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1275 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1276 * automake.in (generate_makefile): Call handle_libtool
1278 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1280 * tests/libtool2.test: Look for `.lo' files to be removed.
1282 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1284 * tests/Makefile.am (TESTS): Removed dup.test.
1285 * tests/dup.test: Removed.
1286 * aclocal.in (scan_file): Don't give error for duplicate macro.
1288 2001-07-01 Tom Tromey <tromey@redhat.com>
1290 * automake.texi (Program and Library Variables): Document
1291 subdir-objects. Document fact that per-object flags override AM_
1293 (Options): Likewise.
1294 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1295 (Multilibs): New node.
1296 (Macros): Documented missing macros.
1297 (Auxiliary Programs): New node.
1299 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1300 mode, then simply fail.
1302 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1304 * lib/ylwrap: Improve support for DOS paths (and paths
1305 containing backslashes in general).
1307 2001-07-01 Tom Tromey <tromey@redhat.com>
1309 * lib/missing: Added special exception to license.
1312 * lib/missing: Updated. Added comment explaining configure.ac
1315 * lib/depcomp: Reorder arguments to gcc3.
1316 From Per Oyvind Hvidsten.
1318 * tests/Makefile.am (TESTS): Added libtool2.test.
1319 * tests/libtool2.test: New file.
1321 * automake.texi (Program and Library Variables): Added example for
1324 2001-06-29 Tom Tromey <tromey@redhat.com>
1326 * tests/cond11.test: Use `=', not `=='.
1327 * tests/cond12.test: Look for automake in build directory, not
1330 2001-06-29 Richard Boulton <richard@tartarus.org>
1332 * automake.in (conditionals_true_when): Pass first parameters by
1333 reference, avoiding bug which put all parameters in @CONDS instead
1334 of @WHENS. Report by Kalle Olavi Niemitalo.
1335 Take a single WHEN instead of an array of WHENS.
1336 Remove FIXME; can't now have an empty @WHENS.
1337 (conditional_is_redundant): New sub.
1338 (variable_conditions_reduce): Check whether each condition is
1339 implied by any of the other conditions (other those already
1340 discarded), rather than checking only against those already
1341 considered (and kept). Also, fix sense of check: was keeping
1342 tautologous terms instead of discarding them. Use
1343 conditional_is_redundant instead of conditionals_true_when.
1344 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1345 * tests/cond11.test: New file.
1346 * tests/cond12.test: New file.
1348 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1350 * automake.in (saw_sources_p): Work even if there are more
1351 than one header files, and more than of one type of header.
1352 * tests/Makefile.am (TESTS): Added new file.
1353 * tests/depend4.test: New file.
1355 2001-06-28 Tom Tromey <tromey@redhat.com>
1357 * lib/am/libs.am (RANLIB): Don't define.
1359 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1361 * automake.in (am_install_var): Assign 1 to $first on
1364 2001-06-23 Tom Tromey <tromey@redhat.com>
1367 * lib/ylwrap: Changed usage.
1368 * lib/am/yacc.am: Rewrote to use new substitutions.
1369 * lib/am/lex.am: Likewise.
1370 * automake.in (handle_languages): Skip files whose language
1371 doesn't have a compiler. Handle `define_flag' attribute.
1372 Changed '$' to "\$" to aid Emacs fontification.
1373 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1374 `_target_hook' and `define_flag'.
1375 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1376 and `compiler' attributes. Removed `linker', `derived_autodep',
1377 and `ansi' attributes. Added `define_flag'.
1378 (yacc, yaccxx): Added `_target_hook'.
1379 (saw_extension): Count number of times extension seen.
1380 (count_files_for_language): New sub.
1381 (saw_sources_p): Use it.
1382 (handle_single_transform_list): Allow language rewrite function
1383 to return a new source extension. Call target_hook.
1384 (yacc_sources, lex_sources): Removed.
1385 (initialize_per_input): Don't initialize yacc_sources or
1387 (lang_yacc_rewrite): Rewrote.
1388 (lang_yaccxx_rewrite): Likewise.
1389 (lang_lex_rewrite): Likewise.
1390 (lang_lexxx_rewrite): Likewise.
1391 (output_yacc_build_rule): Removed.
1392 (output_lex_build_rule): Removed.
1393 (lang_yacc_finish): Removed build rule generation.
1394 (lang_lex_finish): Likewise.
1395 (DASH_D_PATTERN): New global.
1396 (lang_yacc_target_hook): New function.
1397 (_target_hook): New function.
1398 (register_language): Default `define_flag'.
1399 * tests/yacc5.test: Updated test.
1400 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1401 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1402 for all YFLAGS variables.
1404 2001-06-20 Tom Tromey <tromey@redhat.com>
1406 * tests/yacc5.test: Check for per-executable YFLAGS.
1408 2001-06-19 Tom Tromey <tromey@redhat.com>
1410 * tests/Makefile.am (TESTS): Added yacc5.test.
1411 * tests/yacc5.test: New file.
1413 2001-06-17 Tom Tromey <tromey@redhat.com>
1415 * automake.in (require_file_internal): Check for already-required
1416 file after searching for it, and only if it is not found. Don't
1417 use `readlink' when checking for dangling symlink. Work if
1418 --force-missing specified.
1419 * tests/acoutput2.test: Also test --force-missing.
1421 Fix for libtool.test:
1422 * automake.in (generate_makefile): Call handle_libtool.
1423 (handle_libtool): New sub.
1424 (handle_compile): Don't read `libtool' file.
1426 * tests/acoutput2.test: New file.
1427 * tests/Makefile.am (TESTS): Added acoutput2.test.
1429 2001-06-15 Tom Tromey <tromey@redhat.com>
1431 * tests/Makefile.am (TESTS): Added libtool.test.
1432 * tests/libtool.test: New file.
1434 2001-06-14 Tom Tromey <tromey@redhat.com>
1436 Fix some lisp bugs reported by Bruno Haible:
1437 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1439 (install-%DIR%LISP): Handle case where lispdir is not defined.
1440 (uninstall-%DIR%LISP): Likewise.
1441 (.el.elc): Added `else' clause.
1443 Fix for bug reported by Steve M. Robbins:
1444 * automake.in (handle_single_transform_list): When building a file
1445 from a subdirectory, continue to use `AM_' prefix.
1446 * tests/Makefile.am (TESTS): Added subobj7.test.
1447 * tests/subobj7.test: New file.
1449 * lib/am/configure.am ($(top_builddir)/config.status): Added
1450 $(top_builddir) prefix to work around problems with some vendor
1451 makes. From Nicholas Joly.
1453 * automake.in (yacc_lex_finish_helper): Find ylwrap in
1454 top_srcdir. From Tim Van Holder.
1455 * tests/Makefile.am (TESTS): Added yacc6.test.
1456 * tests/yacc6.test: New file.
1458 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
1460 * tests/defs, tests/installsh.test: Properly support
1463 2001-06-14 Tom Tromey <tromey@redhat.com>
1465 * tests/Makefile.am (TESTS): Added mdate4.test.
1466 * tests/mdate4.test: New file.
1468 * aclocal.in (scan_m4_files): Removed unused variable.
1470 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1472 * aclocal.in (scan_m4_files): Tweak the building of &search so
1473 that multiple macro names can be found on the same line. Ensure
1474 we match whole macro name, not only substrings.
1476 2001-06-12 Tom Tromey <tromey@redhat.com>
1478 * automake.texi (ANSI): Minor clarification.
1479 (Other GNU Tools): Don't mention Guile.
1481 (Java Support): Mention file extensions.
1482 (Man pages): Mention dist_. Don't mention info pages.
1484 2001-06-11 Tom Tromey <tromey@redhat.com>
1486 * automake.texi (Program variables): Document AM_CPPFLAGS.
1488 (Java Support): Document AM_GCJFLAGS.
1489 (Support for Other Languages): Removed `fixme'; added link to
1490 suffix rule handling.
1492 * automake.texi (Program and Library Variables): Document _LIBADD,
1493 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
1495 2001-06-11 Kevin Dalley <kevind@rahul.net>
1497 * missing: Support configure.ac.
1499 2001-06-08 Tom Tromey <tromey@redhat.com>
1501 * tests/version4.test: New file.
1502 * automake.in (version_check): New sub.
1503 (handle_options): Use it.
1504 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1505 (TESTS): Added version4.test.
1506 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1507 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
1509 2001-06-04 Kevin Dalley <kevind@rahul.net>
1511 * lib/am/dejagnu.am (site.exp): Fix typo.
1513 2001-06-02 Tom Tromey <tromey@redhat.com>
1515 * automake.in (variable_conditions_sub): Move parent-only code
1517 (variable_conditions): ... to here.
1518 (variable_conditions_sub): Include this variable's conditions in
1519 the resulting condition list.
1520 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
1522 2001-06-01 Tom Tromey <tromey@redhat.com>
1524 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
1526 * tests/ltdeps.test: New file. Report from Lars J. Aas.
1528 2001-05-31 Tom Tromey <tromey@redhat.com>
1530 * automake.texi (Alternative): New node.
1531 (Macros): Use new name for gcc.
1532 (Java Support): Likewise.
1533 (Dependencies): Rewrote.
1534 (Invoking Automake): (Re-)document -i, --ignore-deps, and
1537 * automake.texi (Top level): Removed erroneous spaces. Documented
1540 2001-05-29 Tom Tromey <tromey@redhat.com>
1542 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
1544 * automake.texi (Include): Rewrote.
1545 (Suffixes): Remove Java example.
1546 (Java): Added more explanation. Document variables.
1547 (Uniform): Mention JAVA as a primary.
1548 (Python): Updated for new Python support.
1549 (Sources): Added a weak example.
1551 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
1553 * automake.texi (A Program): Mention `check' prefix.
1554 (Program and Library Variables): New node.
1555 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
1557 (etags): Mention per-program flags.
1558 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
1561 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
1564 2001-05-28 Tom Tromey <tromey@redhat.com>
1566 * m4/Makefile.am (MAINT_CHARSET): Removed.
1567 * Makefile.am (MAINT_CHARSET): Removed.
1568 * automake.in (maint_charset, dist_charset): Removed.
1569 (local_maint_charset): Removed.
1570 (initialize_per_input): Don't use maint_charset.
1571 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
1573 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
1575 (.%SUFFIX%.dvi): Likewise.
1576 (.%SUFFIX%): Likewise.
1578 2001-05-27 Tom Tromey <tromey@redhat.com>
1580 * automake.in (handle_multilib): Only add multilib support code at
1582 * lib/am/multilib.am: Handle invocation of *-multi targets
1583 differently for SUBDIRS and non-SUBDIRS Makefiles.
1584 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
1585 Only add multilib code when the Makefile in question is actually
1588 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
1590 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1592 * automake.in (handle_single_transform_list): Skip unknown
1595 2001-05-25 Tom Tromey <tromey@redhat.com>
1597 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
1599 2001-05-24 Tom Tromey <tromey@redhat.com>
1601 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1602 directory in some situations.
1604 * automake.in (generate_makefile): Better explanation for ansi2knr
1607 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1609 * automake.in (handle_languages): Skip unknown extensions.
1610 (derive_suffix): Check whether $extension_map{$source_ext}
1611 is undefined, not empty.
1613 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1615 * automake.in (read_am_file): Ignore trailing backslash on
1618 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1620 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1622 2001-05-21 Akim Demaille <akim@epita.fr>
1624 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1625 multiple times'' warning.
1627 2001-05-20 Tom Tromey <tromey@redhat.com>
1629 * configure.in: Updated to 1.4g.
1631 * configure.in: Updated to 1.4f.
1633 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1635 * lib/ansi2knr.c: New version.
1637 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1640 2001-05-19 Tom Tromey <tromey@redhat.com>
1642 * config.guess, config.sub: New versions from FSF.
1644 * Makefile.am (fetch): Compare against files in srcdir.
1646 For for ansi2knr report from Harlan Stenn:
1647 * automake.in (generate_makefile): Run handle_compile before
1650 2001-05-18 Tom Tromey <tromey@redhat.com>
1652 * automake.in: Reverted erroneous checkin.
1654 2001-05-18 Akim Demaille <akim@epita.fr>
1656 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1657 to missing `install-info'.
1659 2001-05-17 Tom Tromey <tromey@redhat.com>
1661 * automake.in (lang_c_finish): Use `rm -f'.
1663 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1664 * tests/Makefile.am (TESTS): Added new file.
1665 * tests/ansi5.test: New file.
1667 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1669 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1671 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1672 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1673 * automake.texi (Requirements): Document the use of the STRIP
1674 variable in cross-compilation environments.
1676 2001-05-17 Tom Tromey <tromey@redhat.com>
1678 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1679 to no dependency tracking.
1680 * tests/Makefile.am (TESTS): Added depcomp2.test.
1681 * tests/depcomp2.test: New file. From Pavel Roskin.
1683 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1685 * lib/depcomp (tru64): New dependency tracking mode.
1687 Fix for PR automake/159:
1688 * lib/depcomp (aix): Rewrote.
1691 Fix for PR automake/174:
1692 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1693 * automake.in (read_am_file): Warn if `#' is at start of rule.
1695 2001-05-16 Tom Tromey <tromey@redhat.com>
1697 For PR automake/174:
1698 * tests/Makefile.am (TESTS): Added comment3.test.
1699 (XFAIL_TESTS): Likewise.
1700 * tests/comment3.test: New file.
1702 Fix for PR automake/175:
1703 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1704 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1705 `Leaving directory' messages.
1707 For PR automake/175:
1708 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1709 * tests/make.test: Run test with `make -w'.
1711 * tests/Makefile.am (TESTS): Removed maintclean.test.
1712 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1714 * lib/am/configure.am (maintainer-clean-am): Removed.
1715 (maintainer-clean-conf): Removed.
1716 * tests/maintclean.test: Removed.
1718 2001-05-15 Tom Tromey <tromey@redhat.com>
1720 Fix for PR automake/177:
1721 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1722 automake or aclocal.
1724 Fix for maintclean.test:
1725 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1726 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1728 (distclean, maintainer-clean): Moved to...
1729 * lib/am/configure.am: ... here.
1730 (distclean): Remove config.cache and config.log.
1731 (maintainer-clean): Removed.
1732 (maintainer-clean-conf): New target.
1733 (maintainer-clean-am): New target.
1735 * tests/Makefile.am (TESTS): Added maintclean.test.
1736 (XFAIL_TESTS): Likewise.
1737 * tests/maintclean.test: New file.
1739 Fixes PR automake/175:
1740 * tests/target-cflags.test: Use $needs_gnu_make.
1741 * tests/exsource.test: Use $needs_gnu_make.
1742 * tests/make.test: Require GNU make.
1743 * tests/defs (needs_gnu_make): Compute.
1745 2001-05-14 Tom Tromey <tromey@redhat.com>
1747 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1750 Fix for texinfo10.test.
1751 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1752 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1753 * automake.in (handle_texinfo_helper): New sub.
1754 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1755 * tests/texinfo10.test: Added more cases.
1757 Fix for yaccvpath.test:
1758 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1759 * lib/am/distdir.am (distdir): Always look for file in build
1761 * lib/ylwrap: Quote the `#line' regular expression.
1762 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1763 change; don't run sed on the generated file.
1764 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1765 to make sure parser will be rebuilt at dist time.
1767 2001-05-13 Pavel Roskin <proski@gnu.org>
1769 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1770 beginning with `##'.
1771 * automake.texi (General Operation): Document it.
1773 2001-05-13 Tom Tromey <tromey@redhat.com>
1775 Reported by Rainer Orth:
1776 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1778 * tests/Makefile.am (TESTS): Added distname.test.
1779 * tests/distname.test: New file.
1781 * Makefile.am (dist_pkgdata_DATA): Removed.
1783 * tests/defs: Find files to copy in lib/.
1784 * automake.in (perllibdir): Set to Automake directory.
1785 * ansi2knr.c, ansi2knr.1: Removed.
1786 * Makefile.am (dist_am_DATA): Removed.
1788 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1790 (scriptdir): Removed.
1791 (dist_script_DATA): Likewise.
1792 (install-data-hook): Likewise.
1793 (installcheck-local): Likewise.
1794 (TAGS_FILES): Removed amfiles.
1795 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1796 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1797 point it to the right directory.
1798 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1799 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1800 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1801 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1802 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1803 mans.am, multilib.am, program.am, progs.am, python.am,
1804 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1805 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1806 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1807 (AUTOMAKE): Use --libdir, not --amdir.
1808 Ues AC_CONFIG_AUX_DIR.
1809 * lib/Makefile.am (SUBDIRS): Added `am'.
1810 (scriptdir): New macro.
1811 (dist_script_DATA): Likewise.
1812 (dist_pkgdata_DATA): Likewise.
1813 (install-data-hook): New target.
1814 (installcheck-local): Likewise.
1815 * lib/am/Makefile.in: New file.
1816 * lib/am/Makefile.am: Removed everything except amdir and
1819 2001-05-13 Akim Demaille <akim@epita.fr>
1821 * automake.in ($pkgdata_dir): Rename as...
1823 ($am_dir): Remove, replace its uses with $libdir.
1824 (&parse_arguments): Replace --amdir with --libdir.
1825 * automake.texi (Invoking Automake): Document --libdir, not
1827 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1829 2001-05-13 Tom Tromey <tromey@redhat.com>
1831 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1833 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1834 Correctly look at AMDEP_TRUE, not AMDEP.
1836 Report from Robert Boehne:
1837 * tests/Makefile.am (TESTS): Added depend2.test.
1838 * tests/depend2.test: New file.
1840 2001-05-13 James Henstridge <james@daa.com.au>
1842 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1843 Point pythondir at site-packages directory. Rename
1844 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1845 pyexecdir. Removed package/module argument. Removed
1846 PYTHON_SITE_INSTALL. Added version checking.
1848 2001-05-14 Jim Meyering <meyering@lucent.com>
1850 * automake.in (macro_define): Change one remaining use of
1851 `variable_dump' to `macro_dump'.
1853 2001-05-13 Tom Tromey <tromey@redhat.com>
1855 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1858 2001-05-13 Akim Demaille <akim@epita.fr>
1860 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1861 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1862 (&am_primary_prefixes): Use `map' rather than `grep'.
1864 2001-05-13 Akim Demaille <akim@epita.fr>
1866 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1868 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1869 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1871 2001-05-13 Akim Demaille <akim@epita.fr>
1873 * lang-compile.am: New file, loaded once per language.
1874 * depend2.am: Move definitions loaded once per language in the
1875 aforementioned file.
1876 * automake.in (&handle_languages): Load it.
1877 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1878 handled by lang-compile.am.
1880 2001-05-13 Tom Tromey <tromey@redhat.com>
1882 * tests/Makefile.am (TESTS): Added python.test.
1883 * tests/python.test: New file.
1884 * automake.in (handle_languages): Use
1885 config_aux_dir_set_in_configure_in.
1886 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1887 py-compile, not py_comp. Define py_compile macro.
1889 2001-05-13 Derek Price <dprice@openavenue.com>
1891 * automake.in (require_file_with_conf_line,
1892 require_file_with_line, require_file): Pass a @require_file_path
1893 of $relative_dir instead of '.' to require_file_internal so that
1894 all the special casing of '.' can be removed elsewhere.
1895 (require_config_file, require_conf_file_with_line,
1896 require_conf_file_with_conf_line): Remove special casing for '.'
1897 and make sure $config_aux_dir is maintained properly.
1898 (require_file_internal): Remove special casing of '.' and set
1899 @require_file_path when missing files are added.
1900 (maybe_push_required_file): Remove special casing of '.'
1901 (handle_dependencies): Remove a workaround for a bug now fixed
1902 and remove $config_aux_dir special casing.
1903 (handle_configure): Remove special casing for $config_aux_dir
1904 (handle_python): Ditto.
1905 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1906 switch on the value of $config_aux_dir_set_in_configure_in.
1907 (handle_texinfo): Ditto.
1908 (scan_one_configure_file): Set $config_aux_dir and
1909 $config_aux_dir_set_in_configure_in properly so special casing
1910 on the value of $config_aux_dir can be removed elsewhere.
1911 * tests/depcomp.test: New file.
1912 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1913 first subdir containing a C file.
1914 * tests/libobj2.test: Ditto.
1915 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1917 2001-05-12 Tom Tromey <tromey@redhat.com>
1919 * tests/gcj.test: Updated for gcj dependency tracking.
1920 * tests/gcj2.test: Likewise.
1922 Fixes PR automake/169.
1923 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1925 * automake.in (java): Added autodep entry.
1926 * tests/Makefile.am (TESTS): Added gcj3.test.
1927 * tests/gcj3.test: New file.
1929 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1931 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1932 stop at the first '='.
1933 * tests/Makefile.am (TESTS): Added vars.test.
1934 * tests/vars.test: New file.
1936 2001-05-12 Akim Demaille <akim@epita.fr>
1938 * automake.in (&handle_single_transform_list): Simplify
1939 computation of $object and $this_obj_ext.
1940 * tests/lex3.test: Merge into...
1941 * tests/lex.test: here.
1942 * tests/pr19.test: Improve and rename as...
1943 * tests/lex3.test: this.
1945 2001-05-09 Tom Tromey <tromey@redhat.com>
1947 * automake.in (read_am_file): Correctly compute $saw_bk.
1948 (scan_autoconf_files): Ensure configure_dist_common is always
1950 * tests/defs (AUTOMAKE): Added --Werror.
1952 2001-05-09 Pavel Roskin <proski@gnu.org>
1954 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1957 2001-05-09 Tom Tromey <tromey@redhat.com>
1959 * tests/werror.test: Use `rm -f'.
1961 2001-05-09 Akim Demaille <akim@epita.fr>
1963 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1965 2001-05-09 Akim Demaille <akim@epita.fr>
1967 * automake.in: Remove some code left from bad patches.
1968 (&handle_dependency): Remove, for the same reason.
1970 2001-05-09 Akim Demaille <akim@epita.fr>
1972 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1973 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1974 (&define_standard_variables): Don't transform %top_builddir% since...
1975 * header-vars.am: Use %TOPDIR% instead.
1977 2001-05-09 Akim Demaille <akim@epita.fr>
1979 * automake.in (@objects): Remove, unused.
1980 Remove all the code related to it, and to former `$(OBJECTS)'.
1982 2001-05-08 Tom Tromey <tromey@redhat.com>
1985 * ylwrap: Handle arguments to program. Remove old code that tried
1986 to avoid absolute paths and add new code to do it in all cases.
1987 Removed ancient logic that tried to deal with relative path.
1988 * tests/Makefile.am (TESTS): Added yacc4.test.
1989 * tests/yacc4.test: New file.
1991 Fix for PR automake/149 and werror.test:
1992 * automake.in (require_file_internal): Use am_line_warning or
1993 am_conf_line_warning when suppressing error.
1994 (am_line_warning): New sub.
1995 (am_conf_line_warning): Save and restore warning signal.
1996 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1998 Fix for PR automake/36:
1999 * tests/Makefile.am (TESTS): Added asm.test.
2000 * tests/asm.test: New file.
2001 * automake.in (asm): Use ASFLAGS and AS.
2002 (lang_asm_finish): New sub.
2004 * automake.in (read_am_file): Removed debugging code.
2006 For PR automake/149:
2007 * tests/Makefile.am (TESTS): Added werror.test.
2008 (XFAIL_TESTS): Likewise.
2009 * tests/werror.test: New file.
2011 * automake.in (conditional_true_when): Don't return if we see
2014 * tests/objc.test: Removed.
2015 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
2018 * automake.in (subst): New sub.
2019 (handle_languages): Use it.
2020 (output_lex_build_rule): Likewise; also use _am_quote.
2021 (check_libobjs_sources): Likewise.
2022 (make_paragraphs): Use subst.
2024 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
2027 * automake.in (file_contents_internal): Prototype now `$$%'.
2028 (register_language): Prototype now `%'.
2030 Fixes test subobj6.test and PR automake/160:
2031 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
2032 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
2033 (distclean-compile): Added DISTRMS.
2034 * tests/subobj6.test (wish_SOURCES): Updated to reflect
2035 `mostlyclean' use; added test for non-subdir case.
2036 * automake.in (compile_clean_files): New global.
2037 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
2038 (initialize_per_input): Initialize compile_clean_files.
2039 (handle_single_transform_list): Set compile_clean_files entries.
2040 (handle_compile): Handle compilation cleanups.
2042 2001-05-08 Lars J. Aas <larsa@sim.no>
2044 * automake.texi (Canonicalizing Automake macros): Document not
2045 canonicalizing strudels (@) anymore.
2047 2001-05-08 Akim Demaille <akim@epita.fr>
2049 * distdir.am (dist-all): Build all the flavors using a single
2052 2001-05-08 Akim Demaille <akim@epita.fr>
2054 * automake.in (&file_contents_internal): Apply the @cond_stack to
2055 the rules and assignments.
2056 Don't rely on `$.' as it's biased by &make_paragraphs.
2057 Don't remove backslashes in variable values.
2059 2001-05-08 Akim Demaille <akim@epita.fr>
2061 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
2062 ($RULE_PATTERN): Use that from `&make_paragraphs'.
2063 ($MACRO_PATTERN): Just catch the name of a macro.
2064 ($BOGUS_MACRO_PATTERN): Remove.
2065 ($ASSIGNMENT_PATTERN): New.
2066 (&file_contents_internal, &make_paragraphs): Adjust.
2067 (¯o_define): Catch bad macro names.
2068 (&cond_stack_endif): Better error message.
2069 (&file_contents_internal): Don't remove backslashes in variable
2071 (¯o_define): Do it for `+=' user variables.
2072 (&define_standard_variables): Use `undef' instead of a dummy
2074 (&make_paragraph): Be sure not to chop the trail of hash only
2075 lines: adjust the `##' regexp.
2076 (&rule_define): Fix a bug: don't read $1 but $target.
2077 * tests/condincl.test: Strengthen.
2079 2001-05-08 Akim Demaille <akim@epita.fr>
2081 * automake.in (Language): Add attributes `Name' and `config_vars'.
2082 (&finish): Work properly if there is no _finish.
2083 (Automake): Register language Names and AC_SUBST dependencies.
2084 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2085 (&handle_languages): Once per language, invoke
2086 `define_linker_variables', and check its config_vars.
2087 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2088 (&lang_java_finish): Remove.
2089 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2091 2001-05-08 Akim Demaille <akim@epita.fr>
2093 * automake.in (&file_contents_internal): Accept $IS_AM.
2094 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2096 2001-05-08 Akim Demaille <akim@epita.fr>
2098 * automake.in (am_install_var): Use `next' instead of `if' on the
2101 2001-05-08 Akim Demaille <akim@epita.fr>
2103 * automake.in (Language): Add attributes `lder' and `ld'.
2104 (®ister_language): Specify for cxx, objc, f77, gcj.
2105 (&define_linker_variable): New.
2106 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2107 (&lang_java_finish): Adjust.
2108 (&libtool_compiler): Remove.
2110 2001-05-08 Akim Demaille <akim@epita.fr>
2112 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2113 argument, as you don't use it.
2115 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2118 (&handle_programs): Don't mess with %lex_sources, as you don't use
2121 2001-05-08 Akim Demaille <akim@epita.fr>
2123 * automake.in (Language): Add attribute `link'.
2124 (®ister_language): Specify for cxx, objc, f77, gcj.
2125 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2126 (&lang_java_finish): Adjust.
2128 2001-05-08 Akim Demaille <akim@epita.fr>
2130 * automake.in (&define_compiler_variables): Use only $LANG as
2132 (&handle_languages): Adjust.
2134 2001-05-08 Akim Demaille <akim@epita.fr>
2136 * automake.in (&define_program_variable): Remove.
2137 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2139 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2140 * texinfos.am: Do it.
2142 2001-05-08 Akim Demaille <akim@epita.fr>
2144 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2146 * dejagnu.am: Do it.
2147 (site.exp): Use `if'.
2149 2001-05-08 Akim Demaille <akim@epita.fr>
2151 * automake.in: Formatting changes.
2152 (variable_dump, variables_dump): Rename as...
2153 (macro_dump, macros_dump): these.
2155 2001-05-08 Akim Demaille <akim@epita.fr>
2157 Support `if !COND', `else COND', `end COND'.
2159 * automake.texi (Conditionals): Document it.
2160 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2161 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2162 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2163 a leading `!' before the condition.
2164 (&handle_options): Use `\d'.
2165 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2166 (&read_am_file, &file_contents_internal): Use them.
2167 (&transform): No longer substitute `%!COND%', forcing the use of
2169 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2171 2001-05-08 Akim Demaille <akim@epita.fr>
2173 Uniform handling of per-object compilation rules.
2174 Note: Automake is repaired.
2176 * automake.in (&handle_languages): Output per object rules for all
2177 the objects, not only for those which language supports dependency
2179 Fix Automake: when outputting per-object rules, use `-o' if the
2180 language has no `output_flag', as it's really needed.
2181 (&handle_single_transform_list): Instead of special casing files
2182 which need per object rules but which language don't support
2183 dependency tracking, keep them in the queue for processing by
2184 `&handle_languages'.
2186 2001-05-08 Akim Demaille <akim@epita.fr>
2188 * automake.in (&handle_languages): `ext-compile.am' and
2189 `depend2.am' are now equivalent for generic rules: output only the
2191 * ext-compile.am: Remove.
2193 2001-05-08 Akim Demaille <akim@epita.fr>
2195 Note: This patch breaks Automake. Repaired within two patches.
2197 * automake.in (Language): Replace the attribute `output_arg' with
2198 `compile_flag' and `output_flag'.
2199 (Automake): Adjust language registrations.
2200 (&handle_languages): Transform `-c' and `-o' for both suffix and
2201 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2203 (&handle_single_transform_list): Adjust to `compile_flag' and
2205 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2207 2001-05-08 Akim Demaille <akim@epita.fr>
2209 * automake.in (&handle_languages): Don't transform %COMPILER%.
2210 Use `$lang->compiler' instead of `$pfx' to transform generic
2211 %COMPILE% and %LTCOMPILE%.
2212 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2213 of %COMPILER% and $<.
2215 2001-05-07 Akim Demaille <akim@epita.fr>
2217 * automake.in (&handle_languages): Use the same `%transform' for
2218 both `depend2.am' and `ext-compile.am'.
2219 Delay the definition of `$flag' so it is right before the first use,
2220 and rename as `$flags'.
2222 2001-05-07 Akim Demaille <akim@epita.fr>
2224 * automake.in (&handle_languages): Compute `$ltoutarg' and
2225 `$outarg' independently of dependency code.
2226 There is no use looping on a language's possible extensions since
2227 we loop over used extensions.
2228 Therefore, there is no use for a local `%transform'.
2230 2001-05-07 Akim Demaille <akim@epita.fr>
2232 * automake.in (&handle_languages): Don't use $comp.
2234 2001-05-07 Akim Demaille <akim@epita.fr>
2236 * automake.in (&handle_languages): Merge the two loops over
2237 %extension_seen/%languages into one and group code to be run once
2238 per language together.
2240 2001-05-07 Akim Demaille <akim@epita.fr>
2242 * automake.in (&handle_languages): Move the `if
2243 ($use_dependencies)' block so that loops over extensions and
2244 languages are next to each other.
2246 2001-05-07 Akim Demaille <akim@epita.fr>
2248 * automake.in (&depend2): Remove, merged into...
2249 (&handle_languages): here.
2251 2001-05-07 Akim Demaille <akim@epita.fr>
2253 * automake.in (&finish_languages): Rename as...
2254 (&handle_languages): this.
2255 Include the body of...
2256 (&handle_dependency): this.
2259 2001-05-06 Tom Tromey <tromey@redhat.com>
2262 * tests/Makefile.am (TESTS): Add subdir5.test.
2263 (XFAIL_TESTS): Likewise.
2264 * tests/subdir5.test: New file.
2266 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2267 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2269 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2271 (handle_options): Handle fork identifier in version number.
2273 * automake.texi (Dist): Document distcheck-hook.
2275 * tests/confh4.test: Update to reflect DEFS change.
2276 For PR automake/132.
2278 Fix for PR automake/132:
2279 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2281 (java): Remove INCLUDES and DEFS from compilation.
2282 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2283 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2284 (DEFAULT_INCLUDES): New macro.
2286 * automake.in (usage): Re-align explanatory text.
2287 Fixes PR automake/148.
2289 * automake.texi (Uniform): Don't use @PROGRAMS@.
2290 Fixes PR automake/154.
2292 For PR automake/160:
2293 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2294 (XFAIL_TESTS): Add subobj6.test.
2295 * tests/subobj6.test: New file.
2297 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2298 (Top level): Don't mention `flat'.
2299 (Extending): Likewise.
2300 (User Variables): New node.
2302 * distdir.am (distdir): Make subdirectory for each file.
2303 Fixes test subobj5.test.
2305 * tests/Makefile.am (TESTS): Add new file.
2306 (XFAIL_TESTS): Likewise.
2307 * tests/texinfo10.test: New file.
2309 2001-05-05 Pavel Roskin <proski@gnu.org>
2311 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2312 in the same way as @defcodeindex and @syncodeindex respectively.
2314 2001-05-05 Tom Tromey <tromey@redhat.com>
2316 * mans.am (install-man%SECTION%): Minor cleanup.
2317 (uninstall-man%SECTION%): Likewise.
2319 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2320 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2322 (uninstall-man%SECTION%): Likewise.
2323 * automake.in (handle_man_pages): Handle dist_ and nodist_
2326 * automake.texi (Future): Removed.
2328 (Hello): Don't mention `deep'.
2329 (Top level): Likewise.
2331 * automake.in (conditional_true_when): Use a hash, not index().
2332 Also, a TRUE component always results in a true return.
2333 Fixes test cond10.test. For PR automake/164.
2334 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2336 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2338 For PR automake/164:
2339 * tests/Makefile.am (TESTS): Added new file.
2340 (XFAIL_TESTS): Likewise.
2341 * tests/cond10.test: New file.
2343 2001-05-05 Tom Tromey <tromey@redhat.com>
2345 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2347 (install-info-am): Likewise.
2349 2001-05-05 Pavel Roskin <proski@gnu.org>
2351 * automake.in (scan_texinfo_file): Don't push undefined values
2354 2001-05-05 Richard Boulton <richard@tartarus.org>
2356 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2359 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2361 * automake.in (required_targets): Added uninstall-am.
2363 2001-05-05 Tom Tromey <tromey@redhat.com>
2365 Fix bug reported by Robert Boehne:
2366 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2368 (handle_dependencies): Likewise.
2369 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2370 substitution. Correct diff now has 30 lines. Look for space
2371 after losing `undef'.
2373 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2375 * m4/sanity.m4: Remove the temp file before possible error exits.
2377 2001-05-04 Akim Demaille <akim@epita.fr>
2379 * configure.in: Set perllibdir.
2382 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2384 * automake.in ($pkgdata_dir): New.
2385 (&require_file_internal): Use it.
2387 2001-05-03 Akim Demaille <akim@epita.fr>
2389 Case insensitive FS choke on Automake/ vs automake.
2390 Reported by Tim Van Holder.
2392 * Automake/: Move into...
2393 * lib/: this new directory.
2395 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2397 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2400 2001-04-30 Jim Meyering <meyering@lucent.com>
2402 * automake.in: Remove `/lib' from include directory.
2404 2001-04-27 Akim Demaille <akim@epita.fr>
2406 AM_INIT_AUTOMAKE is no longer optional.
2408 * automake.in ($seen_make_set, $seen_prog_install)
2409 ($seen_arg_prog): Remove.
2410 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2411 Remove related code.
2413 2001-04-27 Akim Demaille <akim@epita.fr>
2415 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2417 * tests/specflags3.test: here.
2419 2001-04-27 Akim Demaille <akim@epita.fr>
2421 * automake.in ($seen_path_xtra): Remove.
2422 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2423 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2425 2001-04-27 Akim Demaille <akim@epita.fr>
2427 * automake.in (&file_contents_internal): Declare it.
2429 2001-04-27 Akim Demaille <akim@epita.fr>
2431 * automake.in (&read_am_file, &file_contents_internal): Don't
2432 define macros when `FALSE', to avoid errors on doubly defined
2433 variables but under condition `FALSE'. In order to allow...
2434 (&am_install_var): When reading the associated file for the first
2435 time, enable `%?FIRST%'.
2436 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2437 * libs.am: Do it when `%?FIRST%'.
2439 2001-04-27 Akim Demaille <akim@epita.fr>
2441 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2442 * ansi2knr.am: Do it.
2443 Prefer `if %?FOO%' to `if %!FOO%'.
2445 2001-04-27 Akim Demaille <akim@epita.fr>
2447 * automake.in (®ister_language, &finish_languages): Use `pure'
2449 (®ister_language): Use %done properly with objects, not names.
2450 (&finish_languages): Replace `$non_c' with `$needs_c'.
2452 2001-04-27 Akim Demaille <akim@epita.fr>
2454 Unify LISP, PYTHON and JAVA primaries.
2456 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
2457 return if there are no files, hook elisp-comp on the Autoconf
2458 macro, rely on lisp.am to define variables.
2459 (&handle_python, &handle_java): Likewise.
2460 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
2461 `PYTHON' must be handled here, not in `&handle_python'.
2462 * java.am: Define needed variables and rules.
2464 2001-04-27 Akim Demaille <akim@epita.fr>
2466 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
2468 * header.am: Include data.am.
2470 2001-04-27 Akim Demaille <akim@epita.fr>
2472 * automake.in (&am_install_var): Transform `PRIMARY'.
2473 * data.am: Equip with %PRIMARY%.
2475 2001-04-27 Akim Demaille <akim@epita.fr>
2477 * automake.in (@conditional_stack): Rename as...
2478 (@cond_stack): this.
2479 (&file_contents_internal): Support inclusion of files.
2481 2001-04-27 Akim Demaille <akim@epita.fr>
2483 * automake.in (&lang_extensions): Remove.
2484 (&add_depend2, &saw_sources_p): Adjust.
2485 * depend2.am: `%EXT%' no longer includes the dot.
2487 2001-04-27 Akim Demaille <akim@epita.fr>
2489 * automake.in (&finish_languages, &handle_single_transform_list)
2490 (&add_depend2, &handle_dependencies): No longer use the language
2491 name in `$lang'. Rename `$lang_obj' as `$lang'.
2493 2001-04-27 Akim Demaille <akim@epita.fr>
2495 * automake.in (®ister_language): Use `new Language' with a hash.
2497 2001-04-27 Akim Demaille <akim@epita.fr>
2499 * automake.in (®ister_language): Rename `output-arg' and
2500 `derived-autodep' as `output_arg' and `derived_autodep' to match
2501 the Language attribute.
2502 Set the defaults in %option instead of $lang.
2504 2001-04-27 Akim Demaille <akim@epita.fr>
2506 * Automake/: New directory.
2507 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
2508 * automake.in (Language): Use Automake::Struct.
2509 * tests/defs: Adjust to find Struct.
2511 2001-04-23 Pavel Roskin <proski@gnu.org>
2513 * automake.in: Add forward declaration for register_language().
2514 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
2517 2001-04-20 Akim Demaille <akim@epita.fr>
2519 * automake.in (%required_targets): Add `uninstall'.
2520 From Robert Collins.
2522 2001-04-12 Akim Demaille <akim@epita.fr>
2524 * automake.in (Language): Add attribute `name'.
2525 (®ister_language): The name of the language is now given in the
2527 No longer use `$lang' as the name of the language.
2528 Rename `$lang_obj' as `$lang'.
2530 2001-04-12 Akim Demaille <akim@epita.fr>
2532 * automake.in (Language): Add attribute `_finish'.
2535 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
2536 (&lang_asm_finish): Remove.
2538 2001-04-12 Akim Demaille <akim@epita.fr>
2540 * automake.in (Language): Add attribute `extensions'.
2541 (Automake): Pass a hash to `®ister_language' instead of a
2542 list of pseudo assignments.
2543 (®ister_language): Adjust.
2544 (&finish_languages): Initialize `$ltoutarg'.
2546 2001-04-12 Akim Demaille <akim@epita.fr>
2548 * automake.in (Language): Add attribute `output_arg'.
2549 (%language_map): Remove.
2550 (®ister_language): Build only the object, and store in
2552 (&finish_languages, &handle_single_transform_list): Adjust.
2554 2001-04-12 Akim Demaille <akim@epita.fr>
2556 * automake.in (Language): Add attributes `flags', `compile' and
2558 (&finish_languages, &handle_single_transform_list, &handle_dist)
2559 (&add_depend2, ®ister_language): Use them and the `linker' and
2562 2001-04-12 Akim Demaille <akim@epita.fr>
2564 * automake.in (&handle_single_transform_list, &finish_languages)
2565 (&handle_dist, &handle_dependencies): Use the language object for
2566 autodep and derived-autodep too.
2568 2001-04-12 Akim Demaille <akim@epita.fr>
2570 * automake.in (¯o_define): Ignore Automake definition for
2571 ($var, $cond) if there is already a user definition for ($var, $cond).
2573 2001-04-12 Akim Demaille <akim@epita.fr>
2575 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
2576 but also @deffn and so on which push data in indexes.
2577 Reported by Derek R. Price.
2579 2001-04-12 Akim Demaille <akim@epita.fr>
2581 * automake.in (Language): New package, temporarily in this file.
2583 (Automake): New package.
2585 (&handle_single_transform_list): Use the language object's `ansi'
2586 attribute instead of `$language_map{"$lang-ansi-p"}'.
2587 (®ister_language): Build and register the language too.
2589 2001-04-11 Tom Tromey <tromey@redhat.com>
2591 Fixes report from Larry Jones:
2592 * automake.in (handle_dependencies): Add `@_am_quote@' where
2594 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2596 2001-04-11 Akim Demaille <akim@epita.fr>
2598 * depend2.am: Fix the `if' condition for Libtool.
2599 Reported by Robert Boehne.
2601 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2603 * tests/subobj5.test: New file.
2605 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2607 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2608 * tests/Makefile.am (TESTS): Added make.test.
2609 * tests/make.test: New file.
2611 2001-04-10 Tom Tromey <tromey@redhat.com>
2613 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2615 2001-04-10 Derek R. Price <dprice@collab.net>
2617 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2619 2001-04-10 Akim Demaille <akim@epita.fr>
2621 * distdir.am: Add a missing backslash.
2623 2001-04-10 Akim Demaille <akim@epita.fr>
2625 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2627 Specify to the caller whether $regen_aclocal_m4.
2628 (&handle_configure): Adjust.
2629 Transform `REGEN-ACLOCAL-M4'.
2631 * configure.am: Use it.
2632 * tests/defs (me): New.
2633 * tests/confdeps.test: New.
2635 2001-04-09 Tom Tromey <tromey@redhat.com>
2637 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2638 Fixes report from Jim Meyering.
2640 2001-04-09 Akim Demaille <akim@epita.fr>
2642 * automake.in (&handle_configure): Don't bother with optimizing
2645 2001-04-09 Akim Demaille <akim@epita.fr>
2647 * tests/cond3.test (expected): Adjust.
2649 2001-04-09 Akim Demaille <akim@epita.fr>
2651 * automake.in (&handle_single_transform_list): Remove $xbase,
2653 (&handle_source_transform): All the variables have conditions now,
2655 (&variable_delete): Admit an argument @conds.
2657 2001-04-09 Akim Demaille <akim@epita.fr>
2659 * automake.in ($source_suffix_pattern): Remove, unused.
2660 %extension_map seems to have replaced it.
2662 2001-04-09 Akim Demaille <akim@epita.fr>
2664 * ext-compile.am: New file.
2665 * automake.in (&finish_languages): Output it.
2666 Require a C linker if there are several registered source suffixes.
2667 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2668 extensions, which are discovered in ext-compile.am.
2669 With the help from Robert Boehne.
2671 2001-04-09 Akim Demaille <akim@epita.fr>
2673 * automake.in (&handle_compile): Extract from...
2674 (&get_object_extension): here.
2675 (&read_am_file): Call it.
2676 ($included_generic_compile, $included_knr_compile)
2677 ($included_libtool_compile): Remove.
2678 ($get_object_extension_was_run): New.
2680 2001-04-09 Akim Demaille <akim@epita.fr>
2682 Use AM_CONDITIONAL and if/endif for AMDEP.
2684 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2685 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2686 to a configure time if/endif), or to `FALSE' (static removal of
2688 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2689 * depend2.am: Use if/endif.
2691 Adjust the 101 tests that use dependencies so that they
2692 properly invoke aclocal before automake. They need to `see'
2693 `AM_CONDITIONAL([AMDEP], ...)'.
2695 2001-04-09 Akim Demaille <akim@epita.fr>
2697 * tags.am: Fix missing leading tabs.
2699 2001-04-09 Akim Demaille <akim@epita.fr>
2701 * automake.in: Use simple quotes to define the _PATTERN variables
2702 to unobfuscate the regexps.
2703 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2705 2001-04-09 Akim Demaille <akim@epita.fr>
2707 * automake.in (&rule_define): When you discover a suffix rules,
2708 register the extensions for .SUFFIXES.
2709 (&handle_texinfo): Don't register the suffixes.
2710 (&get_object_extension): Don't register suffixes, let them be
2711 discovered in depend2.am.
2712 (&handle_emacs_lisp): Depend on your lisp.am.
2713 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2715 2001-04-09 Akim Demaille <akim@epita.fr>
2717 * subdirs.am: Don't define info related recursive targets.
2720 2001-04-09 Akim Demaille <akim@epita.fr>
2722 * subdirs.am (RECURSIVE_TARGETS): New variable.
2724 * automake.in (&handle_subdirs): Output it.
2725 (&file_contents_internal): Support value spread on several lines.
2727 2001-04-09 Akim Demaille <akim@epita.fr>
2729 * automake.in (&handle_man_pages): Rely on mans.am to define
2730 man%SECTION%dir and MANS.
2733 2001-04-09 Akim Demaille <akim@epita.fr>
2735 * automake.in (&variable_dump): Use %var_type properly.
2736 (¯o_define): Enforce better overriding rules.
2737 Handle the special case that used to handle...
2738 (&define_pretty_variable): this.
2740 The variables you define are owned by Automake.
2741 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2743 (&variable_defined): Now independent of the owner.
2744 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2746 2001-04-09 Akim Demaille <akim@epita.fr>
2748 * automake.in (%var_was_plus_eq): Rename as...
2750 (%def_type): Remove.
2751 (¯o_define): %var_type may now hold `', `+', or `:'.
2752 (%conditional, %am_vars, %content_lines): Rename as...
2753 (%var_value, %var_comment, %var_line): these.
2755 2001-04-09 Akim Demaille <akim@epita.fr>
2757 * automake.in (&variable_output): Admit a list of @CONDS.
2758 (&variable_pretty_output): New.
2759 (&define_pretty_variable): Use it.
2760 (&read_am_file, &file_contents_internal): Prepend a separator to
2761 $am_vars only if there is none yet.
2762 (&file_contents_internal): Rename $separator as $spacing to
2763 harmonize with &read_am_file.
2765 2001-04-09 Akim Demaille <akim@epita.fr>
2767 * automake.in (&am_install_var): Transform DIST, and let the *.am
2768 files handle DIST_COMMON.
2769 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2772 2001-04-09 Akim Demaille <akim@epita.fr>
2774 * automake.in (%dist_common): Remove.
2775 (%configure_dist_common): Replace with...
2776 ($configure_dist_common): this.
2777 (&generate_makefile): Read the user file before using
2778 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2779 that no variable is defined before it is run.
2780 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2781 (&dist_cmp): Rename as...
2782 (&for_dist_common): this.
2783 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2785 Adjust to $configure_dist_common.
2786 * configure.am, texi-vers.am: Set DIST_COMMON.
2788 2001-04-09 Akim Demaille <akim@epita.fr>
2790 * automake.in (&handle_aclocal_m4): Rename as...
2791 (&scan_aclocal_m4): this.
2792 Return the list of aclocal.m4 dependencies.
2793 (&handle_configure): Invoke it, and use it when loading...
2794 * configure.am: Template the rules to recreate aclocal.m4.
2796 2001-04-09 Akim Demaille <akim@epita.fr>
2798 * automake.in (&get_object_extension): Use ansi2knr.am.
2799 * clean-kr.am, kr-extra.am: Remove, merged into...
2800 * ansi2knr.am: this new file.
2802 2001-04-09 Akim Demaille <akim@epita.fr>
2804 * automake.in (&transform): Fix an incredible bug which was
2805 breaking the if/endif system.
2806 ($ELSE_PATTERN): Admit an optional argument.
2808 2001-04-09 Akim Demaille <akim@epita.fr>
2810 * comp-vars.am: Remove, merged into...
2812 * automake.in (&get_object_extension): Adjust.
2814 2001-04-09 Akim Demaille <akim@epita.fr>
2816 * remake.am: Merge into...
2817 * configure.am: ... here.
2818 * automake.in (&handle_configure): Adjust.
2820 2001-04-09 Akim Demaille <akim@epita.fr>
2822 * automake.in (&output_lex_build_rule): Output this...
2825 2001-04-09 Akim Demaille <akim@epita.fr>
2827 * automake.in (&condition_negate): New.
2828 (&variable_conditions_permutations): Use it.
2829 (&read_am_file, &file_contents): Use it on `else' clauses to
2831 (&output_yacc_build_rule): Output this...
2832 * yacc.am: New file.
2834 2001-04-09 Akim Demaille <akim@epita.fr>
2836 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2837 (&handle_dist): Don't.
2838 (&handle_clean): Don't handle config.status here, let...
2839 * clean.am: ... do it.
2840 * distdir.am: Adjust.
2842 2001-04-09 Akim Demaille <akim@epita.fr>
2844 * automake.in: Use strict vars and subs.
2845 Declare `%require_file_found'.
2846 (&handle_source_transform, &make_paragraphs): Declare my variables.
2848 2001-04-09 Akim Demaille <akim@epita.fr>
2850 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2851 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2852 * java.am (_am_installdirs): Be sure to set it.
2854 2001-04-09 Akim Demaille <akim@epita.fr>
2856 * automake.in (&make_condition): Return '#' when FALSE.
2857 (&conditional_string): Return FALSE, not '#' in the corresponding
2859 (&file_contents_internal): Adjust.
2860 (&check_variable_defined_unconditional): Dump the guilty variable.
2862 2001-04-09 Akim Demaille <akim@epita.fr>
2864 * distdir.am: Use and abuse of if/endif.
2865 * scripts.am: Using if/endif with variables is fine.
2867 2001-04-09 Akim Demaille <akim@epita.fr>
2869 * automake.in (&make_paragraphs): Extract from &file_contents.
2870 Make it more robust than the previous RE based scheme.
2871 (&file_contents): Use it.
2873 2001-04-09 Akim Demaille <akim@epita.fr>
2875 * automake.in (&make_paragraphs): Extract from &file_contents.
2876 Make it more robust than the previous RE based scheme.
2877 (&file_contents): Use it.
2879 2001-04-09 Akim Demaille <akim@epita.fr>
2881 * tests/yacc2.test: Don't define several times a variable, as
2884 2001-04-09 Akim Demaille <akim@epita.fr>
2886 * automake.in (&handle_source_transform): Fix pr72: don't define
2887 $linker if there are no @files.
2889 2001-04-09 Akim Demaille <akim@epita.fr>
2891 Avoid reading twice header-vars.am as now macro_define
2894 * automake.in (&define_standard_variables): Don't output the
2896 (&read_main_am_file): Output first user variables, then Automake
2898 Don't call twice &define_standard_variables.
2899 Save variable comments in $am_vars.
2900 (&variable_output): New.
2901 (&file_contents_internal): New.
2902 Save variable comments in $am_vars.
2903 (&file_contents): Use it.
2905 2001-04-09 Akim Demaille <akim@epita.fr>
2907 * automake.in (¯o_define): The user is allowed to override
2908 a value if it was set by Automake, or if it was found in AC_SUBST.
2910 2001-04-09 Akim Demaille <akim@epita.fr>
2912 * automake.in (&handle_source_transform): Better locality of the
2914 Use `next' to skip nonexistent variables.
2916 2001-04-09 Akim Demaille <akim@epita.fr>
2918 * automake.in (&variable_dump): If a variable is undefined, say
2920 (&check_ambiguous_conditional): Give finer error messages.
2921 (¯o_define): Check that a `+=' variable is not set with `='.
2922 Check for ambiguous definitions each time you _set_ (even with `+=')
2924 (&read_main_am_file): Perform a deep copy of %conditional.
2926 2001-04-09 Akim Demaille <akim@epita.fr>
2928 * automake.in (&variable_defined): Some callers, e.g.,
2929 &am_primary_prefixes, really want to know if the variable is
2930 defined for any condition, not `TRUE' by default.
2931 (&am_primary_prefixes): Give a more precise error message.
2933 2001-04-09 Akim Demaille <akim@epita.fr>
2935 (&variable_conditions): Don't include `FALSE' in the result.
2937 2001-04-09 Akim Demaille <akim@epita.fr>
2939 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2940 (&variable_conditions): Don't include `FALSE' in the result.
2942 2001-04-09 Akim Demaille <akim@epita.fr>
2944 * tests/defs, tests/depend3.test: Remove useless code.
2946 2001-04-09 Akim Demaille <akim@epita.fr>
2948 * automake.in (&handle_source_transform): Use
2949 &variable_conditions, don't read $conditional{$var}.
2950 (&variable_conditions_sub): When the call is the top level call,
2951 generate all the permutations of the conditions.
2953 2001-04-09 Akim Demaille <akim@epita.fr>
2955 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2956 that it does not get noticed twice by automake, which now
2957 complains for multiple definitions.
2958 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2959 because we defined INSTALL.
2961 2001-04-09 Akim Demaille <akim@epita.fr>
2963 * automake.in (&generate_makefile) Use macro_define to define
2964 SOURCES and OBJECTS.
2965 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2966 this would make perl create $condition{VAR}, which we don't want.
2968 2001-04-09 Akim Demaille <akim@epita.fr>
2970 * automake.in (&variable_defined, &define_pretty_variable):
2971 Simplify code which used to handle the cases where not all
2972 variables were in %conditional.
2973 (&define_variable): Use &define_pretty_variable.
2974 (&variable_conditions_sub, &variable_value_as_list_worker)
2975 (&variable_value_as_list, &rule_define): Simplify syntax.
2976 (&read_main_am_file): Dump the guilty predefined variables.
2978 2001-04-09 Akim Demaille <akim@epita.fr>
2980 * automake.in (&variable_conditions_sub)
2981 (&variable_value_as_list_worker): Remove dead code which used to
2982 handle the cases where not all variables were in %conditional.
2984 2001-04-09 Akim Demaille <akim@epita.fr>
2986 * automake.in (&handle_source_transform, &read_main_am_file):
2987 Simplify loops which were split in two parts, conditional vs
2988 unconditional variables.
2990 2001-04-09 Akim Demaille <akim@epita.fr>
2992 Handle unconditional values of variables as conditioned by
2995 * automake.in (%contents): Remove.
2996 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2997 (&read_am_file, &variable_defined, &variable_conditions_sub)
2998 (&variable_value, &variable_value_as_list_worker)
2999 (&variable_value_as_list, &define_pretty_variable)
3000 (&read_main_am_file): Use
3001 $conditional, not %contents.
3002 (&variable_conditions_permutations): Don't return TRUE and FALSE.
3003 (&variable_conditionally_defined): New.
3004 (&handle_dist): Use it.
3005 (&check_ambiguous_conditional): When multiply defined, specify
3006 under which condition.
3007 (¯o_define): Use it.
3008 (&variable_delete): New.
3009 (&read_am_file): Use it.
3010 (&am_install_var): Simplify, as all the variables are in
3013 2001-04-07 Tom Tromey <tromey@redhat.com>
3015 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
3017 * tests/man.test: New file.
3019 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3021 * depcomp (gcc3): Invert test condition.
3023 2001-04-07 Tom Tromey <tromey@redhat.com>
3025 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
3026 statement. Report from Larry Jones.
3028 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3030 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
3032 2001-04-01 Tom Tromey <tromey@redhat.com>
3034 * java.am (.PHONY clean-am): Removed trailing ":".
3035 From Per Bothner. Fixes PR automake/139.
3037 2001-03-28 Akim Demaille <akim@epita.fr>
3039 * program.am: Fix a stupid typo: now *all* (not none) the programs
3041 Reported by Robert Boehne.
3043 2001-03-23 Akim Demaille <akim@epita.fr>
3045 * automake.in (&read_am_file, &file_contents): Avoid name clashes
3048 2001-03-23 Akim Demaille <akim@epita.fr>
3050 * automake.in (&variable_conditionally_defined): Rename as...
3051 (&check_variable_unconditionally_defined): this.
3052 (&variable_dump): Fix the output.
3053 (&variable_defined, ¯o_define): Since conditions are
3054 canonicalized, don't use a loop to look for a condition: read the
3056 (¯o_define, &rule_define, &read_am_file, &file_contents):
3057 Rename $cond_string as $cond.
3058 * distdir.am (PACKAGE, VERSION): Remove; since they are already
3059 discovered via AC_SUBST, they now trigger a `defined twice' error.
3061 2001-03-23 Akim Demaille <akim@epita.fr>
3063 * automake.in (&handle_footer, &handle_installdirs)
3064 (&read_main_am_file): Don't read %contents directly, use
3067 2001-03-23 Akim Demaille <akim@epita.fr>
3069 * automake.in (&read_am_file): Define the variables in a single
3071 Factor the $saw_bk code.
3073 2001-03-23 Akim Demaille <akim@epita.fr>
3075 * automake.in (&read_am_file): Keep $cond_string up to date.
3077 2001-03-23 Akim Demaille <akim@epita.fr>
3079 * automake.in (&define_variable): Use ¯o_define.
3081 2001-03-23 Akim Demaille <akim@epita.fr>
3083 * automake.in (¯o_define): Don't lose the location if we
3084 redefine a variable.
3085 Don't push all the variables in @var_list, let...
3086 (&read_am_file, &file_contents): ... do it.
3087 (&define_pretty_variable): Use macro_define.
3088 (&am_install_var): Delete the value of variables being redefined
3089 to pacify ¯o_define which checks that variables are not
3092 2001-03-23 Akim Demaille <akim@epita.fr>
3094 * automake.in (&conditional_dump): Rename as...
3095 (&variables_dump): this. Use...
3096 (&variable_dump): this new sub.
3098 2001-03-23 Akim Demaille <akim@epita.fr>
3100 * automake.in (&file_contents): Maintain $cond_string sync with
3102 Output rules only if not under `FALSE'.
3103 Define variables under $cond_string.
3104 * scripts.am: For the time being if/endif does not work properly
3107 2001-03-23 Akim Demaille <akim@epita.fr>
3109 * automake.in (IF_PATTERN): Unobfuscate the parens.
3110 (ENDIF_PATTERN): Allow a condition to be specified.
3111 (&file_contents): Use a @cond_stack.
3112 (&transform): At least for an easy transition, also transform
3113 %?FOO% and %!FOO%, as suggested by Lars.
3114 * scripts.am: First test bed for static if/endif use.
3116 2001-03-23 Akim Demaille <akim@epita.fr>
3118 * automake.in (&file_contents): Use rule_define.
3120 2001-03-23 Akim Demaille <akim@epita.fr>
3122 * automake.in (¯o_define): Don't rely on $1.
3123 Initialize the variable.
3124 Set its Automakism only if not defined or if given to the user.
3125 When concatenating values, insert a separator only if the value
3127 (&read_am_file): When dumping the @var_list, skip Automake
3129 (&file_contents): Use macro_define.
3131 2001-03-23 Akim Demaille <akim@epita.fr>
3133 * automake.in (&rule_define): Extract from...
3134 (&read_am_file): here.
3136 2001-03-23 Akim Demaille <akim@epita.fr>
3138 * automake.in (¯o_define, &read_am_file): More work for the
3139 former from the latter. Reorganize the latter.
3141 2001-03-23 Akim Demaille <akim@epita.fr>
3143 * automake.in (¯o_define): Extract from...
3144 (&read_am_file): here.
3146 2001-03-23 Akim Demaille <akim@epita.fr>
3148 * automake.in (%am_var_defs): Replace with...
3150 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3151 (&file_contents, am_primary_&prefixes): Adjust.
3152 (&variable_defined, &define_variable): The actual semantics is
3154 (&read_main_am_file): Assert the var is user defined when
3155 outputting @var_list.
3157 2001-03-23 Akim Demaille <akim@epita.fr>
3159 * automake.in (read_am_file): TRUE and FALSE are predefined
3161 (&by_condition): Adjust.
3162 (&conditional_string): Recognize `TRUE' and `FALSE'.
3163 (&make_condition): Use it.
3164 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3165 * automake.texi (Conditionals): Adjust.
3166 * tests/cond9.test: s/FALSE/WRONG/.
3168 2001-03-12 Pavel Roskin <proski@gnu.org>
3170 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3173 2001-03-12 Akim Demaille <akim@epita.fr>
3175 * automake.in (&variable_conditions_permutations): Separate the
3177 * tests/cond3.test: Improve the sed expression.
3179 2001-03-09 Pavel Roskin <proski@gnu.org>
3181 * Makefile.am (maintainer-check): Scan all *.am files and tests
3182 for invocations of `rm' without `-f'.
3183 * tests/mclean.test: Adjusted to prevent triggering the above
3186 2001-03-09 Tom Tromey <tromey@redhat.com>
3188 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3189 maintainer-check failure.
3191 2001-03-09 Akim Demaille <akim@epita.fr>
3193 * tests/cond3.test: Strengthen.
3195 2001-03-09 Akim Demaille <akim@epita.fr>
3197 * automake.in (&conditional_string): Produce a unique string
3198 characterizing a condition stack.
3199 (&conditional_same): Remove, comparing two strings is now enough.
3200 (&variable_defined): Adjust.
3201 (&read_am_file): Use conditional_string.
3203 2001-03-08 Akim Demaille <akim@epita.fr>
3205 * automake.in: Use -w.
3206 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3207 (&parse_arguments): Support --Werror and --Wno-error as a
3208 temporary hack until --warning/-W is properly implemented.
3209 (&handle_single_transform_list): Prototype.
3210 Be sure to define $directory.
3211 Use `exists' instead of testing the value of a maybe undefined
3213 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3214 (&handle_factored_dependencies): Use defined values.
3215 (&scan_one_autoconf_file): Save $_.
3216 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3217 Run automake with --Wno-error.
3219 2001-03-07 Akim Demaille <akim@epita.fr>
3221 * automake.in (&handle_all): Use an array instead of a scalar for
3223 Get rid of all-redirect: let `all' be that target.
3225 2001-03-07 Akim Demaille <akim@epita.fr>
3227 * automake.in (&handle_merge_targets): Ventilate its non `all'
3228 related content into...
3229 (&generate_makefile): here.
3230 (&handle_merge_targets): Rename as...
3231 (&handle_all): this.
3232 Remove a useless `if': `@all' is obviously not empty, since it
3233 contains at least the `basename ($makefile)' which has just been
3236 2001-03-07 Akim Demaille <akim@epita.fr>
3238 * automake.in, aclocal.in: Backquote is inert in double quotes.
3240 2001-03-06 Akim Demaille <akim@epita.fr>
3242 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3245 2001-03-06 Pavel Roskin <proski@gnu.org>
3247 * java.am: Use `rm -f' instead of `rm'.
3249 2001-03-06 Akim Demaille <akim@epita.fr>
3251 * automake.in (&push_dist_common): Simplify.
3253 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3255 * ltlib.am: Replaced spaces with tab.
3257 2001-03-06 Pavel Roskin <proski@gnu.org>
3259 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3262 2001-03-05 Pavel Roskin <proski@gnu.org>
3264 * header.am, scripts.am: Use ?INSTALL? in the install and
3267 2001-03-05 Pavel Roskin <proski@gnu.org>
3269 * tests/copy.test: Never use `rm' without `-f' - it may ask
3270 questions, notably for read-only files during `make distcheck'.
3271 * tests/insh.test: Likewise.
3272 * tests/installsh.test: Likewise.
3273 * tests/symlink.test: Likewise.
3274 * tests/symlink2.test: Likewise.
3275 * tests/symlink3.test: Likewise.
3277 2001-03-05 Pavel Roskin <proski@gnu.org>
3279 * noinstdir.test: New test.
3280 * tests/Makefile.am (TESTS): Add noinstdir.test.
3281 (XFAIL_TESTS): Likewise.
3283 2001-03-05 Akim Demaille <akim@epita.fr>
3285 * automake.in (&handle_options): Change the RE so that the third
3286 part of the versions always exist.
3287 (&file_contents): Don't pass uninitialized values to &transform.
3289 2001-03-05 Akim Demaille <akim@epita.fr>
3291 * automake.in (&file_contents): Require a hash as second argument.
3294 2001-03-05 Akim Demaille <akim@epita.fr>
3296 Always use hashes with &file_contents.
3298 * automake.in (&handle_texinfo): texibuild.am does not need
3300 texinfos.am wants only TEXICLEANS.
3301 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3303 * texinfos.am: Adjust.
3305 2001-03-05 Akim Demaille <akim@epita.fr>
3307 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3308 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3309 (&am_install_var): Forget about `-clean'.
3310 Transform ?INSTALL?.
3311 Always output the *.am file.
3312 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3313 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3314 Remove, merged into the corresponding *.am file.
3315 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3318 2001-03-05 Pavel Roskin <proski@gnu.org>
3320 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3322 2001-03-05 Akim Demaille <akim@epita.fr>
3324 If OBJEXT and EXEEXT are not set, provide a default value, and use
3325 them unconditionally.
3327 * automake.in (&generate_makefile): Provide default values for
3329 (&get_object_extension, &finish_languages)
3330 (&handle_single_transform_list, &handle_programs, &add_depend2)
3331 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3332 them, they are defined.
3333 * compile.am, depend2.am, program.am, progs.am: Likewise.
3334 * remake-hdr.am: Fix a typo.
3335 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3336 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3337 * tests/suffix2.test: Adjust.
3339 2001-03-05 Akim Demaille <akim@epita.fr>
3341 * automake.in (&file_contents): Map MAINTAINER-MODE to
3342 @MAINTAINER_MODE_TRUE@ or nothing.
3343 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3346 2001-03-05 Akim Demaille <akim@epita.fr>
3348 * automake.in (&do_one_merge_target): Remove, was only called from...
3349 (&handle_merge_targets): here for `all'.
3352 2001-03-05 Akim Demaille <akim@epita.fr>
3354 Make the installation/uninstallation of Info pages follow the
3355 regular am/recursive scheme.
3357 * automake.in (%required_targets, %dependencies): Add
3359 (%dependencies): Add install-info, install-info-am, and
3361 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3362 reversed BTW. Does anybody use the option `no-installinfo'?
3363 (&handle_merge_targets): Let the handling of info related targets
3365 (&handle_factored_dependencies): this.
3366 * subdirs.am: Use ?INSTALL-INFO?.
3367 * texinfos.am: Define the install-info, uninstall-info and
3368 uninstall-info-am targets.
3370 2001-03-05 Akim Demaille <akim@epita.fr>
3372 * automake.in (%required_targets, %dependencies): Add dvi, info,
3374 (@info, @dvi): Remove.
3375 (&handle_texinfo, &handle_merge_targets): Adjust.
3376 (&handle_factored_dependencies): Required targets are phony.
3377 * texinfos.am: Build info, dvi, and the corresponding -am or
3380 2001-03-05 Akim Demaille <akim@epita.fr>
3382 * automake.in (&am_install_var): Remove $cygxform, unused.
3384 2001-03-05 Akim Demaille <akim@epita.fr>
3386 * automake.in (&file_contents): Transform LIBTOOL.
3387 (&am_install_var): Remove $ltxform.
3388 * ltlib.am, progs.am: Adjust.
3390 2001-03-05 Akim Demaille <akim@epita.fr>
3392 * automake.in: Require AC_PROG_INSTALL in...
3393 (&scan_autoconf_files): here.
3395 2001-03-05 Akim Demaille <akim@epita.fr>
3397 * configure.am: New file.
3398 * automake.in (&file_contents): Transform CONFIGURE-AC.
3399 (&handle_texinfo, &handle_configure): Don't transform
3401 (&handle_configure): Use `configure.am'.
3402 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3403 MAINTAINER-MODE and CONFIGURE-AC.
3405 2001-03-05 Akim Demaille <akim@epita.fr>
3407 * automake.in (&pretty_print_internal): Don't output useless
3409 (define_pretty_variable): Don't issue the space after the `=' sign
3410 to avoid trailing spaces in Makefile.ins.
3412 2001-03-05 Akim Demaille <akim@epita.fr>
3414 * automake.in (&generate_makefile): Invoke &initialize_per_input
3415 *before* setting $am_file_name and $in_file_name.
3417 2001-03-05 Akim Demaille <akim@epita.fr>
3419 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3420 Globals, initialized...
3421 (&initialize_per_input): here.
3423 2001-03-05 Akim Demaille <akim@epita.fr>
3425 * automake.in ($am_relative_dir): Global.
3426 (&initialize_per_input): Init it.
3427 (%make_list, @make_input_list): My them from
3428 (&scan_autoconf_files): here.
3429 (&require_file_internal): Mying changes.
3431 2001-03-05 Akim Demaille <akim@epita.fr>
3433 * automake.in (%am_vars, @var_list, %def_type): Globals.
3434 (&initialize_per_input): Initialize them.
3435 (&read_main_am_file): Don't local them.
3436 (&get_object_extension): $objext is private.
3437 (&handle_single_transform_list): $lang is.
3438 (&handle_ltlibraries): $libname_rx is.
3439 (&scan_autoconf_config_files): How about actually paying attention
3440 to your arguments, instead of working on $_? (this is no Perl
3441 variable, it's a Perl variable followed by a question mark).
3442 (&file_contents): $contents and $separator are private.
3443 (&am_install_var): Declare @condvals, not $condvals.
3446 2001-03-05 Akim Demaille <akim@epita.fr>
3448 * automake.in (&initialize_per_input): Move to the top.
3449 Precede with the `my' list of its variables.
3451 2001-03-05 Akim Demaille <akim@epita.fr>
3453 * automake.in ($am_file): Use vars.
3454 ($am_file_name, $in_file_name): Private to &generate_makefile.
3456 2001-03-05 Akim Demaille <akim@epita.fr>
3458 * automake.in: Preparation for `use strict': Move the
3459 initialization of the constants to the top, from...
3460 (&initialize_global_constants): here.
3462 2001-03-05 Akim Demaille <akim@epita.fr>
3464 * automake.in (&handle_single_transform_list, &add_depend2): Let
3465 $lang_specific_files{$lang} be a list instead of a string.
3467 2001-03-05 Akim Demaille <akim@epita.fr>
3469 Let's make it run ten times faster...
3471 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
3473 (&file_contents): Let `$command' remove the Automake commands, and
3474 normalize the series of `\n'.
3475 Slurp the file and apply $command in a single step.
3476 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
3477 is already normalized to be handled by &transform.
3479 2001-03-05 Tom Tromey <tromey@redhat.com>
3481 * automake.in (register_language): Add entry for `-pure'.
3482 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
3483 (finish_languages): Use `-pure' field of language map.
3485 2001-03-03 Tom Tromey <tromey@redhat.com>
3487 * tests/yaccvpath.test: No need to remove dummy files.
3488 * tests/subobj3.test: No need to remove dummy files.
3489 * tests/pr9.test: No need to remove dummy files.
3490 * tests/pr87.test: No need to remove dummy files.
3491 * tests/pr19.test: No need to remove dummy files.
3492 * tests/install2.test: No need to remove dummy files.
3493 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
3496 2001-02-27 Pavel Roskin <proski@gnu.org>
3498 * tests/yaccvpath.test: Add a delay to make parse.c really out
3499 of date. Detect the problem earlier, after `make distdir'. Drop
3500 dependency on flex. Always use the `-y' flag for bison. Comment
3502 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
3504 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3506 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
3508 2001-02-28 Akim Demaille <akim@epita.fr>
3510 * automake.in (&add_depend2): Transform `GENERIC'.
3511 Get rid of the ad hoc transformation of `@EXT@.o:' which in
3512 addition was broken by the `@ -> %' patch.
3513 * depend2.am: Adjust to use ?GENERIC?.
3515 2001-02-28 Akim Demaille <akim@epita.fr>
3517 * Makefile.am (maintainer-check): `undef $/' is OK.
3519 2001-02-28 Akim Demaille <akim@epita.fr>
3521 * automake.in (&handle_configure): Fortunately, $top_reldir,
3522 the definition of which was highly suspicious, was unused.
3524 2001-02-27 Akim Demaille <akim@epita.fr>
3526 * automake.in (%exec_dir_p): Move to the top so that it is visible
3529 2001-02-27 Pavel Roskin <proski@gnu.org>
3531 * tests/yaccvpath.test: Prevent automake from looking into ..
3532 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
3534 2001-02-27 Akim Demaille <akim@epita.fr>
3536 * automake.in (%exec_dir_p): Pulled out from...
3537 (&am_primary_prefixes): here.
3539 2001-02-27 Akim Demaille <akim@epita.fr>
3541 * automake.in (&usage): Display $0, not $me.
3543 2001-02-27 Akim Demaille <akim@epita.fr>
3545 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
3546 * automake.in (&handle_clean): Don't escape what's given to
3549 2001-02-27 Akim Demaille <akim@epita.fr>
3551 Distinguish automake substitutions from config.status
3554 * automake.in (&add_depend2): Transform AMDEP.
3555 (&handle_clean): Transform MCFILES and MFILES.
3556 (&file_contents): Transform MAINTAINER_MODE.
3557 (&transform, &am_install_var): Use `%', not `@'.
3558 Adjust all the *.am files.
3559 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
3560 * depend2.am: Display the double dependency on both ?AMDEP? and
3563 2001-02-27 Tom Tromey <tromey@redhat.com>
3565 * distdir.am (distcheck): Fixed new code.
3567 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
3568 Only configure once.
3570 * distdir.am (distcheck): Print error message if distclean failed
3573 2001-02-27 Pavel Roskin <proski@gnu.org>
3575 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
3577 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3579 * tests/Makefile.am (TESTS): Added yaccvpath.test.
3580 * tests/yaccvpath.test: New file.
3582 2001-02-26 Akim Demaille <akim@epita.fr>
3584 * automake.in (&am_install_var): Recognize whether predefined
3585 directories are `data' or `exec'.
3586 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
3588 * tests/instdata2.test: Update.
3590 2001-02-26 Akim Demaille <akim@epita.fr>
3592 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
3593 necessarily in infodir.
3595 2001-02-26 Akim Demaille <akim@epita.fr>
3597 * automake.in ($am_file): Be `local', as my'd variables used in
3598 `foreach' loops are always private to the loop.
3600 2001-02-26 Pavel Roskin <proski@gnu.org>
3602 * Makefile.am: Add install.am.
3604 2001-02-26 Akim Demaille <akim@epita.fr>
3606 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3607 routines, otherwise the elements to compare are passed in @_
3608 instead of $a and $b.
3610 2001-02-26 Akim Demaille <akim@epita.fr>
3612 * automake.in (%required_targets): `installcheck-am' is needed.
3614 2001-02-26 Akim Demaille <akim@epita.fr>
3616 * automake.in (&transform_cond): Merge into...
3620 2001-02-26 Akim Demaille <akim@epita.fr>
3622 * automake.in (&handle_dist): Use &transform instead of dedicated
3624 But be sure to always do it.
3625 * distdir.am: Adjust.
3627 2001-02-26 Akim Demaille <akim@epita.fr>
3629 * automake.in: Use File::Basename.
3630 (&dirname, &basename): Remove.
3632 2001-02-26 Akim Demaille <akim@epita.fr>
3634 * automake.in ($me): New.
3636 (&usage): Display your full name.
3638 2001-02-26 Akim Demaille <akim@epita.fr>
3640 * automake.texi (Invoking Automake): Remove dead options.
3642 2001-02-26 Akim Demaille <akim@epita.fr>
3644 * automake.in (&scan_texinfo_file): Also compute the list of files
3646 Handle local errors.
3647 (&handle_texinfo): Use it.
3649 2001-02-26 Akim Demaille <akim@epita.fr>
3651 * automake.in: Don't pass arguments to...
3652 (&parse_arguments): Work on @ARGV.
3654 Add support for `-f'.
3658 2001-02-26 Akim Demaille <akim@epita.fr>
3660 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3661 handle installcheck and installcheck-am.
3662 * install.am: Do it.
3664 2001-02-26 Akim Demaille <akim@epita.fr>
3666 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3667 handle install and install-am.
3668 * install.am: Do it.
3670 2001-02-26 Akim Demaille <akim@epita.fr>
3672 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3673 work on targets handled by %dependencies.
3674 (&handle_factored_dependencies): Do it.
3675 * install.am: Install install-exec, install-data and uninstall's
3678 2001-02-26 Akim Demaille <akim@epita.fr>
3680 * automake.in (&handle_merge_targets): Move `install-strip' from
3682 * install.am: to here.
3684 2001-02-26 Akim Demaille <akim@epita.fr>
3686 * automake.in (@installdirs): Remove.
3687 (&file_contents): Be able to grow Automake macros with `+='.
3688 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3689 files define _am_installdirs.
3690 (&handle_installdirs): Remove the code, just output `install.am'.
3692 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3693 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3695 2001-02-26 Akim Demaille <akim@epita.fr>
3697 * tests/instdata2.test (libexec_DATA): Exercise more
3700 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3702 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3704 2001-02-25 Tom Tromey <tromey@redhat.com>
3706 * tests/instdata2.test: Added `sbin_DATA' check.
3708 * tests/Makefile.am (TESTS): Added subdircond.test.
3709 * tests/subdircond.test: New file.
3710 * automake.in (handle_gettext): Don't fail if SUBDIRS
3711 conditionally defined.
3713 * automake.in: Use IO::File.
3714 (generate_makefile): Use IO::File.
3715 (scan_texinfo_file): Likewise.
3716 (handle_aclocal_m4): Likewise.
3717 (scan_autoconf_traces): Likewise.
3718 (scan_one_autoconf_file): Likewise.
3719 (read_am_file): Likewise.
3720 (file_contents): Likewise.
3723 2001-02-25 Akim Demaille <akim@epita.fr>
3725 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3727 2001-02-25 Akim Demaille <akim@epita.fr>
3729 * automake.in (&transform): Also call &transform_cond on your
3731 (&handle_dist): Adjust.
3732 (&handle_factored_dependencies): Uniq dependencies.
3734 2001-02-25 Akim Demaille <akim@epita.fr>
3736 * automake.in (&handle_gettext): Simplify redundant `if'.
3737 Used &variable_value, don't read %contents directly.
3739 2001-02-25 Akim Demaille <akim@epita.fr>
3741 * automake.in ($install_recursive): Remove, replaced with calls to
3742 `&variable_defined ('SUBDIRS')'.
3743 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3744 (&file_contents): now does.
3746 2001-02-25 Akim Demaille <akim@epita.fr>
3748 * automake.in (&handle_man_pages): $found is dead.
3750 2001-02-25 Akim Demaille <akim@epita.fr>
3752 Internally just store the conditionals as space separated lists of
3753 CONDITIONS (instead of @CONDITIONS@).
3755 * automake.in (&conditional_true_when, &variable_conditions_sub):
3756 Split conditions at spaces.
3757 (&handle_dependencies, &variable_conditions_permutations): Don't
3758 put @ around conditions.
3759 (&variable_conditions_cmp): There are no @ to strip.
3760 (&make_condition): New.
3761 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3763 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3764 Join @conditional_stack with spaces.
3765 (&read_main_am_file): Adjust the output of variables.
3766 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3767 true' and no longer `@TEST@TRUE = @TEST@true'.
3768 (&variable_conditions_cmp): Rename as...
3769 (&by_condition): this.
3770 Sort in a human pleasant order.
3771 Use it everywhere a human can see conditions.
3772 (&variable_conditions_reduce): Don't sort conditions, that's
3774 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3776 2001-02-25 Akim Demaille <akim@epita.fr>
3778 * automake.in: `my' the globals.
3780 2001-02-25 Akim Demaille <akim@epita.fr>
3782 * automake.in (&initialize_per_input): %targets_conditionals is
3784 (&read_am_file): When slurping a rule, set the target related
3785 variable, and no variable related variable.
3786 (&file_contents): Likewise.
3787 * tests/vartar.test, tests/ctarget1.test: New.
3789 2001-02-25 Akim Demaille <akim@epita.fr>
3791 * automake.in (&variable_defined, &variable_value_as_list_worker):
3792 If $VAR is effectively a variable, don't die if it's also a
3794 Plus some formatting changes.
3796 2001-02-25 Akim Demaille <akim@epita.fr>
3798 * automake.in: Mying changes.
3799 * Makefile.am (maintainer-check): Check the stability of the
3800 number of uses of `local'.
3802 2001-02-25 Akim Demaille <akim@epita.fr>
3804 * automake.in: Mying changes.
3806 2001-02-25 Akim Demaille <akim@epita.fr>
3808 * automake.in: Mying changes.
3810 2001-02-25 Akim Demaille <akim@epita.fr>
3812 * automake.in: Mying changes.
3813 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3814 transform CONFIG into $config, not $xform.
3816 2001-02-25 Akim Demaille <akim@epita.fr>
3818 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3819 Don't deal with install-data-am, install-exec-am and unstall-am.
3820 (&initialize_per_input): Add them to %dependencies.
3821 Remove %exec_dir_p since the *.am files are now in charge of it.
3822 Remove @uninstall, @install_data, @install_exec.
3823 (&handle_merge_targets): Adjust to these removals.
3824 (&file_contents): Also &transform_cond for --no-installman and
3826 (&do_one_merge_target): Add some magic to install hooks on
3827 %dependencies' targets.
3828 (%required_targets): New.
3829 (&handle_factored_dependencies): Output required targets.
3830 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3831 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3832 * texinfos.am: Declare your dependencies on install-data-am,
3833 install-exec-am and uninstall-am.
3834 * tests/instdata2.test (incldata_HEADERS): New test.
3836 2001-02-24 Tom Tromey <tromey@redhat.com>
3838 * Makefile.am (amfiles): Added texibuild.am.
3839 * texibuild.am: New file.
3840 * tests/Makefile.am (TESTS): Added texinfo9.test.
3841 * tests/texinfo9.test: New file.
3842 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3843 error if suffix unrecognized. Removed extraneous newline.
3845 2001-02-23 Akim Demaille <akim@epita.fr>
3847 * automake.in (&am_install_var): Don't hook on the clean targets
3849 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3850 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3853 2001-02-23 Akim Demaille <akim@epita.fr>
3855 * automake.in: Promote local `my' over `local'.
3857 2001-02-23 Akim Demaille <akim@epita.fr>
3859 * automake.in: Formatting and mying changes.
3861 2001-02-23 Akim Demaille <akim@epita.fr>
3863 * automake.in: Formatting and mying changes.
3865 2001-02-23 Akim Demaille <akim@epita.fr>
3867 * automake.in (&handle_man_pages): Let install-man and
3868 uninstall-man be handled by the dependency tracker.
3869 (&initialize_per_input): Let %dependencies track them.
3870 * mans.am: Add the needed hooks with the proper dependencies.
3872 2001-02-22 Pavel Roskin <proski@gnu.org>
3874 * tests/target-cflags.test: Don't use subshell to configure in
3875 subdirectory. Typo fix - run `./foo', not `/foo'.
3877 2001-02-22 Akim Demaille <akim@epita.fr>
3879 * automake.in: Formatting and mying changes.
3881 2001-02-21 Tom Tromey <tromey@redhat.com>
3883 * automake.in (handle_dist): Introduce new variable to avoid extra
3884 keys in %dist_dirs. Fixes distdir.test.
3886 * automake.in (handle_texinfo): Only remove suffixes we can
3889 * tests/distdir.test: Check to make sure directory isn't made in
3892 * automake.in (handle_dist): Do nothing in Cygnus mode.
3894 2001-02-21 Pavel Roskin <proski@gnu.org>
3896 * header-vars.am: Remove tabs before variable definitions.
3898 2001-02-21 Akim Demaille <akim@epita.fr>
3900 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3903 2001-02-21 Akim Demaille <akim@epita.fr>
3905 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3906 numeric value as required by Perl 5.6.
3908 2001-02-21 Akim Demaille <akim@epita.fr>
3910 * dist-vars.am: Remove, merge into...
3912 * automake.in (dirname, basename, backname): Move to the top of
3913 the file so that prototypes are checked,
3914 Use them without `&'.
3915 (&handle_dist): Adjust.
3917 2001-02-21 Akim Demaille <akim@epita.fr>
3919 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3920 Use a uniform naming scheme.
3921 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3922 (&read_am_file): Fix conditional definition of backslash continued
3925 2001-02-21 Akim Demaille <akim@epita.fr>
3927 Change the handling of conditionals: instead of using an ad-hoc
3928 encoding to store a hash in a string, use hashes.
3930 * automake.in (&conditional_dump): New.
3931 (&check_ambiguous_conditional, &variable_defined)
3932 (&variable_conditions_sub, &variable_value_as_list_worker)
3933 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3934 handle `$conditional{$vars}' as a hash instead of a plain string.
3936 2001-02-21 Akim Demaille <akim@epita.fr>
3938 * automake.in (&conditional_true_when): Modernize, simplify.
3939 Warning: `$comp' is now private (my), while it used to be
3940 `inherited' from a `local' elsewhere in the code. AFAICT it was
3941 wrong, but some dirty side effect might show up.
3942 (&conditionals_true_when): New.
3943 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3945 2001-02-21 Akim Demaille <akim@epita.fr>
3947 * automake.in ($top_builddir): Remove, used in one place.
3948 (&define_standard_variables): Adjust.
3949 Move the definition of triplet variables into...
3950 * header-vars.am: here.
3952 2001-02-21 Akim Demaille <akim@epita.fr>
3954 * automake.in (&initialize_global_constants): Don't define $USAGE.
3955 (&usage): Handle the former content of $USAGE.
3956 Don't pretend autoconf cares about Makefile.in.
3957 Classify the options.
3958 (&handle_tests): Formatting and mying changes.
3960 2001-02-21 Akim Demaille <akim@epita.fr>
3962 * automake.in (&handle_tests_dejagnu): Move the definition of a
3963 default `site.exp' into...
3964 * dejagnu.am (site.exp): here.
3965 Use DOS compliant file names.
3967 2001-02-21 Akim Demaille <akim@epita.fr>
3969 * automake.in (&dist_cmp): New.
3970 (&handle_dist): Use it.
3971 Promote `my' over `local'.
3973 2001-02-21 Akim Demaille <akim@epita.fr>
3975 * dist.am: Remove, merge into...
3976 * distdir.am: here. Use the neat sed snippet for banners.
3977 BTW, distcheck is phony.
3978 * automake.in (&handle_dist_worker): Remove, merge into...
3979 (&handle_dist): this.
3980 (&file_contents): Strip leading new lines.
3981 Be sure to end comments with new lines.
3983 2001-02-21 Akim Demaille <akim@epita.fr>
3985 * distdir.am (GZIP_ENV): Define.
3986 * automake.in (&handle_dist): Don't.
3988 (&handle_dist_worker, &am_install_var): Use it.
3990 2001-02-21 Akim Demaille <akim@epita.fr>
3992 * distdir.am (distdir): Handle the DIST-TARGETS.
3993 * automake.in (&handle_dist_worker): Don't.
3995 2001-02-21 Akim Demaille <akim@epita.fr>
3997 * automake.in (&file_contents): Transform the global options (such
3999 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
4001 2001-02-21 Akim Demaille <akim@epita.fr>
4003 * distdir.am (distdir): Be sure to have permissive rights on its
4005 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
4007 And BTW, all these guys are phony.
4008 * automake.in (&handle_dist_worker): As its name doesn't indicate,
4009 output distributions.
4010 (&handle_dist): As its name doesn't indicate, don't.
4011 (&initialize_global_constants): Don't define variables which
4012 content is now handled by distdir.am.
4013 But register `dist-all' as a factored target.
4014 (&handle_factored_dependencies): Don't output empty targets.
4016 2001-02-20 Tom Tromey <tromey@redhat.com>
4018 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
4021 2001-02-18 Tom Tromey <tromey@redhat.com>
4023 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
4024 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
4025 (AM_PROG_STRIP): Commented out.
4027 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
4029 * depcomp (gcc3): Protect against the compiler deleting
4030 the dependency output file.
4032 2001-02-17 Tom Tromey <tromey@redhat.com>
4034 * automake.in (handle_merge_targets): Use double quotes around
4035 setting of INSTALL_STRIP_PROGRAM.
4036 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
4037 to absolute path at runtime.
4038 (AM_PROG_STRIP): Don't explicitly test $STRIP.
4040 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
4042 * m4/strip.m4: New file.
4043 * m4/Makefile.am (m4data_DATA): Add strip.m4.
4044 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
4045 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
4046 * automake.in (handle_merge_targets): In the install-strip rule,
4047 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
4048 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
4049 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
4050 don't use INSTALL_STRIP_FLAG any longer.
4052 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4054 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
4057 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4059 * automake.in (unquote_m4_arg): New function.
4060 (scan_one_configure_file): Call unquote_m4_arg on
4061 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
4064 2001-02-15 Tom Tromey <tromey@redhat.com>
4066 * config.guess, config.sub: New versions from FSF.
4068 * Makefile.am (WGET): New macro.
4069 (FETCHFILES): New macro.
4070 (fetch): New target.
4072 * tests/subobj3.test: Exit with status 77 if gcc not found.
4073 * tests/pr9.test: Exit with status 77 if gzip not found.
4074 * tests/pr87.test: Exit with status 77 if gcc not found.
4075 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
4076 * tests/install2.test: Exit with status 77 if gzip not found.
4077 * tests/exsource.test: Exit with status 77 if GNU make not found.
4078 * tests/ansi3.test: Exit with status 77 if gcc not found.
4080 * tests/target-cflags.test: Require GNU make. Exit with status 77
4081 if gcc or make not found. Fixes PR automake/121.
4083 * configure.in: Require Perl 5.005.
4084 * automake.in: Require 5.005.
4086 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4087 Fixes PR automake/122.
4089 2001-02-14 Tom Tromey <tromey@redhat.com>
4091 * automake.in (add_depend2): Only emit a given object rule once.
4092 Fixes specflags6.test.
4094 2001-02-14 Richard Boulton <richard@tartarus.org>
4096 * tests/specflags6.test: New file.
4098 2001-02-14 Tom Tromey <tromey@redhat.com>
4100 * automake.texi (A Shared Library): Mention -module.
4102 2001-02-13 Tom Tromey <tromey@redhat.com>
4104 * automake.in (do_one_merge_target): Always register $name and
4107 * automake.in (do_one_merge_target): Register `all' as phony
4110 * configure.in: Updated to 1.4e for cvs.
4112 2001-02-12 Tom Tromey <tromey@redhat.com>
4114 * configure.in: Updated to 1.4d and released.
4116 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4117 names through autoconf.
4119 Fix for subdirbuiltsources.test:
4120 * automake.in (initialize_per_input): [all_target] Initialize to
4122 (handle_merge_targets): Use all-redirect target to handle built
4124 (do_one_merge_target): Don't generate all-redirect rule.
4126 2001-02-11 Peter Muir <iyhi@yahoo.com>
4128 * tests/subdirbuiltsources.test: New file.
4129 * tests/Makefile.am (TESTS): Added new file.
4131 2001-02-10 Tom Tromey <tromey@redhat.com>
4133 * tests/condlib.test: New file.
4134 * tests/Makefile.am (TESTS): Added new file.
4136 2001-02-10 Lars J. Aas <larsa@sim.no>
4138 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4139 (&canonicalize): New. Includes '@' in canonical range.
4140 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4141 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4143 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4145 * automake.in (handle_configure): Revert part of
4146 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4147 set CONFIG_COMMANDS explicitly.
4149 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4151 * depcomp (gcc3): Propagate exit code.
4153 2001-02-09 Lars J. Aas <larsa@sim.no>
4155 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4157 2001-02-09 Tom Tromey <tromey@redhat.com>
4159 Clean up maintainer-check warnings:
4160 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4162 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4164 2001-02-09 Akim Demaille <akim@epita.fr>
4166 * automake.in (&file_contents): Remove a dead branch.
4168 2001-02-09 Akim Demaille <akim@epita.fr>
4170 * automake.in (&transform): Use `my', not `local'.
4171 (&transform_cond): New.
4172 (&get_object_extension, &handle_texinfo, &handle_tags)
4173 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4174 (&handle_tests_dejagnu): Use it.
4175 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4176 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4178 2001-02-09 Akim Demaille <akim@epita.fr>
4180 * automake.in: Various formatting changes, and modernization of
4183 (&handle_configure, define_standard_variables): Use it.
4185 2001-02-08 Tom Tromey <tromey@redhat.com>
4187 * automake.in (file_contents): Only add $actions if any are
4188 found. Fixes new failure in pr87.test.
4190 2001-02-08 Pavel Roskin <proski@gnu.org>
4192 * tests/pr87.test: Check foo/Makfile.in after it is created.
4194 2001-02-08 Tom Tromey <tromey@redhat.com>
4196 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4197 Report from Lars J. Aas.
4199 2001-02-07 Lars J. Aas <larsa@sim.no>
4201 * lisp.am (install-@DIR@LISP): Removed extra space.
4202 * header.am (install-@DIR@HEADERS): Removed extra space.
4203 * data.am (install-@DIR@DATA): Removed extra space.
4205 2001-02-07 Tom Tromey <tromey@redhat.com>
4207 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4209 * automake.in (handle_dependencies): Use _am_include, not
4211 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4212 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4214 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4216 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4218 * automake.in (handle_configure): Handle case where output file is
4219 in subdir with no Makefile of its own. Fixes remake3.test,
4222 2001-02-06 Pavel Roskin <proski@gnu.org>
4224 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4226 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4227 * tests/exsource.test: Likewise.
4229 2001-02-06 Derek Price <derek.price@openavenue.com>
4231 * automake.in (handle_configure): Fix syntax error.
4233 2001-02-06 Akim Demaille <akim@epita.fr>
4235 * subdirs.am: This file is the exception: clean recursive targets
4236 are called by the clean targets, not the clean-am targets.
4237 Otherwise we have a circular dependency: clean -> clean-am ->
4238 clean-recursive -> clean.
4239 * automake.in (handle_clean): Bind `-local' targets to `-am'
4240 targets, not top targets.
4241 Don't declare -recursive dependencies of the clean targets:
4242 `subdirs.am' did it. Less hard coded knowledge, transfered
4246 2001-02-06 Akim Demaille <akim@epita.fr>
4248 Monstro unsplitable patch.
4250 The aim is to remove hard coded knowledge about clean targets from
4251 automake.in, leaving them in the *.am files.
4252 In addition to the mechanic needed to factor some dependencies, it
4253 appears some rules (most notably distclean and maintainer-clean)
4254 need factored actions. So first, be ready to catch factored
4257 * automake.in (&file_contents): For the time being, use an extended
4258 $RULE_PATTERN which is able to match any kind of rules, with or
4259 without dependency, with or without actions.
4260 Handle all the rules uniformly, storing in %actions the factored
4262 (&flatten, &target_cmp): New.
4263 (&handle_factored_dependencies): Output the %actions.
4264 No longer special case `clean'.
4265 Output the rules in alphabetical order, but keeping `.PHONY' last.
4267 Now we must not use &push_phony_cleaners, which is doing all sort
4268 of magic to push a bit of everything in all the clean targets.
4269 The biggest problem being that, making a Cartesian product, it
4270 requires many useless targets. The `*.am' file know better.
4271 But first, register the new factored rules.
4273 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4274 maintainer-clean, distclean and their `*-am' counterpart in
4276 Initialize %actions.
4277 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4278 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4279 (handle_emacs_lisp, handle_python): Don't play with
4280 &push_phony_cleaners nor &depend and `clean'.
4281 * texinfos.am, texi-vers.am, tags-clean.am:
4282 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4283 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4284 * clean-kr.am, clean-hdr.am: Do it.
4285 Whenever a target is empty, just remove it, it will no longer be
4288 There is still some magic about clean to hard code. But really,
4289 that's the end of &do_one_clean_target.
4291 * automake.in (&do_one_clean_target): Kaboom out.
4292 (&handle_clean): Rewrite the magic code.
4293 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4295 (&push_phony_cleaners): Kaboom too.
4297 2001-02-06 Akim Demaille <akim@epita.fr>
4299 * automake.in (do_one_clean_target): Don't hard code knowledge
4300 about libtool, and maintainer-clean.
4301 * clean.am, libtool.am: Handle these.
4303 2001-02-05 Akim Demaille <akim@epita.fr>
4305 * automake.in (handle_texinfo): No longer hard code the clean
4307 (texinfos.am): Include them.
4309 2001-02-05 Akim Demaille <akim@epita.fr>
4311 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4312 (maintainer-check): Don't be silent when you find a problem, and
4313 actually, even specify the locations.
4314 Also check that @_ is assigned to arrays.
4316 2001-02-05 Akim Demaille <akim@epita.fr>
4318 * m4/regex.m4: Use AC_LIBSOURCES.
4319 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4322 2001-02-04 Tom Tromey <tromey@redhat.com>
4324 * m4/Makefile.am (m4data_DATA): Added make.m4.
4325 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4327 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4328 Copy depcomp to subdir.
4329 * m4/make.m4: New file.
4331 2001-02-04 Pavel Roskin <proski@gnu.org>
4333 * automake.in (handle_dist_worker): Remove a line that is now
4336 2001-02-04 Kevin Ryde <user42@zip.com.au>
4338 * automake.in (handle_configure): Call config.status with empty
4339 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4341 2001-02-04 Tom Tromey <tromey@redhat.com>
4343 * depcomp (ddashmd): Removed case.
4344 (sgi): Handle failure exit correctly
4345 (aix): Likewise. Also, add dummy `.h' targets.
4347 2001-02-04 Akim Demaille <akim@epita.fr>
4349 * distdir.am (distdir): New file, extracted from...
4350 * automake.in (handle_dist_worker): here.
4353 2001-02-04 Akim Demaille <akim@epita.fr>
4355 * automake.in (@clean): Remove, replaced by...
4356 ($dependencies{'clean'}): this.
4357 Use `&depend' instead of push'ing into @clean.
4358 (handle_factored_dependencies): For the time being, skip 'clean'.
4359 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4360 always `clean', and `@clean'.
4362 2001-02-04 Akim Demaille <akim@epita.fr>
4364 * automake.in (%dependencies): Don't be initialize globally for
4365 all the files, but in...
4366 (&initialize_per_input): here.
4368 (@phony): Replace all occurrences with the corresponding &depend
4371 2001-02-03 Tom Tromey <tromey@redhat.com>
4373 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4374 * header-vars.am (INSTALL_HEADER): New macro.
4376 * automake.texi (Rebuilding): New node.
4380 Copyright 2001 Free Software Foundation, Inc.
4382 This file is part of GNU Automake.
4384 GNU Automake is free software; you can redistribute it and/or modify
4385 it under the terms of the GNU General Public License as published by
4386 the Free Software Foundation; either version 2, or (at your option)
4389 GNU Automake is distributed in the hope that it will be useful,
4390 but WITHOUT ANY WARRANTY; without even the implied warranty of
4391 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4392 GNU General Public License for more details.
4394 You should have received a copy of the GNU General Public License
4395 along with autoconf; see the file COPYING. If not, write to
4396 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4397 Boston, MA 02111-1307, USA.