1 2001-10-20 Kevin Ryde <user42@zip.com.au>
3 * automake.in (handle_configure): Always put a number on $stamp_name,
4 to match AM_CONFIG_HEADER.
6 2001-10-20 Tom Tromey <tromey@redhat.com>
8 * tests/Makefile.am (TESTS): Added condd.test.
9 (XFAIL_TESTS): Added condd.test.
10 * tests/condd.test: New file.
12 2001-10-20 Akim Demaille <akim@epita.fr>
14 * automake.in (&scan_autoconf_traces): Add support for
15 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
17 * tests/alpha.test (configure.in): Automake wants a Makefile.
20 2001-10-20 Akim Demaille <akim@epita.fr>
22 * automake.in (scan_autoconf_traces): Use an unlikely to be used
23 separator between trace arguments, in particular not `:' as it is
24 within AC_CONFIG_FILES's $1.
27 2001-10-20 Akim Demaille <akim@epita.fr>
29 * tests/alpha.test (configure.in): Create, don't append. A single
33 2001-10-20 Akim Demaille <akim@epita.fr>
35 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
36 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
37 * tests/alpha.test, tests/ansi.test, tests/asm.test,
38 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
39 * tests/badline.test, tests/block.test, tests/canon2.test,
40 * tests/check.test, tests/checkall.test, tests/clean.test,
41 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
42 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
43 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
44 * tests/comment.test, tests/comment3.test, tests/cond.test,
45 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
46 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
47 * tests/condman2.test, tests/confdist.test, tests/confh.test,
48 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
49 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
50 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
51 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
52 * tests/else.test, tests/empty.test, tests/exdir.test,
53 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
54 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
55 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
56 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
57 * tests/include.test, tests/info.test, tests/insh.test,
58 * tests/insh2.test, tests/install.test, tests/installsh.test,
59 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
60 * tests/insthook.test, tests/instman.test, tests/instman2.test,
61 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
62 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
63 * tests/man.test, tests/mclean.test, tests/mdate.test,
64 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
65 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
66 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
67 * tests/outdir.test, tests/output.test, tests/output2.test,
68 * tests/output3.test, tests/output4.test, tests/output5.test,
69 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
70 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
71 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
72 * tests/primary.test, tests/proginst.test, tests/python.test,
73 * tests/remake.test, tests/remake2.test, tests/remake3.test,
74 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
75 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
76 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
77 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
78 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
79 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
80 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
81 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
82 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
83 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
84 * tests/version.test, tests/version2.test, tests/version3.test,
85 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
86 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
88 2001-10-20 Akim Demaille <akim@epita.fr>
90 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
91 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
92 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
93 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
94 * tests/conf2.test, tests/confh.test, tests/confh2.test,
95 * tests/confh3.test, tests/confh4.test, tests/config.test,
96 * tests/confsub.test, tests/depend3.test, tests/discover.test,
97 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
98 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
99 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
100 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
101 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
102 * tests/output.test, tests/output2.test, tests/output3.test,
103 * tests/output4.test, tests/output5.test, tests/package.test,
104 * tests/parse.test, tests/pr2.test, tests/remake.test,
105 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
106 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
107 * tests/subdir4.test, tests/subdirbuiltsources.test,
108 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
109 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
110 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
111 since AM_INIT_AUTOMAKE requires them.
114 2001-10-20 Akim Demaille <akim@epita.fr>
116 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
118 Don't run AC_ARG_PROGRAM another time, it is required by
120 * tests/aclocal.test: Work on the default configure.in
121 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
122 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
124 Be realistic in testing: AC_INIT is required for Autoconf.
125 Broken so called optimized tests break trace handling.
127 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
128 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
129 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
130 * tests/colon.test, tests/colon2.test, tests/colon3.test,
131 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
132 * tests/colon7.test, tests/cond.test, tests/cond2.test,
133 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
134 * tests/confh.test, tests/confh2.test, tests/confh3.test,
135 * tests/confh4.test, tests/config.test, tests/confsub.test,
136 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
137 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
138 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
139 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
140 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
141 * tests/libobj9.test, tests/output.test, tests/output2.test,
142 * tests/output3.test, tests/output4.test, tests/parse.test,
143 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
144 * tests/remake.test, tests/remake2.test, tests/remake3.test,
145 * tests/req.test, tests/scripts.test, tests/subdir.test,
146 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
147 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
148 * tests/version2.test: Add AC_INIT in `configure.in'.
150 2001-10-20 Akim Demaille <akim@epita.fr>
152 * automake.in (&scan_autoconf_traces): Add support for
153 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
154 Let @args have a more natural M4 correspondence: $1 is args[1], no
156 (&scan_autoconf_files): Using autoconf traces is no longer a
157 complement of the previous ad hoc scheme: use either.
160 2001-10-20 Akim Demaille <akim@epita.fr>
162 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
163 factors dedicated $libsources assignments.
166 2001-10-20 Akim Demaille <akim@epita.fr>
168 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
169 Remove, since Autoconf 2.52 has them.
170 * automake.in, aclocal.in, automake.texi: Adjust.
172 2001-10-19 Akim Demaille <akim@epita.fr>
174 * automake.in (&read_main_am_file): s/generated automatically/
176 Insert @configure_input@, since 2.50 no longer output this
177 automatically for Makefiles.
179 2001-10-19 Kevin Ryde <user42@zip.com.au>
181 * lib/am/check.am (check-TESTS): Add an "else true" to work with
182 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
184 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
186 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
187 * tests/nobase.test: New file. Based on a bug report
188 from Martin Frydl <martin@idoox.com>.
190 2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
192 * automake.in (am_install_var): Don't strip nobase_ from $X, do
193 this with $nodir_name only. Use $nodir_name where appropriate.
195 2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
197 * automake.in (handle_languages, handle_single_transform_list,
198 lang_c_rewrite): Use require_conf_file instead of
199 require_config_file to require depcomp or compile from Makefile.am.
200 (require_aux_file_with_line): New function, adapted from
201 require_conf_gile_with_line.
202 (require_conf_file_with_line, require_conf_file_with_conf_line):
203 Simplify using require_aux_file_with_line.
204 (require_config_file): Simplify using require_conf_file_with_conf_line.
205 (require_conf_file): New function.
207 2001-10-15 Akim Demaille <akim@epita.fr>
209 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
210 normally, what is wrong is that automake outputs a variable
211 definition for it, hence...
212 * automake.in (scan_one_autoconf_file): don't.
214 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
216 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
217 Use AC_CONFIG_COMMANDS.
218 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
221 2001-10-15 Akim Demaille <akim@epita.fr>
223 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
225 2001-10-15 Akim Demaille <akim@epita.fr>
227 * automake.in (&variable_conditions): Be deterministic and Perl
228 version independent: sort the result.
229 (&variable_output, &variable_pretty_output): Sort all the @conds,
230 not only when defaulted.
231 * tests/cond3.test: Adjust.
233 2001-10-15 Akim Demaille <akim@epita.fr>
235 * automake.in: Formatting changes.
237 2001-10-15 Akim Demaille <akim@epita.fr>
239 * aclocal.in: Use Automake::General and Automake::XFile.
240 Use find_configure_ac.
241 Output the Emacs tags for Autoconf mode selection.
243 2001-10-10 Akim Demaille <akim@epita.fr>
245 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
248 2001-10-09 Akim Demaille <akim@epita.fr>
250 Do not use Autoconf internals.
252 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
253 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
254 m4_regexp and m4_patsubst, since the latter are reserved for ERE
257 2001-10-08 Akim Demaille <akim@epita.fr>
259 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
262 2001-10-05 Akim Demaille <akim@epita.fr>
264 * automake.in (scan_autoconf_files): Use find_configure_ac from
267 2001-10-02 Akim Demaille <akim@epita.fr>
269 * lib/Automake/Struct.pm: Update from Autoconf.
270 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
272 * automake.in: Use them.
273 (&uniq, $me): Remove, as they are provided by Automake::General.
275 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
277 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
278 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
279 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
280 * lib/am/distdir.am (distcheck): Likewise.
281 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
282 using cd so we don't have to fiddle with CDPATH.
283 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
284 DOSish path separator.
286 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
288 * lib/am/python.am (install-%DIR%PYTHON,
289 uninstall-%DIR%PYTHON): Strip path of source file.
290 (clean-python): Comment out.
292 2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
294 * automake.in (handle_python): Use require_conf_file_with_conf_line
295 instead of require_file_with_conf_line, so that elisp-comp and
296 py-compile are installed in the aux-directory.
297 (handle_emacs_lisp): Likewise. Define elisp_comp.
298 * lib/am/lisp.am (.el.elc): Use elisp_comp.
300 2001-10-01 Akim Demaille <akim@epita.fr>
302 * lib/am/distdir.am (distcheck): Report the trailing files.
303 Run `dist-gzip', not `dist', as it may leave other distribution
306 2001-09-29 Paul Eggert <eggert@twinsun.com>
308 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
309 bugs when making file names with unusual characters. Quote chmod
310 arg "$dirmode", in case it contains white space.
312 Incorporate the following change from autoconf mkinstalldirs:
314 1999-04-10 Ben Elliston <bje@cygnus.com>
316 Add `-m' flag to specify the mode of a newly created
317 directory. Add command line usage and `-h', `--help' options.
318 Contributed by Jeff Garzik.
320 2001-09-27 Akim Demaille <akim@epita.fr>
322 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
324 2001-09-27 Akim Demaille <akim@epita.fr>
326 * lib/am/distdir.am (dist): Rename as...
328 (dist): Additional name for dist-all.
329 * automake.texi (Options, Dist): Adjust.
331 2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
333 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
334 * automake.in (obsolete_macros): Likewise.
335 (seen_objext): Remove (unused).
336 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
337 * lib/am/header-vars.am (EXEEXT, OBJEXT,
338 PATH_SEPARATOR): New variables.
339 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
341 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
343 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
344 neutralize CDPATH for us.
345 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
346 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
349 2001-09-22 Akim Demaille <akim@epita.fr>
351 * configure.in, NEWS: Bump to 1.5a.
354 2001-09-22 Paul Eggert <eggert@twinsun.com>
356 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
357 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
358 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
359 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
360 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
361 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
362 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
363 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
364 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
365 m4/termios.m4, m4/winsz.m4: Add copyright notice.
367 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
368 which has a copyright notice.
370 * m4/strtod.m4: Correct the dates on the copyright notice.
372 2001-09-17 Akim Demaille <akim@epita.fr>
374 * lib/missing (autom4te): New.
375 (aclocal, autoconf, automake, autoheader, help2man): Propagate
378 2001-08-27 Tom Tromey <tromey@redhat.com>
380 * automake.texi (A Shared Library): Clarify installation
382 (Install): Typo. From Adrian Bunk.
384 2001-08-27 Tom Tromey <tromey@redhat.com>
386 * automake.texi (Macros): Typo fix.
387 From Christian Cornelssen
389 2001-08-27 Tom Tromey <tromey@redhat.com>
391 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
392 tests/cond4.test, tests/cond16.test, tests/cond18.test,
393 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
394 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
395 tests/substref.test: Clear CFLAGS.
397 * automake.texi (Yacc and Lex): Mention lex, not yacc.
398 From Alexey Mahotkin.
400 2001-08-27 Tom Tromey <tromey@redhat.com>
402 * tests/yacc7.test: Use test -f, not test -e.
404 2001-08-27 Adrian Bunk <bunk@fs.tum.de>
406 * automake.texi (etags): Typo fix.
408 2001-08-27 Guido Draheim <guidod@gmx.de>
410 * automake.in : restrict ansi2knr option to be a filepath
412 2001-08-23 Richard Boulton <richard@tartarus.org>
414 * tests/yacc7.test: Actually add this file: was accidentally omitted.
416 2001-08-22 Tom Tromey <tromey@redhat.com>
418 * automake.texi (Conditionals): Mention that conditionals must
419 always be invoked. For PR automake/220.
421 2001-08-22 Richard Boulton <richard@tartarus.org>
422 Tom Tromey <tromey@redhat.com>
424 * automake.in (lang_yacc_target_hook): Make header file depend on
425 .c file, not .y file.
426 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
427 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
428 * tests/yacc7.test: New file.
429 * tests/Makefile.am (TESTS): Added yacc7.test.
431 2001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
433 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
435 2001-08-18 Tom Tromey <tromey@redhat.com>
437 * automake.texi (Dist): Mention dist-all.
439 2001-08-18 Tom Tromey <tromey@redhat.com>
441 * tests/cond3.test: Use portable sed expression.
442 From Richard Boulton.
444 2001-08-13 Richard Boulton <richard@tartarus.org>
446 * automake.in (handle_source_transform): Call
447 define_objects_from_sources() instead of calling
448 variable_value_as_list(), handle_single_transform_list() and
449 define_pretty_variable() directly.
450 (handle_single_transform_list): Add $topparent parameter, used for
451 error messages. Improved error message.
452 (define_objects_from_sources): New function.
453 (subobjname): New function.
454 (variable_conditions_recursive): New name for variable conditions.
455 (variable_value_as_list_recursive): New name for variable_value_as_list.
456 (variable_value_as_list_worker): Renamed to ...
457 (variable_value_as_list_recursive_worker): ... this.
458 (variable_conditions_sub): Renamed to ...
459 (variable_conditions_recursive_sub): ... this.
460 (variable_conditions): Rewritten: now doesn't recurse subvariables.
461 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
462 (substfroms): New global.
463 (substtos): New global.
464 (substnums): New global.
465 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
466 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
467 * tests/sourcesub2.test: New test.
468 * tests/Makefile.am (TEST): Added sourcesub2.test.
470 2001-08-11 Tom Tromey <tromey@redhat.com>
472 * configure.in: Upped to 1.4s.
474 2001-08-09 Richard Boulton <richard@tartarus.org>
476 * automake.in (handle_single_transform_list): Use new global,
477 `%linkers_used', to store the linkers used, rather than an internal
478 variable. Enables correct linker to be calculated across a group
479 of calls to &handle_single_transform_list. Return only list of
480 objects, since linker to be used is now externally determined.
481 (handle_source_transform): adapted for new calling conventions of
482 handle_single_transform_list. Calls resolve_linker() on a set of
483 all the linkers used for any prefix, rather than for each prefix in
485 (linkers_used): New global.
486 * tests/link_dist.test: New test.
487 * tests/Makefile.am (TESTS): Added link_dist.test.
489 2001-08-08 Raja R Harinath <harinath@cs.umn.edu>
491 Dissociate testsuite 'make' invocations from outer 'make'.
492 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
493 environment variables.
494 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
496 * tests/substref.test: Likewise.
498 2001-08-08 Richard Boulton <richard@tartarus.org>
500 * tests/cond18.test: New file.
501 * tests/cond19.test: New file.
502 * tests/cond20.test: New file.
503 * tests/cond4.test: Updated to check the generated _OBJECTS more
505 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
508 2001-08-08 Richard Boulton <richard@tartarus.org>
510 * automake.in (file_contents_internal): if a rule is conditionally
511 defined, define the standard automake definition for it for those
512 conditions which are not conditionally defined.
513 (invert_conditions): New function: invert a list of conditionals.
515 * tests/cond14.test: New file.
516 * tests/cond15.test: New file.
517 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
519 2001-08-05 Tom Tromey <tromey@redhat.com>
521 * tests/Makefile.am (TESTS): Added dejagnu2.test.
522 * tests/dejagnu2.test: New file.
523 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
524 * automake.in (handle_scripts): Removed dead code.
525 (handle_tests_dejagnu): Don't handle site.exp generation
528 2001-08-04 Richard Boulton <richard@tartarus.org>
530 * tests/cond17.test: New file: test for being able to define an
531 object to be generated in different ways according to a
533 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
534 (TESTS): Added cond17.test.
536 2001-08-02 Richard Boulton <richard@tartarus.org>
538 * automake.in (variable_conditions_sub): Handle variable
539 substitution refs when computing conditions based on subvariable
540 conditions. Fixes substitution refs of system variables when sub
541 variable is conditional.
542 (SUBST_REF_PATTERN): New global.
543 * tests/cond16.test: New file: regression test for variable
545 * test/Makefile.am (TESTS): Added cond16.test.
547 2001-08-03 Tom Tromey <tromey@redhat.com>
549 * tests/substref.test: Require GNU make; backed out previous
552 * tests/substref.test: Handle entering/leaving directory
555 2001-08-03 Richard Boulton <richard@tartarus.org>
557 * automake.in (value_to_list): Check for whether $from is defined,
558 rather than whether it is true, so that empty $froms are allowed in
559 substitution reference patterns.
561 * tests/substref.test: New file: test behavior of substitution
562 references when the $from side of the substitution is empty.
563 * tests/Makefile.am (TESTS): Added substref.test.
565 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
567 * m4/install-sh.m4: New file.
568 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
569 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
570 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
571 for install.sh any longer, always use install-sh, don't even
572 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
573 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
575 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
577 2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
579 * automake.texi (EXEEXT): Clarify.
581 2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
583 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
585 * m4/auxdir.m4: More comments.
587 2001-07-31 Richard Boulton <richard@tartarus.org>
588 Raja R Harinath <harinath@cs.umn.edu>
590 * automake.in (variable_conditions_sub): Remove @parent_conds
591 argument. This was old logic - duplicate or impossible
592 conditionals are removed later by &variable_conditions_reduce().
593 Fixes tests/cond13.test.
594 (conditionals_true_when): Removed.
595 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
597 2001-07-31 Tom Tromey <tromey@redhat.com>
599 * tests/Makefile.am (TESTS): Added cond13.test.
600 (XFAIL_TESTS): Likewise.
601 * tests/cond13.test: New file.
603 * configure.in: Upped to version 1.4k.
605 * configure.in: Released 1.4j.
607 * lib/config.guess: Updated from master sources.
608 * lib/config.sub: Likewise.
610 2001-07-30 Tom Tromey <tromey@redhat.com>
612 * automake.texi (A Program): Typo. Added subsections and more
613 text about conditional compilation.
614 (A Shared Library): Moved earlier.
615 (Program variables): Updated LINK text. Added AM_CFLAGS.
616 (C++ Support): Added AM_CXXFLAGS.
617 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
620 * tests/Makefile.am (TESTS): Added aclibobj.test.
621 * tests/aclibobj.test: New file.
622 * automake.in (handle_lib_objects_cond): Avoid undefined variable
624 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
626 * automake.texi (Dist): Mention other distribution types.
629 2001-07-29 Tom Tromey <tromey@redhat.com>
631 * automake.texi (Program and Library Variables): Texinfo fix.
632 From Alexey Mahotkin.
634 2001-07-28 Tom Tromey <tromey@redhat.com>
636 * automake.texi (Strictness): Mention Cygnus mode.
639 (Canonicalization): Likewise.
640 (Install): Add `nobase_' to example; typo fix.
642 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
644 (Options): Texinfo fixes; some text updates.
647 2001-07-27 Tom Tromey <tromey@redhat.com>
649 * automake.texi (Invoking Automake): Document --Werror and
652 2001-07-26 Tom Tromey <tromey@redhat.com>
654 * tests/nolink.test: Added no-exeext.
656 * automake.in (check_variable_defined_unconditionally): Don't call
659 * automake.texi (Optional): Don't mention ALL_LINGUAS.
661 * automake.in (seen_linguas, all_linguas, all_linguas_line):
663 (handle_gettext): Don't do any checking of the languages.
664 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
666 * automake.in (am_print_error): New function.
668 (am_file_error): Likewise.
669 (am_line_error): Likewise.
670 (am_conf_error): Likewise.
671 (am_conf_line_error): Likewise.
673 * automake.texi (Options): Document no-exeext.
674 * automake.in (handle_options): Recognize no-exeext.
675 (rule_define): Handle no-exeext.
676 * tests/Makefile.am (TESTS): Added new file.
677 * tests/exeext2.test: New file.
679 * automake.in (make_input_list): Removed.
680 (scan_autoconf_config_files): Don't add to make_input_list.
681 (scan_one_autoconf_file): Don't use make_input_list.
682 (scan_autoconf_files): Use make_list, not make_input_list.
683 (scan_autoconf_files): Likewise.
685 * automake.in (seen_exeext): Removed.
686 (generate_makefile): Don't define EXEEXT or OBJEXT.
687 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
688 (am_install_var): Don't check $seen_exeext.
689 (handle_programs): Likewise.
690 (rule_define): Allow x to override x$(EXEEXT), for now.
691 (file_contents_internal): Only define rule if rule_define allows
693 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
695 2001-07-25 Tom Tromey <tromey@redhat.com>
698 * tests/pr9.test: Require GNU make.
699 * tests/dirname.test: Don't use `-u'.
701 2001-07-22 Tom Tromey <tromey@redhat.com>
703 * tests/Makefile.am (TESTS): Added auxdir2.test.
704 (XFAIL_TESTS): Likewise.
705 * tests/auxdir2.test: New file.
707 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
708 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
710 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
711 * automake.in (am_install_var): Add $(EXEEXT) even if program name
712 holds `.'. Don't add $(EXEEXT) if program name already has it.
713 (handle_programs): Don't add $(EXEEXT) if user already did.
714 (make_paragraphs): Don't compute EXEEXT.
716 * tests/Makefile.am (TESTS): Added exeext.test.
717 (XFAIL_TESTS): Likewise.
718 * tests/exeext.test: New file.
720 2001-07-22 Tom Tromey <tromey@redhat.com>
722 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
723 `prog.exe' on Cygwin with libtool. From Robert Collins.
725 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
727 * tests/dirname.test: Explicitly use $SHELL to run the
728 script; this avoids failures on DJGPP.
729 * tests/install2.test: Skip if 'chmod 000' doesn't make
732 2001-07-21 Tom Tromey <tromey@redhat.com>
734 * tests/libtool2.test: Check for libtoolize.
736 * tests/Makefile.am (TESTS): Added substtarg.test.
737 (XFAIL_TESTS): Likewise.
738 * tests/substtarg.test: New file.
740 * automake.in (handle_dist): Handle case where aux dir doesn't
741 have a Makefile. Fixes depdist.test.
742 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
743 * tests/depdist.test: Look for config/depcomp.
745 * tests/Makefile.am (TESTS): Added depdist.test.
746 (XFAIL_TESTS): Likewise.
747 * tests/depdist.test: New file. From Eric Magnien.
749 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
750 AC_PROG_CC_C_O does require AC_PROG_CC.
753 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
755 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
756 output is suitable for make.
758 * automake.texi (Macros): Document AM_PROG_AS.
759 (Assembly Support): New node.
760 * m4/Makefile.am (m4data_DATA): Added as.m4.
761 * m4/as.m4: New file.
763 * automake.texi (Tags): Added uref to global tags.
765 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
767 * automake.in (handle_single_transform_list): Use $(DEPDIR)
768 instead of hardcoding '.deps'.
769 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
771 2001-07-20 Derek Price <dprice@collab.net>
773 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
775 * tests/dirname.test: New test.
776 * tests/stamph2.test: New test.
777 * tests/Makefile.am: Add new tests.
778 * tests/Makefile.in: Regenerated.
780 2001-07-19 Tom Tromey <tromey@redhat.com>
782 * automake.texi (Tags): Document GTAGS_ARGS.
783 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
785 2001-07-19 Tom Tromey <tromey@redhat.com>
786 Alexandre Duret-Lutz <duret_g@epita.fr>
788 Fix for ccnoco.test, subobj8.test:
789 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
790 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
792 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
793 Use AM_AUX_DIR_EXPAND.
794 * lib/compile: Handle case where `-o' argument is the name of an
795 executable, not an object file.
796 * m4/auxdir.m4: New file, from...
797 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
798 * automake.in (handle_single_transform_list, lang_c_rewrite):
799 Require compile using `require_config_file'.
801 2001-07-19 Tom Tromey <tromey@redhat.com>
803 * automake.texi (Program and Library Variables): Added X example
806 2001-07-19 Tom Tromey <tromey@redhat.com>
808 * automake.texi (Distributing): Updated to reflect new license.
810 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
812 * automake.in (require_build_directory): New function, extracted
814 (handle_single_transform_list): ... here.
815 (require_build_directory_maybe): New function.
816 (handle_prograns, handle_libraries, handle_ltlibraries): Call
817 require_build_directory_maybe() to ensure the subdirectory
818 in which a target may lie will exist when the target is created.
819 (handle_libraries, handle_ltlibraries): Use basename before
820 checking library name.
821 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
822 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
823 * lib/am/program.am (%PROGRAM%): Likewise.
825 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
827 * m4/missing.m4: Reword comment.
829 2001-07-18 Pavel Roskin <proski@gnu.org>
831 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
832 * tests/gcj.test: Likewise.
833 * tests/gcj2.test: Likewise.
834 * tests/gcj3.test: Likewise.
836 2001-07-18 Tom Tromey <tromey@redhat.com>
838 * lib/compile: Change how lockdir is computed. If linking or
839 compiling without `-o', just run the compiler.
841 * tests/Makefile.am (TESTS): Added ccnoco.test.
842 (XFAIL_TESTS): Likewise.
843 * tests/ccnoco.test: New file.
845 2001-07-17 Tom Tromey <tromey@redhat.com>
847 * lib/ylwrap: Added special exception.
848 * lib/py-compile: Added license.
849 * lib/mdate-sh: Added special exception.
850 * lib/elisp-comp: Added special exception.
851 * lib/compile: Added special exception.
852 * lib/depcomp: Added special exception.
854 Report from Motoyuki Kasahara:
855 * tests/make.test: Use am__include.
856 * tests/exsource.test: Use am__include.
857 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
858 * automake.in (handle_languages): Use am__include and am__quote.
860 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
861 * m4/init.m4: Updated callers.
863 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
865 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
866 * aclocal.in (scan_configure, add_file): Handle the full macro
867 name even if it contains numbers, such as I18N.
869 2001-07-16 Tom Tromey <tromey@redhat.com>
871 * automake.texi (Dependencies): Link to dependency tracking page.
872 (Data): Mention dist_.
873 (Clean): Mention clean heuristics.
874 (Install): Mention nobase_.
876 * automake.texi (Program and Library Variables): Document _LINK.
878 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
880 * automake.in (handle_libraries): Allow libraries to lie in
881 a subdirectory by constraining only the basename to start
882 with 'lib', not the whole path.
884 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
886 * tests/subobj8.test: New file.
887 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
889 2001-07-16 Tom Tromey <tromey@redhat.com>
891 Fix for PR automake/212:
892 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
893 (uninstall-%DIR%LISP): Likewise.
895 2001-07-15 Tom Tromey <tromey@redhat.com>
897 * automake.in (usage): Rewrote code to handle columnization.
898 From Alexey Mahotkin and Maxim Sinev.
900 Report from Ralf Corsepius:
901 * automake.in (TARGET_PATTERN): Add `+' as valid character.
902 (SUFFIX_RULE_PATTERN): Likewise.
903 * tests/Makefile.am (TESTS): Added cxx.test.
904 * tests/cxx.test: New file.
906 * lib/am/tags.am (distclean-tags): Remove files for gtags.
907 From Shigio Yamaguchi.
909 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
911 * lib/am/distdir.am (distcheck): Emit diagnostic when files
912 remain after "make uninstall".
914 2001-07-14 Tom Tromey <tromey@redhat.com>
916 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
918 * lib/missing (makeinfo): Redirect stdout and stderr outside
919 subshell. From Alexandre Oliva.
921 2001-07-14 Akim Demaille <akim@epita.fr>
923 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
924 `\b(foo|bar)\b' is what we want.
925 * aclocal.in: Likewise.
927 2001-07-14 Akim Demaille <akim@epita.fr>
929 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
931 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
932 actually modified to require AM_DEPENDENCIES.
933 Rename `confdir' as `conftest.dir' so that the configure trap
936 2001-07-04 Tom Tromey <tromey@redhat.com>
939 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
940 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
941 * automake.in (am_install_var): Only rewrite PROGRAMS if
943 (make_paragraphs): Always define %EXEEXT%.
945 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
947 * tests/nolink.test: New file.
948 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
950 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
952 * automake.in (scan_texinfo_file): Add the second argument to
953 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
954 itself may not be used directly.
956 2001-07-04 Tom Tromey <tromey@redhat.com>
959 * lib/missing (makeinfo): Use subshell, not explicit sh
962 * automake.texi (Headers): Mention that we prefer uninstalled
964 (ANSI): Mention cross-compilation limitation.
966 2001-07-03 Tom Tromey <tromey@redhat.com>
968 * configure.in: Upped to 1.4i.
970 * configure.in: Released 1.4h.
972 * lib/config.guess, lib/config.sub: Updated.
974 2001-07-02 Tom Tromey <tromey@redhat.com>
976 Fix for libtool2.test:
977 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
978 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
979 * automake.in (generate_makefile): Call handle_libtool
981 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
983 * tests/libtool2.test: Look for `.lo' files to be removed.
985 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
987 * tests/Makefile.am (TESTS): Removed dup.test.
988 * tests/dup.test: Removed.
989 * aclocal.in (scan_file): Don't give error for duplicate macro.
991 2001-07-01 Tom Tromey <tromey@redhat.com>
993 * automake.texi (Program and Library Variables): Document
994 subdir-objects. Document fact that per-object flags override AM_
997 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
998 (Multilibs): New node.
999 (Macros): Documented missing macros.
1000 (Auxiliary Programs): New node.
1002 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1003 mode, then simply fail.
1005 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1007 * lib/ylwrap: Improve support for DOS paths (and paths
1008 containing backslashes in general).
1010 2001-07-01 Tom Tromey <tromey@redhat.com>
1012 * lib/missing: Added special exception to license.
1015 * lib/missing: Updated. Added comment explaining configure.ac
1018 * lib/depcomp: Reorder arguments to gcc3.
1019 From Per Oyvind Hvidsten.
1021 * tests/Makefile.am (TESTS): Added libtool2.test.
1022 * tests/libtool2.test: New file.
1024 * automake.texi (Program and Library Variables): Added example for
1027 2001-06-29 Tom Tromey <tromey@redhat.com>
1029 * tests/cond11.test: Use `=', not `=='.
1030 * tests/cond12.test: Look for automake in build directory, not
1033 2001-06-29 Richard Boulton <richard@tartarus.org>
1035 * automake.in (conditionals_true_when): Pass first parameters by
1036 reference, avoiding bug which put all parameters in @CONDS instead
1037 of @WHENS. Report by Kalle Olavi Niemitalo.
1038 Take a single WHEN instead of an array of WHENS.
1039 Remove FIXME; can't now have an empty @WHENS.
1040 (conditional_is_redundant): New sub.
1041 (variable_conditions_reduce): Check whether each condition is
1042 implied by any of the other conditions (other those already
1043 discarded), rather than checking only against those already
1044 considered (and kept). Also, fix sense of check: was keeping
1045 tautologous terms instead of discarding them. Use
1046 conditional_is_redundant instead of conditionals_true_when.
1047 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1048 * tests/cond11.test: New file.
1049 * tests/cond12.test: New file.
1051 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1053 * automake.in (saw_sources_p): Work even if there are more
1054 than one header files, and more than of one type of header.
1055 * tests/Makefile.am (TESTS): Added new file.
1056 * tests/depend4.test: New file.
1058 2001-06-28 Tom Tromey <tromey@redhat.com>
1060 * lib/am/libs.am (RANLIB): Don't define.
1062 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1064 * automake.in (am_install_var): Assign 1 to $first on
1067 2001-06-23 Tom Tromey <tromey@redhat.com>
1070 * lib/ylwrap: Changed usage.
1071 * lib/am/yacc.am: Rewrote to use new substitutions.
1072 * lib/am/lex.am: Likewise.
1073 * automake.in (handle_languages): Skip files whose language
1074 doesn't have a compiler. Handle `define_flag' attribute.
1075 Changed '$' to "\$" to aid Emacs fontification.
1076 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1077 `_target_hook' and `define_flag'.
1078 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1079 and `compiler' attributes. Removed `linker', `derived_autodep',
1080 and `ansi' attributes. Added `define_flag'.
1081 (yacc, yaccxx): Added `_target_hook'.
1082 (saw_extension): Count number of times extension seen.
1083 (count_files_for_language): New sub.
1084 (saw_sources_p): Use it.
1085 (handle_single_transform_list): Allow language rewrite function
1086 to return a new source extension. Call target_hook.
1087 (yacc_sources, lex_sources): Removed.
1088 (initialize_per_input): Don't initialize yacc_sources or
1090 (lang_yacc_rewrite): Rewrote.
1091 (lang_yaccxx_rewrite): Likewise.
1092 (lang_lex_rewrite): Likewise.
1093 (lang_lexxx_rewrite): Likewise.
1094 (output_yacc_build_rule): Removed.
1095 (output_lex_build_rule): Removed.
1096 (lang_yacc_finish): Removed build rule generation.
1097 (lang_lex_finish): Likewise.
1098 (DASH_D_PATTERN): New global.
1099 (lang_yacc_target_hook): New function.
1100 (_target_hook): New function.
1101 (register_language): Default `define_flag'.
1102 * tests/yacc5.test: Updated test.
1103 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1104 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1105 for all YFLAGS variables.
1107 2001-06-20 Tom Tromey <tromey@redhat.com>
1109 * tests/yacc5.test: Check for per-executable YFLAGS.
1111 2001-06-19 Tom Tromey <tromey@redhat.com>
1113 * tests/Makefile.am (TESTS): Added yacc5.test.
1114 * tests/yacc5.test: New file.
1116 2001-06-17 Tom Tromey <tromey@redhat.com>
1118 * automake.in (require_file_internal): Check for already-required
1119 file after searching for it, and only if it is not found. Don't
1120 use `readlink' when checking for dangling symlink. Work if
1121 --force-missing specified.
1122 * tests/acoutput2.test: Also test --force-missing.
1124 Fix for libtool.test:
1125 * automake.in (generate_makefile): Call handle_libtool.
1126 (handle_libtool): New sub.
1127 (handle_compile): Don't read `libtool' file.
1129 * tests/acoutput2.test: New file.
1130 * tests/Makefile.am (TESTS): Added acoutput2.test.
1132 2001-06-15 Tom Tromey <tromey@redhat.com>
1134 * tests/Makefile.am (TESTS): Added libtool.test.
1135 * tests/libtool.test: New file.
1137 2001-06-14 Tom Tromey <tromey@redhat.com>
1139 Fix some lisp bugs reported by Bruno Haible:
1140 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1142 (install-%DIR%LISP): Handle case where lispdir is not defined.
1143 (uninstall-%DIR%LISP): Likewise.
1144 (.el.elc): Added `else' clause.
1146 Fix for bug reported by Steve M. Robbins:
1147 * automake.in (handle_single_transform_list): When building a file
1148 from a subdirectory, continue to use `AM_' prefix.
1149 * tests/Makefile.am (TESTS): Added subobj7.test.
1150 * tests/subobj7.test: New file.
1152 * lib/am/configure.am ($(top_builddir)/config.status): Added
1153 $(top_builddir) prefix to work around problems with some vendor
1154 makes. From Nicholas Joly.
1156 * automake.in (yacc_lex_finish_helper): Find ylwrap in
1157 top_srcdir. From Tim Van Holder.
1158 * tests/Makefile.am (TESTS): Added yacc6.test.
1159 * tests/yacc6.test: New file.
1161 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
1163 * tests/defs, tests/installsh.test: Properly support
1166 2001-06-14 Tom Tromey <tromey@redhat.com>
1168 * tests/Makefile.am (TESTS): Added mdate4.test.
1169 * tests/mdate4.test: New file.
1171 * aclocal.in (scan_m4_files): Removed unused variable.
1173 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
1175 * aclocal.in (scan_m4_files): Tweak the building of &search so
1176 that multiple macro names can be found on the same line. Ensure
1177 we match whole macro name, not only substrings.
1179 2001-06-12 Tom Tromey <tromey@redhat.com>
1181 * automake.texi (ANSI): Minor clarification.
1182 (Other GNU Tools): Don't mention Guile.
1184 (Java Support): Mention file extensions.
1185 (Man pages): Mention dist_. Don't mention info pages.
1187 2001-06-11 Tom Tromey <tromey@redhat.com>
1189 * automake.texi (Program variables): Document AM_CPPFLAGS.
1191 (Java Support): Document AM_GCJFLAGS.
1192 (Support for Other Languages): Removed `fixme'; added link to
1193 suffix rule handling.
1195 * automake.texi (Program and Library Variables): Document _LIBADD,
1196 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
1198 2001-06-11 Kevin Dalley <kevind@rahul.net>
1200 * missing: Support configure.ac.
1202 2001-06-08 Tom Tromey <tromey@redhat.com>
1204 * tests/version4.test: New file.
1205 * automake.in (version_check): New sub.
1206 (handle_options): Use it.
1207 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1208 (TESTS): Added version4.test.
1209 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
1210 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
1212 2001-06-04 Kevin Dalley <kevind@rahul.net>
1214 * lib/am/dejagnu.am (site.exp): Fix typo.
1216 2001-06-02 Tom Tromey <tromey@redhat.com>
1218 * automake.in (variable_conditions_sub): Move parent-only code
1220 (variable_conditions): ... to here.
1221 (variable_conditions_sub): Include this variable's conditions in
1222 the resulting condition list.
1223 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
1225 2001-06-01 Tom Tromey <tromey@redhat.com>
1227 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
1229 * tests/ltdeps.test: New file. Report from Lars J. Aas.
1231 2001-05-31 Tom Tromey <tromey@redhat.com>
1233 * automake.texi (Alternative): New node.
1234 (Macros): Use new name for gcc.
1235 (Java Support): Likewise.
1236 (Dependencies): Rewrote.
1237 (Invoking Automake): (Re-)document -i, --ignore-deps, and
1240 * automake.texi (Top level): Removed erroneous spaces. Documented
1243 2001-05-29 Tom Tromey <tromey@redhat.com>
1245 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
1247 * automake.texi (Include): Rewrote.
1248 (Suffixes): Remove Java example.
1249 (Java): Added more explanation. Document variables.
1250 (Uniform): Mention JAVA as a primary.
1251 (Python): Updated for new Python support.
1252 (Sources): Added a weak example.
1254 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
1256 * automake.texi (A Program): Mention `check' prefix.
1257 (Program and Library Variables): New node.
1258 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
1260 (etags): Mention per-program flags.
1261 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
1264 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
1267 2001-05-28 Tom Tromey <tromey@redhat.com>
1269 * m4/Makefile.am (MAINT_CHARSET): Removed.
1270 * Makefile.am (MAINT_CHARSET): Removed.
1271 * automake.in (maint_charset, dist_charset): Removed.
1272 (local_maint_charset): Removed.
1273 (initialize_per_input): Don't use maint_charset.
1274 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
1276 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
1278 (.%SUFFIX%.dvi): Likewise.
1279 (.%SUFFIX%): Likewise.
1281 2001-05-27 Tom Tromey <tromey@redhat.com>
1283 * automake.in (handle_multilib): Only add multilib support code at
1285 * lib/am/multilib.am: Handle invocation of *-multi targets
1286 differently for SUBDIRS and non-SUBDIRS Makefiles.
1287 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
1288 Only add multilib code when the Makefile in question is actually
1291 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
1293 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1295 * automake.in (handle_single_transform_list): Skip unknown
1298 2001-05-25 Tom Tromey <tromey@redhat.com>
1300 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
1302 2001-05-24 Tom Tromey <tromey@redhat.com>
1304 * automake.in (handle_texinfo_helper): Find mdate-sh in current
1305 directory in some situations.
1307 * automake.in (generate_makefile): Better explanation for ansi2knr
1310 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1312 * automake.in (handle_languages): Skip unknown extensions.
1313 (derive_suffix): Check whether $extension_map{$source_ext}
1314 is undefined, not empty.
1316 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
1318 * automake.in (read_am_file): Ignore trailing backslash on
1321 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
1323 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
1325 2001-05-21 Akim Demaille <akim@epita.fr>
1327 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
1328 multiple times'' warning.
1330 2001-05-20 Tom Tromey <tromey@redhat.com>
1332 * configure.in: Updated to 1.4g.
1334 * configure.in: Updated to 1.4f.
1336 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
1338 * lib/ansi2knr.c: New version.
1340 * Makefile.am (FETCHFILES): Added ansi2knr.c.
1343 2001-05-19 Tom Tromey <tromey@redhat.com>
1345 * config.guess, config.sub: New versions from FSF.
1347 * Makefile.am (fetch): Compare against files in srcdir.
1349 For for ansi2knr report from Harlan Stenn:
1350 * automake.in (generate_makefile): Run handle_compile before
1353 2001-05-18 Tom Tromey <tromey@redhat.com>
1355 * automake.in: Reverted erroneous checkin.
1357 2001-05-18 Akim Demaille <akim@epita.fr>
1359 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
1360 to missing `install-info'.
1362 2001-05-17 Tom Tromey <tromey@redhat.com>
1364 * automake.in (lang_c_finish): Use `rm -f'.
1366 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
1367 * tests/Makefile.am (TESTS): Added new file.
1368 * tests/ansi5.test: New file.
1370 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
1372 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
1374 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
1375 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
1376 * automake.texi (Requirements): Document the use of the STRIP
1377 variable in cross-compilation environments.
1379 2001-05-17 Tom Tromey <tromey@redhat.com>
1381 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
1382 to no dependency tracking.
1383 * tests/Makefile.am (TESTS): Added depcomp2.test.
1384 * tests/depcomp2.test: New file. From Pavel Roskin.
1386 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
1388 * lib/depcomp (tru64): New dependency tracking mode.
1390 Fix for PR automake/159:
1391 * lib/depcomp (aix): Rewrote.
1394 Fix for PR automake/174:
1395 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
1396 * automake.in (read_am_file): Warn if `#' is at start of rule.
1398 2001-05-16 Tom Tromey <tromey@redhat.com>
1400 For PR automake/174:
1401 * tests/Makefile.am (TESTS): Added comment3.test.
1402 (XFAIL_TESTS): Likewise.
1403 * tests/comment3.test: New file.
1405 Fix for PR automake/175:
1406 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
1407 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
1408 `Leaving directory' messages.
1410 For PR automake/175:
1411 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
1412 * tests/make.test: Run test with `make -w'.
1414 * tests/Makefile.am (TESTS): Removed maintclean.test.
1415 * lib/am/clean.am (maintainer-clean-generic): Don't remove
1417 * lib/am/configure.am (maintainer-clean-am): Removed.
1418 (maintainer-clean-conf): Removed.
1419 * tests/maintclean.test: Removed.
1421 2001-05-15 Tom Tromey <tromey@redhat.com>
1423 Fix for PR automake/177:
1424 * Makefile.am (maintainer-clean): Set perllibdir before invoking
1425 automake or aclocal.
1427 Fix for maintclean.test:
1428 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
1429 * lib/am/clean.am (distclean-generic): Don't remove config.cache
1431 (distclean, maintainer-clean): Moved to...
1432 * lib/am/configure.am: ... here.
1433 (distclean): Remove config.cache and config.log.
1434 (maintainer-clean): Removed.
1435 (maintainer-clean-conf): New target.
1436 (maintainer-clean-am): New target.
1438 * tests/Makefile.am (TESTS): Added maintclean.test.
1439 (XFAIL_TESTS): Likewise.
1440 * tests/maintclean.test: New file.
1442 Fixes PR automake/175:
1443 * tests/target-cflags.test: Use $needs_gnu_make.
1444 * tests/exsource.test: Use $needs_gnu_make.
1445 * tests/make.test: Require GNU make.
1446 * tests/defs (needs_gnu_make): Compute.
1448 2001-05-14 Tom Tromey <tromey@redhat.com>
1450 * lib/ylwrap: Fixed quoting on regular expression. Fixes
1453 Fix for texinfo10.test.
1454 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
1455 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
1456 * automake.in (handle_texinfo_helper): New sub.
1457 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
1458 * tests/texinfo10.test: Added more cases.
1460 Fix for yaccvpath.test:
1461 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
1462 * lib/am/distdir.am (distdir): Always look for file in build
1464 * lib/ylwrap: Quote the `#line' regular expression.
1465 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
1466 change; don't run sed on the generated file.
1467 * tests/yaccvpath.test: Create new parser in srcdir. Added test
1468 to make sure parser will be rebuilt at dist time.
1470 2001-05-13 Pavel Roskin <proski@gnu.org>
1472 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
1473 beginning with `##'.
1474 * automake.texi (General Operation): Document it.
1476 2001-05-13 Tom Tromey <tromey@redhat.com>
1478 Reported by Rainer Orth:
1479 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
1481 * tests/Makefile.am (TESTS): Added distname.test.
1482 * tests/distname.test: New file.
1484 * Makefile.am (dist_pkgdata_DATA): Removed.
1486 * tests/defs: Find files to copy in lib/.
1487 * automake.in (perllibdir): Set to Automake directory.
1488 * ansi2knr.c, ansi2knr.1: Removed.
1489 * Makefile.am (dist_am_DATA): Removed.
1491 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
1493 (scriptdir): Removed.
1494 (dist_script_DATA): Likewise.
1495 (install-data-hook): Likewise.
1496 (installcheck-local): Likewise.
1497 (TAGS_FILES): Removed amfiles.
1498 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
1499 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
1500 point it to the right directory.
1501 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
1502 compile.am, configure.am, data.am, dejagnu.am, depend.am,
1503 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
1504 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
1505 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
1506 mans.am, multilib.am, program.am, progs.am, python.am,
1507 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
1508 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
1509 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
1510 (AUTOMAKE): Use --libdir, not --amdir.
1511 Ues AC_CONFIG_AUX_DIR.
1512 * lib/Makefile.am (SUBDIRS): Added `am'.
1513 (scriptdir): New macro.
1514 (dist_script_DATA): Likewise.
1515 (dist_pkgdata_DATA): Likewise.
1516 (install-data-hook): New target.
1517 (installcheck-local): Likewise.
1518 * lib/am/Makefile.in: New file.
1519 * lib/am/Makefile.am: Removed everything except amdir and
1522 2001-05-13 Akim Demaille <akim@epita.fr>
1524 * automake.in ($pkgdata_dir): Rename as...
1526 ($am_dir): Remove, replace its uses with $libdir.
1527 (&parse_arguments): Replace --amdir with --libdir.
1528 * automake.texi (Invoking Automake): Document --libdir, not
1530 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
1532 2001-05-13 Tom Tromey <tromey@redhat.com>
1534 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
1536 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
1537 Correctly look at AMDEP_TRUE, not AMDEP.
1539 Report from Robert Boehne:
1540 * tests/Makefile.am (TESTS): Added depend2.test.
1541 * tests/depend2.test: New file.
1543 2001-05-13 James Henstridge <james@daa.com.au>
1545 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
1546 Point pythondir at site-packages directory. Rename
1547 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
1548 pyexecdir. Removed package/module argument. Removed
1549 PYTHON_SITE_INSTALL. Added version checking.
1551 2001-05-14 Jim Meyering <meyering@lucent.com>
1553 * automake.in (macro_define): Change one remaining use of
1554 `variable_dump' to `macro_dump'.
1556 2001-05-13 Tom Tromey <tromey@redhat.com>
1558 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
1561 2001-05-13 Akim Demaille <akim@epita.fr>
1563 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
1564 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
1565 (&am_primary_prefixes): Use `map' rather than `grep'.
1567 2001-05-13 Akim Demaille <akim@epita.fr>
1569 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
1571 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
1572 (&lang_asm_finish): Remove, set asm's finisher to C's one.
1574 2001-05-13 Akim Demaille <akim@epita.fr>
1576 * lang-compile.am: New file, loaded once per language.
1577 * depend2.am: Move definitions loaded once per language in the
1578 aforementioned file.
1579 * automake.in (&handle_languages): Load it.
1580 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
1581 handled by lang-compile.am.
1583 2001-05-13 Tom Tromey <tromey@redhat.com>
1585 * tests/Makefile.am (TESTS): Added python.test.
1586 * tests/python.test: New file.
1587 * automake.in (handle_languages): Use
1588 config_aux_dir_set_in_configure_in.
1589 (handle_python): Correctly mention AM_PATH_PYTHON. Use
1590 py-compile, not py_comp. Define py_compile macro.
1592 2001-05-13 Derek Price <dprice@openavenue.com>
1594 * automake.in (require_file_with_conf_line,
1595 require_file_with_line, require_file): Pass a @require_file_path
1596 of $relative_dir instead of '.' to require_file_internal so that
1597 all the special casing of '.' can be removed elsewhere.
1598 (require_config_file, require_conf_file_with_line,
1599 require_conf_file_with_conf_line): Remove special casing for '.'
1600 and make sure $config_aux_dir is maintained properly.
1601 (require_file_internal): Remove special casing of '.' and set
1602 @require_file_path when missing files are added.
1603 (maybe_push_required_file): Remove special casing of '.'
1604 (handle_dependencies): Remove a workaround for a bug now fixed
1605 and remove $config_aux_dir special casing.
1606 (handle_configure): Remove special casing for $config_aux_dir
1607 (handle_python): Ditto.
1608 (yacc_lex_finish_helper): Change $config_aux_dir switch to
1609 switch on the value of $config_aux_dir_set_in_configure_in.
1610 (handle_texinfo): Ditto.
1611 (scan_one_configure_file): Set $config_aux_dir and
1612 $config_aux_dir_set_in_configure_in properly so special casing
1613 on the value of $config_aux_dir can be removed elsewhere.
1614 * tests/depcomp.test: New file.
1615 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
1616 first subdir containing a C file.
1617 * tests/libobj2.test: Ditto.
1618 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
1620 2001-05-12 Tom Tromey <tromey@redhat.com>
1622 * tests/gcj.test: Updated for gcj dependency tracking.
1623 * tests/gcj2.test: Likewise.
1625 Fixes PR automake/169.
1626 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
1628 * automake.in (java): Added autodep entry.
1629 * tests/Makefile.am (TESTS): Added gcj3.test.
1630 * tests/gcj3.test: New file.
1632 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
1634 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
1635 stop at the first '='.
1636 * tests/Makefile.am (TESTS): Added vars.test.
1637 * tests/vars.test: New file.
1639 2001-05-12 Akim Demaille <akim@epita.fr>
1641 * automake.in (&handle_single_transform_list): Simplify
1642 computation of $object and $this_obj_ext.
1643 * tests/lex3.test: Merge into...
1644 * tests/lex.test: here.
1645 * tests/pr19.test: Improve and rename as...
1646 * tests/lex3.test: this.
1648 2001-05-09 Tom Tromey <tromey@redhat.com>
1650 * automake.in (read_am_file): Correctly compute $saw_bk.
1651 (scan_autoconf_files): Ensure configure_dist_common is always
1653 * tests/defs (AUTOMAKE): Added --Werror.
1655 2001-05-09 Pavel Roskin <proski@gnu.org>
1657 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
1660 2001-05-09 Tom Tromey <tromey@redhat.com>
1662 * tests/werror.test: Use `rm -f'.
1664 2001-05-09 Akim Demaille <akim@epita.fr>
1666 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
1668 2001-05-09 Akim Demaille <akim@epita.fr>
1670 * automake.in: Remove some code left from bad patches.
1671 (&handle_dependency): Remove, for the same reason.
1673 2001-05-09 Akim Demaille <akim@epita.fr>
1675 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
1676 (&handle_tests_dejagnu, &define_standard_variables): Don't.
1677 (&define_standard_variables): Don't transform %top_builddir% since...
1678 * header-vars.am: Use %TOPDIR% instead.
1680 2001-05-09 Akim Demaille <akim@epita.fr>
1682 * automake.in (@objects): Remove, unused.
1683 Remove all the code related to it, and to former `$(OBJECTS)'.
1685 2001-05-08 Tom Tromey <tromey@redhat.com>
1688 * ylwrap: Handle arguments to program. Remove old code that tried
1689 to avoid absolute paths and add new code to do it in all cases.
1690 Removed ancient logic that tried to deal with relative path.
1691 * tests/Makefile.am (TESTS): Added yacc4.test.
1692 * tests/yacc4.test: New file.
1694 Fix for PR automake/149 and werror.test:
1695 * automake.in (require_file_internal): Use am_line_warning or
1696 am_conf_line_warning when suppressing error.
1697 (am_line_warning): New sub.
1698 (am_conf_line_warning): Save and restore warning signal.
1699 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1701 Fix for PR automake/36:
1702 * tests/Makefile.am (TESTS): Added asm.test.
1703 * tests/asm.test: New file.
1704 * automake.in (asm): Use ASFLAGS and AS.
1705 (lang_asm_finish): New sub.
1707 * automake.in (read_am_file): Removed debugging code.
1709 For PR automake/149:
1710 * tests/Makefile.am (TESTS): Added werror.test.
1711 (XFAIL_TESTS): Likewise.
1712 * tests/werror.test: New file.
1714 * automake.in (conditional_true_when): Don't return if we see
1717 * tests/objc.test: Removed.
1718 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1721 * automake.in (subst): New sub.
1722 (handle_languages): Use it.
1723 (output_lex_build_rule): Likewise; also use _am_quote.
1724 (check_libobjs_sources): Likewise.
1725 (make_paragraphs): Use subst.
1727 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1730 * automake.in (file_contents_internal): Prototype now `$$%'.
1731 (register_language): Prototype now `%'.
1733 Fixes test subobj6.test and PR automake/160:
1734 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1735 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1736 (distclean-compile): Added DISTRMS.
1737 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1738 `mostlyclean' use; added test for non-subdir case.
1739 * automake.in (compile_clean_files): New global.
1740 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1741 (initialize_per_input): Initialize compile_clean_files.
1742 (handle_single_transform_list): Set compile_clean_files entries.
1743 (handle_compile): Handle compilation cleanups.
1745 2001-05-08 Lars J. Aas <larsa@sim.no>
1747 * automake.texi (Canonicalizing Automake macros): Document not
1748 canonicalizing strudels (@) anymore.
1750 2001-05-08 Akim Demaille <akim@epita.fr>
1752 * distdir.am (dist-all): Build all the flavors using a single
1755 2001-05-08 Akim Demaille <akim@epita.fr>
1757 * automake.in (&file_contents_internal): Apply the @cond_stack to
1758 the rules and assignments.
1759 Don't rely on `$.' as it's biased by &make_paragraphs.
1760 Don't remove backslashes in variable values.
1762 2001-05-08 Akim Demaille <akim@epita.fr>
1764 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1765 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1766 ($MACRO_PATTERN): Just catch the name of a macro.
1767 ($BOGUS_MACRO_PATTERN): Remove.
1768 ($ASSIGNMENT_PATTERN): New.
1769 (&file_contents_internal, &make_paragraphs): Adjust.
1770 (¯o_define): Catch bad macro names.
1771 (&cond_stack_endif): Better error message.
1772 (&file_contents_internal): Don't remove backslashes in variable
1774 (¯o_define): Do it for `+=' user variables.
1775 (&define_standard_variables): Use `undef' instead of a dummy
1777 (&make_paragraph): Be sure not to chop the trail of hash only
1778 lines: adjust the `##' regexp.
1779 (&rule_define): Fix a bug: don't read $1 but $target.
1780 * tests/condincl.test: Strengthen.
1782 2001-05-08 Akim Demaille <akim@epita.fr>
1784 * automake.in (Language): Add attributes `Name' and `config_vars'.
1785 (&finish): Work properly if there is no _finish.
1786 (Automake): Register language Names and AC_SUBST dependencies.
1787 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1788 (&handle_languages): Once per language, invoke
1789 `define_linker_variables', and check its config_vars.
1790 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1791 (&lang_java_finish): Remove.
1792 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1794 2001-05-08 Akim Demaille <akim@epita.fr>
1796 * automake.in (&file_contents_internal): Accept $IS_AM.
1797 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1799 2001-05-08 Akim Demaille <akim@epita.fr>
1801 * automake.in (am_install_var): Use `next' instead of `if' on the
1804 2001-05-08 Akim Demaille <akim@epita.fr>
1806 * automake.in (Language): Add attributes `lder' and `ld'.
1807 (®ister_language): Specify for cxx, objc, f77, gcj.
1808 (&define_linker_variable): New.
1809 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1810 (&lang_java_finish): Adjust.
1811 (&libtool_compiler): Remove.
1813 2001-05-08 Akim Demaille <akim@epita.fr>
1815 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1816 argument, as you don't use it.
1818 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1821 (&handle_programs): Don't mess with %lex_sources, as you don't use
1824 2001-05-08 Akim Demaille <akim@epita.fr>
1826 * automake.in (Language): Add attribute `link'.
1827 (®ister_language): Specify for cxx, objc, f77, gcj.
1828 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1829 (&lang_java_finish): Adjust.
1831 2001-05-08 Akim Demaille <akim@epita.fr>
1833 * automake.in (&define_compiler_variables): Use only $LANG as
1835 (&handle_languages): Adjust.
1837 2001-05-08 Akim Demaille <akim@epita.fr>
1839 * automake.in (&define_program_variable): Remove.
1840 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1842 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1843 * texinfos.am: Do it.
1845 2001-05-08 Akim Demaille <akim@epita.fr>
1847 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1849 * dejagnu.am: Do it.
1850 (site.exp): Use `if'.
1852 2001-05-08 Akim Demaille <akim@epita.fr>
1854 * automake.in: Formatting changes.
1855 (variable_dump, variables_dump): Rename as...
1856 (macro_dump, macros_dump): these.
1858 2001-05-08 Akim Demaille <akim@epita.fr>
1860 Support `if !COND', `else COND', `end COND'.
1862 * automake.texi (Conditionals): Document it.
1863 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1864 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1865 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1866 a leading `!' before the condition.
1867 (&handle_options): Use `\d'.
1868 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1869 (&read_am_file, &file_contents_internal): Use them.
1870 (&transform): No longer substitute `%!COND%', forcing the use of
1872 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1874 2001-05-08 Akim Demaille <akim@epita.fr>
1876 Uniform handling of per-object compilation rules.
1877 Note: Automake is repaired.
1879 * automake.in (&handle_languages): Output per object rules for all
1880 the objects, not only for those which language supports dependency
1882 Fix Automake: when outputting per-object rules, use `-o' if the
1883 language has no `output_flag', as it's really needed.
1884 (&handle_single_transform_list): Instead of special casing files
1885 which need per object rules but which language don't support
1886 dependency tracking, keep them in the queue for processing by
1887 `&handle_languages'.
1889 2001-05-08 Akim Demaille <akim@epita.fr>
1891 * automake.in (&handle_languages): `ext-compile.am' and
1892 `depend2.am' are now equivalent for generic rules: output only the
1894 * ext-compile.am: Remove.
1896 2001-05-08 Akim Demaille <akim@epita.fr>
1898 Note: This patch breaks Automake. Repaired within two patches.
1900 * automake.in (Language): Replace the attribute `output_arg' with
1901 `compile_flag' and `output_flag'.
1902 (Automake): Adjust language registrations.
1903 (&handle_languages): Transform `-c' and `-o' for both suffix and
1904 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1906 (&handle_single_transform_list): Adjust to `compile_flag' and
1908 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1910 2001-05-08 Akim Demaille <akim@epita.fr>
1912 * automake.in (&handle_languages): Don't transform %COMPILER%.
1913 Use `$lang->compiler' instead of `$pfx' to transform generic
1914 %COMPILE% and %LTCOMPILE%.
1915 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1916 of %COMPILER% and $<.
1918 2001-05-07 Akim Demaille <akim@epita.fr>
1920 * automake.in (&handle_languages): Use the same `%transform' for
1921 both `depend2.am' and `ext-compile.am'.
1922 Delay the definition of `$flag' so it is right before the first use,
1923 and rename as `$flags'.
1925 2001-05-07 Akim Demaille <akim@epita.fr>
1927 * automake.in (&handle_languages): Compute `$ltoutarg' and
1928 `$outarg' independently of dependency code.
1929 There is no use looping on a language's possible extensions since
1930 we loop over used extensions.
1931 Therefore, there is no use for a local `%transform'.
1933 2001-05-07 Akim Demaille <akim@epita.fr>
1935 * automake.in (&handle_languages): Don't use $comp.
1937 2001-05-07 Akim Demaille <akim@epita.fr>
1939 * automake.in (&handle_languages): Merge the two loops over
1940 %extension_seen/%languages into one and group code to be run once
1941 per language together.
1943 2001-05-07 Akim Demaille <akim@epita.fr>
1945 * automake.in (&handle_languages): Move the `if
1946 ($use_dependencies)' block so that loops over extensions and
1947 languages are next to each other.
1949 2001-05-07 Akim Demaille <akim@epita.fr>
1951 * automake.in (&depend2): Remove, merged into...
1952 (&handle_languages): here.
1954 2001-05-07 Akim Demaille <akim@epita.fr>
1956 * automake.in (&finish_languages): Rename as...
1957 (&handle_languages): this.
1958 Include the body of...
1959 (&handle_dependency): this.
1962 2001-05-06 Tom Tromey <tromey@redhat.com>
1965 * tests/Makefile.am (TESTS): Add subdir5.test.
1966 (XFAIL_TESTS): Likewise.
1967 * tests/subdir5.test: New file.
1969 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1970 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1972 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1974 (handle_options): Handle fork identifier in version number.
1976 * automake.texi (Dist): Document distcheck-hook.
1978 * tests/confh4.test: Update to reflect DEFS change.
1979 For PR automake/132.
1981 Fix for PR automake/132:
1982 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1984 (java): Remove INCLUDES and DEFS from compilation.
1985 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1986 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1987 (DEFAULT_INCLUDES): New macro.
1989 * automake.in (usage): Re-align explanatory text.
1990 Fixes PR automake/148.
1992 * automake.texi (Uniform): Don't use @PROGRAMS@.
1993 Fixes PR automake/154.
1995 For PR automake/160:
1996 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1997 (XFAIL_TESTS): Add subobj6.test.
1998 * tests/subobj6.test: New file.
2000 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2001 (Top level): Don't mention `flat'.
2002 (Extending): Likewise.
2003 (User Variables): New node.
2005 * distdir.am (distdir): Make subdirectory for each file.
2006 Fixes test subobj5.test.
2008 * tests/Makefile.am (TESTS): Add new file.
2009 (XFAIL_TESTS): Likewise.
2010 * tests/texinfo10.test: New file.
2012 2001-05-05 Pavel Roskin <proski@gnu.org>
2014 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2015 in the same way as @defcodeindex and @syncodeindex respectively.
2017 2001-05-05 Tom Tromey <tromey@redhat.com>
2019 * mans.am (install-man%SECTION%): Minor cleanup.
2020 (uninstall-man%SECTION%): Likewise.
2022 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2023 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2025 (uninstall-man%SECTION%): Likewise.
2026 * automake.in (handle_man_pages): Handle dist_ and nodist_
2029 * automake.texi (Future): Removed.
2031 (Hello): Don't mention `deep'.
2032 (Top level): Likewise.
2034 * automake.in (conditional_true_when): Use a hash, not index().
2035 Also, a TRUE component always results in a true return.
2036 Fixes test cond10.test. For PR automake/164.
2037 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2039 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2041 For PR automake/164:
2042 * tests/Makefile.am (TESTS): Added new file.
2043 (XFAIL_TESTS): Likewise.
2044 * tests/cond10.test: New file.
2046 2001-05-05 Tom Tromey <tromey@redhat.com>
2048 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2050 (install-info-am): Likewise.
2052 2001-05-05 Pavel Roskin <proski@gnu.org>
2054 * automake.in (scan_texinfo_file): Don't push undefined values
2057 2001-05-05 Richard Boulton <richard@tartarus.org>
2059 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2062 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2064 * automake.in (required_targets): Added uninstall-am.
2066 2001-05-05 Tom Tromey <tromey@redhat.com>
2068 Fix bug reported by Robert Boehne:
2069 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2071 (handle_dependencies): Likewise.
2072 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2073 substitution. Correct diff now has 30 lines. Look for space
2074 after losing `undef'.
2076 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
2078 * m4/sanity.m4: Remove the temp file before possible error exits.
2080 2001-05-04 Akim Demaille <akim@epita.fr>
2082 * configure.in: Set perllibdir.
2085 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2087 * automake.in ($pkgdata_dir): New.
2088 (&require_file_internal): Use it.
2090 2001-05-03 Akim Demaille <akim@epita.fr>
2092 Case insensitive FS choke on Automake/ vs automake.
2093 Reported by Tim Van Holder.
2095 * Automake/: Move into...
2096 * lib/: this new directory.
2098 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2100 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2103 2001-04-30 Jim Meyering <meyering@lucent.com>
2105 * automake.in: Remove `/lib' from include directory.
2107 2001-04-27 Akim Demaille <akim@epita.fr>
2109 AM_INIT_AUTOMAKE is no longer optional.
2111 * automake.in ($seen_make_set, $seen_prog_install)
2112 ($seen_arg_prog): Remove.
2113 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2114 Remove related code.
2116 2001-04-27 Akim Demaille <akim@epita.fr>
2118 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2120 * tests/specflags3.test: here.
2122 2001-04-27 Akim Demaille <akim@epita.fr>
2124 * automake.in ($seen_path_xtra): Remove.
2125 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2126 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2128 2001-04-27 Akim Demaille <akim@epita.fr>
2130 * automake.in (&file_contents_internal): Declare it.
2132 2001-04-27 Akim Demaille <akim@epita.fr>
2134 * automake.in (&read_am_file, &file_contents_internal): Don't
2135 define macros when `FALSE', to avoid errors on doubly defined
2136 variables but under condition `FALSE'. In order to allow...
2137 (&am_install_var): When reading the associated file for the first
2138 time, enable `%?FIRST%'.
2139 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2140 * libs.am: Do it when `%?FIRST%'.
2142 2001-04-27 Akim Demaille <akim@epita.fr>
2144 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2145 * ansi2knr.am: Do it.
2146 Prefer `if %?FOO%' to `if %!FOO%'.
2148 2001-04-27 Akim Demaille <akim@epita.fr>
2150 * automake.in (®ister_language, &finish_languages): Use `pure'
2152 (®ister_language): Use %done properly with objects, not names.
2153 (&finish_languages): Replace `$non_c' with `$needs_c'.
2155 2001-04-27 Akim Demaille <akim@epita.fr>
2157 Unify LISP, PYTHON and JAVA primaries.
2159 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
2160 return if there are no files, hook elisp-comp on the Autoconf
2161 macro, rely on lisp.am to define variables.
2162 (&handle_python, &handle_java): Likewise.
2163 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
2164 `PYTHON' must be handled here, not in `&handle_python'.
2165 * java.am: Define needed variables and rules.
2167 2001-04-27 Akim Demaille <akim@epita.fr>
2169 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
2171 * header.am: Include data.am.
2173 2001-04-27 Akim Demaille <akim@epita.fr>
2175 * automake.in (&am_install_var): Transform `PRIMARY'.
2176 * data.am: Equip with %PRIMARY%.
2178 2001-04-27 Akim Demaille <akim@epita.fr>
2180 * automake.in (@conditional_stack): Rename as...
2181 (@cond_stack): this.
2182 (&file_contents_internal): Support inclusion of files.
2184 2001-04-27 Akim Demaille <akim@epita.fr>
2186 * automake.in (&lang_extensions): Remove.
2187 (&add_depend2, &saw_sources_p): Adjust.
2188 * depend2.am: `%EXT%' no longer includes the dot.
2190 2001-04-27 Akim Demaille <akim@epita.fr>
2192 * automake.in (&finish_languages, &handle_single_transform_list)
2193 (&add_depend2, &handle_dependencies): No longer use the language
2194 name in `$lang'. Rename `$lang_obj' as `$lang'.
2196 2001-04-27 Akim Demaille <akim@epita.fr>
2198 * automake.in (®ister_language): Use `new Language' with a hash.
2200 2001-04-27 Akim Demaille <akim@epita.fr>
2202 * automake.in (®ister_language): Rename `output-arg' and
2203 `derived-autodep' as `output_arg' and `derived_autodep' to match
2204 the Language attribute.
2205 Set the defaults in %option instead of $lang.
2207 2001-04-27 Akim Demaille <akim@epita.fr>
2209 * Automake/: New directory.
2210 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
2211 * automake.in (Language): Use Automake::Struct.
2212 * tests/defs: Adjust to find Struct.
2214 2001-04-23 Pavel Roskin <proski@gnu.org>
2216 * automake.in: Add forward declaration for register_language().
2217 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
2220 2001-04-20 Akim Demaille <akim@epita.fr>
2222 * automake.in (%required_targets): Add `uninstall'.
2223 From Robert Collins.
2225 2001-04-12 Akim Demaille <akim@epita.fr>
2227 * automake.in (Language): Add attribute `name'.
2228 (®ister_language): The name of the language is now given in the
2230 No longer use `$lang' as the name of the language.
2231 Rename `$lang_obj' as `$lang'.
2233 2001-04-12 Akim Demaille <akim@epita.fr>
2235 * automake.in (Language): Add attribute `_finish'.
2238 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
2239 (&lang_asm_finish): Remove.
2241 2001-04-12 Akim Demaille <akim@epita.fr>
2243 * automake.in (Language): Add attribute `extensions'.
2244 (Automake): Pass a hash to `®ister_language' instead of a
2245 list of pseudo assignments.
2246 (®ister_language): Adjust.
2247 (&finish_languages): Initialize `$ltoutarg'.
2249 2001-04-12 Akim Demaille <akim@epita.fr>
2251 * automake.in (Language): Add attribute `output_arg'.
2252 (%language_map): Remove.
2253 (®ister_language): Build only the object, and store in
2255 (&finish_languages, &handle_single_transform_list): Adjust.
2257 2001-04-12 Akim Demaille <akim@epita.fr>
2259 * automake.in (Language): Add attributes `flags', `compile' and
2261 (&finish_languages, &handle_single_transform_list, &handle_dist)
2262 (&add_depend2, ®ister_language): Use them and the `linker' and
2265 2001-04-12 Akim Demaille <akim@epita.fr>
2267 * automake.in (&handle_single_transform_list, &finish_languages)
2268 (&handle_dist, &handle_dependencies): Use the language object for
2269 autodep and derived-autodep too.
2271 2001-04-12 Akim Demaille <akim@epita.fr>
2273 * automake.in (¯o_define): Ignore Automake definition for
2274 ($var, $cond) if there is already a user definition for ($var, $cond).
2276 2001-04-12 Akim Demaille <akim@epita.fr>
2278 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
2279 but also @deffn and so on which push data in indexes.
2280 Reported by Derek R. Price.
2282 2001-04-12 Akim Demaille <akim@epita.fr>
2284 * automake.in (Language): New package, temporarily in this file.
2286 (Automake): New package.
2288 (&handle_single_transform_list): Use the language object's `ansi'
2289 attribute instead of `$language_map{"$lang-ansi-p"}'.
2290 (®ister_language): Build and register the language too.
2292 2001-04-11 Tom Tromey <tromey@redhat.com>
2294 Fixes report from Larry Jones:
2295 * automake.in (handle_dependencies): Add `@_am_quote@' where
2297 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
2299 2001-04-11 Akim Demaille <akim@epita.fr>
2301 * depend2.am: Fix the `if' condition for Libtool.
2302 Reported by Robert Boehne.
2304 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
2306 * tests/subobj5.test: New file.
2308 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2310 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
2311 * tests/Makefile.am (TESTS): Added make.test.
2312 * tests/make.test: New file.
2314 2001-04-10 Tom Tromey <tromey@redhat.com>
2316 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
2318 2001-04-10 Derek R. Price <dprice@collab.net>
2320 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
2322 2001-04-10 Akim Demaille <akim@epita.fr>
2324 * distdir.am: Add a missing backslash.
2326 2001-04-10 Akim Demaille <akim@epita.fr>
2328 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
2330 Specify to the caller whether $regen_aclocal_m4.
2331 (&handle_configure): Adjust.
2332 Transform `REGEN-ACLOCAL-M4'.
2334 * configure.am: Use it.
2335 * tests/defs (me): New.
2336 * tests/confdeps.test: New.
2338 2001-04-09 Tom Tromey <tromey@redhat.com>
2340 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
2341 Fixes report from Jim Meyering.
2343 2001-04-09 Akim Demaille <akim@epita.fr>
2345 * automake.in (&handle_configure): Don't bother with optimizing
2348 2001-04-09 Akim Demaille <akim@epita.fr>
2350 * tests/cond3.test (expected): Adjust.
2352 2001-04-09 Akim Demaille <akim@epita.fr>
2354 * automake.in (&handle_single_transform_list): Remove $xbase,
2356 (&handle_source_transform): All the variables have conditions now,
2358 (&variable_delete): Admit an argument @conds.
2360 2001-04-09 Akim Demaille <akim@epita.fr>
2362 * automake.in ($source_suffix_pattern): Remove, unused.
2363 %extension_map seems to have replaced it.
2365 2001-04-09 Akim Demaille <akim@epita.fr>
2367 * ext-compile.am: New file.
2368 * automake.in (&finish_languages): Output it.
2369 Require a C linker if there are several registered source suffixes.
2370 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
2371 extensions, which are discovered in ext-compile.am.
2372 With the help from Robert Boehne.
2374 2001-04-09 Akim Demaille <akim@epita.fr>
2376 * automake.in (&handle_compile): Extract from...
2377 (&get_object_extension): here.
2378 (&read_am_file): Call it.
2379 ($included_generic_compile, $included_knr_compile)
2380 ($included_libtool_compile): Remove.
2381 ($get_object_extension_was_run): New.
2383 2001-04-09 Akim Demaille <akim@epita.fr>
2385 Use AM_CONDITIONAL and if/endif for AMDEP.
2387 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
2388 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
2389 to a configure time if/endif), or to `FALSE' (static removal of
2391 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
2392 * depend2.am: Use if/endif.
2394 Adjust the 101 tests that use dependencies so that they
2395 properly invoke aclocal before automake. They need to `see'
2396 `AM_CONDITIONAL([AMDEP], ...)'.
2398 2001-04-09 Akim Demaille <akim@epita.fr>
2400 * tags.am: Fix missing leading tabs.
2402 2001-04-09 Akim Demaille <akim@epita.fr>
2404 * automake.in: Use simple quotes to define the _PATTERN variables
2405 to unobfuscate the regexps.
2406 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
2408 2001-04-09 Akim Demaille <akim@epita.fr>
2410 * automake.in (&rule_define): When you discover a suffix rules,
2411 register the extensions for .SUFFIXES.
2412 (&handle_texinfo): Don't register the suffixes.
2413 (&get_object_extension): Don't register suffixes, let them be
2414 discovered in depend2.am.
2415 (&handle_emacs_lisp): Depend on your lisp.am.
2416 * lisp.am: Include the rule &handle_emacs_lisp used to output.
2418 2001-04-09 Akim Demaille <akim@epita.fr>
2420 * subdirs.am: Don't define info related recursive targets.
2423 2001-04-09 Akim Demaille <akim@epita.fr>
2425 * subdirs.am (RECURSIVE_TARGETS): New variable.
2427 * automake.in (&handle_subdirs): Output it.
2428 (&file_contents_internal): Support value spread on several lines.
2430 2001-04-09 Akim Demaille <akim@epita.fr>
2432 * automake.in (&handle_man_pages): Rely on mans.am to define
2433 man%SECTION%dir and MANS.
2436 2001-04-09 Akim Demaille <akim@epita.fr>
2438 * automake.in (&variable_dump): Use %var_type properly.
2439 (¯o_define): Enforce better overriding rules.
2440 Handle the special case that used to handle...
2441 (&define_pretty_variable): this.
2443 The variables you define are owned by Automake.
2444 (&generate_makefile): PRE_INSTALL and co must not be defined *by
2446 (&variable_defined): Now independent of the owner.
2447 (&variable_output, &variable_pretty_output): Adjust to %var_type.
2449 2001-04-09 Akim Demaille <akim@epita.fr>
2451 * automake.in (%var_was_plus_eq): Rename as...
2453 (%def_type): Remove.
2454 (¯o_define): %var_type may now hold `', `+', or `:'.
2455 (%conditional, %am_vars, %content_lines): Rename as...
2456 (%var_value, %var_comment, %var_line): these.
2458 2001-04-09 Akim Demaille <akim@epita.fr>
2460 * automake.in (&variable_output): Admit a list of @CONDS.
2461 (&variable_pretty_output): New.
2462 (&define_pretty_variable): Use it.
2463 (&read_am_file, &file_contents_internal): Prepend a separator to
2464 $am_vars only if there is none yet.
2465 (&file_contents_internal): Rename $separator as $spacing to
2466 harmonize with &read_am_file.
2468 2001-04-09 Akim Demaille <akim@epita.fr>
2470 * automake.in (&am_install_var): Transform DIST, and let the *.am
2471 files handle DIST_COMMON.
2472 * data.am, header.am, java.am, list.am, python.am, script.am: Set
2475 2001-04-09 Akim Demaille <akim@epita.fr>
2477 * automake.in (%dist_common): Remove.
2478 (%configure_dist_common): Replace with...
2479 ($configure_dist_common): this.
2480 (&generate_makefile): Read the user file before using
2481 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
2482 that no variable is defined before it is run.
2483 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
2484 (&dist_cmp): Rename as...
2485 (&for_dist_common): this.
2486 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
2488 Adjust to $configure_dist_common.
2489 * configure.am, texi-vers.am: Set DIST_COMMON.
2491 2001-04-09 Akim Demaille <akim@epita.fr>
2493 * automake.in (&handle_aclocal_m4): Rename as...
2494 (&scan_aclocal_m4): this.
2495 Return the list of aclocal.m4 dependencies.
2496 (&handle_configure): Invoke it, and use it when loading...
2497 * configure.am: Template the rules to recreate aclocal.m4.
2499 2001-04-09 Akim Demaille <akim@epita.fr>
2501 * automake.in (&get_object_extension): Use ansi2knr.am.
2502 * clean-kr.am, kr-extra.am: Remove, merged into...
2503 * ansi2knr.am: this new file.
2505 2001-04-09 Akim Demaille <akim@epita.fr>
2507 * automake.in (&transform): Fix an incredible bug which was
2508 breaking the if/endif system.
2509 ($ELSE_PATTERN): Admit an optional argument.
2511 2001-04-09 Akim Demaille <akim@epita.fr>
2513 * comp-vars.am: Remove, merged into...
2515 * automake.in (&get_object_extension): Adjust.
2517 2001-04-09 Akim Demaille <akim@epita.fr>
2519 * remake.am: Merge into...
2520 * configure.am: ... here.
2521 * automake.in (&handle_configure): Adjust.
2523 2001-04-09 Akim Demaille <akim@epita.fr>
2525 * automake.in (&output_lex_build_rule): Output this...
2528 2001-04-09 Akim Demaille <akim@epita.fr>
2530 * automake.in (&condition_negate): New.
2531 (&variable_conditions_permutations): Use it.
2532 (&read_am_file, &file_contents): Use it on `else' clauses to
2534 (&output_yacc_build_rule): Output this...
2535 * yacc.am: New file.
2537 2001-04-09 Akim Demaille <akim@epita.fr>
2539 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
2540 (&handle_dist): Don't.
2541 (&handle_clean): Don't handle config.status here, let...
2542 * clean.am: ... do it.
2543 * distdir.am: Adjust.
2545 2001-04-09 Akim Demaille <akim@epita.fr>
2547 * automake.in: Use strict vars and subs.
2548 Declare `%require_file_found'.
2549 (&handle_source_transform, &make_paragraphs): Declare my variables.
2551 2001-04-09 Akim Demaille <akim@epita.fr>
2553 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2554 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
2555 * java.am (_am_installdirs): Be sure to set it.
2557 2001-04-09 Akim Demaille <akim@epita.fr>
2559 * automake.in (&make_condition): Return '#' when FALSE.
2560 (&conditional_string): Return FALSE, not '#' in the corresponding
2562 (&file_contents_internal): Adjust.
2563 (&check_variable_defined_unconditional): Dump the guilty variable.
2565 2001-04-09 Akim Demaille <akim@epita.fr>
2567 * distdir.am: Use and abuse of if/endif.
2568 * scripts.am: Using if/endif with variables is fine.
2570 2001-04-09 Akim Demaille <akim@epita.fr>
2572 * automake.in (&make_paragraphs): Extract from &file_contents.
2573 Make it more robust than the previous RE based scheme.
2574 (&file_contents): Use it.
2576 2001-04-09 Akim Demaille <akim@epita.fr>
2578 * automake.in (&make_paragraphs): Extract from &file_contents.
2579 Make it more robust than the previous RE based scheme.
2580 (&file_contents): Use it.
2582 2001-04-09 Akim Demaille <akim@epita.fr>
2584 * tests/yacc2.test: Don't define several times a variable, as
2587 2001-04-09 Akim Demaille <akim@epita.fr>
2589 * automake.in (&handle_source_transform): Fix pr72: don't define
2590 $linker if there are no @files.
2592 2001-04-09 Akim Demaille <akim@epita.fr>
2594 Avoid reading twice header-vars.am as now macro_define
2597 * automake.in (&define_standard_variables): Don't output the
2599 (&read_main_am_file): Output first user variables, then Automake
2601 Don't call twice &define_standard_variables.
2602 Save variable comments in $am_vars.
2603 (&variable_output): New.
2604 (&file_contents_internal): New.
2605 Save variable comments in $am_vars.
2606 (&file_contents): Use it.
2608 2001-04-09 Akim Demaille <akim@epita.fr>
2610 * automake.in (¯o_define): The user is allowed to override
2611 a value if it was set by Automake, or if it was found in AC_SUBST.
2613 2001-04-09 Akim Demaille <akim@epita.fr>
2615 * automake.in (&handle_source_transform): Better locality of the
2617 Use `next' to skip nonexistent variables.
2619 2001-04-09 Akim Demaille <akim@epita.fr>
2621 * automake.in (&variable_dump): If a variable is undefined, say
2623 (&check_ambiguous_conditional): Give finer error messages.
2624 (¯o_define): Check that a `+=' variable is not set with `='.
2625 Check for ambiguous definitions each time you _set_ (even with `+=')
2627 (&read_main_am_file): Perform a deep copy of %conditional.
2629 2001-04-09 Akim Demaille <akim@epita.fr>
2631 * automake.in (&variable_defined): Some callers, e.g.,
2632 &am_primary_prefixes, really want to know if the variable is
2633 defined for any condition, not `TRUE' by default.
2634 (&am_primary_prefixes): Give a more precise error message.
2636 2001-04-09 Akim Demaille <akim@epita.fr>
2638 (&variable_conditions): Don't include `FALSE' in the result.
2640 2001-04-09 Akim Demaille <akim@epita.fr>
2642 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
2643 (&variable_conditions): Don't include `FALSE' in the result.
2645 2001-04-09 Akim Demaille <akim@epita.fr>
2647 * tests/defs, tests/depend3.test: Remove useless code.
2649 2001-04-09 Akim Demaille <akim@epita.fr>
2651 * automake.in (&handle_source_transform): Use
2652 &variable_conditions, don't read $conditional{$var}.
2653 (&variable_conditions_sub): When the call is the top level call,
2654 generate all the permutations of the conditions.
2656 2001-04-09 Akim Demaille <akim@epita.fr>
2658 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
2659 that it does not get noticed twice by automake, which now
2660 complains for multiple definitions.
2661 * tests/vartar.test: s/INSTALL/install/g, automake now complains
2662 because we defined INSTALL.
2664 2001-04-09 Akim Demaille <akim@epita.fr>
2666 * automake.in (&generate_makefile) Use macro_define to define
2667 SOURCES and OBJECTS.
2668 (&variable_defined): Don't check for $conditional{VAR}{COND} as
2669 this would make perl create $condition{VAR}, which we don't want.
2671 2001-04-09 Akim Demaille <akim@epita.fr>
2673 * automake.in (&variable_defined, &define_pretty_variable):
2674 Simplify code which used to handle the cases where not all
2675 variables were in %conditional.
2676 (&define_variable): Use &define_pretty_variable.
2677 (&variable_conditions_sub, &variable_value_as_list_worker)
2678 (&variable_value_as_list, &rule_define): Simplify syntax.
2679 (&read_main_am_file): Dump the guilty predefined variables.
2681 2001-04-09 Akim Demaille <akim@epita.fr>
2683 * automake.in (&variable_conditions_sub)
2684 (&variable_value_as_list_worker): Remove dead code which used to
2685 handle the cases where not all variables were in %conditional.
2687 2001-04-09 Akim Demaille <akim@epita.fr>
2689 * automake.in (&handle_source_transform, &read_main_am_file):
2690 Simplify loops which were split in two parts, conditional vs
2691 unconditional variables.
2693 2001-04-09 Akim Demaille <akim@epita.fr>
2695 Handle unconditional values of variables as conditioned by
2698 * automake.in (%contents): Remove.
2699 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2700 (&read_am_file, &variable_defined, &variable_conditions_sub)
2701 (&variable_value, &variable_value_as_list_worker)
2702 (&variable_value_as_list, &define_pretty_variable)
2703 (&read_main_am_file): Use
2704 $conditional, not %contents.
2705 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2706 (&variable_conditionally_defined): New.
2707 (&handle_dist): Use it.
2708 (&check_ambiguous_conditional): When multiply defined, specify
2709 under which condition.
2710 (¯o_define): Use it.
2711 (&variable_delete): New.
2712 (&read_am_file): Use it.
2713 (&am_install_var): Simplify, as all the variables are in
2716 2001-04-07 Tom Tromey <tromey@redhat.com>
2718 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2720 * tests/man.test: New file.
2722 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2724 * depcomp (gcc3): Invert test condition.
2726 2001-04-07 Tom Tromey <tromey@redhat.com>
2728 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2729 statement. Report from Larry Jones.
2731 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2733 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2735 2001-04-01 Tom Tromey <tromey@redhat.com>
2737 * java.am (.PHONY clean-am): Removed trailing ":".
2738 From Per Bothner. Fixes PR automake/139.
2740 2001-03-28 Akim Demaille <akim@epita.fr>
2742 * program.am: Fix a stupid typo: now *all* (not none) the programs
2744 Reported by Robert Boehne.
2746 2001-03-23 Akim Demaille <akim@epita.fr>
2748 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2751 2001-03-23 Akim Demaille <akim@epita.fr>
2753 * automake.in (&variable_conditionally_defined): Rename as...
2754 (&check_variable_unconditionally_defined): this.
2755 (&variable_dump): Fix the output.
2756 (&variable_defined, ¯o_define): Since conditions are
2757 canonicalized, don't use a loop to look for a condition: read the
2759 (¯o_define, &rule_define, &read_am_file, &file_contents):
2760 Rename $cond_string as $cond.
2761 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2762 discovered via AC_SUBST, they now trigger a `defined twice' error.
2764 2001-03-23 Akim Demaille <akim@epita.fr>
2766 * automake.in (&handle_footer, &handle_installdirs)
2767 (&read_main_am_file): Don't read %contents directly, use
2770 2001-03-23 Akim Demaille <akim@epita.fr>
2772 * automake.in (&read_am_file): Define the variables in a single
2774 Factor the $saw_bk code.
2776 2001-03-23 Akim Demaille <akim@epita.fr>
2778 * automake.in (&read_am_file): Keep $cond_string up to date.
2780 2001-03-23 Akim Demaille <akim@epita.fr>
2782 * automake.in (&define_variable): Use ¯o_define.
2784 2001-03-23 Akim Demaille <akim@epita.fr>
2786 * automake.in (¯o_define): Don't lose the location if we
2787 redefine a variable.
2788 Don't push all the variables in @var_list, let...
2789 (&read_am_file, &file_contents): ... do it.
2790 (&define_pretty_variable): Use macro_define.
2791 (&am_install_var): Delete the value of variables being redefined
2792 to pacify ¯o_define which checks that variables are not
2795 2001-03-23 Akim Demaille <akim@epita.fr>
2797 * automake.in (&conditional_dump): Rename as...
2798 (&variables_dump): this. Use...
2799 (&variable_dump): this new sub.
2801 2001-03-23 Akim Demaille <akim@epita.fr>
2803 * automake.in (&file_contents): Maintain $cond_string sync with
2805 Output rules only if not under `FALSE'.
2806 Define variables under $cond_string.
2807 * scripts.am: For the time being if/endif does not work properly
2810 2001-03-23 Akim Demaille <akim@epita.fr>
2812 * automake.in (IF_PATTERN): Unobfuscate the parens.
2813 (ENDIF_PATTERN): Allow a condition to be specified.
2814 (&file_contents): Use a @cond_stack.
2815 (&transform): At least for an easy transition, also transform
2816 %?FOO% and %!FOO%, as suggested by Lars.
2817 * scripts.am: First test bed for static if/endif use.
2819 2001-03-23 Akim Demaille <akim@epita.fr>
2821 * automake.in (&file_contents): Use rule_define.
2823 2001-03-23 Akim Demaille <akim@epita.fr>
2825 * automake.in (¯o_define): Don't rely on $1.
2826 Initialize the variable.
2827 Set its Automakism only if not defined or if given to the user.
2828 When concatenating values, insert a separator only if the value
2830 (&read_am_file): When dumping the @var_list, skip Automake
2832 (&file_contents): Use macro_define.
2834 2001-03-23 Akim Demaille <akim@epita.fr>
2836 * automake.in (&rule_define): Extract from...
2837 (&read_am_file): here.
2839 2001-03-23 Akim Demaille <akim@epita.fr>
2841 * automake.in (¯o_define, &read_am_file): More work for the
2842 former from the latter. Reorganize the latter.
2844 2001-03-23 Akim Demaille <akim@epita.fr>
2846 * automake.in (¯o_define): Extract from...
2847 (&read_am_file): here.
2849 2001-03-23 Akim Demaille <akim@epita.fr>
2851 * automake.in (%am_var_defs): Replace with...
2853 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2854 (&file_contents, am_primary_&prefixes): Adjust.
2855 (&variable_defined, &define_variable): The actual semantics is
2857 (&read_main_am_file): Assert the var is user defined when
2858 outputting @var_list.
2860 2001-03-23 Akim Demaille <akim@epita.fr>
2862 * automake.in (read_am_file): TRUE and FALSE are predefined
2864 (&by_condition): Adjust.
2865 (&conditional_string): Recognize `TRUE' and `FALSE'.
2866 (&make_condition): Use it.
2867 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2868 * automake.texi (Conditionals): Adjust.
2869 * tests/cond9.test: s/FALSE/WRONG/.
2871 2001-03-12 Pavel Roskin <proski@gnu.org>
2873 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2876 2001-03-12 Akim Demaille <akim@epita.fr>
2878 * automake.in (&variable_conditions_permutations): Separate the
2880 * tests/cond3.test: Improve the sed expression.
2882 2001-03-09 Pavel Roskin <proski@gnu.org>
2884 * Makefile.am (maintainer-check): Scan all *.am files and tests
2885 for invocations of `rm' without `-f'.
2886 * tests/mclean.test: Adjusted to prevent triggering the above
2889 2001-03-09 Tom Tromey <tromey@redhat.com>
2891 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2892 maintainer-check failure.
2894 2001-03-09 Akim Demaille <akim@epita.fr>
2896 * tests/cond3.test: Strengthen.
2898 2001-03-09 Akim Demaille <akim@epita.fr>
2900 * automake.in (&conditional_string): Produce a unique string
2901 characterizing a condition stack.
2902 (&conditional_same): Remove, comparing two strings is now enough.
2903 (&variable_defined): Adjust.
2904 (&read_am_file): Use conditional_string.
2906 2001-03-08 Akim Demaille <akim@epita.fr>
2908 * automake.in: Use -w.
2909 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2910 (&parse_arguments): Support --Werror and --Wno-error as a
2911 temporary hack until --warning/-W is properly implemented.
2912 (&handle_single_transform_list): Prototype.
2913 Be sure to define $directory.
2914 Use `exists' instead of testing the value of a maybe undefined
2916 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2917 (&handle_factored_dependencies): Use defined values.
2918 (&scan_one_autoconf_file): Save $_.
2919 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2920 Run automake with --Wno-error.
2922 2001-03-07 Akim Demaille <akim@epita.fr>
2924 * automake.in (&handle_all): Use an array instead of a scalar for
2926 Get rid of all-redirect: let `all' be that target.
2928 2001-03-07 Akim Demaille <akim@epita.fr>
2930 * automake.in (&handle_merge_targets): Ventilate its non `all'
2931 related content into...
2932 (&generate_makefile): here.
2933 (&handle_merge_targets): Rename as...
2934 (&handle_all): this.
2935 Remove a useless `if': `@all' is obviously not empty, since it
2936 contains at least the `basename ($makefile)' which has just been
2939 2001-03-07 Akim Demaille <akim@epita.fr>
2941 * automake.in, aclocal.in: Backquote is inert in double quotes.
2943 2001-03-06 Akim Demaille <akim@epita.fr>
2945 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2948 2001-03-06 Pavel Roskin <proski@gnu.org>
2950 * java.am: Use `rm -f' instead of `rm'.
2952 2001-03-06 Akim Demaille <akim@epita.fr>
2954 * automake.in (&push_dist_common): Simplify.
2956 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2958 * ltlib.am: Replaced spaces with tab.
2960 2001-03-06 Pavel Roskin <proski@gnu.org>
2962 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2965 2001-03-05 Pavel Roskin <proski@gnu.org>
2967 * header.am, scripts.am: Use ?INSTALL? in the install and
2970 2001-03-05 Pavel Roskin <proski@gnu.org>
2972 * tests/copy.test: Never use `rm' without `-f' - it may ask
2973 questions, notably for read-only files during `make distcheck'.
2974 * tests/insh.test: Likewise.
2975 * tests/installsh.test: Likewise.
2976 * tests/symlink.test: Likewise.
2977 * tests/symlink2.test: Likewise.
2978 * tests/symlink3.test: Likewise.
2980 2001-03-05 Pavel Roskin <proski@gnu.org>
2982 * noinstdir.test: New test.
2983 * tests/Makefile.am (TESTS): Add noinstdir.test.
2984 (XFAIL_TESTS): Likewise.
2986 2001-03-05 Akim Demaille <akim@epita.fr>
2988 * automake.in (&handle_options): Change the RE so that the third
2989 part of the versions always exist.
2990 (&file_contents): Don't pass uninitialized values to &transform.
2992 2001-03-05 Akim Demaille <akim@epita.fr>
2994 * automake.in (&file_contents): Require a hash as second argument.
2997 2001-03-05 Akim Demaille <akim@epita.fr>
2999 Always use hashes with &file_contents.
3001 * automake.in (&handle_texinfo): texibuild.am does not need
3003 texinfos.am wants only TEXICLEANS.
3004 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3006 * texinfos.am: Adjust.
3008 2001-03-05 Akim Demaille <akim@epita.fr>
3010 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3011 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3012 (&am_install_var): Forget about `-clean'.
3013 Transform ?INSTALL?.
3014 Always output the *.am file.
3015 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3016 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3017 Remove, merged into the corresponding *.am file.
3018 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3021 2001-03-05 Pavel Roskin <proski@gnu.org>
3023 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3025 2001-03-05 Akim Demaille <akim@epita.fr>
3027 If OBJEXT and EXEEXT are not set, provide a default value, and use
3028 them unconditionally.
3030 * automake.in (&generate_makefile): Provide default values for
3032 (&get_object_extension, &finish_languages)
3033 (&handle_single_transform_list, &handle_programs, &add_depend2)
3034 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3035 them, they are defined.
3036 * compile.am, depend2.am, program.am, progs.am: Likewise.
3037 * remake-hdr.am: Fix a typo.
3038 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3039 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3040 * tests/suffix2.test: Adjust.
3042 2001-03-05 Akim Demaille <akim@epita.fr>
3044 * automake.in (&file_contents): Map MAINTAINER-MODE to
3045 @MAINTAINER_MODE_TRUE@ or nothing.
3046 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3049 2001-03-05 Akim Demaille <akim@epita.fr>
3051 * automake.in (&do_one_merge_target): Remove, was only called from...
3052 (&handle_merge_targets): here for `all'.
3055 2001-03-05 Akim Demaille <akim@epita.fr>
3057 Make the installation/uninstallation of Info pages follow the
3058 regular am/recursive scheme.
3060 * automake.in (%required_targets, %dependencies): Add
3062 (%dependencies): Add install-info, install-info-am, and
3064 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3065 reversed BTW. Does anybody use the option `no-installinfo'?
3066 (&handle_merge_targets): Let the handling of info related targets
3068 (&handle_factored_dependencies): this.
3069 * subdirs.am: Use ?INSTALL-INFO?.
3070 * texinfos.am: Define the install-info, uninstall-info and
3071 uninstall-info-am targets.
3073 2001-03-05 Akim Demaille <akim@epita.fr>
3075 * automake.in (%required_targets, %dependencies): Add dvi, info,
3077 (@info, @dvi): Remove.
3078 (&handle_texinfo, &handle_merge_targets): Adjust.
3079 (&handle_factored_dependencies): Required targets are phony.
3080 * texinfos.am: Build info, dvi, and the corresponding -am or
3083 2001-03-05 Akim Demaille <akim@epita.fr>
3085 * automake.in (&am_install_var): Remove $cygxform, unused.
3087 2001-03-05 Akim Demaille <akim@epita.fr>
3089 * automake.in (&file_contents): Transform LIBTOOL.
3090 (&am_install_var): Remove $ltxform.
3091 * ltlib.am, progs.am: Adjust.
3093 2001-03-05 Akim Demaille <akim@epita.fr>
3095 * automake.in: Require AC_PROG_INSTALL in...
3096 (&scan_autoconf_files): here.
3098 2001-03-05 Akim Demaille <akim@epita.fr>
3100 * configure.am: New file.
3101 * automake.in (&file_contents): Transform CONFIGURE-AC.
3102 (&handle_texinfo, &handle_configure): Don't transform
3104 (&handle_configure): Use `configure.am'.
3105 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3106 MAINTAINER-MODE and CONFIGURE-AC.
3108 2001-03-05 Akim Demaille <akim@epita.fr>
3110 * automake.in (&pretty_print_internal): Don't output useless
3112 (define_pretty_variable): Don't issue the space after the `=' sign
3113 to avoid trailing spaces in Makefile.ins.
3115 2001-03-05 Akim Demaille <akim@epita.fr>
3117 * automake.in (&generate_makefile): Invoke &initialize_per_input
3118 *before* setting $am_file_name and $in_file_name.
3120 2001-03-05 Akim Demaille <akim@epita.fr>
3122 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3123 Globals, initialized...
3124 (&initialize_per_input): here.
3126 2001-03-05 Akim Demaille <akim@epita.fr>
3128 * automake.in ($am_relative_dir): Global.
3129 (&initialize_per_input): Init it.
3130 (%make_list, @make_input_list): My them from
3131 (&scan_autoconf_files): here.
3132 (&require_file_internal): Mying changes.
3134 2001-03-05 Akim Demaille <akim@epita.fr>
3136 * automake.in (%am_vars, @var_list, %def_type): Globals.
3137 (&initialize_per_input): Initialize them.
3138 (&read_main_am_file): Don't local them.
3139 (&get_object_extension): $objext is private.
3140 (&handle_single_transform_list): $lang is.
3141 (&handle_ltlibraries): $libname_rx is.
3142 (&scan_autoconf_config_files): How about actually paying attention
3143 to your arguments, instead of working on $_? (this is no Perl
3144 variable, it's a Perl variable followed by a question mark).
3145 (&file_contents): $contents and $separator are private.
3146 (&am_install_var): Declare @condvals, not $condvals.
3149 2001-03-05 Akim Demaille <akim@epita.fr>
3151 * automake.in (&initialize_per_input): Move to the top.
3152 Precede with the `my' list of its variables.
3154 2001-03-05 Akim Demaille <akim@epita.fr>
3156 * automake.in ($am_file): Use vars.
3157 ($am_file_name, $in_file_name): Private to &generate_makefile.
3159 2001-03-05 Akim Demaille <akim@epita.fr>
3161 * automake.in: Preparation for `use strict': Move the
3162 initialization of the constants to the top, from...
3163 (&initialize_global_constants): here.
3165 2001-03-05 Akim Demaille <akim@epita.fr>
3167 * automake.in (&handle_single_transform_list, &add_depend2): Let
3168 $lang_specific_files{$lang} be a list instead of a string.
3170 2001-03-05 Akim Demaille <akim@epita.fr>
3172 Let's make it run ten times faster...
3174 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
3176 (&file_contents): Let `$command' remove the Automake commands, and
3177 normalize the series of `\n'.
3178 Slurp the file and apply $command in a single step.
3179 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
3180 is already normalized to be handled by &transform.
3182 2001-03-05 Tom Tromey <tromey@redhat.com>
3184 * automake.in (register_language): Add entry for `-pure'.
3185 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
3186 (finish_languages): Use `-pure' field of language map.
3188 2001-03-03 Tom Tromey <tromey@redhat.com>
3190 * tests/yaccvpath.test: No need to remove dummy files.
3191 * tests/subobj3.test: No need to remove dummy files.
3192 * tests/pr9.test: No need to remove dummy files.
3193 * tests/pr87.test: No need to remove dummy files.
3194 * tests/pr19.test: No need to remove dummy files.
3195 * tests/install2.test: No need to remove dummy files.
3196 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
3199 2001-02-27 Pavel Roskin <proski@gnu.org>
3201 * tests/yaccvpath.test: Add a delay to make parse.c really out
3202 of date. Detect the problem earlier, after `make distdir'. Drop
3203 dependency on flex. Always use the `-y' flag for bison. Comment
3205 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
3207 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3209 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
3211 2001-02-28 Akim Demaille <akim@epita.fr>
3213 * automake.in (&add_depend2): Transform `GENERIC'.
3214 Get rid of the ad hoc transformation of `@EXT@.o:' which in
3215 addition was broken by the `@ -> %' patch.
3216 * depend2.am: Adjust to use ?GENERIC?.
3218 2001-02-28 Akim Demaille <akim@epita.fr>
3220 * Makefile.am (maintainer-check): `undef $/' is OK.
3222 2001-02-28 Akim Demaille <akim@epita.fr>
3224 * automake.in (&handle_configure): Fortunately, $top_reldir,
3225 the definition of which was highly suspicious, was unused.
3227 2001-02-27 Akim Demaille <akim@epita.fr>
3229 * automake.in (%exec_dir_p): Move to the top so that it is visible
3232 2001-02-27 Pavel Roskin <proski@gnu.org>
3234 * tests/yaccvpath.test: Prevent automake from looking into ..
3235 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
3237 2001-02-27 Akim Demaille <akim@epita.fr>
3239 * automake.in (%exec_dir_p): Pulled out from...
3240 (&am_primary_prefixes): here.
3242 2001-02-27 Akim Demaille <akim@epita.fr>
3244 * automake.in (&usage): Display $0, not $me.
3246 2001-02-27 Akim Demaille <akim@epita.fr>
3248 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
3249 * automake.in (&handle_clean): Don't escape what's given to
3252 2001-02-27 Akim Demaille <akim@epita.fr>
3254 Distinguish automake substitutions from config.status
3257 * automake.in (&add_depend2): Transform AMDEP.
3258 (&handle_clean): Transform MCFILES and MFILES.
3259 (&file_contents): Transform MAINTAINER_MODE.
3260 (&transform, &am_install_var): Use `%', not `@'.
3261 Adjust all the *.am files.
3262 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
3263 * depend2.am: Display the double dependency on both ?AMDEP? and
3266 2001-02-27 Tom Tromey <tromey@redhat.com>
3268 * distdir.am (distcheck): Fixed new code.
3270 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
3271 Only configure once.
3273 * distdir.am (distcheck): Print error message if distclean failed
3276 2001-02-27 Pavel Roskin <proski@gnu.org>
3278 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
3280 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3282 * tests/Makefile.am (TESTS): Added yaccvpath.test.
3283 * tests/yaccvpath.test: New file.
3285 2001-02-26 Akim Demaille <akim@epita.fr>
3287 * automake.in (&am_install_var): Recognize whether predefined
3288 directories are `data' or `exec'.
3289 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
3291 * tests/instdata2.test: Update.
3293 2001-02-26 Akim Demaille <akim@epita.fr>
3295 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
3296 necessarily in infodir.
3298 2001-02-26 Akim Demaille <akim@epita.fr>
3300 * automake.in ($am_file): Be `local', as my'd variables used in
3301 `foreach' loops are always private to the loop.
3303 2001-02-26 Pavel Roskin <proski@gnu.org>
3305 * Makefile.am: Add install.am.
3307 2001-02-26 Akim Demaille <akim@epita.fr>
3309 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
3310 routines, otherwise the elements to compare are passed in @_
3311 instead of $a and $b.
3313 2001-02-26 Akim Demaille <akim@epita.fr>
3315 * automake.in (%required_targets): `installcheck-am' is needed.
3317 2001-02-26 Akim Demaille <akim@epita.fr>
3319 * automake.in (&transform_cond): Merge into...
3323 2001-02-26 Akim Demaille <akim@epita.fr>
3325 * automake.in (&handle_dist): Use &transform instead of dedicated
3327 But be sure to always do it.
3328 * distdir.am: Adjust.
3330 2001-02-26 Akim Demaille <akim@epita.fr>
3332 * automake.in: Use File::Basename.
3333 (&dirname, &basename): Remove.
3335 2001-02-26 Akim Demaille <akim@epita.fr>
3337 * automake.in ($me): New.
3339 (&usage): Display your full name.
3341 2001-02-26 Akim Demaille <akim@epita.fr>
3343 * automake.texi (Invoking Automake): Remove dead options.
3345 2001-02-26 Akim Demaille <akim@epita.fr>
3347 * automake.in (&scan_texinfo_file): Also compute the list of files
3349 Handle local errors.
3350 (&handle_texinfo): Use it.
3352 2001-02-26 Akim Demaille <akim@epita.fr>
3354 * automake.in: Don't pass arguments to...
3355 (&parse_arguments): Work on @ARGV.
3357 Add support for `-f'.
3361 2001-02-26 Akim Demaille <akim@epita.fr>
3363 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3364 handle installcheck and installcheck-am.
3365 * install.am: Do it.
3367 2001-02-26 Akim Demaille <akim@epita.fr>
3369 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3370 handle install and install-am.
3371 * install.am: Do it.
3373 2001-02-26 Akim Demaille <akim@epita.fr>
3375 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
3376 work on targets handled by %dependencies.
3377 (&handle_factored_dependencies): Do it.
3378 * install.am: Install install-exec, install-data and uninstall's
3381 2001-02-26 Akim Demaille <akim@epita.fr>
3383 * automake.in (&handle_merge_targets): Move `install-strip' from
3385 * install.am: to here.
3387 2001-02-26 Akim Demaille <akim@epita.fr>
3389 * automake.in (@installdirs): Remove.
3390 (&file_contents): Be able to grow Automake macros with `+='.
3391 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
3392 files define _am_installdirs.
3393 (&handle_installdirs): Remove the code, just output `install.am'.
3395 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
3396 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
3398 2001-02-26 Akim Demaille <akim@epita.fr>
3400 * tests/instdata2.test (libexec_DATA): Exercise more
3403 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3405 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
3407 2001-02-25 Tom Tromey <tromey@redhat.com>
3409 * tests/instdata2.test: Added `sbin_DATA' check.
3411 * tests/Makefile.am (TESTS): Added subdircond.test.
3412 * tests/subdircond.test: New file.
3413 * automake.in (handle_gettext): Don't fail if SUBDIRS
3414 conditionally defined.
3416 * automake.in: Use IO::File.
3417 (generate_makefile): Use IO::File.
3418 (scan_texinfo_file): Likewise.
3419 (handle_aclocal_m4): Likewise.
3420 (scan_autoconf_traces): Likewise.
3421 (scan_one_autoconf_file): Likewise.
3422 (read_am_file): Likewise.
3423 (file_contents): Likewise.
3426 2001-02-25 Akim Demaille <akim@epita.fr>
3428 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
3430 2001-02-25 Akim Demaille <akim@epita.fr>
3432 * automake.in (&transform): Also call &transform_cond on your
3434 (&handle_dist): Adjust.
3435 (&handle_factored_dependencies): Uniq dependencies.
3437 2001-02-25 Akim Demaille <akim@epita.fr>
3439 * automake.in (&handle_gettext): Simplify redundant `if'.
3440 Used &variable_value, don't read %contents directly.
3442 2001-02-25 Akim Demaille <akim@epita.fr>
3444 * automake.in ($install_recursive): Remove, replaced with calls to
3445 `&variable_defined ('SUBDIRS')'.
3446 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
3447 (&file_contents): now does.
3449 2001-02-25 Akim Demaille <akim@epita.fr>
3451 * automake.in (&handle_man_pages): $found is dead.
3453 2001-02-25 Akim Demaille <akim@epita.fr>
3455 Internally just store the conditionals as space separated lists of
3456 CONDITIONS (instead of @CONDITIONS@).
3458 * automake.in (&conditional_true_when, &variable_conditions_sub):
3459 Split conditions at spaces.
3460 (&handle_dependencies, &variable_conditions_permutations): Don't
3461 put @ around conditions.
3462 (&variable_conditions_cmp): There are no @ to strip.
3463 (&make_condition): New.
3464 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
3466 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
3467 Join @conditional_stack with spaces.
3468 (&read_main_am_file): Adjust the output of variables.
3469 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
3470 true' and no longer `@TEST@TRUE = @TEST@true'.
3471 (&variable_conditions_cmp): Rename as...
3472 (&by_condition): this.
3473 Sort in a human pleasant order.
3474 Use it everywhere a human can see conditions.
3475 (&variable_conditions_reduce): Don't sort conditions, that's
3477 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
3479 2001-02-25 Akim Demaille <akim@epita.fr>
3481 * automake.in: `my' the globals.
3483 2001-02-25 Akim Demaille <akim@epita.fr>
3485 * automake.in (&initialize_per_input): %targets_conditionals is
3487 (&read_am_file): When slurping a rule, set the target related
3488 variable, and no variable related variable.
3489 (&file_contents): Likewise.
3490 * tests/vartar.test, tests/ctarget1.test: New.
3492 2001-02-25 Akim Demaille <akim@epita.fr>
3494 * automake.in (&variable_defined, &variable_value_as_list_worker):
3495 If $VAR is effectively a variable, don't die if it's also a
3497 Plus some formatting changes.
3499 2001-02-25 Akim Demaille <akim@epita.fr>
3501 * automake.in: Mying changes.
3502 * Makefile.am (maintainer-check): Check the stability of the
3503 number of uses of `local'.
3505 2001-02-25 Akim Demaille <akim@epita.fr>
3507 * automake.in: Mying changes.
3509 2001-02-25 Akim Demaille <akim@epita.fr>
3511 * automake.in: Mying changes.
3513 2001-02-25 Akim Demaille <akim@epita.fr>
3515 * automake.in: Mying changes.
3516 (&handle_tags): Fix a bug uncovered by the previous mying changes:
3517 transform CONFIG into $config, not $xform.
3519 2001-02-25 Akim Demaille <akim@epita.fr>
3521 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
3522 Don't deal with install-data-am, install-exec-am and unstall-am.
3523 (&initialize_per_input): Add them to %dependencies.
3524 Remove %exec_dir_p since the *.am files are now in charge of it.
3525 Remove @uninstall, @install_data, @install_exec.
3526 (&handle_merge_targets): Adjust to these removals.
3527 (&file_contents): Also &transform_cond for --no-installman and
3529 (&do_one_merge_target): Add some magic to install hooks on
3530 %dependencies' targets.
3531 (%required_targets): New.
3532 (&handle_factored_dependencies): Output required targets.
3533 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3534 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
3535 * texinfos.am: Declare your dependencies on install-data-am,
3536 install-exec-am and uninstall-am.
3537 * tests/instdata2.test (incldata_HEADERS): New test.
3539 2001-02-24 Tom Tromey <tromey@redhat.com>
3541 * Makefile.am (amfiles): Added texibuild.am.
3542 * texibuild.am: New file.
3543 * tests/Makefile.am (TESTS): Added texinfo9.test.
3544 * tests/texinfo9.test: New file.
3545 * automake.in (handle_texinfo): Keep track of suffixes used. Give
3546 error if suffix unrecognized. Removed extraneous newline.
3548 2001-02-23 Akim Demaille <akim@epita.fr>
3550 * automake.in (&am_install_var): Don't hook on the clean targets
3552 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3553 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3556 2001-02-23 Akim Demaille <akim@epita.fr>
3558 * automake.in: Promote local `my' over `local'.
3560 2001-02-23 Akim Demaille <akim@epita.fr>
3562 * automake.in: Formatting and mying changes.
3564 2001-02-23 Akim Demaille <akim@epita.fr>
3566 * automake.in: Formatting and mying changes.
3568 2001-02-23 Akim Demaille <akim@epita.fr>
3570 * automake.in (&handle_man_pages): Let install-man and
3571 uninstall-man be handled by the dependency tracker.
3572 (&initialize_per_input): Let %dependencies track them.
3573 * mans.am: Add the needed hooks with the proper dependencies.
3575 2001-02-22 Pavel Roskin <proski@gnu.org>
3577 * tests/target-cflags.test: Don't use subshell to configure in
3578 subdirectory. Typo fix - run `./foo', not `/foo'.
3580 2001-02-22 Akim Demaille <akim@epita.fr>
3582 * automake.in: Formatting and mying changes.
3584 2001-02-21 Tom Tromey <tromey@redhat.com>
3586 * automake.in (handle_dist): Introduce new variable to avoid extra
3587 keys in %dist_dirs. Fixes distdir.test.
3589 * automake.in (handle_texinfo): Only remove suffixes we can
3592 * tests/distdir.test: Check to make sure directory isn't made in
3595 * automake.in (handle_dist): Do nothing in Cygnus mode.
3597 2001-02-21 Pavel Roskin <proski@gnu.org>
3599 * header-vars.am: Remove tabs before variable definitions.
3601 2001-02-21 Akim Demaille <akim@epita.fr>
3603 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
3606 2001-02-21 Akim Demaille <akim@epita.fr>
3608 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
3609 numeric value as required by Perl 5.6.
3611 2001-02-21 Akim Demaille <akim@epita.fr>
3613 * dist-vars.am: Remove, merge into...
3615 * automake.in (dirname, basename, backname): Move to the top of
3616 the file so that prototypes are checked,
3617 Use them without `&'.
3618 (&handle_dist): Adjust.
3620 2001-02-21 Akim Demaille <akim@epita.fr>
3622 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
3623 Use a uniform naming scheme.
3624 ("e_cond_val, &unquote_cond_val): Delete, dead code.
3625 (&read_am_file): Fix conditional definition of backslash continued
3628 2001-02-21 Akim Demaille <akim@epita.fr>
3630 Change the handling of conditionals: instead of using an ad-hoc
3631 encoding to store a hash in a string, use hashes.
3633 * automake.in (&conditional_dump): New.
3634 (&check_ambiguous_conditional, &variable_defined)
3635 (&variable_conditions_sub, &variable_value_as_list_worker)
3636 (&define_variable, read_am_file, &read_main_am_file): Be sure to
3637 handle `$conditional{$vars}' as a hash instead of a plain string.
3639 2001-02-21 Akim Demaille <akim@epita.fr>
3641 * automake.in (&conditional_true_when): Modernize, simplify.
3642 Warning: `$comp' is now private (my), while it used to be
3643 `inherited' from a `local' elsewhere in the code. AFAICT it was
3644 wrong, but some dirty side effect might show up.
3645 (&conditionals_true_when): New.
3646 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
3648 2001-02-21 Akim Demaille <akim@epita.fr>
3650 * automake.in ($top_builddir): Remove, used in one place.
3651 (&define_standard_variables): Adjust.
3652 Move the definition of triplet variables into...
3653 * header-vars.am: here.
3655 2001-02-21 Akim Demaille <akim@epita.fr>
3657 * automake.in (&initialize_global_constants): Don't define $USAGE.
3658 (&usage): Handle the former content of $USAGE.
3659 Don't pretend autoconf cares about Makefile.in.
3660 Classify the options.
3661 (&handle_tests): Formatting and mying changes.
3663 2001-02-21 Akim Demaille <akim@epita.fr>
3665 * automake.in (&handle_tests_dejagnu): Move the definition of a
3666 default `site.exp' into...
3667 * dejagnu.am (site.exp): here.
3668 Use DOS compliant file names.
3670 2001-02-21 Akim Demaille <akim@epita.fr>
3672 * automake.in (&dist_cmp): New.
3673 (&handle_dist): Use it.
3674 Promote `my' over `local'.
3676 2001-02-21 Akim Demaille <akim@epita.fr>
3678 * dist.am: Remove, merge into...
3679 * distdir.am: here. Use the neat sed snippet for banners.
3680 BTW, distcheck is phony.
3681 * automake.in (&handle_dist_worker): Remove, merge into...
3682 (&handle_dist): this.
3683 (&file_contents): Strip leading new lines.
3684 Be sure to end comments with new lines.
3686 2001-02-21 Akim Demaille <akim@epita.fr>
3688 * distdir.am (GZIP_ENV): Define.
3689 * automake.in (&handle_dist): Don't.
3691 (&handle_dist_worker, &am_install_var): Use it.
3693 2001-02-21 Akim Demaille <akim@epita.fr>
3695 * distdir.am (distdir): Handle the DIST-TARGETS.
3696 * automake.in (&handle_dist_worker): Don't.
3698 2001-02-21 Akim Demaille <akim@epita.fr>
3700 * automake.in (&file_contents): Transform the global options (such
3702 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3704 2001-02-21 Akim Demaille <akim@epita.fr>
3706 * distdir.am (distdir): Be sure to have permissive rights on its
3708 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3710 And BTW, all these guys are phony.
3711 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3712 output distributions.
3713 (&handle_dist): As its name doesn't indicate, don't.
3714 (&initialize_global_constants): Don't define variables which
3715 content is now handled by distdir.am.
3716 But register `dist-all' as a factored target.
3717 (&handle_factored_dependencies): Don't output empty targets.
3719 2001-02-20 Tom Tromey <tromey@redhat.com>
3721 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3724 2001-02-18 Tom Tromey <tromey@redhat.com>
3726 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3727 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3728 (AM_PROG_STRIP): Commented out.
3730 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3732 * depcomp (gcc3): Protect against the compiler deleting
3733 the dependency output file.
3735 2001-02-17 Tom Tromey <tromey@redhat.com>
3737 * automake.in (handle_merge_targets): Use double quotes around
3738 setting of INSTALL_STRIP_PROGRAM.
3739 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3740 to absolute path at runtime.
3741 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3743 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3745 * m4/strip.m4: New file.
3746 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3747 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3748 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3749 * automake.in (handle_merge_targets): In the install-strip rule,
3750 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3751 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3752 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3753 don't use INSTALL_STRIP_FLAG any longer.
3755 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3757 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3760 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3762 * automake.in (unquote_m4_arg): New function.
3763 (scan_one_configure_file): Call unquote_m4_arg on
3764 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3767 2001-02-15 Tom Tromey <tromey@redhat.com>
3769 * config.guess, config.sub: New versions from FSF.
3771 * Makefile.am (WGET): New macro.
3772 (FETCHFILES): New macro.
3773 (fetch): New target.
3775 * tests/subobj3.test: Exit with status 77 if gcc not found.
3776 * tests/pr9.test: Exit with status 77 if gzip not found.
3777 * tests/pr87.test: Exit with status 77 if gcc not found.
3778 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3779 * tests/install2.test: Exit with status 77 if gzip not found.
3780 * tests/exsource.test: Exit with status 77 if GNU make not found.
3781 * tests/ansi3.test: Exit with status 77 if gcc not found.
3783 * tests/target-cflags.test: Require GNU make. Exit with status 77
3784 if gcc or make not found. Fixes PR automake/121.
3786 * configure.in: Require Perl 5.005.
3787 * automake.in: Require 5.005.
3789 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3790 Fixes PR automake/122.
3792 2001-02-14 Tom Tromey <tromey@redhat.com>
3794 * automake.in (add_depend2): Only emit a given object rule once.
3795 Fixes specflags6.test.
3797 2001-02-14 Richard Boulton <richard@tartarus.org>
3799 * tests/specflags6.test: New file.
3801 2001-02-14 Tom Tromey <tromey@redhat.com>
3803 * automake.texi (A Shared Library): Mention -module.
3805 2001-02-13 Tom Tromey <tromey@redhat.com>
3807 * automake.in (do_one_merge_target): Always register $name and
3810 * automake.in (do_one_merge_target): Register `all' as phony
3813 * configure.in: Updated to 1.4e for cvs.
3815 2001-02-12 Tom Tromey <tromey@redhat.com>
3817 * configure.in: Updated to 1.4d and released.
3819 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3820 names through autoconf.
3822 Fix for subdirbuiltsources.test:
3823 * automake.in (initialize_per_input): [all_target] Initialize to
3825 (handle_merge_targets): Use all-redirect target to handle built
3827 (do_one_merge_target): Don't generate all-redirect rule.
3829 2001-02-11 Peter Muir <iyhi@yahoo.com>
3831 * tests/subdirbuiltsources.test: New file.
3832 * tests/Makefile.am (TESTS): Added new file.
3834 2001-02-10 Tom Tromey <tromey@redhat.com>
3836 * tests/condlib.test: New file.
3837 * tests/Makefile.am (TESTS): Added new file.
3839 2001-02-10 Lars J. Aas <larsa@sim.no>
3841 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3842 (&canonicalize): New. Includes '@' in canonical range.
3843 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3844 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3846 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3848 * automake.in (handle_configure): Revert part of
3849 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3850 set CONFIG_COMMANDS explicitly.
3852 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3854 * depcomp (gcc3): Propagate exit code.
3856 2001-02-09 Lars J. Aas <larsa@sim.no>
3858 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3860 2001-02-09 Tom Tromey <tromey@redhat.com>
3862 Clean up maintainer-check warnings:
3863 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3865 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3867 2001-02-09 Akim Demaille <akim@epita.fr>
3869 * automake.in (&file_contents): Remove a dead branch.
3871 2001-02-09 Akim Demaille <akim@epita.fr>
3873 * automake.in (&transform): Use `my', not `local'.
3874 (&transform_cond): New.
3875 (&get_object_extension, &handle_texinfo, &handle_tags)
3876 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3877 (&handle_tests_dejagnu): Use it.
3878 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3879 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3881 2001-02-09 Akim Demaille <akim@epita.fr>
3883 * automake.in: Various formatting changes, and modernization of
3886 (&handle_configure, define_standard_variables): Use it.
3888 2001-02-08 Tom Tromey <tromey@redhat.com>
3890 * automake.in (file_contents): Only add $actions if any are
3891 found. Fixes new failure in pr87.test.
3893 2001-02-08 Pavel Roskin <proski@gnu.org>
3895 * tests/pr87.test: Check foo/Makfile.in after it is created.
3897 2001-02-08 Tom Tromey <tromey@redhat.com>
3899 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3900 Report from Lars J. Aas.
3902 2001-02-07 Lars J. Aas <larsa@sim.no>
3904 * lisp.am (install-@DIR@LISP): Removed extra space.
3905 * header.am (install-@DIR@HEADERS): Removed extra space.
3906 * data.am (install-@DIR@DATA): Removed extra space.
3908 2001-02-07 Tom Tromey <tromey@redhat.com>
3910 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3912 * automake.in (handle_dependencies): Use _am_include, not
3914 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3915 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3917 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3919 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3921 * automake.in (handle_configure): Handle case where output file is
3922 in subdir with no Makefile of its own. Fixes remake3.test,
3925 2001-02-06 Pavel Roskin <proski@gnu.org>
3927 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3929 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3930 * tests/exsource.test: Likewise.
3932 2001-02-06 Derek Price <derek.price@openavenue.com>
3934 * automake.in (handle_configure): Fix syntax error.
3936 2001-02-06 Akim Demaille <akim@epita.fr>
3938 * subdirs.am: This file is the exception: clean recursive targets
3939 are called by the clean targets, not the clean-am targets.
3940 Otherwise we have a circular dependency: clean -> clean-am ->
3941 clean-recursive -> clean.
3942 * automake.in (handle_clean): Bind `-local' targets to `-am'
3943 targets, not top targets.
3944 Don't declare -recursive dependencies of the clean targets:
3945 `subdirs.am' did it. Less hard coded knowledge, transfered
3949 2001-02-06 Akim Demaille <akim@epita.fr>
3951 Monstro unsplitable patch.
3953 The aim is to remove hard coded knowledge about clean targets from
3954 automake.in, leaving them in the *.am files.
3955 In addition to the mechanic needed to factor some dependencies, it
3956 appears some rules (most notably distclean and maintainer-clean)
3957 need factored actions. So first, be ready to catch factored
3960 * automake.in (&file_contents): For the time being, use an extended
3961 $RULE_PATTERN which is able to match any kind of rules, with or
3962 without dependency, with or without actions.
3963 Handle all the rules uniformly, storing in %actions the factored
3965 (&flatten, &target_cmp): New.
3966 (&handle_factored_dependencies): Output the %actions.
3967 No longer special case `clean'.
3968 Output the rules in alphabetical order, but keeping `.PHONY' last.
3970 Now we must not use &push_phony_cleaners, which is doing all sort
3971 of magic to push a bit of everything in all the clean targets.
3972 The biggest problem being that, making a Cartesian product, it
3973 requires many useless targets. The `*.am' file know better.
3974 But first, register the new factored rules.
3976 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3977 maintainer-clean, distclean and their `*-am' counterpart in
3979 Initialize %actions.
3980 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3981 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3982 (handle_emacs_lisp, handle_python): Don't play with
3983 &push_phony_cleaners nor &depend and `clean'.
3984 * texinfos.am, texi-vers.am, tags-clean.am:
3985 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3986 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3987 * clean-kr.am, clean-hdr.am: Do it.
3988 Whenever a target is empty, just remove it, it will no longer be
3991 There is still some magic about clean to hard code. But really,
3992 that's the end of &do_one_clean_target.
3994 * automake.in (&do_one_clean_target): Kaboom out.
3995 (&handle_clean): Rewrite the magic code.
3996 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3998 (&push_phony_cleaners): Kaboom too.
4000 2001-02-06 Akim Demaille <akim@epita.fr>
4002 * automake.in (do_one_clean_target): Don't hard code knowledge
4003 about libtool, and maintainer-clean.
4004 * clean.am, libtool.am: Handle these.
4006 2001-02-05 Akim Demaille <akim@epita.fr>
4008 * automake.in (handle_texinfo): No longer hard code the clean
4010 (texinfos.am): Include them.
4012 2001-02-05 Akim Demaille <akim@epita.fr>
4014 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4015 (maintainer-check): Don't be silent when you find a problem, and
4016 actually, even specify the locations.
4017 Also check that @_ is assigned to arrays.
4019 2001-02-05 Akim Demaille <akim@epita.fr>
4021 * m4/regex.m4: Use AC_LIBSOURCES.
4022 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4025 2001-02-04 Tom Tromey <tromey@redhat.com>
4027 * m4/Makefile.am (m4data_DATA): Added make.m4.
4028 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4030 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4031 Copy depcomp to subdir.
4032 * m4/make.m4: New file.
4034 2001-02-04 Pavel Roskin <proski@gnu.org>
4036 * automake.in (handle_dist_worker): Remove a line that is now
4039 2001-02-04 Kevin Ryde <user42@zip.com.au>
4041 * automake.in (handle_configure): Call config.status with empty
4042 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4044 2001-02-04 Tom Tromey <tromey@redhat.com>
4046 * depcomp (ddashmd): Removed case.
4047 (sgi): Handle failure exit correctly
4048 (aix): Likewise. Also, add dummy `.h' targets.
4050 2001-02-04 Akim Demaille <akim@epita.fr>
4052 * distdir.am (distdir): New file, extracted from...
4053 * automake.in (handle_dist_worker): here.
4056 2001-02-04 Akim Demaille <akim@epita.fr>
4058 * automake.in (@clean): Remove, replaced by...
4059 ($dependencies{'clean'}): this.
4060 Use `&depend' instead of push'ing into @clean.
4061 (handle_factored_dependencies): For the time being, skip 'clean'.
4062 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4063 always `clean', and `@clean'.
4065 2001-02-04 Akim Demaille <akim@epita.fr>
4067 * automake.in (%dependencies): Don't be initialize globally for
4068 all the files, but in...
4069 (&initialize_per_input): here.
4071 (@phony): Replace all occurrences with the corresponding &depend
4074 2001-02-03 Tom Tromey <tromey@redhat.com>
4076 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4077 * header-vars.am (INSTALL_HEADER): New macro.
4079 * automake.texi (Rebuilding): New node.
4083 Copyright 2001 Free Software Foundation, Inc.
4085 This file is part of GNU Automake.
4087 GNU Automake is free software; you can redistribute it and/or modify
4088 it under the terms of the GNU General Public License as published by
4089 the Free Software Foundation; either version 2, or (at your option)
4092 GNU Automake is distributed in the hope that it will be useful,
4093 but WITHOUT ANY WARRANTY; without even the implied warranty of
4094 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4095 GNU General Public License for more details.
4097 You should have received a copy of the GNU General Public License
4098 along with autoconf; see the file COPYING. If not, write to
4099 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4100 Boston, MA 02111-1307, USA.