1 2001-10-24 Akim Demaille <akim@epita.fr>
3 * automake.in: Use &verbose.
4 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
7 2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
9 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
10 Have the basename step optional and use %NDIR% instead of %DIR% in
11 filenames in order to support 'nobase_'.
13 2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
15 * automake.in (handle_languages, handle_single_transform_list,
16 lang_c_rewrite): Use require_conf_file instead of
17 require_config_file to require depcomp or compile from
18 Makefile.am. (This is a part of my patch of 2001-10-15 which got
21 2001-10-24 Akim Demaille <akim@epita.fr>
23 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
26 2001-10-24 Akim Demaille <akim@epita.fr>
28 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
29 appear in Makefile.in in the clean rule.
31 * tests/cxxansi.test: Adjust.
33 2001-10-24 Akim Demaille <akim@epita.fr>
35 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
36 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
38 (&print_error, &file_error, ¯o_error, &target_error, &line_error)
39 (&conf_error, &file_warning): these.
40 (&file_warning): Fix the prototype and argument handling.
41 (&am_line_warning): Remove, unused.
43 Also, repair the misapplication of previous patches.
45 2001-10-21 Akim Demaille <akim@epita.fr>
47 * automake.in ($ac_output_location): Replace with...
48 ($ac_config_files_location): this.
49 (&scan_autoconf_traces): We don't need $file and $line, $here is
51 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
52 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
54 2001-10-21 Akim Demaille <akim@epita.fr>
56 * automake.in (&require_file_with_macro): Use &require_file.
57 (&read_am_file): Move the definition of $here at its proper place.
59 2001-10-21 Akim Demaille <akim@epita.fr>
61 * automake.in ($libtool_line, $seen_pythondir): Replace with...
62 ($libtool_location, $pythondir_location): these.
63 (&require_conf_file_with_line, &require_conf_file_with_line):
65 (&require_file): Don't forget $where.
66 (&require_conf_file): Ahem... Fix the name.
67 (&require_config_file): Invoke &require_conf_file, not yourself.
68 (&am_line_error): Fix the default am_file_error invocation.
70 2001-10-21 Akim Demaille <akim@epita.fr>
72 * automake.in ($seen_lispdir): Replace with...
73 ($am_lispdir_location): this.
74 (&require_conf_file): New.
75 (&require_config_file, &require_conf_file_with_line,
76 (&require_conf_file_with_conf_line): Use it.
77 (&require_conf_file_with_macro): New.
79 2001-10-21 Akim Demaille <akim@epita.fr>
81 * automake.in ($config_header_line, $ac_output_line)
82 ($ac_gettext_line, $package_version_line): Replace with...
83 ($config_header_location, $ac_output_location)
84 ($ac_gettext_location, $package_version_location): these.
85 (&require_file_with_conf_line, &require_file_with_line): Remove,
88 2001-10-21 Akim Demaille <akim@epita.fr>
90 * automake.in (&require_file_internal): Instead of $file and $line,
91 take $where as first argument.
93 (&require_file_with_macro): New.
94 Use it where internal black magic was used to recover the location
95 of a macro definition.
97 2001-10-21 Akim Demaille <akim@epita.fr>
99 * automake.in (&read_am_file): Define and use `$here'.
100 Avoid using am_line_error.
102 2001-10-21 Akim Demaille <akim@epita.fr>
104 * automake.in (&am_target_error): New.
105 Use it where appropriate instead of...
106 (&am_line_error): this.
107 Using it for a target is a croak error.
109 2001-10-21 Akim Demaille <akim@epita.fr>
111 * automake.in (&am_macro_error): New.
112 Use it where appropriate instead of...
113 (&am_line_error): this.
114 Using it for a macro is a croak error.
116 2001-10-21 Akim Demaille <akim@epita.fr>
118 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
119 AC_OUTPUT a Makefile.
121 2001-10-21 Akim Demaille <akim@epita.fr>
123 * automake.in (%var_line): Rename as...
124 (%var_location): this.
125 Use it consistently as the location where the macro is defined,
126 file and line when possible, otherwise just file.
127 (&read_am_file): Rules have their own location tracking, don't
128 pollute %var_location.
130 2001-10-21 Akim Demaille <akim@epita.fr>
132 * automake.in (am_line_error): Clarify.
134 2001-10-21 Akim Demaille <akim@epita.fr>
136 * automake.in (&am_print_error): Set $exit_status since all your
138 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
140 (&am_conf_line_error, &am_conf_line_warning): Remove.
141 Adjust callers to use &am_file_error and...
142 (&am_file_warning): new.
144 2001-10-21 Akim Demaille <akim@epita.fr>
146 * m4/regex.m4: Use AC_LIBOBJ.
147 Require 2.50, and use AC_LIBSOURCES freely.
148 * tests/asm.tests: Formatting changes.
151 2001-10-21 Akim Demaille <akim@epita.fr>
153 * tests/install.test: This test is an empty shell, do not run
155 * tests/Makefile.am (TESTS): Don't run it.
156 * tests/defs (ACLOCAL): When using gettext, pass in the installed
158 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
160 * tests/obsolete2.test: Remove, merged into...
161 * tests/obsolete.test: here.
162 Both aclocal and automake should complain.
164 2001-10-21 Akim Demaille <akim@epita.fr>
166 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
167 for symbols which cannot be Make macro names.
168 (scan_one_autoconf_file): `$here' is new.
169 Use it consistently instead of `1' to remember a token was seen.
171 2001-10-21 Akim Demaille <akim@epita.fr>
173 * tests/subdircond.test: Requires gettext.
174 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
175 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
176 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
177 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
178 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
179 Produce valid configure.in, use aclocal appropriately, declare
180 when libtool is required.
182 2001-10-21 Akim Demaille <akim@epita.fr>
184 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
185 * automake.texi (Macros, Yacc and Lex): Adjust.
186 * automake.in ($seen_decl_yytext): Rename as...
187 ($seen_prog_lex): this.
188 (&scan_autoconf_traces): Add AC_PROG_LEX support.
189 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
191 2001-10-21 Akim Demaille <akim@epita.fr>
193 * automake.in (&scan_autoconf_traces): Add support for
194 AM_PATH_LISPDIR and AM_PATH_PYTHON.
196 2001-10-21 Akim Demaille <akim@epita.fr>
198 * tests/defs (ACLOCAL): Point to the installed aclocaldir is
200 * tests/lex.test: Run AC_INIT once.
201 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
203 * tests/header.test: Built a correct configure.in.
204 * tests/defun2.test (configure.in): Be a bit respectful with
205 Autoconf, close the macro invocations.
206 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
209 * automake.in (scan_autoconf_traces): Add support for
210 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
211 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
212 * tests/condincl.test (target): Better pattern, to avoid matching
213 the definition of `target_alias' which is now properly discovered
214 as an AC_SUBST by traces.
215 * cond4.test: Better grep pattern: After all, why shouldn't
216 TWO_FALSE be AC_SUBST properly.
217 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
219 2001-10-20 Kevin Ryde <user42@zip.com.au>
221 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
222 actually using ansi2knr.
224 * automake.in (handle_configure): Always put a number on $stamp_name,
225 to match AM_CONFIG_HEADER.
227 2001-10-20 Tom Tromey <tromey@redhat.com>
229 * tests/Makefile.am (TESTS): Added condd.test.
230 (XFAIL_TESTS): Added condd.test.
231 * tests/condd.test: New file.
233 2001-10-20 Akim Demaille <akim@epita.fr>
235 * automake.in (&scan_autoconf_traces): Add support for
236 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
238 * tests/alpha.test (configure.in): Automake wants a Makefile.
240 2001-10-20 Akim Demaille <akim@epita.fr>
242 * automake.in (scan_autoconf_traces): Use an unlikely to be used
243 separator between trace arguments, in particular not `:' as it is
244 within AC_CONFIG_FILES's $1.
246 2001-10-20 Akim Demaille <akim@epita.fr>
248 * tests/alpha.test (configure.in): Create, don't append. A single
251 2001-10-20 Akim Demaille <akim@epita.fr>
253 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
254 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
255 * tests/alpha.test, tests/ansi.test, tests/asm.test,
256 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
257 * tests/badline.test, tests/block.test, tests/canon2.test,
258 * tests/check.test, tests/checkall.test, tests/clean.test,
259 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
260 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
261 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
262 * tests/comment.test, tests/comment3.test, tests/cond.test,
263 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
264 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
265 * tests/condman2.test, tests/confdist.test, tests/confh.test,
266 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
267 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
268 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
269 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
270 * tests/else.test, tests/empty.test, tests/exdir.test,
271 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
272 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
273 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
274 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
275 * tests/include.test, tests/info.test, tests/insh.test,
276 * tests/insh2.test, tests/install.test, tests/installsh.test,
277 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
278 * tests/insthook.test, tests/instman.test, tests/instman2.test,
279 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
280 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
281 * tests/man.test, tests/mclean.test, tests/mdate.test,
282 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
283 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
284 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
285 * tests/outdir.test, tests/output.test, tests/output2.test,
286 * tests/output3.test, tests/output4.test, tests/output5.test,
287 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
288 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
289 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
290 * tests/primary.test, tests/proginst.test, tests/python.test,
291 * tests/remake.test, tests/remake2.test, tests/remake3.test,
292 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
293 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
294 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
295 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
296 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
297 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
298 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
299 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
300 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
301 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
302 * tests/version.test, tests/version2.test, tests/version3.test,
303 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
304 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
306 2001-10-20 Akim Demaille <akim@epita.fr>
308 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
309 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
310 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
311 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
312 * tests/conf2.test, tests/confh.test, tests/confh2.test,
313 * tests/confh3.test, tests/confh4.test, tests/config.test,
314 * tests/confsub.test, tests/depend3.test, tests/discover.test,
315 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
316 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
317 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
318 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
319 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
320 * tests/output.test, tests/output2.test, tests/output3.test,
321 * tests/output4.test, tests/output5.test, tests/package.test,
322 * tests/parse.test, tests/pr2.test, tests/remake.test,
323 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
324 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
325 * tests/subdir4.test, tests/subdirbuiltsources.test,
326 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
327 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
328 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
329 since AM_INIT_AUTOMAKE requires them.
331 2001-10-20 Akim Demaille <akim@epita.fr>
333 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
335 Don't run AC_ARG_PROGRAM another time, it is required by
337 * tests/aclocal.test: Work on the default configure.in
338 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
339 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
341 Be realistic in testing: AC_INIT is required for Autoconf.
342 Broken so called optimized tests break trace handling.
344 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
345 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
346 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
347 * tests/colon.test, tests/colon2.test, tests/colon3.test,
348 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
349 * tests/colon7.test, tests/cond.test, tests/cond2.test,
350 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
351 * tests/confh.test, tests/confh2.test, tests/confh3.test,
352 * tests/confh4.test, tests/config.test, tests/confsub.test,
353 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
354 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
355 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
356 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
357 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
358 * tests/libobj9.test, tests/output.test, tests/output2.test,
359 * tests/output3.test, tests/output4.test, tests/parse.test,
360 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
361 * tests/remake.test, tests/remake2.test, tests/remake3.test,
362 * tests/req.test, tests/scripts.test, tests/subdir.test,
363 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
364 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
365 * tests/version2.test: Add AC_INIT in `configure.in'.
367 2001-10-20 Akim Demaille <akim@epita.fr>
369 * automake.in (&scan_autoconf_traces): Add support for
370 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
371 Let @args have a more natural M4 correspondence: $1 is args[1], no
373 (&scan_autoconf_files): Using autoconf traces is no longer a
374 complement of the previous ad hoc scheme: use either.
376 2001-10-20 Akim Demaille <akim@epita.fr>
378 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
379 factors dedicated $libsources assignments.
381 2001-10-20 Akim Demaille <akim@epita.fr>
383 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
384 Remove, since Autoconf 2.52 has them.
385 * automake.in, aclocal.in, automake.texi: Adjust.
387 2001-10-19 Akim Demaille <akim@epita.fr>
389 * automake.in (&read_main_am_file): s/generated automatically/
391 Insert @configure_input@, since 2.50 no longer output this
392 automatically for Makefiles.
394 2001-10-19 Kevin Ryde <user42@zip.com.au>
396 * lib/am/check.am (check-TESTS): Add an "else true" to work with
397 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
399 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
401 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
402 * tests/nobase.test: New file. Based on a bug report
403 from Martin Frydl <martin@idoox.com>.
405 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
407 * automake.in (am_install_var): Don't strip nobase_ from $X, do
408 this with $nodir_name only. Use $nodir_name where appropriate.
410 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
412 * automake.in (handle_languages, handle_single_transform_list,
413 lang_c_rewrite): Use require_conf_file instead of
414 require_config_file to require depcomp or compile from Makefile.am.
415 (require_aux_file_with_line): New function, adapted from
416 require_conf_gile_with_line.
417 (require_conf_file_with_line, require_conf_file_with_conf_line):
418 Simplify using require_aux_file_with_line.
419 (require_config_file): Simplify using require_conf_file_with_conf_line.
420 (require_conf_file): New function.
422 2001-10-15 Akim Demaille <akim@epita.fr>
424 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
425 normally, what is wrong is that automake outputs a variable
426 definition for it, hence...
427 * automake.in (scan_one_autoconf_file): don't.
429 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
431 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
432 Use AC_CONFIG_COMMANDS.
433 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
436 2001-10-15 Akim Demaille <akim@epita.fr>
438 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
440 2001-10-15 Akim Demaille <akim@epita.fr>
442 * automake.in (&variable_conditions): Be deterministic and Perl
443 version independent: sort the result.
444 (&variable_output, &variable_pretty_output): Sort all the @conds,
445 not only when defaulted.
446 * tests/cond3.test: Adjust.
448 2001-10-15 Akim Demaille <akim@epita.fr>
450 * automake.in: Formatting changes.
452 2001-10-15 Akim Demaille <akim@epita.fr>
454 * aclocal.in: Use Automake::General and Automake::XFile.
455 Use find_configure_ac.
456 Output the Emacs tags for Autoconf mode selection.
458 2001-10-10 Akim Demaille <akim@epita.fr>
460 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
463 2001-10-09 Akim Demaille <akim@epita.fr>
465 Do not use Autoconf internals.
467 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
468 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
469 m4_regexp and m4_patsubst, since the latter are reserved for ERE
472 2001-10-08 Akim Demaille <akim@epita.fr>
474 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
477 2001-10-05 Akim Demaille <akim@epita.fr>
479 * automake.in (scan_autoconf_files): Use find_configure_ac from
482 2001-10-02 Akim Demaille <akim@epita.fr>
484 * lib/Automake/Struct.pm: Update from Autoconf.
485 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
487 * automake.in: Use them.
488 (&uniq, $me): Remove, as they are provided by Automake::General.
490 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
492 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
493 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
494 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
495 * lib/am/distdir.am (distcheck): Likewise.
496 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
497 using cd so we don't have to fiddle with CDPATH.
498 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
499 DOSish path separator.
501 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
503 * lib/am/python.am (install-%DIR%PYTHON,
504 uninstall-%DIR%PYTHON): Strip path of source file.
505 (clean-python): Comment out.
507 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
509 * automake.in (handle_python): Use require_conf_file_with_conf_line
510 instead of require_file_with_conf_line, so that elisp-comp and
511 py-compile are installed in the aux-directory.
512 (handle_emacs_lisp): Likewise. Define elisp_comp.
513 * lib/am/lisp.am (.el.elc): Use elisp_comp.
515 2001-10-01 Akim Demaille <akim@epita.fr>
517 * lib/am/distdir.am (distcheck): Report the trailing files.
518 Run `dist-gzip', not `dist', as it may leave other distribution
521 2001-09-29 Paul Eggert <eggert@twinsun.com>
523 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
524 bugs when making file names with unusual characters. Quote chmod
525 arg "$dirmode", in case it contains white space.
527 Incorporate the following change from autoconf mkinstalldirs:
529 1999-04-10 Ben Elliston <bje@cygnus.com>
531 Add `-m' flag to specify the mode of a newly created
532 directory. Add command line usage and `-h', `--help' options.
533 Contributed by Jeff Garzik.
535 2001-09-27 Akim Demaille <akim@epita.fr>
537 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
539 2001-09-27 Akim Demaille <akim@epita.fr>
541 * lib/am/distdir.am (dist): Rename as...
543 (dist): Additional name for dist-all.
544 * automake.texi (Options, Dist): Adjust.
546 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
548 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
549 * automake.in (obsolete_macros): Likewise.
550 (seen_objext): Remove (unused).
551 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
552 * lib/am/header-vars.am (EXEEXT, OBJEXT,
553 PATH_SEPARATOR): New variables.
554 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
556 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
558 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
559 neutralize CDPATH for us.
560 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
561 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
564 2001-09-22 Akim Demaille <akim@epita.fr>
566 * configure.in, NEWS: Bump to 1.5a.
569 2001-09-22 Paul Eggert <eggert@twinsun.com>
571 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
572 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
573 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
574 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
575 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
576 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
577 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
578 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
579 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
580 m4/termios.m4, m4/winsz.m4: Add copyright notice.
582 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
583 which has a copyright notice.
585 * m4/strtod.m4: Correct the dates on the copyright notice.
587 2001-09-17 Akim Demaille <akim@epita.fr>
589 * lib/missing (autom4te): New.
590 (aclocal, autoconf, automake, autoheader, help2man): Propagate
593 2001-08-27 Tom Tromey <tromey@redhat.com>
595 * automake.texi (A Shared Library): Clarify installation
597 (Install): Typo. From Adrian Bunk.
599 2001-08-27 Tom Tromey <tromey@redhat.com>
601 * automake.texi (Macros): Typo fix.
602 From Christian Cornelssen
604 2001-08-27 Tom Tromey <tromey@redhat.com>
606 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
607 tests/cond4.test, tests/cond16.test, tests/cond18.test,
608 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
609 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
610 tests/substref.test: Clear CFLAGS.
612 * automake.texi (Yacc and Lex): Mention lex, not yacc.
613 From Alexey Mahotkin.
615 2001-08-27 Tom Tromey <tromey@redhat.com>
617 * tests/yacc7.test: Use test -f, not test -e.
619 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
621 * automake.texi (etags): Typo fix.
623 2001-08-27 Guido Draheim <guidod@gmx.de>
625 * automake.in : restrict ansi2knr option to be a filepath
627 2001-08-23 Richard Boulton <richard@tartarus.org>
629 * tests/yacc7.test: Actually add this file: was accidentally omitted.
631 2001-08-22 Tom Tromey <tromey@redhat.com>
633 * automake.texi (Conditionals): Mention that conditionals must
634 always be invoked. For PR automake/220.
636 2001-08-22 Richard Boulton <richard@tartarus.org>
637 Tom Tromey <tromey@redhat.com>
639 * automake.in (lang_yacc_target_hook): Make header file depend on
640 .c file, not .y file.
641 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
642 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
643 * tests/yacc7.test: New file.
644 * tests/Makefile.am (TESTS): Added yacc7.test.
646 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
648 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
650 2001-08-18 Tom Tromey <tromey@redhat.com>
652 * automake.texi (Dist): Mention dist-all.
654 2001-08-18 Tom Tromey <tromey@redhat.com>
656 * tests/cond3.test: Use portable sed expression.
657 From Richard Boulton.
659 2001-08-13 Richard Boulton <richard@tartarus.org>
661 * automake.in (handle_source_transform): Call
662 define_objects_from_sources() instead of calling
663 variable_value_as_list(), handle_single_transform_list() and
664 define_pretty_variable() directly.
665 (handle_single_transform_list): Add $topparent parameter, used for
666 error messages. Improved error message.
667 (define_objects_from_sources): New function.
668 (subobjname): New function.
669 (variable_conditions_recursive): New name for variable conditions.
670 (variable_value_as_list_recursive): New name for variable_value_as_list.
671 (variable_value_as_list_worker): Renamed to ...
672 (variable_value_as_list_recursive_worker): ... this.
673 (variable_conditions_sub): Renamed to ...
674 (variable_conditions_recursive_sub): ... this.
675 (variable_conditions): Rewritten: now doesn't recurse subvariables.
676 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
677 (substfroms): New global.
678 (substtos): New global.
679 (substnums): New global.
680 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
681 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
682 * tests/sourcesub2.test: New test.
683 * tests/Makefile.am (TEST): Added sourcesub2.test.
685 2001-08-11 Tom Tromey <tromey@redhat.com>
687 * configure.in: Upped to 1.4s.
689 2001-08-09 Richard Boulton <richard@tartarus.org>
691 * automake.in (handle_single_transform_list): Use new global,
692 `%linkers_used', to store the linkers used, rather than an internal
693 variable. Enables correct linker to be calculated across a group
694 of calls to &handle_single_transform_list. Return only list of
695 objects, since linker to be used is now externally determined.
696 (handle_source_transform): adapted for new calling conventions of
697 handle_single_transform_list. Calls resolve_linker() on a set of
698 all the linkers used for any prefix, rather than for each prefix in
700 (linkers_used): New global.
701 * tests/link_dist.test: New test.
702 * tests/Makefile.am (TESTS): Added link_dist.test.
704 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
706 Dissociate testsuite 'make' invocations from outer 'make'.
707 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
708 environment variables.
709 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
711 * tests/substref.test: Likewise.
713 2001-08-08 Richard Boulton <richard@tartarus.org>
715 * tests/cond18.test: New file.
716 * tests/cond19.test: New file.
717 * tests/cond20.test: New file.
718 * tests/cond4.test: Updated to check the generated _OBJECTS more
720 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
723 2001-08-08 Richard Boulton <richard@tartarus.org>
725 * automake.in (file_contents_internal): if a rule is conditionally
726 defined, define the standard automake definition for it for those
727 conditions which are not conditionally defined.
728 (invert_conditions): New function: invert a list of conditionals.
730 * tests/cond14.test: New file.
731 * tests/cond15.test: New file.
732 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
734 2001-08-05 Tom Tromey <tromey@redhat.com>
736 * tests/Makefile.am (TESTS): Added dejagnu2.test.
737 * tests/dejagnu2.test: New file.
738 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
739 * automake.in (handle_scripts): Removed dead code.
740 (handle_tests_dejagnu): Don't handle site.exp generation
743 2001-08-04 Richard Boulton <richard@tartarus.org>
745 * tests/cond17.test: New file: test for being able to define an
746 object to be generated in different ways according to a
748 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
749 (TESTS): Added cond17.test.
751 2001-08-02 Richard Boulton <richard@tartarus.org>
753 * automake.in (variable_conditions_sub): Handle variable
754 substitution refs when computing conditions based on subvariable
755 conditions. Fixes substitution refs of system variables when sub
756 variable is conditional.
757 (SUBST_REF_PATTERN): New global.
758 * tests/cond16.test: New file: regression test for variable
760 * test/Makefile.am (TESTS): Added cond16.test.
762 2001-08-03 Tom Tromey <tromey@redhat.com>
764 * tests/substref.test: Require GNU make; backed out previous
767 * tests/substref.test: Handle entering/leaving directory
770 2001-08-03 Richard Boulton <richard@tartarus.org>
772 * automake.in (value_to_list): Check for whether $from is defined,
773 rather than whether it is true, so that empty $froms are allowed in
774 substitution reference patterns.
776 * tests/substref.test: New file: test behavior of substitution
777 references when the $from side of the substitution is empty.
778 * tests/Makefile.am (TESTS): Added substref.test.
780 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
782 * m4/install-sh.m4: New file.
783 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
784 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
785 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
786 for install.sh any longer, always use install-sh, don't even
787 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
788 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
790 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
792 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
794 * automake.texi (EXEEXT): Clarify.
796 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
798 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
800 * m4/auxdir.m4: More comments.
802 2001-07-31 Richard Boulton <richard@tartarus.org>
803 Raja R Harinath <harinath@cs.umn.edu>
805 * automake.in (variable_conditions_sub): Remove @parent_conds
806 argument. This was old logic - duplicate or impossible
807 conditionals are removed later by &variable_conditions_reduce().
808 Fixes tests/cond13.test.
809 (conditionals_true_when): Removed.
810 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
812 2001-07-31 Tom Tromey <tromey@redhat.com>
814 * tests/Makefile.am (TESTS): Added cond13.test.
815 (XFAIL_TESTS): Likewise.
816 * tests/cond13.test: New file.
818 * configure.in: Upped to version 1.4k.
820 * configure.in: Released 1.4j.
822 * lib/config.guess: Updated from master sources.
823 * lib/config.sub: Likewise.
825 2001-07-30 Tom Tromey <tromey@redhat.com>
827 * automake.texi (A Program): Typo. Added subsections and more
828 text about conditional compilation.
829 (A Shared Library): Moved earlier.
830 (Program variables): Updated LINK text. Added AM_CFLAGS.
831 (C++ Support): Added AM_CXXFLAGS.
832 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
835 * tests/Makefile.am (TESTS): Added aclibobj.test.
836 * tests/aclibobj.test: New file.
837 * automake.in (handle_lib_objects_cond): Avoid undefined variable
839 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
841 * automake.texi (Dist): Mention other distribution types.
844 2001-07-29 Tom Tromey <tromey@redhat.com>
846 * automake.texi (Program and Library Variables): Texinfo fix.
847 From Alexey Mahotkin.
849 2001-07-28 Tom Tromey <tromey@redhat.com>
851 * automake.texi (Strictness): Mention Cygnus mode.
854 (Canonicalization): Likewise.
855 (Install): Add `nobase_' to example; typo fix.
857 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
859 (Options): Texinfo fixes; some text updates.
862 2001-07-27 Tom Tromey <tromey@redhat.com>
864 * automake.texi (Invoking Automake): Document --Werror and
867 2001-07-26 Tom Tromey <tromey@redhat.com>
869 * tests/nolink.test: Added no-exeext.
871 * automake.in (check_variable_defined_unconditionally): Don't call
874 * automake.texi (Optional): Don't mention ALL_LINGUAS.
876 * automake.in (seen_linguas, all_linguas, all_linguas_line):
878 (handle_gettext): Don't do any checking of the languages.
879 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
881 * automake.in (am_print_error): New function.
883 (am_file_error): Likewise.
884 (am_line_error): Likewise.
885 (am_conf_error): Likewise.
886 (am_conf_line_error): Likewise.
888 * automake.texi (Options): Document no-exeext.
889 * automake.in (handle_options): Recognize no-exeext.
890 (rule_define): Handle no-exeext.
891 * tests/Makefile.am (TESTS): Added new file.
892 * tests/exeext2.test: New file.
894 * automake.in (make_input_list): Removed.
895 (scan_autoconf_config_files): Don't add to make_input_list.
896 (scan_one_autoconf_file): Don't use make_input_list.
897 (scan_autoconf_files): Use make_list, not make_input_list.
898 (scan_autoconf_files): Likewise.
900 * automake.in (seen_exeext): Removed.
901 (generate_makefile): Don't define EXEEXT or OBJEXT.
902 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
903 (am_install_var): Don't check $seen_exeext.
904 (handle_programs): Likewise.
905 (rule_define): Allow x to override x$(EXEEXT), for now.
906 (file_contents_internal): Only define rule if rule_define allows
908 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
910 2001-07-25 Tom Tromey <tromey@redhat.com>
913 * tests/pr9.test: Require GNU make.
914 * tests/dirname.test: Don't use `-u'.
916 2001-07-22 Tom Tromey <tromey@redhat.com>
918 * tests/Makefile.am (TESTS): Added auxdir2.test.
919 (XFAIL_TESTS): Likewise.
920 * tests/auxdir2.test: New file.
922 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
923 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
925 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
926 * automake.in (am_install_var): Add $(EXEEXT) even if program name
927 holds `.'. Don't add $(EXEEXT) if program name already has it.
928 (handle_programs): Don't add $(EXEEXT) if user already did.
929 (make_paragraphs): Don't compute EXEEXT.
931 * tests/Makefile.am (TESTS): Added exeext.test.
932 (XFAIL_TESTS): Likewise.
933 * tests/exeext.test: New file.
935 2001-07-22 Tom Tromey <tromey@redhat.com>
937 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
938 `prog.exe' on Cygwin with libtool. From Robert Collins.
940 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
942 * tests/dirname.test: Explicitly use $SHELL to run the
943 script; this avoids failures on DJGPP.
944 * tests/install2.test: Skip if 'chmod 000' doesn't make
947 2001-07-21 Tom Tromey <tromey@redhat.com>
949 * tests/libtool2.test: Check for libtoolize.
951 * tests/Makefile.am (TESTS): Added substtarg.test.
952 (XFAIL_TESTS): Likewise.
953 * tests/substtarg.test: New file.
955 * automake.in (handle_dist): Handle case where aux dir doesn't
956 have a Makefile. Fixes depdist.test.
957 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
958 * tests/depdist.test: Look for config/depcomp.
960 * tests/Makefile.am (TESTS): Added depdist.test.
961 (XFAIL_TESTS): Likewise.
962 * tests/depdist.test: New file. From Eric Magnien.
964 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
965 AC_PROG_CC_C_O does require AC_PROG_CC.
968 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
970 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
971 output is suitable for make.
973 * automake.texi (Macros): Document AM_PROG_AS.
974 (Assembly Support): New node.
975 * m4/Makefile.am (m4data_DATA): Added as.m4.
976 * m4/as.m4: New file.
978 * automake.texi (Tags): Added uref to global tags.
980 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
982 * automake.in (handle_single_transform_list): Use $(DEPDIR)
983 instead of hardcoding '.deps'.
984 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
986 2001-07-20 Derek Price <dprice@collab.net>
988 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
990 * tests/dirname.test: New test.
991 * tests/stamph2.test: New test.
992 * tests/Makefile.am: Add new tests.
993 * tests/Makefile.in: Regenerated.
995 2001-07-19 Tom Tromey <tromey@redhat.com>
997 * automake.texi (Tags): Document GTAGS_ARGS.
998 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1000 2001-07-19 Tom Tromey <tromey@redhat.com>
1001 Alexandre Duret-Lutz <duret_g@epita.fr>
1003 Fix for ccnoco.test, subobj8.test:
1004 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1005 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1007 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1008 Use AM_AUX_DIR_EXPAND.
1009 * lib/compile: Handle case where `-o' argument is the name of an
1010 executable, not an object file.
1011 * m4/auxdir.m4: New file, from...
1012 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1013 * automake.in (handle_single_transform_list, lang_c_rewrite):
1014 Require compile using `require_config_file'.
1016 2001-07-19 Tom Tromey <tromey@redhat.com>
1018 * automake.texi (Program and Library Variables): Added X example
1021 2001-07-19 Tom Tromey <tromey@redhat.com>
1023 * automake.texi (Distributing): Updated to reflect new license.
1025 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1027 * automake.in (require_build_directory): New function, extracted
1029 (handle_single_transform_list): ... here.
1030 (require_build_directory_maybe): New function.
1031 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1032 require_build_directory_maybe() to ensure the subdirectory
1033 in which a target may lie will exist when the target is created.
1034 (handle_libraries, handle_ltlibraries): Use basename before
1035 checking library name.
1036 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1037 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1038 * lib/am/program.am (%PROGRAM%): Likewise.
1040 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1042 * m4/missing.m4: Reword comment.
1044 2001-07-18 Pavel Roskin <proski@gnu.org>
1046 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1047 * tests/gcj.test: Likewise.
1048 * tests/gcj2.test: Likewise.
1049 * tests/gcj3.test: Likewise.
1051 2001-07-18 Tom Tromey <tromey@redhat.com>
1053 * lib/compile: Change how lockdir is computed. If linking or
1054 compiling without `-o', just run the compiler.
1056 * tests/Makefile.am (TESTS): Added ccnoco.test.
1057 (XFAIL_TESTS): Likewise.
1058 * tests/ccnoco.test: New file.
1060 2001-07-17 Tom Tromey <tromey@redhat.com>
1062 * lib/ylwrap: Added special exception.
1063 * lib/py-compile: Added license.
1064 * lib/mdate-sh: Added special exception.
1065 * lib/elisp-comp: Added special exception.
1066 * lib/compile: Added special exception.
1067 * lib/depcomp: Added special exception.
1069 Report from Motoyuki Kasahara:
1070 * tests/make.test: Use am__include.
1071 * tests/exsource.test: Use am__include.
1072 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1073 * automake.in (handle_languages): Use am__include and am__quote.
1075 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1076 * m4/init.m4: Updated callers.
1078 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1080 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1081 * aclocal.in (scan_configure, add_file): Handle the full macro
1082 name even if it contains numbers, such as I18N.
1084 2001-07-16 Tom Tromey <tromey@redhat.com>
1086 * automake.texi (Dependencies): Link to dependency tracking page.
1087 (Data): Mention dist_.
1088 (Clean): Mention clean heuristics.
1089 (Install): Mention nobase_.
1091 * automake.texi (Program and Library Variables): Document _LINK.
1093 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1095 * automake.in (handle_libraries): Allow libraries to lie in
1096 a subdirectory by constraining only the basename to start
1097 with 'lib', not the whole path.
1099 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1101 * tests/subobj8.test: New file.
1102 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1104 2001-07-16 Tom Tromey <tromey@redhat.com>
1106 Fix for PR automake/212:
1107 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1108 (uninstall-%DIR%LISP): Likewise.
1110 2001-07-15 Tom Tromey <tromey@redhat.com>
1112 * automake.in (usage): Rewrote code to handle columnization.
1113 From Alexey Mahotkin and Maxim Sinev.
1115 Report from Ralf Corsepius:
1116 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1117 (SUFFIX_RULE_PATTERN): Likewise.
1118 * tests/Makefile.am (TESTS): Added cxx.test.
1119 * tests/cxx.test: New file.
1121 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1122 From Shigio Yamaguchi.
1124 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1126 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1127 remain after "make uninstall".
1129 2001-07-14 Tom Tromey <tromey@redhat.com>
1131 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1133 * lib/missing (makeinfo): Redirect stdout and stderr outside
1134 subshell. From Alexandre Oliva.
1136 2001-07-14 Akim Demaille <akim@epita.fr>
1138 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1139 `\b(foo|bar)\b' is what we want.
1140 * aclocal.in: Likewise.
1142 2001-07-14 Akim Demaille <akim@epita.fr>
1144 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1146 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1147 actually modified to require AM_DEPENDENCIES.
1148 Rename `confdir' as `conftest.dir' so that the configure trap
1151 2001-07-04 Tom Tromey <tromey@redhat.com>
1153 Fix for nolink.test:
1154 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1155 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1156 * automake.in (am_install_var): Only rewrite PROGRAMS if
1158 (make_paragraphs): Always define %EXEEXT%.
1160 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1162 * tests/nolink.test: New file.
1163 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1165 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1167 * automake.in (scan_texinfo_file): Add the second argument to
1168 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1169 itself may not be used directly.
1171 2001-07-04 Tom Tromey <tromey@redhat.com>
1174 * lib/missing (makeinfo): Use subshell, not explicit sh
1177 * automake.texi (Headers): Mention that we prefer uninstalled
1178 headers in _SOURCES.
1179 (ANSI): Mention cross-compilation limitation.
1181 2001-07-03 Tom Tromey <tromey@redhat.com>
1183 * configure.in: Upped to 1.4i.
1185 * configure.in: Released 1.4h.
1187 * lib/config.guess, lib/config.sub: Updated.
1189 2001-07-02 Tom Tromey <tromey@redhat.com>
1191 Fix for libtool2.test:
1192 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1193 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1194 * automake.in (generate_makefile): Call handle_libtool
1196 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1198 * tests/libtool2.test: Look for `.lo' files to be removed.
1200 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1202 * tests/Makefile.am (TESTS): Removed dup.test.
1203 * tests/dup.test: Removed.
1204 * aclocal.in (scan_file): Don't give error for duplicate macro.
1206 2001-07-01 Tom Tromey <tromey@redhat.com>
1208 * automake.texi (Program and Library Variables): Document
1209 subdir-objects. Document fact that per-object flags override AM_
1211 (Options): Likewise.
1212 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1213 (Multilibs): New node.
1214 (Macros): Documented missing macros.
1215 (Auxiliary Programs): New node.
1217 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1218 mode, then simply fail.
1220 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1222 * lib/ylwrap: Improve support for DOS paths (and paths
1223 containing backslashes in general).
1225 2001-07-01 Tom Tromey <tromey@redhat.com>
1227 * lib/missing: Added special exception to license.
1230 * lib/missing: Updated. Added comment explaining configure.ac
1233 * lib/depcomp: Reorder arguments to gcc3.
1234 From Per Oyvind Hvidsten.
1236 * tests/Makefile.am (TESTS): Added libtool2.test.
1237 * tests/libtool2.test: New file.
1239 * automake.texi (Program and Library Variables): Added example for
1242 2001-06-29 Tom Tromey <tromey@redhat.com>
1244 * tests/cond11.test: Use `=', not `=='.
1245 * tests/cond12.test: Look for automake in build directory, not
1248 2001-06-29 Richard Boulton <richard@tartarus.org>
1250 * automake.in (conditionals_true_when): Pass first parameters by
1251 reference, avoiding bug which put all parameters in @CONDS instead
1252 of @WHENS. Report by Kalle Olavi Niemitalo.
1253 Take a single WHEN instead of an array of WHENS.
1254 Remove FIXME; can't now have an empty @WHENS.
1255 (conditional_is_redundant): New sub.
1256 (variable_conditions_reduce): Check whether each condition is
1257 implied by any of the other conditions (other those already
1258 discarded), rather than checking only against those already
1259 considered (and kept). Also, fix sense of check: was keeping
1260 tautologous terms instead of discarding them. Use
1261 conditional_is_redundant instead of conditionals_true_when.
1262 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1263 * tests/cond11.test: New file.
1264 * tests/cond12.test: New file.
1266 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1268 * automake.in (saw_sources_p): Work even if there are more
1269 than one header files, and more than of one type of header.
1270 * tests/Makefile.am (TESTS): Added new file.
1271 * tests/depend4.test: New file.
1273 2001-06-28 Tom Tromey <tromey@redhat.com>
1275 * lib/am/libs.am (RANLIB): Don't define.
1277 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1279 * automake.in (am_install_var): Assign 1 to $first on
1282 2001-06-23 Tom Tromey <tromey@redhat.com>
1285 * lib/ylwrap: Changed usage.
1286 * lib/am/yacc.am: Rewrote to use new substitutions.
1287 * lib/am/lex.am: Likewise.
1288 * automake.in (handle_languages): Skip files whose language
1289 doesn't have a compiler. Handle `define_flag' attribute.
1290 Changed '$' to "\$" to aid Emacs fontification.
1291 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1292 `_target_hook' and `define_flag'.
1293 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1294 and `compiler' attributes. Removed `linker', `derived_autodep',
1295 and `ansi' attributes. Added `define_flag'.
1296 (yacc, yaccxx): Added `_target_hook'.
1297 (saw_extension): Count number of times extension seen.
1298 (count_files_for_language): New sub.
1299 (saw_sources_p): Use it.
1300 (handle_single_transform_list): Allow language rewrite function
1301 to return a new source extension. Call target_hook.
1302 (yacc_sources, lex_sources): Removed.
1303 (initialize_per_input): Don't initialize yacc_sources or
1305 (lang_yacc_rewrite): Rewrote.
1306 (lang_yaccxx_rewrite): Likewise.
1307 (lang_lex_rewrite): Likewise.
1308 (lang_lexxx_rewrite): Likewise.
1309 (output_yacc_build_rule): Removed.
1310 (output_lex_build_rule): Removed.
1311 (lang_yacc_finish): Removed build rule generation.
1312 (lang_lex_finish): Likewise.
1313 (DASH_D_PATTERN): New global.
1314 (lang_yacc_target_hook): New function.
1315 (_target_hook): New function.
1316 (register_language): Default `define_flag'.
1317 * tests/yacc5.test: Updated test.
1318 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1319 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1320 for all YFLAGS variables.
1322 2001-06-20 Tom Tromey <tromey@redhat.com>
1324 * tests/yacc5.test: Check for per-executable YFLAGS.
1326 2001-06-19 Tom Tromey <tromey@redhat.com>
1328 * tests/Makefile.am (TESTS): Added yacc5.test.
1329 * tests/yacc5.test: New file.
1331 2001-06-17 Tom Tromey <tromey@redhat.com>
1333 * automake.in (require_file_internal): Check for already-required
1334 file after searching for it, and only if it is not found. Don't
1335 use `readlink' when checking for dangling symlink. Work if
1336 --force-missing specified.
1337 * tests/acoutput2.test: Also test --force-missing.
1339 Fix for libtool.test:
1340 * automake.in (generate_makefile): Call handle_libtool.
1341 (handle_libtool): New sub.
1342 (handle_compile): Don't read `libtool' file.
1344 * tests/acoutput2.test: New file.
1345 * tests/Makefile.am (TESTS): Added acoutput2.test.
1347 2001-06-15 Tom Tromey <tromey@redhat.com>
1349 * tests/Makefile.am (TESTS): Added libtool.test.
1350 * tests/libtool.test: New file.
1352 2001-06-14 Tom Tromey <tromey@redhat.com>
1354 Fix some lisp bugs reported by Bruno Haible:
1355 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1357 (install-%DIR%LISP): Handle case where lispdir is not defined.
1358 (uninstall-%DIR%LISP): Likewise.
1359 (.el.elc): Added `else' clause.
1361 Fix for bug reported by Steve M. Robbins:
1362 * automake.in (handle_single_transform_list): When building a file
1363 from a subdirectory, continue to use `AM_' prefix.
1364 * tests/Makefile.am (TESTS): Added subobj7.test.
1365 * tests/subobj7.test: New file.
1367 * lib/am/configure.am ($(top_builddir)/config.status): Added
1368 $(top_builddir) prefix to work around problems with some vendor
1369 makes. From Nicholas Joly.
1371 * automake.in (yacc_lex_finish_helper): Find ylwrap in
1372 top_srcdir. From Tim Van Holder.
1373 * tests/Makefile.am (TESTS): Added yacc6.test.
1374 * tests/yacc6.test: New file.
1376 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
1378 * tests/defs, tests/installsh.test: Properly support
1381 2001-06-14 Tom Tromey <tromey@redhat.com>
1383 * tests/Makefile.am (TESTS): Added mdate4.test.
1384 * tests/mdate4.test: New file.
1386 * aclocal.in (scan_m4_files): Removed unused variable.
1388 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1390 * aclocal.in (scan_m4_files): Tweak the building of &search so
1391 that multiple macro names can be found on the same line. Ensure
1392 we match whole macro name, not only substrings.
1394 2001-06-12 Tom Tromey <tromey@redhat.com>
1396 * automake.texi (ANSI): Minor clarification.
1397 (Other GNU Tools): Don't mention Guile.
1399 (Java Support): Mention file extensions.
1400 (Man pages): Mention dist_. Don't mention info pages.
1402 2001-06-11 Tom Tromey <tromey@redhat.com>
1404 * automake.texi (Program variables): Document AM_CPPFLAGS.
1406 (Java Support): Document AM_GCJFLAGS.
1407 (Support for Other Languages): Removed `fixme'; added link to
1408 suffix rule handling.
1410 * automake.texi (Program and Library Variables): Document _LIBADD,
1411 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
1413 2001-06-11 Kevin Dalley <kevind@rahul.net>
1415 * missing: Support configure.ac.
1417 2001-06-08 Tom Tromey <tromey@redhat.com>
1419 * tests/version4.test: New file.
1420 * automake.in (version_check): New sub.
1421 (handle_options): Use it.
1422 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1423 (TESTS): Added version4.test.
1424 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1425 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
1427 2001-06-04 Kevin Dalley <kevind@rahul.net>
1429 * lib/am/dejagnu.am (site.exp): Fix typo.
1431 2001-06-02 Tom Tromey <tromey@redhat.com>
1433 * automake.in (variable_conditions_sub): Move parent-only code
1435 (variable_conditions): ... to here.
1436 (variable_conditions_sub): Include this variable's conditions in
1437 the resulting condition list.
1438 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
1440 2001-06-01 Tom Tromey <tromey@redhat.com>
1442 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
1444 * tests/ltdeps.test: New file. Report from Lars J. Aas.
1446 2001-05-31 Tom Tromey <tromey@redhat.com>
1448 * automake.texi (Alternative): New node.
1449 (Macros): Use new name for gcc.
1450 (Java Support): Likewise.
1451 (Dependencies): Rewrote.
1452 (Invoking Automake): (Re-)document -i, --ignore-deps, and
1455 * automake.texi (Top level): Removed erroneous spaces. Documented
1458 2001-05-29 Tom Tromey <tromey@redhat.com>
1460 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
1462 * automake.texi (Include): Rewrote.
1463 (Suffixes): Remove Java example.
1464 (Java): Added more explanation. Document variables.
1465 (Uniform): Mention JAVA as a primary.
1466 (Python): Updated for new Python support.
1467 (Sources): Added a weak example.
1469 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
1471 * automake.texi (A Program): Mention `check' prefix.
1472 (Program and Library Variables): New node.
1473 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
1475 (etags): Mention per-program flags.
1476 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
1479 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
1482 2001-05-28 Tom Tromey <tromey@redhat.com>
1484 * m4/Makefile.am (MAINT_CHARSET): Removed.
1485 * Makefile.am (MAINT_CHARSET): Removed.
1486 * automake.in (maint_charset, dist_charset): Removed.
1487 (local_maint_charset): Removed.
1488 (initialize_per_input): Don't use maint_charset.
1489 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
1491 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
1493 (.%SUFFIX%.dvi): Likewise.
1494 (.%SUFFIX%): Likewise.
1496 2001-05-27 Tom Tromey <tromey@redhat.com>
1498 * automake.in (handle_multilib): Only add multilib support code at
1500 * lib/am/multilib.am: Handle invocation of *-multi targets
1501 differently for SUBDIRS and non-SUBDIRS Makefiles.
1502 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
1503 Only add multilib code when the Makefile in question is actually
1506 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
1508 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1510 * automake.in (handle_single_transform_list): Skip unknown
1513 2001-05-25 Tom Tromey <tromey@redhat.com>
1515 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
1517 2001-05-24 Tom Tromey <tromey@redhat.com>
1519 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1520 directory in some situations.
1522 * automake.in (generate_makefile): Better explanation for ansi2knr
1525 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1527 * automake.in (handle_languages): Skip unknown extensions.
1528 (derive_suffix): Check whether $extension_map{$source_ext}
1529 is undefined, not empty.
1531 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1533 * automake.in (read_am_file): Ignore trailing backslash on
1536 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1538 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1540 2001-05-21 Akim Demaille <akim@epita.fr>
1542 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1543 multiple times'' warning.
1545 2001-05-20 Tom Tromey <tromey@redhat.com>
1547 * configure.in: Updated to 1.4g.
1549 * configure.in: Updated to 1.4f.
1551 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1553 * lib/ansi2knr.c: New version.
1555 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1558 2001-05-19 Tom Tromey <tromey@redhat.com>
1560 * config.guess, config.sub: New versions from FSF.
1562 * Makefile.am (fetch): Compare against files in srcdir.
1564 For for ansi2knr report from Harlan Stenn:
1565 * automake.in (generate_makefile): Run handle_compile before
1568 2001-05-18 Tom Tromey <tromey@redhat.com>
1570 * automake.in: Reverted erroneous checkin.
1572 2001-05-18 Akim Demaille <akim@epita.fr>
1574 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1575 to missing `install-info'.
1577 2001-05-17 Tom Tromey <tromey@redhat.com>
1579 * automake.in (lang_c_finish): Use `rm -f'.
1581 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1582 * tests/Makefile.am (TESTS): Added new file.
1583 * tests/ansi5.test: New file.
1585 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1587 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1589 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1590 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1591 * automake.texi (Requirements): Document the use of the STRIP
1592 variable in cross-compilation environments.
1594 2001-05-17 Tom Tromey <tromey@redhat.com>
1596 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1597 to no dependency tracking.
1598 * tests/Makefile.am (TESTS): Added depcomp2.test.
1599 * tests/depcomp2.test: New file. From Pavel Roskin.
1601 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1603 * lib/depcomp (tru64): New dependency tracking mode.
1605 Fix for PR automake/159:
1606 * lib/depcomp (aix): Rewrote.
1609 Fix for PR automake/174:
1610 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1611 * automake.in (read_am_file): Warn if `#' is at start of rule.
1613 2001-05-16 Tom Tromey <tromey@redhat.com>
1615 For PR automake/174:
1616 * tests/Makefile.am (TESTS): Added comment3.test.
1617 (XFAIL_TESTS): Likewise.
1618 * tests/comment3.test: New file.
1620 Fix for PR automake/175:
1621 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1622 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1623 `Leaving directory' messages.
1625 For PR automake/175:
1626 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1627 * tests/make.test: Run test with `make -w'.
1629 * tests/Makefile.am (TESTS): Removed maintclean.test.
1630 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1632 * lib/am/configure.am (maintainer-clean-am): Removed.
1633 (maintainer-clean-conf): Removed.
1634 * tests/maintclean.test: Removed.
1636 2001-05-15 Tom Tromey <tromey@redhat.com>
1638 Fix for PR automake/177:
1639 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1640 automake or aclocal.
1642 Fix for maintclean.test:
1643 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1644 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1646 (distclean, maintainer-clean): Moved to...
1647 * lib/am/configure.am: ... here.
1648 (distclean): Remove config.cache and config.log.
1649 (maintainer-clean): Removed.
1650 (maintainer-clean-conf): New target.
1651 (maintainer-clean-am): New target.
1653 * tests/Makefile.am (TESTS): Added maintclean.test.
1654 (XFAIL_TESTS): Likewise.
1655 * tests/maintclean.test: New file.
1657 Fixes PR automake/175:
1658 * tests/target-cflags.test: Use $needs_gnu_make.
1659 * tests/exsource.test: Use $needs_gnu_make.
1660 * tests/make.test: Require GNU make.
1661 * tests/defs (needs_gnu_make): Compute.
1663 2001-05-14 Tom Tromey <tromey@redhat.com>
1665 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1668 Fix for texinfo10.test.
1669 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1670 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1671 * automake.in (handle_texinfo_helper): New sub.
1672 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1673 * tests/texinfo10.test: Added more cases.
1675 Fix for yaccvpath.test:
1676 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1677 * lib/am/distdir.am (distdir): Always look for file in build
1679 * lib/ylwrap: Quote the `#line' regular expression.
1680 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1681 change; don't run sed on the generated file.
1682 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1683 to make sure parser will be rebuilt at dist time.
1685 2001-05-13 Pavel Roskin <proski@gnu.org>
1687 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1688 beginning with `##'.
1689 * automake.texi (General Operation): Document it.
1691 2001-05-13 Tom Tromey <tromey@redhat.com>
1693 Reported by Rainer Orth:
1694 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1696 * tests/Makefile.am (TESTS): Added distname.test.
1697 * tests/distname.test: New file.
1699 * Makefile.am (dist_pkgdata_DATA): Removed.
1701 * tests/defs: Find files to copy in lib/.
1702 * automake.in (perllibdir): Set to Automake directory.
1703 * ansi2knr.c, ansi2knr.1: Removed.
1704 * Makefile.am (dist_am_DATA): Removed.
1706 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1708 (scriptdir): Removed.
1709 (dist_script_DATA): Likewise.
1710 (install-data-hook): Likewise.
1711 (installcheck-local): Likewise.
1712 (TAGS_FILES): Removed amfiles.
1713 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1714 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1715 point it to the right directory.
1716 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1717 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1718 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1719 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1720 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1721 mans.am, multilib.am, program.am, progs.am, python.am,
1722 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1723 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1724 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1725 (AUTOMAKE): Use --libdir, not --amdir.
1726 Ues AC_CONFIG_AUX_DIR.
1727 * lib/Makefile.am (SUBDIRS): Added `am'.
1728 (scriptdir): New macro.
1729 (dist_script_DATA): Likewise.
1730 (dist_pkgdata_DATA): Likewise.
1731 (install-data-hook): New target.
1732 (installcheck-local): Likewise.
1733 * lib/am/Makefile.in: New file.
1734 * lib/am/Makefile.am: Removed everything except amdir and
1737 2001-05-13 Akim Demaille <akim@epita.fr>
1739 * automake.in ($pkgdata_dir): Rename as...
1741 ($am_dir): Remove, replace its uses with $libdir.
1742 (&parse_arguments): Replace --amdir with --libdir.
1743 * automake.texi (Invoking Automake): Document --libdir, not
1745 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1747 2001-05-13 Tom Tromey <tromey@redhat.com>
1749 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1751 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1752 Correctly look at AMDEP_TRUE, not AMDEP.
1754 Report from Robert Boehne:
1755 * tests/Makefile.am (TESTS): Added depend2.test.
1756 * tests/depend2.test: New file.
1758 2001-05-13 James Henstridge <james@daa.com.au>
1760 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1761 Point pythondir at site-packages directory. Rename
1762 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1763 pyexecdir. Removed package/module argument. Removed
1764 PYTHON_SITE_INSTALL. Added version checking.
1766 2001-05-14 Jim Meyering <meyering@lucent.com>
1768 * automake.in (macro_define): Change one remaining use of
1769 `variable_dump' to `macro_dump'.
1771 2001-05-13 Tom Tromey <tromey@redhat.com>
1773 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1776 2001-05-13 Akim Demaille <akim@epita.fr>
1778 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1779 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1780 (&am_primary_prefixes): Use `map' rather than `grep'.
1782 2001-05-13 Akim Demaille <akim@epita.fr>
1784 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1786 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1787 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1789 2001-05-13 Akim Demaille <akim@epita.fr>
1791 * lang-compile.am: New file, loaded once per language.
1792 * depend2.am: Move definitions loaded once per language in the
1793 aforementioned file.
1794 * automake.in (&handle_languages): Load it.
1795 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1796 handled by lang-compile.am.
1798 2001-05-13 Tom Tromey <tromey@redhat.com>
1800 * tests/Makefile.am (TESTS): Added python.test.
1801 * tests/python.test: New file.
1802 * automake.in (handle_languages): Use
1803 config_aux_dir_set_in_configure_in.
1804 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1805 py-compile, not py_comp. Define py_compile macro.
1807 2001-05-13 Derek Price <dprice@openavenue.com>
1809 * automake.in (require_file_with_conf_line,
1810 require_file_with_line, require_file): Pass a @require_file_path
1811 of $relative_dir instead of '.' to require_file_internal so that
1812 all the special casing of '.' can be removed elsewhere.
1813 (require_config_file, require_conf_file_with_line,
1814 require_conf_file_with_conf_line): Remove special casing for '.'
1815 and make sure $config_aux_dir is maintained properly.
1816 (require_file_internal): Remove special casing of '.' and set
1817 @require_file_path when missing files are added.
1818 (maybe_push_required_file): Remove special casing of '.'
1819 (handle_dependencies): Remove a workaround for a bug now fixed
1820 and remove $config_aux_dir special casing.
1821 (handle_configure): Remove special casing for $config_aux_dir
1822 (handle_python): Ditto.
1823 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1824 switch on the value of $config_aux_dir_set_in_configure_in.
1825 (handle_texinfo): Ditto.
1826 (scan_one_configure_file): Set $config_aux_dir and
1827 $config_aux_dir_set_in_configure_in properly so special casing
1828 on the value of $config_aux_dir can be removed elsewhere.
1829 * tests/depcomp.test: New file.
1830 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1831 first subdir containing a C file.
1832 * tests/libobj2.test: Ditto.
1833 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1835 2001-05-12 Tom Tromey <tromey@redhat.com>
1837 * tests/gcj.test: Updated for gcj dependency tracking.
1838 * tests/gcj2.test: Likewise.
1840 Fixes PR automake/169.
1841 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1843 * automake.in (java): Added autodep entry.
1844 * tests/Makefile.am (TESTS): Added gcj3.test.
1845 * tests/gcj3.test: New file.
1847 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1849 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1850 stop at the first '='.
1851 * tests/Makefile.am (TESTS): Added vars.test.
1852 * tests/vars.test: New file.
1854 2001-05-12 Akim Demaille <akim@epita.fr>
1856 * automake.in (&handle_single_transform_list): Simplify
1857 computation of $object and $this_obj_ext.
1858 * tests/lex3.test: Merge into...
1859 * tests/lex.test: here.
1860 * tests/pr19.test: Improve and rename as...
1861 * tests/lex3.test: this.
1863 2001-05-09 Tom Tromey <tromey@redhat.com>
1865 * automake.in (read_am_file): Correctly compute $saw_bk.
1866 (scan_autoconf_files): Ensure configure_dist_common is always
1868 * tests/defs (AUTOMAKE): Added --Werror.
1870 2001-05-09 Pavel Roskin <proski@gnu.org>
1872 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1875 2001-05-09 Tom Tromey <tromey@redhat.com>
1877 * tests/werror.test: Use `rm -f'.
1879 2001-05-09 Akim Demaille <akim@epita.fr>
1881 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1883 2001-05-09 Akim Demaille <akim@epita.fr>
1885 * automake.in: Remove some code left from bad patches.
1886 (&handle_dependency): Remove, for the same reason.
1888 2001-05-09 Akim Demaille <akim@epita.fr>
1890 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1891 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1892 (&define_standard_variables): Don't transform %top_builddir% since...
1893 * header-vars.am: Use %TOPDIR% instead.
1895 2001-05-09 Akim Demaille <akim@epita.fr>
1897 * automake.in (@objects): Remove, unused.
1898 Remove all the code related to it, and to former `$(OBJECTS)'.
1900 2001-05-08 Tom Tromey <tromey@redhat.com>
1903 * ylwrap: Handle arguments to program. Remove old code that tried
1904 to avoid absolute paths and add new code to do it in all cases.
1905 Removed ancient logic that tried to deal with relative path.
1906 * tests/Makefile.am (TESTS): Added yacc4.test.
1907 * tests/yacc4.test: New file.
1909 Fix for PR automake/149 and werror.test:
1910 * automake.in (require_file_internal): Use am_line_warning or
1911 am_conf_line_warning when suppressing error.
1912 (am_line_warning): New sub.
1913 (am_conf_line_warning): Save and restore warning signal.
1914 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1916 Fix for PR automake/36:
1917 * tests/Makefile.am (TESTS): Added asm.test.
1918 * tests/asm.test: New file.
1919 * automake.in (asm): Use ASFLAGS and AS.
1920 (lang_asm_finish): New sub.
1922 * automake.in (read_am_file): Removed debugging code.
1924 For PR automake/149:
1925 * tests/Makefile.am (TESTS): Added werror.test.
1926 (XFAIL_TESTS): Likewise.
1927 * tests/werror.test: New file.
1929 * automake.in (conditional_true_when): Don't return if we see
1932 * tests/objc.test: Removed.
1933 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1936 * automake.in (subst): New sub.
1937 (handle_languages): Use it.
1938 (output_lex_build_rule): Likewise; also use _am_quote.
1939 (check_libobjs_sources): Likewise.
1940 (make_paragraphs): Use subst.
1942 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1945 * automake.in (file_contents_internal): Prototype now `$$%'.
1946 (register_language): Prototype now `%'.
1948 Fixes test subobj6.test and PR automake/160:
1949 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1950 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1951 (distclean-compile): Added DISTRMS.
1952 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1953 `mostlyclean' use; added test for non-subdir case.
1954 * automake.in (compile_clean_files): New global.
1955 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1956 (initialize_per_input): Initialize compile_clean_files.
1957 (handle_single_transform_list): Set compile_clean_files entries.
1958 (handle_compile): Handle compilation cleanups.
1960 2001-05-08 Lars J. Aas <larsa@sim.no>
1962 * automake.texi (Canonicalizing Automake macros): Document not
1963 canonicalizing strudels (@) anymore.
1965 2001-05-08 Akim Demaille <akim@epita.fr>
1967 * distdir.am (dist-all): Build all the flavors using a single
1970 2001-05-08 Akim Demaille <akim@epita.fr>
1972 * automake.in (&file_contents_internal): Apply the @cond_stack to
1973 the rules and assignments.
1974 Don't rely on `$.' as it's biased by &make_paragraphs.
1975 Don't remove backslashes in variable values.
1977 2001-05-08 Akim Demaille <akim@epita.fr>
1979 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1980 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1981 ($MACRO_PATTERN): Just catch the name of a macro.
1982 ($BOGUS_MACRO_PATTERN): Remove.
1983 ($ASSIGNMENT_PATTERN): New.
1984 (&file_contents_internal, &make_paragraphs): Adjust.
1985 (¯o_define): Catch bad macro names.
1986 (&cond_stack_endif): Better error message.
1987 (&file_contents_internal): Don't remove backslashes in variable
1989 (¯o_define): Do it for `+=' user variables.
1990 (&define_standard_variables): Use `undef' instead of a dummy
1992 (&make_paragraph): Be sure not to chop the trail of hash only
1993 lines: adjust the `##' regexp.
1994 (&rule_define): Fix a bug: don't read $1 but $target.
1995 * tests/condincl.test: Strengthen.
1997 2001-05-08 Akim Demaille <akim@epita.fr>
1999 * automake.in (Language): Add attributes `Name' and `config_vars'.
2000 (&finish): Work properly if there is no _finish.
2001 (Automake): Register language Names and AC_SUBST dependencies.
2002 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2003 (&handle_languages): Once per language, invoke
2004 `define_linker_variables', and check its config_vars.
2005 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2006 (&lang_java_finish): Remove.
2007 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2009 2001-05-08 Akim Demaille <akim@epita.fr>
2011 * automake.in (&file_contents_internal): Accept $IS_AM.
2012 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2014 2001-05-08 Akim Demaille <akim@epita.fr>
2016 * automake.in (am_install_var): Use `next' instead of `if' on the
2019 2001-05-08 Akim Demaille <akim@epita.fr>
2021 * automake.in (Language): Add attributes `lder' and `ld'.
2022 (®ister_language): Specify for cxx, objc, f77, gcj.
2023 (&define_linker_variable): New.
2024 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2025 (&lang_java_finish): Adjust.
2026 (&libtool_compiler): Remove.
2028 2001-05-08 Akim Demaille <akim@epita.fr>
2030 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2031 argument, as you don't use it.
2033 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2036 (&handle_programs): Don't mess with %lex_sources, as you don't use
2039 2001-05-08 Akim Demaille <akim@epita.fr>
2041 * automake.in (Language): Add attribute `link'.
2042 (®ister_language): Specify for cxx, objc, f77, gcj.
2043 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2044 (&lang_java_finish): Adjust.
2046 2001-05-08 Akim Demaille <akim@epita.fr>
2048 * automake.in (&define_compiler_variables): Use only $LANG as
2050 (&handle_languages): Adjust.
2052 2001-05-08 Akim Demaille <akim@epita.fr>
2054 * automake.in (&define_program_variable): Remove.
2055 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2057 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2058 * texinfos.am: Do it.
2060 2001-05-08 Akim Demaille <akim@epita.fr>
2062 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2064 * dejagnu.am: Do it.
2065 (site.exp): Use `if'.
2067 2001-05-08 Akim Demaille <akim@epita.fr>
2069 * automake.in: Formatting changes.
2070 (variable_dump, variables_dump): Rename as...
2071 (macro_dump, macros_dump): these.
2073 2001-05-08 Akim Demaille <akim@epita.fr>
2075 Support `if !COND', `else COND', `end COND'.
2077 * automake.texi (Conditionals): Document it.
2078 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2079 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2080 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2081 a leading `!' before the condition.
2082 (&handle_options): Use `\d'.
2083 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2084 (&read_am_file, &file_contents_internal): Use them.
2085 (&transform): No longer substitute `%!COND%', forcing the use of
2087 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2089 2001-05-08 Akim Demaille <akim@epita.fr>
2091 Uniform handling of per-object compilation rules.
2092 Note: Automake is repaired.
2094 * automake.in (&handle_languages): Output per object rules for all
2095 the objects, not only for those which language supports dependency
2097 Fix Automake: when outputting per-object rules, use `-o' if the
2098 language has no `output_flag', as it's really needed.
2099 (&handle_single_transform_list): Instead of special casing files
2100 which need per object rules but which language don't support
2101 dependency tracking, keep them in the queue for processing by
2102 `&handle_languages'.
2104 2001-05-08 Akim Demaille <akim@epita.fr>
2106 * automake.in (&handle_languages): `ext-compile.am' and
2107 `depend2.am' are now equivalent for generic rules: output only the
2109 * ext-compile.am: Remove.
2111 2001-05-08 Akim Demaille <akim@epita.fr>
2113 Note: This patch breaks Automake. Repaired within two patches.
2115 * automake.in (Language): Replace the attribute `output_arg' with
2116 `compile_flag' and `output_flag'.
2117 (Automake): Adjust language registrations.
2118 (&handle_languages): Transform `-c' and `-o' for both suffix and
2119 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2121 (&handle_single_transform_list): Adjust to `compile_flag' and
2123 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2125 2001-05-08 Akim Demaille <akim@epita.fr>
2127 * automake.in (&handle_languages): Don't transform %COMPILER%.
2128 Use `$lang->compiler' instead of `$pfx' to transform generic
2129 %COMPILE% and %LTCOMPILE%.
2130 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2131 of %COMPILER% and $<.
2133 2001-05-07 Akim Demaille <akim@epita.fr>
2135 * automake.in (&handle_languages): Use the same `%transform' for
2136 both `depend2.am' and `ext-compile.am'.
2137 Delay the definition of `$flag' so it is right before the first use,
2138 and rename as `$flags'.
2140 2001-05-07 Akim Demaille <akim@epita.fr>
2142 * automake.in (&handle_languages): Compute `$ltoutarg' and
2143 `$outarg' independently of dependency code.
2144 There is no use looping on a language's possible extensions since
2145 we loop over used extensions.
2146 Therefore, there is no use for a local `%transform'.
2148 2001-05-07 Akim Demaille <akim@epita.fr>
2150 * automake.in (&handle_languages): Don't use $comp.
2152 2001-05-07 Akim Demaille <akim@epita.fr>
2154 * automake.in (&handle_languages): Merge the two loops over
2155 %extension_seen/%languages into one and group code to be run once
2156 per language together.
2158 2001-05-07 Akim Demaille <akim@epita.fr>
2160 * automake.in (&handle_languages): Move the `if
2161 ($use_dependencies)' block so that loops over extensions and
2162 languages are next to each other.
2164 2001-05-07 Akim Demaille <akim@epita.fr>
2166 * automake.in (&depend2): Remove, merged into...
2167 (&handle_languages): here.
2169 2001-05-07 Akim Demaille <akim@epita.fr>
2171 * automake.in (&finish_languages): Rename as...
2172 (&handle_languages): this.
2173 Include the body of...
2174 (&handle_dependency): this.
2177 2001-05-06 Tom Tromey <tromey@redhat.com>
2180 * tests/Makefile.am (TESTS): Add subdir5.test.
2181 (XFAIL_TESTS): Likewise.
2182 * tests/subdir5.test: New file.
2184 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2185 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2187 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2189 (handle_options): Handle fork identifier in version number.
2191 * automake.texi (Dist): Document distcheck-hook.
2193 * tests/confh4.test: Update to reflect DEFS change.
2194 For PR automake/132.
2196 Fix for PR automake/132:
2197 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2199 (java): Remove INCLUDES and DEFS from compilation.
2200 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2201 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2202 (DEFAULT_INCLUDES): New macro.
2204 * automake.in (usage): Re-align explanatory text.
2205 Fixes PR automake/148.
2207 * automake.texi (Uniform): Don't use @PROGRAMS@.
2208 Fixes PR automake/154.
2210 For PR automake/160:
2211 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2212 (XFAIL_TESTS): Add subobj6.test.
2213 * tests/subobj6.test: New file.
2215 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2216 (Top level): Don't mention `flat'.
2217 (Extending): Likewise.
2218 (User Variables): New node.
2220 * distdir.am (distdir): Make subdirectory for each file.
2221 Fixes test subobj5.test.
2223 * tests/Makefile.am (TESTS): Add new file.
2224 (XFAIL_TESTS): Likewise.
2225 * tests/texinfo10.test: New file.
2227 2001-05-05 Pavel Roskin <proski@gnu.org>
2229 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2230 in the same way as @defcodeindex and @syncodeindex respectively.
2232 2001-05-05 Tom Tromey <tromey@redhat.com>
2234 * mans.am (install-man%SECTION%): Minor cleanup.
2235 (uninstall-man%SECTION%): Likewise.
2237 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2238 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2240 (uninstall-man%SECTION%): Likewise.
2241 * automake.in (handle_man_pages): Handle dist_ and nodist_
2244 * automake.texi (Future): Removed.
2246 (Hello): Don't mention `deep'.
2247 (Top level): Likewise.
2249 * automake.in (conditional_true_when): Use a hash, not index().
2250 Also, a TRUE component always results in a true return.
2251 Fixes test cond10.test. For PR automake/164.
2252 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2254 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2256 For PR automake/164:
2257 * tests/Makefile.am (TESTS): Added new file.
2258 (XFAIL_TESTS): Likewise.
2259 * tests/cond10.test: New file.
2261 2001-05-05 Tom Tromey <tromey@redhat.com>
2263 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2265 (install-info-am): Likewise.
2267 2001-05-05 Pavel Roskin <proski@gnu.org>
2269 * automake.in (scan_texinfo_file): Don't push undefined values
2272 2001-05-05 Richard Boulton <richard@tartarus.org>
2274 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2277 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2279 * automake.in (required_targets): Added uninstall-am.
2281 2001-05-05 Tom Tromey <tromey@redhat.com>
2283 Fix bug reported by Robert Boehne:
2284 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2286 (handle_dependencies): Likewise.
2287 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2288 substitution. Correct diff now has 30 lines. Look for space
2289 after losing `undef'.
2291 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2293 * m4/sanity.m4: Remove the temp file before possible error exits.
2295 2001-05-04 Akim Demaille <akim@epita.fr>
2297 * configure.in: Set perllibdir.
2300 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2302 * automake.in ($pkgdata_dir): New.
2303 (&require_file_internal): Use it.
2305 2001-05-03 Akim Demaille <akim@epita.fr>
2307 Case insensitive FS choke on Automake/ vs automake.
2308 Reported by Tim Van Holder.
2310 * Automake/: Move into...
2311 * lib/: this new directory.
2313 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2315 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2318 2001-04-30 Jim Meyering <meyering@lucent.com>
2320 * automake.in: Remove `/lib' from include directory.
2322 2001-04-27 Akim Demaille <akim@epita.fr>
2324 AM_INIT_AUTOMAKE is no longer optional.
2326 * automake.in ($seen_make_set, $seen_prog_install)
2327 ($seen_arg_prog): Remove.
2328 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2329 Remove related code.
2331 2001-04-27 Akim Demaille <akim@epita.fr>
2333 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2335 * tests/specflags3.test: here.
2337 2001-04-27 Akim Demaille <akim@epita.fr>
2339 * automake.in ($seen_path_xtra): Remove.
2340 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2341 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2343 2001-04-27 Akim Demaille <akim@epita.fr>
2345 * automake.in (&file_contents_internal): Declare it.
2347 2001-04-27 Akim Demaille <akim@epita.fr>
2349 * automake.in (&read_am_file, &file_contents_internal): Don't
2350 define macros when `FALSE', to avoid errors on doubly defined
2351 variables but under condition `FALSE'. In order to allow...
2352 (&am_install_var): When reading the associated file for the first
2353 time, enable `%?FIRST%'.
2354 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2355 * libs.am: Do it when `%?FIRST%'.
2357 2001-04-27 Akim Demaille <akim@epita.fr>
2359 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2360 * ansi2knr.am: Do it.
2361 Prefer `if %?FOO%' to `if %!FOO%'.
2363 2001-04-27 Akim Demaille <akim@epita.fr>
2365 * automake.in (®ister_language, &finish_languages): Use `pure'
2367 (®ister_language): Use %done properly with objects, not names.
2368 (&finish_languages): Replace `$non_c' with `$needs_c'.
2370 2001-04-27 Akim Demaille <akim@epita.fr>
2372 Unify LISP, PYTHON and JAVA primaries.
2374 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
2375 return if there are no files, hook elisp-comp on the Autoconf
2376 macro, rely on lisp.am to define variables.
2377 (&handle_python, &handle_java): Likewise.
2378 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
2379 `PYTHON' must be handled here, not in `&handle_python'.
2380 * java.am: Define needed variables and rules.
2382 2001-04-27 Akim Demaille <akim@epita.fr>
2384 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
2386 * header.am: Include data.am.
2388 2001-04-27 Akim Demaille <akim@epita.fr>
2390 * automake.in (&am_install_var): Transform `PRIMARY'.
2391 * data.am: Equip with %PRIMARY%.
2393 2001-04-27 Akim Demaille <akim@epita.fr>
2395 * automake.in (@conditional_stack): Rename as...
2396 (@cond_stack): this.
2397 (&file_contents_internal): Support inclusion of files.
2399 2001-04-27 Akim Demaille <akim@epita.fr>
2401 * automake.in (&lang_extensions): Remove.
2402 (&add_depend2, &saw_sources_p): Adjust.
2403 * depend2.am: `%EXT%' no longer includes the dot.
2405 2001-04-27 Akim Demaille <akim@epita.fr>
2407 * automake.in (&finish_languages, &handle_single_transform_list)
2408 (&add_depend2, &handle_dependencies): No longer use the language
2409 name in `$lang'. Rename `$lang_obj' as `$lang'.
2411 2001-04-27 Akim Demaille <akim@epita.fr>
2413 * automake.in (®ister_language): Use `new Language' with a hash.
2415 2001-04-27 Akim Demaille <akim@epita.fr>
2417 * automake.in (®ister_language): Rename `output-arg' and
2418 `derived-autodep' as `output_arg' and `derived_autodep' to match
2419 the Language attribute.
2420 Set the defaults in %option instead of $lang.
2422 2001-04-27 Akim Demaille <akim@epita.fr>
2424 * Automake/: New directory.
2425 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
2426 * automake.in (Language): Use Automake::Struct.
2427 * tests/defs: Adjust to find Struct.
2429 2001-04-23 Pavel Roskin <proski@gnu.org>
2431 * automake.in: Add forward declaration for register_language().
2432 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
2435 2001-04-20 Akim Demaille <akim@epita.fr>
2437 * automake.in (%required_targets): Add `uninstall'.
2438 From Robert Collins.
2440 2001-04-12 Akim Demaille <akim@epita.fr>
2442 * automake.in (Language): Add attribute `name'.
2443 (®ister_language): The name of the language is now given in the
2445 No longer use `$lang' as the name of the language.
2446 Rename `$lang_obj' as `$lang'.
2448 2001-04-12 Akim Demaille <akim@epita.fr>
2450 * automake.in (Language): Add attribute `_finish'.
2453 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
2454 (&lang_asm_finish): Remove.
2456 2001-04-12 Akim Demaille <akim@epita.fr>
2458 * automake.in (Language): Add attribute `extensions'.
2459 (Automake): Pass a hash to `®ister_language' instead of a
2460 list of pseudo assignments.
2461 (®ister_language): Adjust.
2462 (&finish_languages): Initialize `$ltoutarg'.
2464 2001-04-12 Akim Demaille <akim@epita.fr>
2466 * automake.in (Language): Add attribute `output_arg'.
2467 (%language_map): Remove.
2468 (®ister_language): Build only the object, and store in
2470 (&finish_languages, &handle_single_transform_list): Adjust.
2472 2001-04-12 Akim Demaille <akim@epita.fr>
2474 * automake.in (Language): Add attributes `flags', `compile' and
2476 (&finish_languages, &handle_single_transform_list, &handle_dist)
2477 (&add_depend2, ®ister_language): Use them and the `linker' and
2480 2001-04-12 Akim Demaille <akim@epita.fr>
2482 * automake.in (&handle_single_transform_list, &finish_languages)
2483 (&handle_dist, &handle_dependencies): Use the language object for
2484 autodep and derived-autodep too.
2486 2001-04-12 Akim Demaille <akim@epita.fr>
2488 * automake.in (¯o_define): Ignore Automake definition for
2489 ($var, $cond) if there is already a user definition for ($var, $cond).
2491 2001-04-12 Akim Demaille <akim@epita.fr>
2493 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
2494 but also @deffn and so on which push data in indexes.
2495 Reported by Derek R. Price.
2497 2001-04-12 Akim Demaille <akim@epita.fr>
2499 * automake.in (Language): New package, temporarily in this file.
2501 (Automake): New package.
2503 (&handle_single_transform_list): Use the language object's `ansi'
2504 attribute instead of `$language_map{"$lang-ansi-p"}'.
2505 (®ister_language): Build and register the language too.
2507 2001-04-11 Tom Tromey <tromey@redhat.com>
2509 Fixes report from Larry Jones:
2510 * automake.in (handle_dependencies): Add `@_am_quote@' where
2512 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2514 2001-04-11 Akim Demaille <akim@epita.fr>
2516 * depend2.am: Fix the `if' condition for Libtool.
2517 Reported by Robert Boehne.
2519 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2521 * tests/subobj5.test: New file.
2523 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2525 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2526 * tests/Makefile.am (TESTS): Added make.test.
2527 * tests/make.test: New file.
2529 2001-04-10 Tom Tromey <tromey@redhat.com>
2531 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2533 2001-04-10 Derek R. Price <dprice@collab.net>
2535 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2537 2001-04-10 Akim Demaille <akim@epita.fr>
2539 * distdir.am: Add a missing backslash.
2541 2001-04-10 Akim Demaille <akim@epita.fr>
2543 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2545 Specify to the caller whether $regen_aclocal_m4.
2546 (&handle_configure): Adjust.
2547 Transform `REGEN-ACLOCAL-M4'.
2549 * configure.am: Use it.
2550 * tests/defs (me): New.
2551 * tests/confdeps.test: New.
2553 2001-04-09 Tom Tromey <tromey@redhat.com>
2555 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2556 Fixes report from Jim Meyering.
2558 2001-04-09 Akim Demaille <akim@epita.fr>
2560 * automake.in (&handle_configure): Don't bother with optimizing
2563 2001-04-09 Akim Demaille <akim@epita.fr>
2565 * tests/cond3.test (expected): Adjust.
2567 2001-04-09 Akim Demaille <akim@epita.fr>
2569 * automake.in (&handle_single_transform_list): Remove $xbase,
2571 (&handle_source_transform): All the variables have conditions now,
2573 (&variable_delete): Admit an argument @conds.
2575 2001-04-09 Akim Demaille <akim@epita.fr>
2577 * automake.in ($source_suffix_pattern): Remove, unused.
2578 %extension_map seems to have replaced it.
2580 2001-04-09 Akim Demaille <akim@epita.fr>
2582 * ext-compile.am: New file.
2583 * automake.in (&finish_languages): Output it.
2584 Require a C linker if there are several registered source suffixes.
2585 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2586 extensions, which are discovered in ext-compile.am.
2587 With the help from Robert Boehne.
2589 2001-04-09 Akim Demaille <akim@epita.fr>
2591 * automake.in (&handle_compile): Extract from...
2592 (&get_object_extension): here.
2593 (&read_am_file): Call it.
2594 ($included_generic_compile, $included_knr_compile)
2595 ($included_libtool_compile): Remove.
2596 ($get_object_extension_was_run): New.
2598 2001-04-09 Akim Demaille <akim@epita.fr>
2600 Use AM_CONDITIONAL and if/endif for AMDEP.
2602 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2603 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2604 to a configure time if/endif), or to `FALSE' (static removal of
2606 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2607 * depend2.am: Use if/endif.
2609 Adjust the 101 tests that use dependencies so that they
2610 properly invoke aclocal before automake. They need to `see'
2611 `AM_CONDITIONAL([AMDEP], ...)'.
2613 2001-04-09 Akim Demaille <akim@epita.fr>
2615 * tags.am: Fix missing leading tabs.
2617 2001-04-09 Akim Demaille <akim@epita.fr>
2619 * automake.in: Use simple quotes to define the _PATTERN variables
2620 to unobfuscate the regexps.
2621 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2623 2001-04-09 Akim Demaille <akim@epita.fr>
2625 * automake.in (&rule_define): When you discover a suffix rules,
2626 register the extensions for .SUFFIXES.
2627 (&handle_texinfo): Don't register the suffixes.
2628 (&get_object_extension): Don't register suffixes, let them be
2629 discovered in depend2.am.
2630 (&handle_emacs_lisp): Depend on your lisp.am.
2631 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2633 2001-04-09 Akim Demaille <akim@epita.fr>
2635 * subdirs.am: Don't define info related recursive targets.
2638 2001-04-09 Akim Demaille <akim@epita.fr>
2640 * subdirs.am (RECURSIVE_TARGETS): New variable.
2642 * automake.in (&handle_subdirs): Output it.
2643 (&file_contents_internal): Support value spread on several lines.
2645 2001-04-09 Akim Demaille <akim@epita.fr>
2647 * automake.in (&handle_man_pages): Rely on mans.am to define
2648 man%SECTION%dir and MANS.
2651 2001-04-09 Akim Demaille <akim@epita.fr>
2653 * automake.in (&variable_dump): Use %var_type properly.
2654 (¯o_define): Enforce better overriding rules.
2655 Handle the special case that used to handle...
2656 (&define_pretty_variable): this.
2658 The variables you define are owned by Automake.
2659 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2661 (&variable_defined): Now independent of the owner.
2662 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2664 2001-04-09 Akim Demaille <akim@epita.fr>
2666 * automake.in (%var_was_plus_eq): Rename as...
2668 (%def_type): Remove.
2669 (¯o_define): %var_type may now hold `', `+', or `:'.
2670 (%conditional, %am_vars, %content_lines): Rename as...
2671 (%var_value, %var_comment, %var_line): these.
2673 2001-04-09 Akim Demaille <akim@epita.fr>
2675 * automake.in (&variable_output): Admit a list of @CONDS.
2676 (&variable_pretty_output): New.
2677 (&define_pretty_variable): Use it.
2678 (&read_am_file, &file_contents_internal): Prepend a separator to
2679 $am_vars only if there is none yet.
2680 (&file_contents_internal): Rename $separator as $spacing to
2681 harmonize with &read_am_file.
2683 2001-04-09 Akim Demaille <akim@epita.fr>
2685 * automake.in (&am_install_var): Transform DIST, and let the *.am
2686 files handle DIST_COMMON.
2687 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2690 2001-04-09 Akim Demaille <akim@epita.fr>
2692 * automake.in (%dist_common): Remove.
2693 (%configure_dist_common): Replace with...
2694 ($configure_dist_common): this.
2695 (&generate_makefile): Read the user file before using
2696 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2697 that no variable is defined before it is run.
2698 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2699 (&dist_cmp): Rename as...
2700 (&for_dist_common): this.
2701 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2703 Adjust to $configure_dist_common.
2704 * configure.am, texi-vers.am: Set DIST_COMMON.
2706 2001-04-09 Akim Demaille <akim@epita.fr>
2708 * automake.in (&handle_aclocal_m4): Rename as...
2709 (&scan_aclocal_m4): this.
2710 Return the list of aclocal.m4 dependencies.
2711 (&handle_configure): Invoke it, and use it when loading...
2712 * configure.am: Template the rules to recreate aclocal.m4.
2714 2001-04-09 Akim Demaille <akim@epita.fr>
2716 * automake.in (&get_object_extension): Use ansi2knr.am.
2717 * clean-kr.am, kr-extra.am: Remove, merged into...
2718 * ansi2knr.am: this new file.
2720 2001-04-09 Akim Demaille <akim@epita.fr>
2722 * automake.in (&transform): Fix an incredible bug which was
2723 breaking the if/endif system.
2724 ($ELSE_PATTERN): Admit an optional argument.
2726 2001-04-09 Akim Demaille <akim@epita.fr>
2728 * comp-vars.am: Remove, merged into...
2730 * automake.in (&get_object_extension): Adjust.
2732 2001-04-09 Akim Demaille <akim@epita.fr>
2734 * remake.am: Merge into...
2735 * configure.am: ... here.
2736 * automake.in (&handle_configure): Adjust.
2738 2001-04-09 Akim Demaille <akim@epita.fr>
2740 * automake.in (&output_lex_build_rule): Output this...
2743 2001-04-09 Akim Demaille <akim@epita.fr>
2745 * automake.in (&condition_negate): New.
2746 (&variable_conditions_permutations): Use it.
2747 (&read_am_file, &file_contents): Use it on `else' clauses to
2749 (&output_yacc_build_rule): Output this...
2750 * yacc.am: New file.
2752 2001-04-09 Akim Demaille <akim@epita.fr>
2754 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2755 (&handle_dist): Don't.
2756 (&handle_clean): Don't handle config.status here, let...
2757 * clean.am: ... do it.
2758 * distdir.am: Adjust.
2760 2001-04-09 Akim Demaille <akim@epita.fr>
2762 * automake.in: Use strict vars and subs.
2763 Declare `%require_file_found'.
2764 (&handle_source_transform, &make_paragraphs): Declare my variables.
2766 2001-04-09 Akim Demaille <akim@epita.fr>
2768 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2769 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2770 * java.am (_am_installdirs): Be sure to set it.
2772 2001-04-09 Akim Demaille <akim@epita.fr>
2774 * automake.in (&make_condition): Return '#' when FALSE.
2775 (&conditional_string): Return FALSE, not '#' in the corresponding
2777 (&file_contents_internal): Adjust.
2778 (&check_variable_defined_unconditional): Dump the guilty variable.
2780 2001-04-09 Akim Demaille <akim@epita.fr>
2782 * distdir.am: Use and abuse of if/endif.
2783 * scripts.am: Using if/endif with variables is fine.
2785 2001-04-09 Akim Demaille <akim@epita.fr>
2787 * automake.in (&make_paragraphs): Extract from &file_contents.
2788 Make it more robust than the previous RE based scheme.
2789 (&file_contents): Use it.
2791 2001-04-09 Akim Demaille <akim@epita.fr>
2793 * automake.in (&make_paragraphs): Extract from &file_contents.
2794 Make it more robust than the previous RE based scheme.
2795 (&file_contents): Use it.
2797 2001-04-09 Akim Demaille <akim@epita.fr>
2799 * tests/yacc2.test: Don't define several times a variable, as
2802 2001-04-09 Akim Demaille <akim@epita.fr>
2804 * automake.in (&handle_source_transform): Fix pr72: don't define
2805 $linker if there are no @files.
2807 2001-04-09 Akim Demaille <akim@epita.fr>
2809 Avoid reading twice header-vars.am as now macro_define
2812 * automake.in (&define_standard_variables): Don't output the
2814 (&read_main_am_file): Output first user variables, then Automake
2816 Don't call twice &define_standard_variables.
2817 Save variable comments in $am_vars.
2818 (&variable_output): New.
2819 (&file_contents_internal): New.
2820 Save variable comments in $am_vars.
2821 (&file_contents): Use it.
2823 2001-04-09 Akim Demaille <akim@epita.fr>
2825 * automake.in (¯o_define): The user is allowed to override
2826 a value if it was set by Automake, or if it was found in AC_SUBST.
2828 2001-04-09 Akim Demaille <akim@epita.fr>
2830 * automake.in (&handle_source_transform): Better locality of the
2832 Use `next' to skip nonexistent variables.
2834 2001-04-09 Akim Demaille <akim@epita.fr>
2836 * automake.in (&variable_dump): If a variable is undefined, say
2838 (&check_ambiguous_conditional): Give finer error messages.
2839 (¯o_define): Check that a `+=' variable is not set with `='.
2840 Check for ambiguous definitions each time you _set_ (even with `+=')
2842 (&read_main_am_file): Perform a deep copy of %conditional.
2844 2001-04-09 Akim Demaille <akim@epita.fr>
2846 * automake.in (&variable_defined): Some callers, e.g.,
2847 &am_primary_prefixes, really want to know if the variable is
2848 defined for any condition, not `TRUE' by default.
2849 (&am_primary_prefixes): Give a more precise error message.
2851 2001-04-09 Akim Demaille <akim@epita.fr>
2853 (&variable_conditions): Don't include `FALSE' in the result.
2855 2001-04-09 Akim Demaille <akim@epita.fr>
2857 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2858 (&variable_conditions): Don't include `FALSE' in the result.
2860 2001-04-09 Akim Demaille <akim@epita.fr>
2862 * tests/defs, tests/depend3.test: Remove useless code.
2864 2001-04-09 Akim Demaille <akim@epita.fr>
2866 * automake.in (&handle_source_transform): Use
2867 &variable_conditions, don't read $conditional{$var}.
2868 (&variable_conditions_sub): When the call is the top level call,
2869 generate all the permutations of the conditions.
2871 2001-04-09 Akim Demaille <akim@epita.fr>
2873 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2874 that it does not get noticed twice by automake, which now
2875 complains for multiple definitions.
2876 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2877 because we defined INSTALL.
2879 2001-04-09 Akim Demaille <akim@epita.fr>
2881 * automake.in (&generate_makefile) Use macro_define to define
2882 SOURCES and OBJECTS.
2883 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2884 this would make perl create $condition{VAR}, which we don't want.
2886 2001-04-09 Akim Demaille <akim@epita.fr>
2888 * automake.in (&variable_defined, &define_pretty_variable):
2889 Simplify code which used to handle the cases where not all
2890 variables were in %conditional.
2891 (&define_variable): Use &define_pretty_variable.
2892 (&variable_conditions_sub, &variable_value_as_list_worker)
2893 (&variable_value_as_list, &rule_define): Simplify syntax.
2894 (&read_main_am_file): Dump the guilty predefined variables.
2896 2001-04-09 Akim Demaille <akim@epita.fr>
2898 * automake.in (&variable_conditions_sub)
2899 (&variable_value_as_list_worker): Remove dead code which used to
2900 handle the cases where not all variables were in %conditional.
2902 2001-04-09 Akim Demaille <akim@epita.fr>
2904 * automake.in (&handle_source_transform, &read_main_am_file):
2905 Simplify loops which were split in two parts, conditional vs
2906 unconditional variables.
2908 2001-04-09 Akim Demaille <akim@epita.fr>
2910 Handle unconditional values of variables as conditioned by
2913 * automake.in (%contents): Remove.
2914 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2915 (&read_am_file, &variable_defined, &variable_conditions_sub)
2916 (&variable_value, &variable_value_as_list_worker)
2917 (&variable_value_as_list, &define_pretty_variable)
2918 (&read_main_am_file): Use
2919 $conditional, not %contents.
2920 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2921 (&variable_conditionally_defined): New.
2922 (&handle_dist): Use it.
2923 (&check_ambiguous_conditional): When multiply defined, specify
2924 under which condition.
2925 (¯o_define): Use it.
2926 (&variable_delete): New.
2927 (&read_am_file): Use it.
2928 (&am_install_var): Simplify, as all the variables are in
2931 2001-04-07 Tom Tromey <tromey@redhat.com>
2933 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2935 * tests/man.test: New file.
2937 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2939 * depcomp (gcc3): Invert test condition.
2941 2001-04-07 Tom Tromey <tromey@redhat.com>
2943 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2944 statement. Report from Larry Jones.
2946 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2948 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2950 2001-04-01 Tom Tromey <tromey@redhat.com>
2952 * java.am (.PHONY clean-am): Removed trailing ":".
2953 From Per Bothner. Fixes PR automake/139.
2955 2001-03-28 Akim Demaille <akim@epita.fr>
2957 * program.am: Fix a stupid typo: now *all* (not none) the programs
2959 Reported by Robert Boehne.
2961 2001-03-23 Akim Demaille <akim@epita.fr>
2963 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2966 2001-03-23 Akim Demaille <akim@epita.fr>
2968 * automake.in (&variable_conditionally_defined): Rename as...
2969 (&check_variable_unconditionally_defined): this.
2970 (&variable_dump): Fix the output.
2971 (&variable_defined, ¯o_define): Since conditions are
2972 canonicalized, don't use a loop to look for a condition: read the
2974 (¯o_define, &rule_define, &read_am_file, &file_contents):
2975 Rename $cond_string as $cond.
2976 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2977 discovered via AC_SUBST, they now trigger a `defined twice' error.
2979 2001-03-23 Akim Demaille <akim@epita.fr>
2981 * automake.in (&handle_footer, &handle_installdirs)
2982 (&read_main_am_file): Don't read %contents directly, use
2985 2001-03-23 Akim Demaille <akim@epita.fr>
2987 * automake.in (&read_am_file): Define the variables in a single
2989 Factor the $saw_bk code.
2991 2001-03-23 Akim Demaille <akim@epita.fr>
2993 * automake.in (&read_am_file): Keep $cond_string up to date.
2995 2001-03-23 Akim Demaille <akim@epita.fr>
2997 * automake.in (&define_variable): Use ¯o_define.
2999 2001-03-23 Akim Demaille <akim@epita.fr>
3001 * automake.in (¯o_define): Don't lose the location if we
3002 redefine a variable.
3003 Don't push all the variables in @var_list, let...
3004 (&read_am_file, &file_contents): ... do it.
3005 (&define_pretty_variable): Use macro_define.
3006 (&am_install_var): Delete the value of variables being redefined
3007 to pacify ¯o_define which checks that variables are not
3010 2001-03-23 Akim Demaille <akim@epita.fr>
3012 * automake.in (&conditional_dump): Rename as...
3013 (&variables_dump): this. Use...
3014 (&variable_dump): this new sub.
3016 2001-03-23 Akim Demaille <akim@epita.fr>
3018 * automake.in (&file_contents): Maintain $cond_string sync with
3020 Output rules only if not under `FALSE'.
3021 Define variables under $cond_string.
3022 * scripts.am: For the time being if/endif does not work properly
3025 2001-03-23 Akim Demaille <akim@epita.fr>
3027 * automake.in (IF_PATTERN): Unobfuscate the parens.
3028 (ENDIF_PATTERN): Allow a condition to be specified.
3029 (&file_contents): Use a @cond_stack.
3030 (&transform): At least for an easy transition, also transform
3031 %?FOO% and %!FOO%, as suggested by Lars.
3032 * scripts.am: First test bed for static if/endif use.
3034 2001-03-23 Akim Demaille <akim@epita.fr>
3036 * automake.in (&file_contents): Use rule_define.
3038 2001-03-23 Akim Demaille <akim@epita.fr>
3040 * automake.in (¯o_define): Don't rely on $1.
3041 Initialize the variable.
3042 Set its Automakism only if not defined or if given to the user.
3043 When concatenating values, insert a separator only if the value
3045 (&read_am_file): When dumping the @var_list, skip Automake
3047 (&file_contents): Use macro_define.
3049 2001-03-23 Akim Demaille <akim@epita.fr>
3051 * automake.in (&rule_define): Extract from...
3052 (&read_am_file): here.
3054 2001-03-23 Akim Demaille <akim@epita.fr>
3056 * automake.in (¯o_define, &read_am_file): More work for the
3057 former from the latter. Reorganize the latter.
3059 2001-03-23 Akim Demaille <akim@epita.fr>
3061 * automake.in (¯o_define): Extract from...
3062 (&read_am_file): here.
3064 2001-03-23 Akim Demaille <akim@epita.fr>
3066 * automake.in (%am_var_defs): Replace with...
3068 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3069 (&file_contents, am_primary_&prefixes): Adjust.
3070 (&variable_defined, &define_variable): The actual semantics is
3072 (&read_main_am_file): Assert the var is user defined when
3073 outputting @var_list.
3075 2001-03-23 Akim Demaille <akim@epita.fr>
3077 * automake.in (read_am_file): TRUE and FALSE are predefined
3079 (&by_condition): Adjust.
3080 (&conditional_string): Recognize `TRUE' and `FALSE'.
3081 (&make_condition): Use it.
3082 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3083 * automake.texi (Conditionals): Adjust.
3084 * tests/cond9.test: s/FALSE/WRONG/.
3086 2001-03-12 Pavel Roskin <proski@gnu.org>
3088 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3091 2001-03-12 Akim Demaille <akim@epita.fr>
3093 * automake.in (&variable_conditions_permutations): Separate the
3095 * tests/cond3.test: Improve the sed expression.
3097 2001-03-09 Pavel Roskin <proski@gnu.org>
3099 * Makefile.am (maintainer-check): Scan all *.am files and tests
3100 for invocations of `rm' without `-f'.
3101 * tests/mclean.test: Adjusted to prevent triggering the above
3104 2001-03-09 Tom Tromey <tromey@redhat.com>
3106 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3107 maintainer-check failure.
3109 2001-03-09 Akim Demaille <akim@epita.fr>
3111 * tests/cond3.test: Strengthen.
3113 2001-03-09 Akim Demaille <akim@epita.fr>
3115 * automake.in (&conditional_string): Produce a unique string
3116 characterizing a condition stack.
3117 (&conditional_same): Remove, comparing two strings is now enough.
3118 (&variable_defined): Adjust.
3119 (&read_am_file): Use conditional_string.
3121 2001-03-08 Akim Demaille <akim@epita.fr>
3123 * automake.in: Use -w.
3124 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3125 (&parse_arguments): Support --Werror and --Wno-error as a
3126 temporary hack until --warning/-W is properly implemented.
3127 (&handle_single_transform_list): Prototype.
3128 Be sure to define $directory.
3129 Use `exists' instead of testing the value of a maybe undefined
3131 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3132 (&handle_factored_dependencies): Use defined values.
3133 (&scan_one_autoconf_file): Save $_.
3134 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3135 Run automake with --Wno-error.
3137 2001-03-07 Akim Demaille <akim@epita.fr>
3139 * automake.in (&handle_all): Use an array instead of a scalar for
3141 Get rid of all-redirect: let `all' be that target.
3143 2001-03-07 Akim Demaille <akim@epita.fr>
3145 * automake.in (&handle_merge_targets): Ventilate its non `all'
3146 related content into...
3147 (&generate_makefile): here.
3148 (&handle_merge_targets): Rename as...
3149 (&handle_all): this.
3150 Remove a useless `if': `@all' is obviously not empty, since it
3151 contains at least the `basename ($makefile)' which has just been
3154 2001-03-07 Akim Demaille <akim@epita.fr>
3156 * automake.in, aclocal.in: Backquote is inert in double quotes.
3158 2001-03-06 Akim Demaille <akim@epita.fr>
3160 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3163 2001-03-06 Pavel Roskin <proski@gnu.org>
3165 * java.am: Use `rm -f' instead of `rm'.
3167 2001-03-06 Akim Demaille <akim@epita.fr>
3169 * automake.in (&push_dist_common): Simplify.
3171 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3173 * ltlib.am: Replaced spaces with tab.
3175 2001-03-06 Pavel Roskin <proski@gnu.org>
3177 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3180 2001-03-05 Pavel Roskin <proski@gnu.org>
3182 * header.am, scripts.am: Use ?INSTALL? in the install and
3185 2001-03-05 Pavel Roskin <proski@gnu.org>
3187 * tests/copy.test: Never use `rm' without `-f' - it may ask
3188 questions, notably for read-only files during `make distcheck'.
3189 * tests/insh.test: Likewise.
3190 * tests/installsh.test: Likewise.
3191 * tests/symlink.test: Likewise.
3192 * tests/symlink2.test: Likewise.
3193 * tests/symlink3.test: Likewise.
3195 2001-03-05 Pavel Roskin <proski@gnu.org>
3197 * noinstdir.test: New test.
3198 * tests/Makefile.am (TESTS): Add noinstdir.test.
3199 (XFAIL_TESTS): Likewise.
3201 2001-03-05 Akim Demaille <akim@epita.fr>
3203 * automake.in (&handle_options): Change the RE so that the third
3204 part of the versions always exist.
3205 (&file_contents): Don't pass uninitialized values to &transform.
3207 2001-03-05 Akim Demaille <akim@epita.fr>
3209 * automake.in (&file_contents): Require a hash as second argument.
3212 2001-03-05 Akim Demaille <akim@epita.fr>
3214 Always use hashes with &file_contents.
3216 * automake.in (&handle_texinfo): texibuild.am does not need
3218 texinfos.am wants only TEXICLEANS.
3219 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3221 * texinfos.am: Adjust.
3223 2001-03-05 Akim Demaille <akim@epita.fr>
3225 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3226 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3227 (&am_install_var): Forget about `-clean'.
3228 Transform ?INSTALL?.
3229 Always output the *.am file.
3230 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3231 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3232 Remove, merged into the corresponding *.am file.
3233 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3236 2001-03-05 Pavel Roskin <proski@gnu.org>
3238 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3240 2001-03-05 Akim Demaille <akim@epita.fr>
3242 If OBJEXT and EXEEXT are not set, provide a default value, and use
3243 them unconditionally.
3245 * automake.in (&generate_makefile): Provide default values for
3247 (&get_object_extension, &finish_languages)
3248 (&handle_single_transform_list, &handle_programs, &add_depend2)
3249 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3250 them, they are defined.
3251 * compile.am, depend2.am, program.am, progs.am: Likewise.
3252 * remake-hdr.am: Fix a typo.
3253 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3254 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3255 * tests/suffix2.test: Adjust.
3257 2001-03-05 Akim Demaille <akim@epita.fr>
3259 * automake.in (&file_contents): Map MAINTAINER-MODE to
3260 @MAINTAINER_MODE_TRUE@ or nothing.
3261 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3264 2001-03-05 Akim Demaille <akim@epita.fr>
3266 * automake.in (&do_one_merge_target): Remove, was only called from...
3267 (&handle_merge_targets): here for `all'.
3270 2001-03-05 Akim Demaille <akim@epita.fr>
3272 Make the installation/uninstallation of Info pages follow the
3273 regular am/recursive scheme.
3275 * automake.in (%required_targets, %dependencies): Add
3277 (%dependencies): Add install-info, install-info-am, and
3279 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3280 reversed BTW. Does anybody use the option `no-installinfo'?
3281 (&handle_merge_targets): Let the handling of info related targets
3283 (&handle_factored_dependencies): this.
3284 * subdirs.am: Use ?INSTALL-INFO?.
3285 * texinfos.am: Define the install-info, uninstall-info and
3286 uninstall-info-am targets.
3288 2001-03-05 Akim Demaille <akim@epita.fr>
3290 * automake.in (%required_targets, %dependencies): Add dvi, info,
3292 (@info, @dvi): Remove.
3293 (&handle_texinfo, &handle_merge_targets): Adjust.
3294 (&handle_factored_dependencies): Required targets are phony.
3295 * texinfos.am: Build info, dvi, and the corresponding -am or
3298 2001-03-05 Akim Demaille <akim@epita.fr>
3300 * automake.in (&am_install_var): Remove $cygxform, unused.
3302 2001-03-05 Akim Demaille <akim@epita.fr>
3304 * automake.in (&file_contents): Transform LIBTOOL.
3305 (&am_install_var): Remove $ltxform.
3306 * ltlib.am, progs.am: Adjust.
3308 2001-03-05 Akim Demaille <akim@epita.fr>
3310 * automake.in: Require AC_PROG_INSTALL in...
3311 (&scan_autoconf_files): here.
3313 2001-03-05 Akim Demaille <akim@epita.fr>
3315 * configure.am: New file.
3316 * automake.in (&file_contents): Transform CONFIGURE-AC.
3317 (&handle_texinfo, &handle_configure): Don't transform
3319 (&handle_configure): Use `configure.am'.
3320 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3321 MAINTAINER-MODE and CONFIGURE-AC.
3323 2001-03-05 Akim Demaille <akim@epita.fr>
3325 * automake.in (&pretty_print_internal): Don't output useless
3327 (define_pretty_variable): Don't issue the space after the `=' sign
3328 to avoid trailing spaces in Makefile.ins.
3330 2001-03-05 Akim Demaille <akim@epita.fr>
3332 * automake.in (&generate_makefile): Invoke &initialize_per_input
3333 *before* setting $am_file_name and $in_file_name.
3335 2001-03-05 Akim Demaille <akim@epita.fr>
3337 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3338 Globals, initialized...
3339 (&initialize_per_input): here.
3341 2001-03-05 Akim Demaille <akim@epita.fr>
3343 * automake.in ($am_relative_dir): Global.
3344 (&initialize_per_input): Init it.
3345 (%make_list, @make_input_list): My them from
3346 (&scan_autoconf_files): here.
3347 (&require_file_internal): Mying changes.
3349 2001-03-05 Akim Demaille <akim@epita.fr>
3351 * automake.in (%am_vars, @var_list, %def_type): Globals.
3352 (&initialize_per_input): Initialize them.
3353 (&read_main_am_file): Don't local them.
3354 (&get_object_extension): $objext is private.
3355 (&handle_single_transform_list): $lang is.
3356 (&handle_ltlibraries): $libname_rx is.
3357 (&scan_autoconf_config_files): How about actually paying attention
3358 to your arguments, instead of working on $_? (this is no Perl
3359 variable, it's a Perl variable followed by a question mark).
3360 (&file_contents): $contents and $separator are private.
3361 (&am_install_var): Declare @condvals, not $condvals.
3364 2001-03-05 Akim Demaille <akim@epita.fr>
3366 * automake.in (&initialize_per_input): Move to the top.
3367 Precede with the `my' list of its variables.
3369 2001-03-05 Akim Demaille <akim@epita.fr>
3371 * automake.in ($am_file): Use vars.
3372 ($am_file_name, $in_file_name): Private to &generate_makefile.
3374 2001-03-05 Akim Demaille <akim@epita.fr>
3376 * automake.in: Preparation for `use strict': Move the
3377 initialization of the constants to the top, from...
3378 (&initialize_global_constants): here.
3380 2001-03-05 Akim Demaille <akim@epita.fr>
3382 * automake.in (&handle_single_transform_list, &add_depend2): Let
3383 $lang_specific_files{$lang} be a list instead of a string.
3385 2001-03-05 Akim Demaille <akim@epita.fr>
3387 Let's make it run ten times faster...
3389 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
3391 (&file_contents): Let `$command' remove the Automake commands, and
3392 normalize the series of `\n'.
3393 Slurp the file and apply $command in a single step.
3394 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
3395 is already normalized to be handled by &transform.
3397 2001-03-05 Tom Tromey <tromey@redhat.com>
3399 * automake.in (register_language): Add entry for `-pure'.
3400 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
3401 (finish_languages): Use `-pure' field of language map.
3403 2001-03-03 Tom Tromey <tromey@redhat.com>
3405 * tests/yaccvpath.test: No need to remove dummy files.
3406 * tests/subobj3.test: No need to remove dummy files.
3407 * tests/pr9.test: No need to remove dummy files.
3408 * tests/pr87.test: No need to remove dummy files.
3409 * tests/pr19.test: No need to remove dummy files.
3410 * tests/install2.test: No need to remove dummy files.
3411 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
3414 2001-02-27 Pavel Roskin <proski@gnu.org>
3416 * tests/yaccvpath.test: Add a delay to make parse.c really out
3417 of date. Detect the problem earlier, after `make distdir'. Drop
3418 dependency on flex. Always use the `-y' flag for bison. Comment
3420 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
3422 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3424 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
3426 2001-02-28 Akim Demaille <akim@epita.fr>
3428 * automake.in (&add_depend2): Transform `GENERIC'.
3429 Get rid of the ad hoc transformation of `@EXT@.o:' which in
3430 addition was broken by the `@ -> %' patch.
3431 * depend2.am: Adjust to use ?GENERIC?.
3433 2001-02-28 Akim Demaille <akim@epita.fr>
3435 * Makefile.am (maintainer-check): `undef $/' is OK.
3437 2001-02-28 Akim Demaille <akim@epita.fr>
3439 * automake.in (&handle_configure): Fortunately, $top_reldir,
3440 the definition of which was highly suspicious, was unused.
3442 2001-02-27 Akim Demaille <akim@epita.fr>
3444 * automake.in (%exec_dir_p): Move to the top so that it is visible
3447 2001-02-27 Pavel Roskin <proski@gnu.org>
3449 * tests/yaccvpath.test: Prevent automake from looking into ..
3450 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
3452 2001-02-27 Akim Demaille <akim@epita.fr>
3454 * automake.in (%exec_dir_p): Pulled out from...
3455 (&am_primary_prefixes): here.
3457 2001-02-27 Akim Demaille <akim@epita.fr>
3459 * automake.in (&usage): Display $0, not $me.
3461 2001-02-27 Akim Demaille <akim@epita.fr>
3463 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
3464 * automake.in (&handle_clean): Don't escape what's given to
3467 2001-02-27 Akim Demaille <akim@epita.fr>
3469 Distinguish automake substitutions from config.status
3472 * automake.in (&add_depend2): Transform AMDEP.
3473 (&handle_clean): Transform MCFILES and MFILES.
3474 (&file_contents): Transform MAINTAINER_MODE.
3475 (&transform, &am_install_var): Use `%', not `@'.
3476 Adjust all the *.am files.
3477 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
3478 * depend2.am: Display the double dependency on both ?AMDEP? and
3481 2001-02-27 Tom Tromey <tromey@redhat.com>
3483 * distdir.am (distcheck): Fixed new code.
3485 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
3486 Only configure once.
3488 * distdir.am (distcheck): Print error message if distclean failed
3491 2001-02-27 Pavel Roskin <proski@gnu.org>
3493 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
3495 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3497 * tests/Makefile.am (TESTS): Added yaccvpath.test.
3498 * tests/yaccvpath.test: New file.
3500 2001-02-26 Akim Demaille <akim@epita.fr>
3502 * automake.in (&am_install_var): Recognize whether predefined
3503 directories are `data' or `exec'.
3504 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
3506 * tests/instdata2.test: Update.
3508 2001-02-26 Akim Demaille <akim@epita.fr>
3510 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
3511 necessarily in infodir.
3513 2001-02-26 Akim Demaille <akim@epita.fr>
3515 * automake.in ($am_file): Be `local', as my'd variables used in
3516 `foreach' loops are always private to the loop.
3518 2001-02-26 Pavel Roskin <proski@gnu.org>
3520 * Makefile.am: Add install.am.
3522 2001-02-26 Akim Demaille <akim@epita.fr>
3524 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3525 routines, otherwise the elements to compare are passed in @_
3526 instead of $a and $b.
3528 2001-02-26 Akim Demaille <akim@epita.fr>
3530 * automake.in (%required_targets): `installcheck-am' is needed.
3532 2001-02-26 Akim Demaille <akim@epita.fr>
3534 * automake.in (&transform_cond): Merge into...
3538 2001-02-26 Akim Demaille <akim@epita.fr>
3540 * automake.in (&handle_dist): Use &transform instead of dedicated
3542 But be sure to always do it.
3543 * distdir.am: Adjust.
3545 2001-02-26 Akim Demaille <akim@epita.fr>
3547 * automake.in: Use File::Basename.
3548 (&dirname, &basename): Remove.
3550 2001-02-26 Akim Demaille <akim@epita.fr>
3552 * automake.in ($me): New.
3554 (&usage): Display your full name.
3556 2001-02-26 Akim Demaille <akim@epita.fr>
3558 * automake.texi (Invoking Automake): Remove dead options.
3560 2001-02-26 Akim Demaille <akim@epita.fr>
3562 * automake.in (&scan_texinfo_file): Also compute the list of files
3564 Handle local errors.
3565 (&handle_texinfo): Use it.
3567 2001-02-26 Akim Demaille <akim@epita.fr>
3569 * automake.in: Don't pass arguments to...
3570 (&parse_arguments): Work on @ARGV.
3572 Add support for `-f'.
3576 2001-02-26 Akim Demaille <akim@epita.fr>
3578 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3579 handle installcheck and installcheck-am.
3580 * install.am: Do it.
3582 2001-02-26 Akim Demaille <akim@epita.fr>
3584 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3585 handle install and install-am.
3586 * install.am: Do it.
3588 2001-02-26 Akim Demaille <akim@epita.fr>
3590 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3591 work on targets handled by %dependencies.
3592 (&handle_factored_dependencies): Do it.
3593 * install.am: Install install-exec, install-data and uninstall's
3596 2001-02-26 Akim Demaille <akim@epita.fr>
3598 * automake.in (&handle_merge_targets): Move `install-strip' from
3600 * install.am: to here.
3602 2001-02-26 Akim Demaille <akim@epita.fr>
3604 * automake.in (@installdirs): Remove.
3605 (&file_contents): Be able to grow Automake macros with `+='.
3606 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3607 files define _am_installdirs.
3608 (&handle_installdirs): Remove the code, just output `install.am'.
3610 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3611 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3613 2001-02-26 Akim Demaille <akim@epita.fr>
3615 * tests/instdata2.test (libexec_DATA): Exercise more
3618 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3620 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3622 2001-02-25 Tom Tromey <tromey@redhat.com>
3624 * tests/instdata2.test: Added `sbin_DATA' check.
3626 * tests/Makefile.am (TESTS): Added subdircond.test.
3627 * tests/subdircond.test: New file.
3628 * automake.in (handle_gettext): Don't fail if SUBDIRS
3629 conditionally defined.
3631 * automake.in: Use IO::File.
3632 (generate_makefile): Use IO::File.
3633 (scan_texinfo_file): Likewise.
3634 (handle_aclocal_m4): Likewise.
3635 (scan_autoconf_traces): Likewise.
3636 (scan_one_autoconf_file): Likewise.
3637 (read_am_file): Likewise.
3638 (file_contents): Likewise.
3641 2001-02-25 Akim Demaille <akim@epita.fr>
3643 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3645 2001-02-25 Akim Demaille <akim@epita.fr>
3647 * automake.in (&transform): Also call &transform_cond on your
3649 (&handle_dist): Adjust.
3650 (&handle_factored_dependencies): Uniq dependencies.
3652 2001-02-25 Akim Demaille <akim@epita.fr>
3654 * automake.in (&handle_gettext): Simplify redundant `if'.
3655 Used &variable_value, don't read %contents directly.
3657 2001-02-25 Akim Demaille <akim@epita.fr>
3659 * automake.in ($install_recursive): Remove, replaced with calls to
3660 `&variable_defined ('SUBDIRS')'.
3661 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3662 (&file_contents): now does.
3664 2001-02-25 Akim Demaille <akim@epita.fr>
3666 * automake.in (&handle_man_pages): $found is dead.
3668 2001-02-25 Akim Demaille <akim@epita.fr>
3670 Internally just store the conditionals as space separated lists of
3671 CONDITIONS (instead of @CONDITIONS@).
3673 * automake.in (&conditional_true_when, &variable_conditions_sub):
3674 Split conditions at spaces.
3675 (&handle_dependencies, &variable_conditions_permutations): Don't
3676 put @ around conditions.
3677 (&variable_conditions_cmp): There are no @ to strip.
3678 (&make_condition): New.
3679 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3681 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3682 Join @conditional_stack with spaces.
3683 (&read_main_am_file): Adjust the output of variables.
3684 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3685 true' and no longer `@TEST@TRUE = @TEST@true'.
3686 (&variable_conditions_cmp): Rename as...
3687 (&by_condition): this.
3688 Sort in a human pleasant order.
3689 Use it everywhere a human can see conditions.
3690 (&variable_conditions_reduce): Don't sort conditions, that's
3692 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3694 2001-02-25 Akim Demaille <akim@epita.fr>
3696 * automake.in: `my' the globals.
3698 2001-02-25 Akim Demaille <akim@epita.fr>
3700 * automake.in (&initialize_per_input): %targets_conditionals is
3702 (&read_am_file): When slurping a rule, set the target related
3703 variable, and no variable related variable.
3704 (&file_contents): Likewise.
3705 * tests/vartar.test, tests/ctarget1.test: New.
3707 2001-02-25 Akim Demaille <akim@epita.fr>
3709 * automake.in (&variable_defined, &variable_value_as_list_worker):
3710 If $VAR is effectively a variable, don't die if it's also a
3712 Plus some formatting changes.
3714 2001-02-25 Akim Demaille <akim@epita.fr>
3716 * automake.in: Mying changes.
3717 * Makefile.am (maintainer-check): Check the stability of the
3718 number of uses of `local'.
3720 2001-02-25 Akim Demaille <akim@epita.fr>
3722 * automake.in: Mying changes.
3724 2001-02-25 Akim Demaille <akim@epita.fr>
3726 * automake.in: Mying changes.
3728 2001-02-25 Akim Demaille <akim@epita.fr>
3730 * automake.in: Mying changes.
3731 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3732 transform CONFIG into $config, not $xform.
3734 2001-02-25 Akim Demaille <akim@epita.fr>
3736 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3737 Don't deal with install-data-am, install-exec-am and unstall-am.
3738 (&initialize_per_input): Add them to %dependencies.
3739 Remove %exec_dir_p since the *.am files are now in charge of it.
3740 Remove @uninstall, @install_data, @install_exec.
3741 (&handle_merge_targets): Adjust to these removals.
3742 (&file_contents): Also &transform_cond for --no-installman and
3744 (&do_one_merge_target): Add some magic to install hooks on
3745 %dependencies' targets.
3746 (%required_targets): New.
3747 (&handle_factored_dependencies): Output required targets.
3748 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3749 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3750 * texinfos.am: Declare your dependencies on install-data-am,
3751 install-exec-am and uninstall-am.
3752 * tests/instdata2.test (incldata_HEADERS): New test.
3754 2001-02-24 Tom Tromey <tromey@redhat.com>
3756 * Makefile.am (amfiles): Added texibuild.am.
3757 * texibuild.am: New file.
3758 * tests/Makefile.am (TESTS): Added texinfo9.test.
3759 * tests/texinfo9.test: New file.
3760 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3761 error if suffix unrecognized. Removed extraneous newline.
3763 2001-02-23 Akim Demaille <akim@epita.fr>
3765 * automake.in (&am_install_var): Don't hook on the clean targets
3767 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3768 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3771 2001-02-23 Akim Demaille <akim@epita.fr>
3773 * automake.in: Promote local `my' over `local'.
3775 2001-02-23 Akim Demaille <akim@epita.fr>
3777 * automake.in: Formatting and mying changes.
3779 2001-02-23 Akim Demaille <akim@epita.fr>
3781 * automake.in: Formatting and mying changes.
3783 2001-02-23 Akim Demaille <akim@epita.fr>
3785 * automake.in (&handle_man_pages): Let install-man and
3786 uninstall-man be handled by the dependency tracker.
3787 (&initialize_per_input): Let %dependencies track them.
3788 * mans.am: Add the needed hooks with the proper dependencies.
3790 2001-02-22 Pavel Roskin <proski@gnu.org>
3792 * tests/target-cflags.test: Don't use subshell to configure in
3793 subdirectory. Typo fix - run `./foo', not `/foo'.
3795 2001-02-22 Akim Demaille <akim@epita.fr>
3797 * automake.in: Formatting and mying changes.
3799 2001-02-21 Tom Tromey <tromey@redhat.com>
3801 * automake.in (handle_dist): Introduce new variable to avoid extra
3802 keys in %dist_dirs. Fixes distdir.test.
3804 * automake.in (handle_texinfo): Only remove suffixes we can
3807 * tests/distdir.test: Check to make sure directory isn't made in
3810 * automake.in (handle_dist): Do nothing in Cygnus mode.
3812 2001-02-21 Pavel Roskin <proski@gnu.org>
3814 * header-vars.am: Remove tabs before variable definitions.
3816 2001-02-21 Akim Demaille <akim@epita.fr>
3818 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3821 2001-02-21 Akim Demaille <akim@epita.fr>
3823 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3824 numeric value as required by Perl 5.6.
3826 2001-02-21 Akim Demaille <akim@epita.fr>
3828 * dist-vars.am: Remove, merge into...
3830 * automake.in (dirname, basename, backname): Move to the top of
3831 the file so that prototypes are checked,
3832 Use them without `&'.
3833 (&handle_dist): Adjust.
3835 2001-02-21 Akim Demaille <akim@epita.fr>
3837 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3838 Use a uniform naming scheme.
3839 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3840 (&read_am_file): Fix conditional definition of backslash continued
3843 2001-02-21 Akim Demaille <akim@epita.fr>
3845 Change the handling of conditionals: instead of using an ad-hoc
3846 encoding to store a hash in a string, use hashes.
3848 * automake.in (&conditional_dump): New.
3849 (&check_ambiguous_conditional, &variable_defined)
3850 (&variable_conditions_sub, &variable_value_as_list_worker)
3851 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3852 handle `$conditional{$vars}' as a hash instead of a plain string.
3854 2001-02-21 Akim Demaille <akim@epita.fr>
3856 * automake.in (&conditional_true_when): Modernize, simplify.
3857 Warning: `$comp' is now private (my), while it used to be
3858 `inherited' from a `local' elsewhere in the code. AFAICT it was
3859 wrong, but some dirty side effect might show up.
3860 (&conditionals_true_when): New.
3861 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3863 2001-02-21 Akim Demaille <akim@epita.fr>
3865 * automake.in ($top_builddir): Remove, used in one place.
3866 (&define_standard_variables): Adjust.
3867 Move the definition of triplet variables into...
3868 * header-vars.am: here.
3870 2001-02-21 Akim Demaille <akim@epita.fr>
3872 * automake.in (&initialize_global_constants): Don't define $USAGE.
3873 (&usage): Handle the former content of $USAGE.
3874 Don't pretend autoconf cares about Makefile.in.
3875 Classify the options.
3876 (&handle_tests): Formatting and mying changes.
3878 2001-02-21 Akim Demaille <akim@epita.fr>
3880 * automake.in (&handle_tests_dejagnu): Move the definition of a
3881 default `site.exp' into...
3882 * dejagnu.am (site.exp): here.
3883 Use DOS compliant file names.
3885 2001-02-21 Akim Demaille <akim@epita.fr>
3887 * automake.in (&dist_cmp): New.
3888 (&handle_dist): Use it.
3889 Promote `my' over `local'.
3891 2001-02-21 Akim Demaille <akim@epita.fr>
3893 * dist.am: Remove, merge into...
3894 * distdir.am: here. Use the neat sed snippet for banners.
3895 BTW, distcheck is phony.
3896 * automake.in (&handle_dist_worker): Remove, merge into...
3897 (&handle_dist): this.
3898 (&file_contents): Strip leading new lines.
3899 Be sure to end comments with new lines.
3901 2001-02-21 Akim Demaille <akim@epita.fr>
3903 * distdir.am (GZIP_ENV): Define.
3904 * automake.in (&handle_dist): Don't.
3906 (&handle_dist_worker, &am_install_var): Use it.
3908 2001-02-21 Akim Demaille <akim@epita.fr>
3910 * distdir.am (distdir): Handle the DIST-TARGETS.
3911 * automake.in (&handle_dist_worker): Don't.
3913 2001-02-21 Akim Demaille <akim@epita.fr>
3915 * automake.in (&file_contents): Transform the global options (such
3917 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3919 2001-02-21 Akim Demaille <akim@epita.fr>
3921 * distdir.am (distdir): Be sure to have permissive rights on its
3923 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3925 And BTW, all these guys are phony.
3926 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3927 output distributions.
3928 (&handle_dist): As its name doesn't indicate, don't.
3929 (&initialize_global_constants): Don't define variables which
3930 content is now handled by distdir.am.
3931 But register `dist-all' as a factored target.
3932 (&handle_factored_dependencies): Don't output empty targets.
3934 2001-02-20 Tom Tromey <tromey@redhat.com>
3936 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3939 2001-02-18 Tom Tromey <tromey@redhat.com>
3941 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3942 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3943 (AM_PROG_STRIP): Commented out.
3945 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3947 * depcomp (gcc3): Protect against the compiler deleting
3948 the dependency output file.
3950 2001-02-17 Tom Tromey <tromey@redhat.com>
3952 * automake.in (handle_merge_targets): Use double quotes around
3953 setting of INSTALL_STRIP_PROGRAM.
3954 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3955 to absolute path at runtime.
3956 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3958 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3960 * m4/strip.m4: New file.
3961 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3962 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3963 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3964 * automake.in (handle_merge_targets): In the install-strip rule,
3965 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3966 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3967 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3968 don't use INSTALL_STRIP_FLAG any longer.
3970 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3972 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3975 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3977 * automake.in (unquote_m4_arg): New function.
3978 (scan_one_configure_file): Call unquote_m4_arg on
3979 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3982 2001-02-15 Tom Tromey <tromey@redhat.com>
3984 * config.guess, config.sub: New versions from FSF.
3986 * Makefile.am (WGET): New macro.
3987 (FETCHFILES): New macro.
3988 (fetch): New target.
3990 * tests/subobj3.test: Exit with status 77 if gcc not found.
3991 * tests/pr9.test: Exit with status 77 if gzip not found.
3992 * tests/pr87.test: Exit with status 77 if gcc not found.
3993 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3994 * tests/install2.test: Exit with status 77 if gzip not found.
3995 * tests/exsource.test: Exit with status 77 if GNU make not found.
3996 * tests/ansi3.test: Exit with status 77 if gcc not found.
3998 * tests/target-cflags.test: Require GNU make. Exit with status 77
3999 if gcc or make not found. Fixes PR automake/121.
4001 * configure.in: Require Perl 5.005.
4002 * automake.in: Require 5.005.
4004 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4005 Fixes PR automake/122.
4007 2001-02-14 Tom Tromey <tromey@redhat.com>
4009 * automake.in (add_depend2): Only emit a given object rule once.
4010 Fixes specflags6.test.
4012 2001-02-14 Richard Boulton <richard@tartarus.org>
4014 * tests/specflags6.test: New file.
4016 2001-02-14 Tom Tromey <tromey@redhat.com>
4018 * automake.texi (A Shared Library): Mention -module.
4020 2001-02-13 Tom Tromey <tromey@redhat.com>
4022 * automake.in (do_one_merge_target): Always register $name and
4025 * automake.in (do_one_merge_target): Register `all' as phony
4028 * configure.in: Updated to 1.4e for cvs.
4030 2001-02-12 Tom Tromey <tromey@redhat.com>
4032 * configure.in: Updated to 1.4d and released.
4034 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4035 names through autoconf.
4037 Fix for subdirbuiltsources.test:
4038 * automake.in (initialize_per_input): [all_target] Initialize to
4040 (handle_merge_targets): Use all-redirect target to handle built
4042 (do_one_merge_target): Don't generate all-redirect rule.
4044 2001-02-11 Peter Muir <iyhi@yahoo.com>
4046 * tests/subdirbuiltsources.test: New file.
4047 * tests/Makefile.am (TESTS): Added new file.
4049 2001-02-10 Tom Tromey <tromey@redhat.com>
4051 * tests/condlib.test: New file.
4052 * tests/Makefile.am (TESTS): Added new file.
4054 2001-02-10 Lars J. Aas <larsa@sim.no>
4056 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4057 (&canonicalize): New. Includes '@' in canonical range.
4058 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4059 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4061 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4063 * automake.in (handle_configure): Revert part of
4064 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4065 set CONFIG_COMMANDS explicitly.
4067 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4069 * depcomp (gcc3): Propagate exit code.
4071 2001-02-09 Lars J. Aas <larsa@sim.no>
4073 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4075 2001-02-09 Tom Tromey <tromey@redhat.com>
4077 Clean up maintainer-check warnings:
4078 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4080 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4082 2001-02-09 Akim Demaille <akim@epita.fr>
4084 * automake.in (&file_contents): Remove a dead branch.
4086 2001-02-09 Akim Demaille <akim@epita.fr>
4088 * automake.in (&transform): Use `my', not `local'.
4089 (&transform_cond): New.
4090 (&get_object_extension, &handle_texinfo, &handle_tags)
4091 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4092 (&handle_tests_dejagnu): Use it.
4093 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4094 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4096 2001-02-09 Akim Demaille <akim@epita.fr>
4098 * automake.in: Various formatting changes, and modernization of
4101 (&handle_configure, define_standard_variables): Use it.
4103 2001-02-08 Tom Tromey <tromey@redhat.com>
4105 * automake.in (file_contents): Only add $actions if any are
4106 found. Fixes new failure in pr87.test.
4108 2001-02-08 Pavel Roskin <proski@gnu.org>
4110 * tests/pr87.test: Check foo/Makfile.in after it is created.
4112 2001-02-08 Tom Tromey <tromey@redhat.com>
4114 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4115 Report from Lars J. Aas.
4117 2001-02-07 Lars J. Aas <larsa@sim.no>
4119 * lisp.am (install-@DIR@LISP): Removed extra space.
4120 * header.am (install-@DIR@HEADERS): Removed extra space.
4121 * data.am (install-@DIR@DATA): Removed extra space.
4123 2001-02-07 Tom Tromey <tromey@redhat.com>
4125 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4127 * automake.in (handle_dependencies): Use _am_include, not
4129 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4130 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4132 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4134 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4136 * automake.in (handle_configure): Handle case where output file is
4137 in subdir with no Makefile of its own. Fixes remake3.test,
4140 2001-02-06 Pavel Roskin <proski@gnu.org>
4142 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4144 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4145 * tests/exsource.test: Likewise.
4147 2001-02-06 Derek Price <derek.price@openavenue.com>
4149 * automake.in (handle_configure): Fix syntax error.
4151 2001-02-06 Akim Demaille <akim@epita.fr>
4153 * subdirs.am: This file is the exception: clean recursive targets
4154 are called by the clean targets, not the clean-am targets.
4155 Otherwise we have a circular dependency: clean -> clean-am ->
4156 clean-recursive -> clean.
4157 * automake.in (handle_clean): Bind `-local' targets to `-am'
4158 targets, not top targets.
4159 Don't declare -recursive dependencies of the clean targets:
4160 `subdirs.am' did it. Less hard coded knowledge, transfered
4164 2001-02-06 Akim Demaille <akim@epita.fr>
4166 Monstro unsplitable patch.
4168 The aim is to remove hard coded knowledge about clean targets from
4169 automake.in, leaving them in the *.am files.
4170 In addition to the mechanic needed to factor some dependencies, it
4171 appears some rules (most notably distclean and maintainer-clean)
4172 need factored actions. So first, be ready to catch factored
4175 * automake.in (&file_contents): For the time being, use an extended
4176 $RULE_PATTERN which is able to match any kind of rules, with or
4177 without dependency, with or without actions.
4178 Handle all the rules uniformly, storing in %actions the factored
4180 (&flatten, &target_cmp): New.
4181 (&handle_factored_dependencies): Output the %actions.
4182 No longer special case `clean'.
4183 Output the rules in alphabetical order, but keeping `.PHONY' last.
4185 Now we must not use &push_phony_cleaners, which is doing all sort
4186 of magic to push a bit of everything in all the clean targets.
4187 The biggest problem being that, making a Cartesian product, it
4188 requires many useless targets. The `*.am' file know better.
4189 But first, register the new factored rules.
4191 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4192 maintainer-clean, distclean and their `*-am' counterpart in
4194 Initialize %actions.
4195 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4196 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4197 (handle_emacs_lisp, handle_python): Don't play with
4198 &push_phony_cleaners nor &depend and `clean'.
4199 * texinfos.am, texi-vers.am, tags-clean.am:
4200 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4201 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4202 * clean-kr.am, clean-hdr.am: Do it.
4203 Whenever a target is empty, just remove it, it will no longer be
4206 There is still some magic about clean to hard code. But really,
4207 that's the end of &do_one_clean_target.
4209 * automake.in (&do_one_clean_target): Kaboom out.
4210 (&handle_clean): Rewrite the magic code.
4211 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4213 (&push_phony_cleaners): Kaboom too.
4215 2001-02-06 Akim Demaille <akim@epita.fr>
4217 * automake.in (do_one_clean_target): Don't hard code knowledge
4218 about libtool, and maintainer-clean.
4219 * clean.am, libtool.am: Handle these.
4221 2001-02-05 Akim Demaille <akim@epita.fr>
4223 * automake.in (handle_texinfo): No longer hard code the clean
4225 (texinfos.am): Include them.
4227 2001-02-05 Akim Demaille <akim@epita.fr>
4229 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4230 (maintainer-check): Don't be silent when you find a problem, and
4231 actually, even specify the locations.
4232 Also check that @_ is assigned to arrays.
4234 2001-02-05 Akim Demaille <akim@epita.fr>
4236 * m4/regex.m4: Use AC_LIBSOURCES.
4237 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4240 2001-02-04 Tom Tromey <tromey@redhat.com>
4242 * m4/Makefile.am (m4data_DATA): Added make.m4.
4243 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4245 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4246 Copy depcomp to subdir.
4247 * m4/make.m4: New file.
4249 2001-02-04 Pavel Roskin <proski@gnu.org>
4251 * automake.in (handle_dist_worker): Remove a line that is now
4254 2001-02-04 Kevin Ryde <user42@zip.com.au>
4256 * automake.in (handle_configure): Call config.status with empty
4257 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4259 2001-02-04 Tom Tromey <tromey@redhat.com>
4261 * depcomp (ddashmd): Removed case.
4262 (sgi): Handle failure exit correctly
4263 (aix): Likewise. Also, add dummy `.h' targets.
4265 2001-02-04 Akim Demaille <akim@epita.fr>
4267 * distdir.am (distdir): New file, extracted from...
4268 * automake.in (handle_dist_worker): here.
4271 2001-02-04 Akim Demaille <akim@epita.fr>
4273 * automake.in (@clean): Remove, replaced by...
4274 ($dependencies{'clean'}): this.
4275 Use `&depend' instead of push'ing into @clean.
4276 (handle_factored_dependencies): For the time being, skip 'clean'.
4277 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4278 always `clean', and `@clean'.
4280 2001-02-04 Akim Demaille <akim@epita.fr>
4282 * automake.in (%dependencies): Don't be initialize globally for
4283 all the files, but in...
4284 (&initialize_per_input): here.
4286 (@phony): Replace all occurrences with the corresponding &depend
4289 2001-02-03 Tom Tromey <tromey@redhat.com>
4291 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4292 * header-vars.am (INSTALL_HEADER): New macro.
4294 * automake.texi (Rebuilding): New node.
4298 Copyright 2001 Free Software Foundation, Inc.
4300 This file is part of GNU Automake.
4302 GNU Automake is free software; you can redistribute it and/or modify
4303 it under the terms of the GNU General Public License as published by
4304 the Free Software Foundation; either version 2, or (at your option)
4307 GNU Automake is distributed in the hope that it will be useful,
4308 but WITHOUT ANY WARRANTY; without even the implied warranty of
4309 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4310 GNU General Public License for more details.
4312 You should have received a copy of the GNU General Public License
4313 along with autoconf; see the file COPYING. If not, write to
4314 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4315 Boston, MA 02111-1307, USA.